AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzXomlVariable Struct Reference

#include <CzXomlVariables.h>

Inheritance diagram for CzXomlVariable:
CzXomlVariableArray CzXomlVariableBool CzXomlVariableCondition CzXomlVariableFloat CzXomlVariableInt CzXomlVariableVec2 CzXomlVariableVec3 CzXomlVariableVec4 CzXomlVariableXML

List of all members.

Public Member Functions

void setPersistent (bool persist)
bool isPersistent () const
void setInstantSave (bool instant)
bool isInstantSave () const
void setValueText (const char *value)
virtual void setValue (const char *value, int count=-1)
virtual void addValue (const char *value, const char *limit=NULL)
CzStringgetValue ()
virtual bool isTrue ()
virtual bool checkCondition (eCzXomlConditionOperator condition, const CzString &val)
 CzXomlVariable ()
virtual ~CzXomlVariable ()
virtual void Update ()
bool isArray () const
bool isXML () const
virtual bool Save ()
virtual bool Load ()

Static Public Member Functions

static CzXomlVariableGetVariable (const CzString &value, IzXomlResource *parent)

Public Attributes

CzXomlVariableManagerParent
 Parent manager.
CzString Name
 Name of variable.
eCzXomlVariableType Type
 Type of variable.
bool Modified
 Modified since last read flag.

Protected Attributes

bool Persist
 if true then this variable will persist when the app is closed down and restarted
bool InstantSave
 if true then this variable will saved as soon as it is changed otherwise it will be saved when it is destroyed
CzString Value
 Value of variable.
bool Changed
 Internal changed status.

Constructor & Destructor Documentation

virtual CzXomlVariable::~CzXomlVariable ( ) [inline, virtual]

Member Function Documentation

virtual void CzXomlVariable::addValue ( const char *  value,
const char *  limit = NULL 
) [inline, virtual]
CzXomlVariable * CzXomlVariable::GetVariable ( const CzString value,
IzXomlResource parent 
) [static]
bool CzXomlVariable::isArray ( ) const [inline]
bool CzXomlVariable::isInstantSave ( ) const [inline]
bool CzXomlVariable::isPersistent ( ) const [inline]
bool CzXomlVariable::isXML ( ) const [inline]
bool CzXomlVariable::Load ( ) [virtual]

Reimplemented in CzXomlVariableArray.

bool CzXomlVariable::Save ( ) [virtual]

Reimplemented in CzXomlVariableArray.

void CzXomlVariable::setInstantSave ( bool  instant) [inline]
void CzXomlVariable::setPersistent ( bool  persist) [inline]
void CzXomlVariable::setValueText ( const char *  value) [inline]
virtual void CzXomlVariable::Update ( ) [inline, virtual]

Reimplemented in CzXomlVariableArray.


Member Data Documentation

bool CzXomlVariable::Changed [protected]

Internal changed status.

bool CzXomlVariable::InstantSave [protected]

if true then this variable will saved as soon as it is changed otherwise it will be saved when it is destroyed

Modified since last read flag.

Name of variable.

bool CzXomlVariable::Persist [protected]

if true then this variable will persist when the app is closed down and restarted

Value of variable.


The documentation for this struct was generated from the following files: