IAttribute Class Reference

Base class for attributes. This is used becase subclasses are usually templated. More...

List of all members.

Public Member Functions

 IAttribute ()
virtual ~IAttribute ()
virtual std::string getKey ()=0
 Returns the Key for this attribute.
virtual Any getValue ()=0
 Returns the data value of the attribute as an Boost Any.
virtual int32 valueToInt32 ()=0
 Converts the data value to an int32 value.
virtual float32 valueToFloat32 ()=0
 Converts the data value to a float value.
virtual float64 valueToFloat64 ()=0
 Converts the data value to a double value.
virtual std::string valueToString ()=0
 Converts the data value to a string.
virtual int32 write (int32 locationId, std::string datasetPath, IAttributeWriter &writer)=0
 Writes the Attribute using the IAttributeWriter Object.

Private Member Functions

 IAttribute (const IAttribute &)
void operator= (const IAttribute &)


Detailed Description

Base class for attributes. This is used becase subclasses are usually templated.

Author:
Mike Jackson
Date:
March 2007
Version:
Revision
1.2


Constructor & Destructor Documentation

IAttribute::IAttribute (  )  [inline]

virtual IAttribute::~IAttribute (  )  [inline, virtual]

IAttribute::IAttribute ( const IAttribute  )  [private]


Member Function Documentation

virtual std::string IAttribute::getKey (  )  [pure virtual]

Returns the Key for this attribute.

virtual Any IAttribute::getValue (  )  [pure virtual]

Returns the data value of the attribute as an Boost Any.

virtual int32 IAttribute::valueToInt32 (  )  [pure virtual]

Converts the data value to an int32 value.

virtual float32 IAttribute::valueToFloat32 (  )  [pure virtual]

Converts the data value to a float value.

virtual float64 IAttribute::valueToFloat64 (  )  [pure virtual]

Converts the data value to a double value.

virtual std::string IAttribute::valueToString (  )  [pure virtual]

Converts the data value to a string.

virtual int32 IAttribute::write ( int32  locationId,
std::string  datasetPath,
IAttributeWriter writer 
) [pure virtual]

Writes the Attribute using the IAttributeWriter Object.

void IAttribute::operator= ( const IAttribute  )  [private]


The documentation for this class was generated from the following file:
Generated on Tue Nov 17 18:43:12 2009 for MXADataModel by  doxygen 1.5.2