OPTPiX SpriteStudio SDK
|
Public Types | |
enum | { unkown, string_type, int_type, float_type, boolean_type, hash_type, array_type } |
Public Member Functions | |
SsValue (bool b) | |
SsValue (int n) | |
SsValue (float n) | |
SsValue (SsString &str) | |
SsValue (const char *str) | |
SsValue (SsArray &n) | |
SsValue (SsHash &n) | |
SsValue (const SsValue &x) | |
SsValue & | operator= (const SsValue &x) |
void | release () |
template<typename T > | |
bool | is () const |
template<typename T > | |
const T & | get () const |
template<typename T > | |
T & | get () |
const SsValue & | operator[] (const std::string &key) const |
bool | IsExistHashkey (const std::string &key) const |
template<> | |
const SsString & | get () const |
template<> | |
SsString & | get () |
template<> | |
const int & | get () const |
template<> | |
int & | get () |
template<> | |
const float & | get () const |
template<> | |
float & | get () |
template<> | |
const bool & | get () const |
template<> | |
bool & | get () |
template<> | |
const SsArray & | get () const |
template<> | |
SsArray & | get () |
template<> | |
const SsHash & | get () const |
template<> | |
SsHash & | get () |
template<> | |
bool | is () const |
template<> | |
bool | is () const |
template<> | |
bool | is () const |
template<> | |
bool | is () const |
template<> | |
bool | is () const |
template<> | |
bool | is () const |
Public Attributes | |
int | type |
SsString | name |
union { | |
SsString * _str | |
int _int | |
float _float | |
bool _bool | |
SsArray * _array | |
SsHash * _hash | |
}; | |
int | _int_temp |
float | _float_temp |
bool | _bool_temp |