ScummVM API documentation
QDEngine::qdConditionData Class Reference

Public Types

enum  data_t { DATA_INT, DATA_FLOAT, DATA_STRING }
 

Public Member Functions

 qdConditionData (data_t data_type, int data_size=0)
 
 qdConditionData (const qdConditionData &data)
 
qdConditionDataoperator= (const qdConditionData &data)
 
data_t type () const
 
void set_type (data_t tp)
 
int get_int (int index=0) const
 
bool put_int (int value, int index=0)
 
float get_float (int index=0) const
 
bool put_float (float value, int index=0)
 
const char * get_string () const
 
bool put_string (const char *str)
 
bool load_script (const xml::tag *p)
 
bool save_script (Common::WriteStream &fh, int indent=0) const
 
bool alloc_data (int size)
 

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