#include <ParseOptions.h>
Public Types | |
| enum | data_types { UNDEF, FLOAT, VECTOR, UINT, INT, BOOL, STRINGLIST, STRING } |
Public Member Functions | |
| ~DataElement (void) | |
| DataElement (const char *newname, const char *newparent, int optional, const char *err, BigReal *ptr, BigReal defalt) | |
| DataElement (const char *newname, const char *newparent, int optional, const char *err, BigReal *ptr) | |
| DataElement (const char *newname, const char *newparent, int optional, const char *err, Vector *ptr, Vector defalt) | |
| DataElement (const char *newname, const char *newparent, int optional, const char *err, Vector *ptr) | |
| DataElement (const char *newname, const char *newparent, int optional, const char *err, int *ptr, int defalt) | |
| DataElement (const char *newname, const char *newparent, int optional, const char *err, int *ptr) | |
| DataElement (const char *newname, const char *newparent, int optional, const char *err, unsigned int *ptr, unsigned int defalt) | |
| DataElement (const char *newname, const char *newparent, int optional, const char *err, unsigned int *ptr) | |
| DataElement (const char *newname, const char *newparent, int optional, const char *err, StringList **ptr, int many_allowed=FALSE) | |
| DataElement (const char *newname, const char *newparent, int optional, const char *err, char *ptr) | |
Public Attributes | |
| int | index |
| char * | name |
| int | is_optional |
| int | is_defined |
| char * | parent |
| DataElement * | parent_ptr |
| char * | error_message |
| data_types | type |
| int | has_default |
| int | many_allowed |
| Vector | vdef |
| Vector | vdata |
| Range | range |
| Units | units |
| BigReal | fdef |
| int | idef |
| unsigned int | uidef |
| BigReal * | fptr |
| int * | iptr |
| unsigned int * | uiptr |
| Vector * | vptr |
| StringList ** | slptr |
| char * | sptr |
| BigReal | fdata |
| int | idata |
| int | uidata |
| StringList * | sldata |
|
|
Definition at line 47 of file ParseOptions.h. 00047 {UNDEF, FLOAT, VECTOR, UINT, INT, BOOL, STRINGLIST, STRING};
|
|
|
Definition at line 186 of file ParseOptions.C. 00186 {
00187 if (name) delete[] name;
00188 if (parent) delete[] parent;
00189 if (error_message) delete[] error_message;
00190 }
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
Definition at line 174 of file ParseOptions.C. References has_default, many_allowed, slptr, and type. 00177 {
00178 init(newname, newparent, optional, err);
00179 type = DataElement::STRINGLIST;
00180 slptr = ptr;
00181 has_default = FALSE;
00182 many_allowed = many;
00183 }
|
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 54 of file ParseOptions.h. Referenced by ParseOptions::set(). |
|
|
Definition at line 74 of file ParseOptions.h. Referenced by ParseOptions::get(), and ParseOptions::set(). |
|
|
Definition at line 59 of file ParseOptions.h. Referenced by ParseOptions::set(). |
|
|
Definition at line 66 of file ParseOptions.h. |
|
|
Definition at line 56 of file ParseOptions.h. Referenced by DataElement(), and ParseOptions::set(). |
|
|
Definition at line 75 of file ParseOptions.h. Referenced by ParseOptions::get(), and ParseOptions::set(). |
|
|
Definition at line 60 of file ParseOptions.h. Referenced by ParseOptions::set(). |
|
|
Definition at line 48 of file ParseOptions.h. Referenced by ParseOptions::set(). |
|
|
Definition at line 67 of file ParseOptions.h. |
|
|
Definition at line 51 of file ParseOptions.h. Referenced by ParseOptions::defined(), ParseOptions::get(), ParseOptions::num(), and ParseOptions::set(). |
|
|
Definition at line 50 of file ParseOptions.h. Referenced by ParseOptions::set(). |
|
|
Definition at line 57 of file ParseOptions.h. Referenced by DataElement(), ParseOptions::num(), and ParseOptions::set(). |
|
|
Definition at line 49 of file ParseOptions.h. Referenced by ParseOptions::check_consistency(), and ParseOptions::set(). |
|
|
Definition at line 52 of file ParseOptions.h. Referenced by ParseOptions::check_consistency(). |
|
|
Definition at line 53 of file ParseOptions.h. Referenced by ParseOptions::check_consistency(), and ParseOptions::set(). |
|
|
Definition at line 80 of file ParseOptions.h. Referenced by ParseOptions::range(). |
|
|
Definition at line 77 of file ParseOptions.h. Referenced by ParseOptions::get(), and ParseOptions::set(). |
|
|
Definition at line 70 of file ParseOptions.h. Referenced by DataElement(). |
|
|
Definition at line 71 of file ParseOptions.h. |
|
|
Definition at line 55 of file ParseOptions.h. Referenced by DataElement(), ParseOptions::get(), ParseOptions::ParseOptions(), and ParseOptions::set(). |
|
|
Definition at line 76 of file ParseOptions.h. Referenced by ParseOptions::set(). |
|
|
Definition at line 61 of file ParseOptions.h. Referenced by ParseOptions::set(). |
|
|
Definition at line 68 of file ParseOptions.h. |
|
|
Definition at line 81 of file ParseOptions.h. Referenced by ParseOptions::units(). |
|
|
Definition at line 79 of file ParseOptions.h. Referenced by ParseOptions::get(), and ParseOptions::set(). |
|
|
Definition at line 64 of file ParseOptions.h. Referenced by ParseOptions::set(). |
|
|
Definition at line 69 of file ParseOptions.h. |
1.3.9.1