Thea
Public Member Functions | List of all members
AttributedObject< AttributeType > Class Template Reference

An object with an attached attribute (which must be default-constructible). More...

#include <AttributedObject.hpp>

Public Member Functions

Attribute const & attr () const
 Get the attribute of the object. More...
 
Attribute & attr ()
 Get the attribute of the object. More...
 
 AttributedObject ()
 Default constructor. More...
 
 AttributedObject (Attribute const &attrib_)
 Constructor. More...
 
void setAttr (Attribute const &attrib_)
 Set the attribute of the object. More...
 

Detailed Description

template<typename AttributeType>
class Thea::AttributedObject< AttributeType >

An object with an attached attribute (which must be default-constructible).

Definition at line 24 of file AttributedObject.hpp.

Constructor & Destructor Documentation

Default constructor.

Definition at line 30 of file AttributedObject.hpp.

AttributedObject ( Attribute const &  attrib_)

Constructor.

Definition at line 33 of file AttributedObject.hpp.

Member Function Documentation

Attribute const& attr ( ) const

Get the attribute of the object.

Definition at line 36 of file AttributedObject.hpp.

Attribute& attr ( )

Get the attribute of the object.

Definition at line 39 of file AttributedObject.hpp.

void setAttr ( Attribute const &  attrib_)

Set the attribute of the object.

Definition at line 42 of file AttributedObject.hpp.


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