UT_Args Class Reference

#include <UT_Args.h>

Inheritance diagram for UT_Args:

CMD_Args

List of all members.

Public Member Functions

 UT_Args ()
virtual ~UT_Args ()
int argc () const
char * argv (unsigned i)
const char * argv (unsigned i) const
char ** argv ()
const char ** argv () const
char * operator[] (unsigned i)
char * operator() (unsigned i)
int found (int opt) const
char * argp (int opt, int which=0)
char * argp2 (int opt)
char * argp3 (int opt)
fpreal fargp (int opt, int which=0) const
fpreal fargp2 (int opt) const
fpreal fargp3 (int opt) const
int iargp (int opt, int which=0) const
int iargp2 (int opt) const
int iargp3 (int opt) const
void initialize (int argc, char *argv[])
void appendArg (char *arg)
void stripOptions (const char *options)
int fillCommandLine (UT_WorkBuffer &buf, int first_arg=0, int include_options=1) const
void makeCommandLine (UT_String &str, int first_arg=1) const
void setArgument (int idx, char *text)
void display ()


Detailed Description

Definition at line 34 of file UT_Args.h.


Constructor & Destructor Documentation

UT_Args::UT_Args (  ) 

virtual UT_Args::~UT_Args (  )  [virtual]


Member Function Documentation

void UT_Args::appendArg ( char *  arg  ) 

int UT_Args::argc (  )  const [inline]

char* UT_Args::argp ( int  opt,
int  which = 0 
) [inline]

Examples:
expr/command.C, and standalone/i3ddsmgen.C.

Definition at line 56 of file UT_Args.h.

char* UT_Args::argp2 ( int  opt  )  [inline]

Definition at line 62 of file UT_Args.h.

char* UT_Args::argp3 ( int  opt  )  [inline]

Definition at line 66 of file UT_Args.h.

const char** UT_Args::argv (  )  const [inline]

Definition at line 43 of file UT_Args.h.

char** UT_Args::argv (  )  [inline]

Definition at line 42 of file UT_Args.h.

const char* UT_Args::argv ( unsigned  i  )  const [inline]

Definition at line 41 of file UT_Args.h.

char* UT_Args::argv ( unsigned  i  )  [inline]

Definition at line 40 of file UT_Args.h.

void UT_Args::display (  ) 

fpreal UT_Args::fargp ( int  opt,
int  which = 0 
) const [inline]

Examples:
standalone/i3ddsmgen.C.

Definition at line 72 of file UT_Args.h.

fpreal UT_Args::fargp2 ( int  opt  )  const [inline]

Definition at line 78 of file UT_Args.h.

fpreal UT_Args::fargp3 ( int  opt  )  const [inline]

Definition at line 83 of file UT_Args.h.

int UT_Args::fillCommandLine ( UT_WorkBuffer buf,
int  first_arg = 0,
int  include_options = 1 
) const

int UT_Args::found ( int  opt  )  const [inline]

int UT_Args::iargp ( int  opt,
int  which = 0 
) const [inline]

Examples:
standalone/i3ddsmgen.C.

Definition at line 89 of file UT_Args.h.

int UT_Args::iargp2 ( int  opt  )  const [inline]

Definition at line 95 of file UT_Args.h.

int UT_Args::iargp3 ( int  opt  )  const [inline]

Definition at line 96 of file UT_Args.h.

void UT_Args::initialize ( int  argc,
char *  argv[] 
)

void UT_Args::makeCommandLine ( UT_String str,
int  first_arg = 1 
) const

char* UT_Args::operator() ( unsigned  i  )  [inline]

Definition at line 45 of file UT_Args.h.

char* UT_Args::operator[] ( unsigned  i  )  [inline]

Definition at line 44 of file UT_Args.h.

void UT_Args::setArgument ( int  idx,
char *  text 
)

void UT_Args::stripOptions ( const char *  options  ) 


The documentation for this class was generated from the following file:

Generated on Thu Jan 31 00:32:13 2013 for HDK by  doxygen 1.5.9