Value Class Reference

List of all members.

Detailed Description

The Value is basically a variable container that consists of a type identifier and a specific value of that type.

The type identifier within a GValue structure always determines the type of the associated value. To create a undefined GValue structure, simply create a zero-filled GValue structure. To initialize the GValue, use the g_value_init() function. A GValue cannot be used until it is initialized. The basic type operations (such as freeing and copying) are determined by the GTypeValueTable associated with the type ID stored in the GValue. Other GValue operations (such as converting values between types) are provided by this interface.


Public Member Functions

 ~this ()
 Creates a new Value from a GValue.
 this ()
 Creates a new Value.
 this (char value)
 Creates a new Value from a char.
 this (bit value)
 Creates a new Value from a bit.
 this (int value)
 Creates a new Value from an int.
 this (uint value)
 Creates a new Value from an uint.
 this (long value)
 Creates a new Value from a long.
 this (ulong value)
 Creates a new Value from a ulong.
 this (double value)
 Creates a new Value from a double.
 this (String value)
 Creates a new Value from a char[] (string).
 this (void *value)
 Creates a new Value from a pointer.
GValue * getV ()
 gets the gtk structure
String contents ()


Constructor & Destructor Documentation

Value.~this  ) 
 

Creates a new Value from a GValue.


Member Function Documentation

String Value.contents  ) 
 

Returns:

GValue* Value.getV  ) 
 

gets the gtk structure

Value.this void *  value  ) 
 

Creates a new Value from a pointer.

Parameters:
value 

Value.this String  value  ) 
 

Creates a new Value from a char[] (string).

Parameters:
value 

Value.this double  value  ) 
 

Creates a new Value from a double.

Parameters:
value 

Value.this ulong  value  ) 
 

Creates a new Value from a ulong.

Parameters:
value 

Value.this long  value  ) 
 

Creates a new Value from a long.

Parameters:
value 

Value.this uint  value  ) 
 

Creates a new Value from an uint.

Parameters:
value 

Value.this int  value  ) 
 

Creates a new Value from an int.

Parameters:
value 

Value.this bit  value  ) 
 

Creates a new Value from a bit.

Parameters:
value 

Value.this char  value  ) 
 

Creates a new Value from a char.

Parameters:
value 

Value.this  ) 
 

Creates a new Value.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo