http://www.midgard-project.org/development/mrfc/0029.html
Object Hierarchy
|
|
The opaque Midgard Collector type. Definition at line 61 of file midgard_collector.h. |
|
|
The opaque Midgard Collector Class type. Definition at line 74 of file midgard_collector.h. |
|
||||||||||||||||||||
|
Method inherited from MidgardQueryBuilder class. Definition at line 386 of file midgard_collector.c. References _MidgardCollectorPrivate::builder, and MidgardCollector::private. Referenced by midgard_object_get_languages(), and midgard_object_get_parameter(). |
|
||||||||||||||||
|
Method inherited from MidgardQueryBuilder class. Definition at line 415 of file midgard_collector.c. References _MidgardCollectorPrivate::builder, and MidgardCollector::private. |
|
||||||||||||
|
Adds value property for the given MidgardCollector object.
Number of value properties added to Midgard Collector is limited by the number of properties registered for type which has been initialized for the given Midgard Collector instance. Definition at line 149 of file midgard_collector.c. References _MidgardCollectorPrivate::keyname, MidgardCollector::private, and _MidgardCollectorPrivate::values. Referenced by midgard_object_get_parameter(). |
|
||||||||||||
|
Method inherited from MidgardQueryBuilder class. Definition at line 397 of file midgard_collector.c. References _MidgardCollectorPrivate::builder, and MidgardCollector::private. |
|
|
Not yet re-implemented Definition at line 452 of file midgard_collector.c. |
|
|
Destroys given MidgardCollector object.
Definition at line 376 of file midgard_collector.c. |
|
|
Method inherited from MidgardQueryBuilder class. Definition at line 406 of file midgard_collector.c. References _MidgardCollectorPrivate::builder, and MidgardCollector::private. |
|
|
Executes SQL query and set internal keys&values collection.
Cases to return FALSE:
In any other case this method returns TRUE. Definition at line 459 of file midgard_collector.c. References _MidgardCollectorPrivate::keyname, MidgardCollector::private, and _MidgardCollectorPrivate::values. Referenced by midgard_object_get_languages(), and midgard_object_get_parameter(). |
|
||||||||||||
|
Get key's value for the given MidgardCollector object.
Definition at line 210 of file midgard_collector.c. References _MidgardCollectorPrivate::keyname, _MidgardCollectorPrivate::keyshash, and MidgardCollector::private. Referenced by midgard_collector_merge(). |
|
||||||||||||||||
|
Gets value associated with the key's subkey.
Definition at line 225 of file midgard_collector.c. References _MidgardCollectorPrivate::keyshash, and MidgardCollector::private. Referenced by midgard_object_get_parameter(). |
|
|
Returns MidgardCollector type. Registers the type as a fundamental GType unless already registered. Definition at line 656 of file midgard_collector.c. |
|
|
Returns all keys in collection.
Definition at line 326 of file midgard_collector.c. References _MidgardCollectorPrivate::keyshash, and MidgardCollector::private. Referenced by midgard_collector_merge(), and midgard_object_get_languages(). |
|
||||||||||||||||
|
Merges collection's keys and its values.
If third overwrite parameter is set as TRUE then all keys which exists in self and mc collector's instance will be oberwritten in self colection instance. If set as FALSE , only those keys will be added which do not exist in self collection and exist in mc collection. Definition at line 280 of file midgard_collector.c. References _MidgardCollectorPrivate::keyshash, midgard_collector_get(), midgard_collector_list_keys(), and MidgardCollector::private. Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Creates new Midgard Collector object instance
Cases to return NULL:
Definition at line 70 of file midgard_collector.c. References _MidgardCollectorPrivate::builder, MidgardConnection::mgd, midgard_query_builder_add_constraint(), midgard_query_builder_new(), and MidgardCollector::private. Referenced by midgard_object_get_languages(), and midgard_object_get_parameter(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Removes key and associated value for the given MidgardCollector object.
Definition at line 355 of file midgard_collector.c. References _MidgardCollectorPrivate::keyshash, and MidgardCollector::private. Referenced by midgard_object_set_parameter(). |
|
||||||||||||||||||||
|
Sets ( or adds new key ) and new key's subkey for the given MidgardCollector.
If the key is already added to MidgardCollector then its value (as subkey&value pair) is destroyed and new one is set. In other case new key and its subkey&value pair is added to collector. Key used in this function is a value returned ( or set ) for collector's key. Keys are collection of values returned from property fields. Subkey is an explicit property name.
GValue Definition at line 173 of file midgard_collector.c. References _MidgardCollectorPrivate::keyshash, and MidgardCollector::private. Referenced by midgard_object_set_parameter(). |
|
||||||||||||||||
|
Sets key property for the given MidgardCollector object.
If value is explicitly set to NULL , then all key property name's records are selected from database and set in internal collector's resultset. If not, key property name and its value is used as constraint to limit selected records from database. In latter case add_value_property method should be invoked. GValue value passed as third argument is owned by Midgard Collector. If value should be reused, its copy should be passed to constructor. Definition at line 119 of file midgard_collector.c. References _MidgardCollectorPrivate::builder, midgard_query_builder_add_constraint(), MidgardCollector::private, and _MidgardCollectorPrivate::values. Referenced by midgard_object_get_languages(), and midgard_object_get_parameter(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Method inherited from MidgardQueryBuilder class. Definition at line 434 of file midgard_collector.c. References _MidgardCollectorPrivate::builder, and MidgardCollector::private. |
|
||||||||||||
|
Method inherited from MidgardQueryBuilder class. Definition at line 425 of file midgard_collector.c. References _MidgardCollectorPrivate::builder, and MidgardCollector::private. |
1.4.6