23 #define UT_MAX_OPTIONS 4 // A maximum of three args following
40 UT_Args(
int argc,
const char *
const argv[],
const char *options);
49 int argc()
const {
return my_argc; }
50 const char *
argv(
unsigned i)
const {
return myArgv(i); }
51 const char *
const *
argv()
const {
return myArgv.getArgv(); }
54 return (i < my_argc) ? argv(i) : 0;
67 const char *
argp(
int opt,
int which=0)
const
71 return my_opt[opt][which];
73 const char *
argp2(
int opt)
const
75 return my_opt[opt][1];
77 const char *
argp3(
int opt)
const
80 return my_opt[opt][2];
87 return SYSatof(my_opt[opt][which]);
92 int iargp(
int opt,
int which=0)
const
96 return SYSatoi(my_opt[opt][which]);
98 int iargp2(
int opt)
const {
return (
int)fargp(opt, 1); }
99 int iargp3(
int opt)
const {
return (
int)fargp(opt, 2); }
101 void initialize(
int argc,
const char *
const argv[]);
107 void appendArg(
const char *
arg);
108 void stripOptions(
const char *options);
114 int include_options=1)
const;
118 void makeCommandLine(
UT_String &str,
int first_arg=1)
const;
121 void setArgument(
int idx,
const char *text);
int iargp(int opt, int which=0) const
fpreal fargp3(int opt) const
GLenum GLuint GLenum GLsizei const GLchar * buf
int iargp3(int opt) const
const char * operator[](unsigned i) const
const char * argv(unsigned i) const
const char *const * argv() const
auto arg(const Char *name, const T &arg) -> detail::named_arg< Char, T >
SYS_DECLARE_IS_NOT_TR(UT_Args)
int iargp2(int opt) const
const char * argp2(int opt) const
fpreal fargp(int opt, int which=0) const
fpreal fargp2(int opt) const
OPENVDB_API void initialize()
Global registration of native Grid, Transform, Metadata and Point attribute types. Also initializes blosc (if enabled).
const char * operator()(unsigned i) const
const char * argp3(int opt) const
LeafData & operator=(const LeafData &)=delete
const char * argp(int opt, int which=0) const