srAttributeBase Class Reference

Inheritance diagram for srAttributeBase:

srBase


Public Methods

 srAttributeBase (const sd::sdAttribute *def, const srObjectRef::SPtr object)
virtual ~srAttributeBase ()
srObjectRef::CSPtr getObject () const
const sd::sdAttributegetDef () const

Public Types

typedef srAttributeBase * SPtr

Detailed Description

This is the abstract base class to represent an attribute. It contains a pointer to the sdAttribute that defines the schema definition for the representation and an srObjectRef pointer to store the object from which the attribute value was obtained.

The derived class will need to specialize for the specific value type.


Member Typedef Documentation

typedef srAttributeBase* srAttributeBase::SPtr
 

Reimplemented from srBase.


Constructor & Destructor Documentation

srAttributeBase::srAttributeBase const sd::sdAttribute *    def,
const srObjectRef::SPtr    object
 

This function is the srAttributeBase constructor.

Parameters:
def A pointer to the schema definition for the attribute.
object A smart pointer to the object reference for the object from which the attribute value was obtained.

srAttributeBase::~srAttributeBase   [virtual]
 

This is the srAttributeBase destructor.


Member Function Documentation

const sd::sdAttribute * srAttributeBase::getDef   const
 

This function is the accessor to get the pointer to the schema definition for the attribute.

const srObjectRef::SPtr srAttributeBase::getObject   const
 

This function is the accessor to get the owning object of this attribute.


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

Return to top of page