iopc::AttributeValue Class Reference
[iopcmeta]

Represents an attribute value. More...

#include <attributeValue.h>

List of all members.

Public Member Functions

const AttributegetAttribute () const
 Returns correspoinding Attribute.
void * getValue () const
 Returns a void pointer to the attribute value.


Detailed Description

Represents an attribute value.

AttributeValue contains reference to a corresponding Attribute and a void pointer to the attribute value. Data type of the value can be determined by calling

 const Type& t = attrVal.getAttribute().getType();

Value of an attribute from existing Object descendant instance can be obtained for example by calling

 const AttributeValue& attrVal = obj.getAttributeValue("attr_name");

Users are not supposed to create instances of this class


The documentation for this class was generated from the following file:

Generated on Tue Apr 14 16:46:36 2009 for IOPC 2 by  doxygen 1.5.6