Public Types | |
enum | VARTYPE { STRING = 0, NUMBER = 1, BOOLEAN = 2 } |
Public Types inherited from Bagel::CBagParseObject | |
enum | KEYWORDS { UNKNOWN = 0, STORAGEDEV, START_WLD, VARIABLE, REMARK, DISKID, CURSOR, SHAREDPAL, DISKAUDIO, PDASTATE, SYSSCREEN, WIELDCURSOR } |
Public Member Functions | |
CBagVar (const CBofString &sName, const CBofString &sValue, bool bAddToList) | |
ParseCodes | setInfo (CBagIfstream &) override |
const CBofString & | getName () |
const CBofString & | getValue () |
int | getNumValue () |
bool | isGlobal () |
bool | isConstant () |
bool | isNumeric () |
bool | isBoolean () |
bool | isString () |
bool | isReference () |
bool | isTimer () |
bool | isRandom () |
bool | isFrozen () const |
VARTYPE | getType () |
void | setName (const CBofString &s) |
void | setValue (const CBofString &s) |
void | setValue (int nVal) |
void | setBoolValue (bool bVal) |
void | setGlobal (bool bVal=true) |
void | setConstant (bool bVal=true) |
void | setReference (bool bVal=true) |
void | setTimer (bool bVal=true) |
void | setRandom (bool bVal=true) |
void | setFreeze (bool bVal=true) |
void | setString () |
void | setNumeric () |
void | setBoolean () |
void | increment () |
Public Member Functions inherited from Bagel::CBagParseObject | |
virtual ErrorCode | attach () |
virtual ErrorCode | detach () |
virtual bool | isAttached () |
int | getStringFromStream (CBagIfstream &istr, CBofString &sStr, const CBofString &sEndChars, bool bPutBack=false) |
int | getAlphaNumFromStream (CBagIfstream &istr, CBofString &sStr) |
int | getOperStrFromStream (CBagIfstream &istr, CBofString &sStr) |
int | getIntFromStream (CBagIfstream &istr, int &nNum) |
int | getRectFromStream (CBagIfstream &istr, CBofRect &rect) |
int | getKeywordFromStream (CBagIfstream &istr, KEYWORDS &keyword) |
int | putbackStringOnStream (CBagIfstream &istr, const CBofString &sStr) |
int | parseAlertBox (CBagIfstream &istr, const char *sTitle, const char *sFile, int nLine) |
Additional Inherited Members | |
Static Public Member Functions inherited from Bagel::CBagParseObject | |
static void | initialize () |
Static Public Member Functions inherited from Bagel::CBofObject | |
static bool | isValidObject (const CBofObject *pObject) |