AGX Dynamics 2.42.3.0
Loading...
Searching...
No Matches
agxData::AttributeContainer Class Reference

An attribute container. More...

#include <AttributeContainer.h>

+ Inheritance diagram for agxData::AttributeContainer:

Public Member Functions

 AttributeContainer ()
 
 ~AttributeContainer ()
 
void * getAttribute (const Attribute *attribute)
 
const void * getAttribute (const Attribute *attribute) const
 
template<typename T >
T & getAttribute (const ScalarAttributeT< T > *attribute)
 
template<typename T >
const T & getAttribute (const ScalarAttributeT< T > *attribute) const
 
bool hasAttribute (const Attribute *attribute) const
 

Detailed Description

An attribute container.

Definition at line 31 of file AttributeContainer.h.

Constructor & Destructor Documentation

◆ AttributeContainer()

agxData::AttributeContainer::AttributeContainer ( )

◆ ~AttributeContainer()

agxData::AttributeContainer::~AttributeContainer ( )

Member Function Documentation

◆ getAttribute() [1/4]

void * agxData::AttributeContainer::getAttribute ( const Attribute *  attribute)
Returns
The value corresponding to an attribute.

Referenced by getAttribute().

◆ getAttribute() [2/4]

const void * agxData::AttributeContainer::getAttribute ( const Attribute *  attribute) const

◆ getAttribute() [3/4]

template<typename T >
T & agxData::AttributeContainer::getAttribute ( const ScalarAttributeT< T > *  attribute)

Definition at line 65 of file AttributeContainer.h.

References getAttribute().

◆ getAttribute() [4/4]

template<typename T >
const T & agxData::AttributeContainer::getAttribute ( const ScalarAttributeT< T > *  attribute) const

Definition at line 71 of file AttributeContainer.h.

References getAttribute().

◆ hasAttribute()

bool agxData::AttributeContainer::hasAttribute ( const Attribute *  attribute) const
Returns
True if an attribute is active/allocated.

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