The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CJSONValue Class Reference

Collaboration diagram for CJSONValue:

List of all members.

Public Member Functions

 CJSONValue ()
 CJSONValue (const CJSONValue &rhs)
 ~CJSONValue ()
CJSONValueoperator= (const CJSONValue &rhs)
const JB_Json::ValueGetValue () const
JB_Json::ValueGetValue ()
bool IsValid () const
bool IsArray () const
unsigned int GetSize () const
JetByteTools::Core::_tstring WriteToString () const
CJSONValue operator[] (unsigned int index) const
bool RemoveValue (const JetByteTools::Core::_tstring &valueName)
bool HasValue (const JetByteTools::Core::_tstring &valueName) const
CJSONValue GetValue (const JetByteTools::Core::_tstring &valueName) const
CJSONValue GetOptionalValue (const JetByteTools::Core::_tstring &valueName) const
JetByteTools::Core::_tstring GetStringValue (const JetByteTools::Core::_tstring &valueName) const
JetByteTools::Core::_tstring GetStringValue (const JetByteTools::Core::_tstring &valueName, const JetByteTools::Core::_tstring &defaultValue) const
std::string GetStringValueA (const std::string &valueName, const std::string &defaultValue) const
long GetLongValue (const JetByteTools::Core::_tstring &valueName) const
long GetLongValue (const JetByteTools::Core::_tstring &valueName, long defaultValue) const
short GetShortValue (const JetByteTools::Core::_tstring &valueName) const
short GetShortValue (const JetByteTools::Core::_tstring &valueName, short defaultValue) const
unsigned short GetUnsignedShortValue (const JetByteTools::Core::_tstring &valueName) const
unsigned short GetUnsignedShortValue (const JetByteTools::Core::_tstring &valueName, unsigned short defaultValue) const
BYTE GetByteValue (const JetByteTools::Core::_tstring &valueName) const
BYTE GetByteValue (const JetByteTools::Core::_tstring &valueName, BYTE defaultValue) const
bool GetBoolValue (const JetByteTools::Core::_tstring &valueName) const
bool GetBoolValue (const JetByteTools::Core::_tstring &valueName, bool defaultValue) const
double GetDoubleValue (const JetByteTools::Core::_tstring &valueName) const
double GetDoubleValue (const JetByteTools::Core::_tstring &valueName, double defaultValue) const

Friends

class CJSONDocument


Constructor & Destructor Documentation

CJSONValue (  ) 

CJSONValue ( const CJSONValue rhs  ) 

~CJSONValue (  ) 


Member Function Documentation

CJSONValue & operator= ( const CJSONValue rhs  ) 

const JB_Json::Value * GetValue (  )  const

JB_Json::Value * GetValue (  ) 

bool IsValid (  )  const

bool IsArray (  )  const

unsigned int GetSize (  )  const

_tstring WriteToString (  )  const

CJSONValue operator[] ( unsigned int  index  )  const

bool RemoveValue ( const JetByteTools::Core::_tstring valueName  ) 

bool HasValue ( const JetByteTools::Core::_tstring valueName  )  const

CJSONValue GetValue ( const JetByteTools::Core::_tstring valueName  )  const

CJSONValue GetOptionalValue ( const JetByteTools::Core::_tstring valueName  )  const

JetByteTools::Core::_tstring GetStringValue ( const JetByteTools::Core::_tstring valueName  )  const

JetByteTools::Core::_tstring GetStringValue ( const JetByteTools::Core::_tstring valueName,
const JetByteTools::Core::_tstring defaultValue 
) const

string GetStringValueA ( const std::string &  valueName,
const std::string &  defaultValue 
) const

long GetLongValue ( const JetByteTools::Core::_tstring valueName  )  const

long GetLongValue ( const JetByteTools::Core::_tstring valueName,
long  defaultValue 
) const

short GetShortValue ( const JetByteTools::Core::_tstring valueName  )  const

short GetShortValue ( const JetByteTools::Core::_tstring valueName,
short  defaultValue 
) const

unsigned short GetUnsignedShortValue ( const JetByteTools::Core::_tstring valueName  )  const

unsigned short GetUnsignedShortValue ( const JetByteTools::Core::_tstring valueName,
unsigned short  defaultValue 
) const

BYTE GetByteValue ( const JetByteTools::Core::_tstring valueName  )  const

BYTE GetByteValue ( const JetByteTools::Core::_tstring valueName,
BYTE  defaultValue 
) const

bool GetBoolValue ( const JetByteTools::Core::_tstring valueName  )  const

bool GetBoolValue ( const JetByteTools::Core::_tstring valueName,
bool  defaultValue 
) const

double GetDoubleValue ( const JetByteTools::Core::_tstring valueName  )  const

double GetDoubleValue ( const JetByteTools::Core::_tstring valueName,
double  defaultValue 
) const


Friends And Related Function Documentation

friend class CJSONDocument [friend]


Generated on Sun Sep 12 19:09:40 2021 for The Server Framework - v7.4 by doxygen 1.5.3