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


Detailed Description

CL_NetGameEventValue.


Member Enumeration Documentation

enum CL_NetGameEventValue::Type
 

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
 


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:39 2009 for ClanLib by  doxygen 1.4.6