#include <d_Association.h>
Public Methods | |
| d_Association () | |
| d_Association (const K &iKey, const V &iValue, oDomain *iDomain) | |
| d_Association (const d_Association< K, V > &iSource) | |
| ~d_Association () | |
| void | delete_object () |
| virtual void | toStream (oObjectStream &iBuffer, oInterface *iInterface=0) |
| virtual void | fromStream (oObjectStream &iBuffer, oInterface *iInterface=0) |
Public Attributes | |
| K | key |
| V | value |
| oDynaObject | keyDynaObject |
| oDynaObject | valueDynaObject |
An association is compound of the couple key and value. Key and value can be of any types.
LOCATION: d_Association.h
USAGE: d_Association< , <value-type> <property-name>;
Where:
<key-type >: Key type. Can be a literal or a user type <value-type >: Value type. Can be a literal or a user type <PROPERTY-NAME>: NAME OF PROPERTY
<key-type> must be an ODMG literal or a user type but with the definition of operator<.
EXAMPLES: * DEFINITION OF A DICTIONARY OF CODE/PRODUCT d_Association< d_String, d_Float > Rates;
SEE ALSO: d_Dictionary
ODMG: Compliant
|
|||||||||
|
Default Constructor. ODMG : Compliant |
|
||||||||||||||||||||
|
Creates and fill a d_Association object. is the domain of the database where the object will be stored. Take the database's domain by d_Database::getDomain(). SEE ALSO: d_Database::getDomain() ODMG : Compliant |
|
||||||||||
|
Copy Constructor. ODMG : Compliant |
|
|||||||||
|
Destructor. ODMG : Compliant |
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.3-rc1