API Reference > OdRx Classes > OdRxAttributeCollection Class
OdRxAttributeCollection Class
OdRxAttributeCollection
Syntax
C++
class OdRxAttributeCollection;

RxAttribute.h

Container for the attributes of a member (OdRxMember). Attribute collection may have only one attribute of the given class.

 
Name 
Description 
 
Default destructor. Destroys the OdRxAttributeCollection object. 
 
Default constructor. Creates an OdRxAttributeCollection instance with default parameters. 
 
Name 
Description 
 
add 
Add an attribute to the collection. If the collection already has an attribute of this class, it will not be replaced.
 
 
Gets the number of elements in the collection.
 
 
get 
This is the overview for the get method overload. 
 
This is the overview for the getAt method overload. 
 
Adds an attribute to the collection. If the collection already has an attribute of this class, it will be replaced.
 
 
Removes the attribute of that type from the collection.
 
Copyright © 2002–2022. Open Design Alliance. All rights reserved.