FreebaseTopicValue
Object Hierarchy:
Description:
[ CCode ( ref_function = "gdata_freebase_topic_value_ref" , type_id = "gdata_freebase_topic_value_get_type ()" , unref_function = "gdata_freebase_topic_value_unref" ) ]
[ Compact ]
[ Version ( since = "0.15.1" ) ]
public class FreebaseTopicValue
Opaque struct containing a value of a Freebase topic object.
This struct may contain a simple value (integers, doubles, strings...) or complex values, expressed through a
FreebaseTopicObject.
Content:
Methods:
- public FreebaseTopicValue @ref ()
Creates and returns a new reference on this
.
- public Value copy_value ()
Copies in gvalue the value held in
this.
- public unowned string get_creator ()
Returns the Freebase ID of the user that created this value.
- public double get_double ()
Returns a double
value held in this.
- public int64 get_int ()
Returns a int64
value held in this.
- public unowned string get_language ()
Returns the language used in the content of
this
- public unowned FreebaseTopicObject get_object ()
Returns a compound/complex object held in
this.
- public unowned string get_property ()
Returns the property name that this value describes
- public unowned string get_string ()
Returns a string value held in this.
- public unowned string get_text ()
Returns a textual representation of this value, this is either the
value contained transformed to a string, or a concatenation of subvalues for compound types.
- public int64 get_timestamp ()
Returns the time at which this value was created in the Freebase
database.
- public Type get_value_type ()
Returns the
Type of the real value held in this.
- public bool is_image ()
Returns true if this holds a
freebase image object, on such values it will be valid to call get_image
to get a stream to the image itself.
- public void unref ()
Removes a reference from this.