Value
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( copy_function = "ctpl_value_copy" ) ]
public class Value
[ CCode ( copy_function = "ctpl_value_copy" ) ]
public class Value
Namespace: Ctpl
Package: ctpl
Content:
Static methods:
- public static unowned string type_get_name (ValueType type)
Creation methods:
- public Value ()
- public Value.array (ValueType type, size_t count, ...)
- public Value.arrayv (ValueType type, size_t count, va_list ap)
- public Value.float (double val)
- public Value.int (long val)
- public Value.string (string val)
Methods:
- public void array_append (Value val)
- public void array_append_float (double val)
- public void array_append_int (long val)
- public void array_append_string (string val)
- public size_t array_length ()
- public void array_prepend (Value val)
- public void array_prepend_float (double val)
- public void array_prepend_int (long val)
- public void array_prepend_string (string val)
- public bool convert (ValueType vtype)
- public void copy (Value dst_value)
- public unowned Value dup ()
- public void free_value ()
- public unowned SList get_array ()
- public double[] get_array_float ()
- public long[] get_array_int ()
- public unowned string[] get_array_string ()
- public double get_float ()
- public ValueType get_held_type ()
- public long get_int ()
- public unowned string get_string ()
- public void init ()
- public void set_array (ValueType type, size_t count, va_list ap)
- public void set_array_float (size_t count)
- public void set_array_floatv (size_t count, va_list ap)
- public void set_array_int (size_t count)
- public void set_array_intv (size_t count, va_list ap)
- public void set_array_string (size_t count)
- public void set_array_stringv (size_t count, va_list ap)
- public void set_arrayv (ValueType type, size_t count, va_list ap)
- public void set_float (double val)
- public void set_int (long val)
- public void set_string (string val)
- public unowned string to_string ()