public

Inheritance Graph

graph BT
	ReferenceAttribute
	ReferenceAttribute --> WrapperAttribute
	click ReferenceAttribute "classUtil_1_1ReferenceAttribute"
	click WrapperAttribute "classUtil_1_1WrapperAttribute"

Description

Generic attribute to store an object pointer. It uses reference counting.

Public Types

   
   
typedef ReferenceAttribute < ObjType > attr_t

Public Functions

   
   
  ReferenceAttribute(ObjType * _obj)
   
  ~ReferenceAttribute()
   
ObjType * get() const
   
attr_t * clone() const
   
bool operator==(const GenericAttribute & void) const
Per default, the comparison returns false for unspecified types.

Documentation

typedef
Util::ReferenceAttribute::attr_t

public
 
 
typedef ReferenceAttribute < ObjType > attr_t

Defined in Util/GenericAttribute.h:479


function
Util::ReferenceAttribute::ReferenceAttribute

public inline explicit
     
     
ReferenceAttribute( ObjType * _obj )

Defined in Util/GenericAttribute.h:481


function
Util::ReferenceAttribute::~ReferenceAttribute

public inline virtual
   
   
~ReferenceAttribute( )

Defined in Util/GenericAttribute.h:483


function
Util::ReferenceAttribute::get

public const inline
   
   
ObjType * get( ) const

Return the stored pointer.

Returns

Pointer to object

Defined in Util/GenericAttribute.h:491


function
Util::ReferenceAttribute::clone

public const inline virtual
   
   
attr_t * clone( ) const

Create a copy of this object.

Returns

Exact copy.

Defined in Util/GenericAttribute.h:493


function
Util::ReferenceAttribute::operator==

public const inline virtual
     
     
bool operator==( const GenericAttribute & void ) const

Per default, the comparison returns false for unspecified types.

Defined in Util/GenericAttribute.h:494