Public Types | Public Member Functions

CL_NetGameEventValue Class Reference
[clanNetwork NetGame]

CL_NetGameEventValue. More...

#include <event_value.h>

List of all members.

Public Types

enum  Type {
  null, integer, uinteger, string,
  boolean, number, complex
}

Public Member Functions

 CL_NetGameEventValue ()
 CL_NetGameEventValue (int value)
 Constructs a NetGameEventValue.
 CL_NetGameEventValue (float value)
 Constructs a NetGameEventValue.
 CL_NetGameEventValue (const wchar_t *str)
 Constructs a NetGameEventValue.
 CL_NetGameEventValue (bool value)
 CL_NetGameEventValue (const CL_String &value)
 Constructs a NetGameEventValue.
 CL_NetGameEventValue (Type type)
 Constructs a NetGameEventValue.
 CL_NetGameEventValue (unsigned int value)
 Constructs a NetGameEventValue.
 CL_NetGameEventValue (const CL_StringRef &value)
 Constructs a NetGameEventValue.
 CL_NetGameEventValue (const char *str)
 Constructs a NetGameEventValue.
void add_member (const CL_NetGameEventValue &value)
 Add member.
const CL_NetGameEventValueget_member (unsigned int index) const
unsigned int get_member_count () const
Type get_type () const
 Get Type.
bool is_boolean () const
 Is Boolean.
bool is_complex () const
 Is Complex.
bool is_integer () const
 Is Integer.
bool is_null () const
 Is Null.
bool is_number () const
 Is Number.
bool is_string () const
 Is String.
bool is_uinteger () const
 Is Uinteger.
 operator bool () const
 operator CL_String () const
 operator float () const
 operator int () const
 operator unsigned int () const
void set_member (unsigned int index, const CL_NetGameEventValue &value)
 Set member.
bool to_boolean () const
 To boolean.
int to_integer () const
 To integer.
float to_number () const
 To number.
CL_String to_string () const
 To string.
unsigned int to_uinteger () const

Detailed Description

CL_NetGameEventValue.


Member Enumeration Documentation

Enumerator:
null 
integer 
uinteger 
string 
boolean 
number 
complex 

Constructor & Destructor Documentation

CL_NetGameEventValue::CL_NetGameEventValue (  ) 
CL_NetGameEventValue::CL_NetGameEventValue ( int  value  ) 

Constructs a NetGameEventValue.

Parameters:
value = value
CL_NetGameEventValue::CL_NetGameEventValue ( unsigned int  value  ) 

Constructs a NetGameEventValue.

Parameters:
value = value
CL_NetGameEventValue::CL_NetGameEventValue ( float  value  ) 

Constructs a NetGameEventValue.

Parameters:
value = value
CL_NetGameEventValue::CL_NetGameEventValue ( const CL_String value  ) 

Constructs a NetGameEventValue.

Parameters:
value = String
CL_NetGameEventValue::CL_NetGameEventValue ( const CL_StringRef value  ) 

Constructs a NetGameEventValue.

Parameters:
value = String Ref
CL_NetGameEventValue::CL_NetGameEventValue ( const char *  str  ) 

Constructs a NetGameEventValue.

Parameters:
str = char
CL_NetGameEventValue::CL_NetGameEventValue ( const wchar_t *  str  ) 

Constructs a NetGameEventValue.

Parameters:
str = wchar_t
CL_NetGameEventValue::CL_NetGameEventValue ( bool  value  )  [explicit]
CL_NetGameEventValue::CL_NetGameEventValue ( Type  type  ) 

Constructs a NetGameEventValue.

Parameters:
type = Type

Member Function Documentation

void CL_NetGameEventValue::add_member ( const CL_NetGameEventValue value  ) 

Add member.

Parameters:
value = Net Game Event Value
const CL_NetGameEventValue& CL_NetGameEventValue::get_member ( unsigned int  index  )  const
unsigned int CL_NetGameEventValue::get_member_count (  )  const
Type CL_NetGameEventValue::get_type (  )  const

Get Type.

Returns:
type
bool CL_NetGameEventValue::is_boolean (  )  const

Is Boolean.

Returns:
true = boolean
bool CL_NetGameEventValue::is_complex (  )  const

Is Complex.

Returns:
true = complex
bool CL_NetGameEventValue::is_integer (  )  const

Is Integer.

Returns:
true = integer
bool CL_NetGameEventValue::is_null (  )  const

Is Null.

Returns:
true = null
bool CL_NetGameEventValue::is_number (  )  const

Is Number.

Returns:
true = number
bool CL_NetGameEventValue::is_string (  )  const

Is String.

Returns:
true = string
bool CL_NetGameEventValue::is_uinteger (  )  const

Is Uinteger.

Returns:
true = uinteger
CL_NetGameEventValue::operator bool (  )  const [inline]
CL_NetGameEventValue::operator CL_String (  )  const [inline]
CL_NetGameEventValue::operator float (  )  const [inline]
CL_NetGameEventValue::operator int (  )  const [inline]
CL_NetGameEventValue::operator unsigned int (  )  const [inline]
void CL_NetGameEventValue::set_member ( unsigned int  index,
const CL_NetGameEventValue value 
)

Set member.

Parameters:
index = value
value = Net Game Event Value
bool CL_NetGameEventValue::to_boolean (  )  const

To boolean.

Returns:
bool
int CL_NetGameEventValue::to_integer (  )  const

To integer.

Returns:
int
float CL_NetGameEventValue::to_number (  )  const

To number.

Returns:
float
CL_String CL_NetGameEventValue::to_string (  )  const

To string.

Returns:
String
unsigned int CL_NetGameEventValue::to_uinteger (  )  const

Member Data Documentation


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