#include <PGValue.h>
Public メソッド | |
| PGValue () | |
| PGValue (const char *a) | |
| PGValue (const std::string &a) | |
| PGValue (int a) | |
| PGValue (bool a) | |
| PGValue (const PGJObject &a) | |
| PGValue (const PGJArray &a) | |
| PGValue (const value &a) | |
| PGValue & | operator= (const char *a) |
| PGValue & | operator= (const std::string &a) |
| PGValue & | operator= (int a) |
| PGValue & | operator= (bool a) |
| PGValue & | operator= (const PGJObject &a) |
| PGValue & | operator= (const PGJArray &a) |
| bool | operator== (const PGValue &a) |
| bool | operator== (const char *a) |
| bool | operator== (const std::string &a) |
| bool | operator== (int a) |
| bool | operator== (bool a) |
| bool | operator== (const PGJObject &a) |
| bool | operator== (const PGJArray &a) |
| bool | operator!= (const PGValue &a) |
| bool | operator!= (const char *a) |
| bool | operator!= (const std::string &a) |
| bool | operator!= (int a) |
| bool | operator!= (bool a) |
| bool | operator!= (const PGJObject &a) |
| bool | operator!= (const PGJArray &a) |
| operator const char * () const | |
| PGValue & | Set (const char *a) |
| PGValue & | Set (const std::string &a) |
| PGValue & | Set (int a) |
| PGValue & | Set (bool a) |
| PGValue & | Set (const PGJObject &a) |
| PGValue & | Set (const PGJArray &a) |
| int | GetType () const |
| int | GetInt () const |
| const char * | GetChar () const |
| bool | GetBool () const |
| const std::string & | GetString () |
| const PGJObject | GetObject () const |
| const PGJArray | GetArray () const |
Protected 型 | |
| enum | Type_t { TYPE_NONE, TYPE_INT, TYPE_STRING, TYPE_BOOL, TYPE_OBJECT, TYPE_ARRAY } |
Protected 変数 | |
| Type_t | mType |
| int | mInt |
| std::string | mString |
| PGJObject * | mObject |
| PGJArray * | mArray |
フレンド | |
| std::ostream & | operator<< (std::ostream &os, PGValue &val) |
enum Type_t [protected] |
| PGValue | ( | ) |
| PGValue | ( | const char * | a | ) |
| PGValue | ( | const std::string & | a | ) |
| PGValue | ( | int | a | ) |
| PGValue | ( | bool | a | ) |
| PGValue | ( | const PGJObject & | a | ) |
| PGValue | ( | const PGJArray & | a | ) |
| PGValue & operator= | ( | const char * | a | ) |
| PGValue& operator= | ( | const std::string & | a | ) |
| PGValue & operator= | ( | int | a | ) |
| PGValue & operator= | ( | bool | a | ) |
| PGValue & operator= | ( | const PGJObject & | a | ) |
| PGValue & operator= | ( | const PGJArray & | a | ) |
| bool operator== | ( | const PGValue & | a | ) |
| bool operator== | ( | const char * | a | ) |
| bool operator== | ( | const std::string & | a | ) |
| bool operator== | ( | int | a | ) |
| bool operator== | ( | bool | a | ) |
| bool operator== | ( | const PGJObject & | a | ) |
| bool operator== | ( | const PGJArray & | a | ) |
| bool operator!= | ( | const PGValue & | a | ) |
| bool operator!= | ( | const char * | a | ) |
| bool operator!= | ( | const std::string & | a | ) |
| bool operator!= | ( | int | a | ) |
| bool operator!= | ( | bool | a | ) |
| bool operator!= | ( | const PGJObject & | a | ) |
| bool operator!= | ( | const PGJArray & | a | ) |
| operator const char * | ( | ) | const |
| PGValue & Set | ( | const char * | a | ) |
| PGValue& Set | ( | const std::string & | a | ) |
| PGValue & Set | ( | int | a | ) |
| PGValue & Set | ( | bool | a | ) |
| PGValue & Set | ( | const PGJObject & | a | ) |
| PGValue & Set | ( | const PGJArray & | a | ) |
| int GetType | ( | ) | const |
| int GetInt | ( | ) | const |
| const char * GetChar | ( | ) | const |
| bool GetBool | ( | ) | const |
| const string & GetString | ( | ) |
| const PGJObject GetObject | ( | ) | const |
| const PGJArray GetArray | ( | ) | const |
| std::ostream& operator<< | ( | std::ostream & | os, | |
| PGValue & | val | |||
| ) | [friend] |
int mInt [protected] |
std::string mString [protected] |
PGJObject* mObject [protected] |
PGJArray* mArray [protected] |