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
CzXomlVariableManager Class Reference

#include <CzXomlVariables.h>

List of all members.

Public Types

typedef CzList< CzXomlVariable * >
::iterator 
_Iterator

Public Member Functions

_Iterator begin ()
_Iterator end ()
void addVariable (CzXomlVariable *variable)
CzXomlVariableaddVariable (const char *name, eCzXomlVariableType type=VT_String)
CzXomlVariableaddVariable (const char *name, eCzXomlVariableType type, const char *value, int size)
void removeVariable (CzXomlVariable *var)
void removeVariable (unsigned int name_hash)
void setVariable (unsigned int name_hash, const char *value)
void setVariable (const char *name, const char *value)
CzXomlVariablefindVariable (unsigned int name_hash)
CzXomlVariablefindVariable (const char *name)
void clearVariables ()
void setParent (IzXomlResource *scene)
IzXomlResourcegetParent ()
 CzXomlVariableManager ()
virtual ~CzXomlVariableManager ()
CzXomlVariableCreateVariable (const char *name, eCzXomlVariableType type=VT_String)
void Update ()

Static Public Member Functions

static CzXomlVariableFindVariable (const char *name, IzXomlResource *container)
static CzXomlVariableFindVariable (unsigned int name_hash, IzXomlResource *container)

Protected Attributes

CzList< CzXomlVariable * > Variables
 A collection of xoml variables.
IzXomlResourceParent
 Parent container.

Member Typedef Documentation


Constructor & Destructor Documentation

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

Member Function Documentation

CzXomlVariable * CzXomlVariableManager::addVariable ( const char *  name,
eCzXomlVariableType  type,
const char *  value,
int  size 
)
CzXomlVariable * CzXomlVariableManager::findVariable ( unsigned int  name_hash)
CzXomlVariable * CzXomlVariableManager::FindVariable ( const char *  name,
IzXomlResource container 
) [static]
CzXomlVariable * CzXomlVariableManager::FindVariable ( unsigned int  name_hash,
IzXomlResource container 
) [static]
void CzXomlVariableManager::removeVariable ( unsigned int  name_hash)
void CzXomlVariableManager::setVariable ( unsigned int  name_hash,
const char *  value 
)
void CzXomlVariableManager::setVariable ( const char *  name,
const char *  value 
)
void CzXomlVariableManager::Update ( ) [inline]

Member Data Documentation

Parent container.

A collection of xoml variables.


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