#include <BAttributeDefs.h>
Public Member Functions | |
| void | Add (const BAttributeDef &attrDef) |
| Adds a BAttributeDef to this BAttributeDefs collection. | |
| BAttributeDefs () | |
| Default constructor, which creates an empty collection. | |
| void | Clear (void) |
| Removes all BAttributeDef objects from this BAttributeDefs collection. | |
| BAttributeDef & | GetAt (size_t index) |
| Gets the BAttributeDef at the specified index in this BAttributeDefs collection. | |
| const BAttributeDef & | GetAt (size_t index) const |
| Gets the BAttributeDef at the specified index in this BAttributeDefs collection. | |
| BAttributeDef & | GetByAttributeName (const BString &attributeName) |
| Finds the specified BAttributeDef in this BAttributeDefs. | |
| const BAttributeDef & | GetByAttributeName (const BString &attributeName) const |
| Finds the specified BAttributeDef in this BAttributeDefs. | |
| size_t | GetCount (void) const |
| Gets the number of BAttributeDef objects in this BAttributeDefs collection. | |
| Int32 | GetIndexOfName (const BString &attributeName) const |
| Finds the index of the specified BAttributeDef in this BAttributeDefs. | |
| bool | HasAttribute (const BString &attributeName) const |
| Determine whether or not this BAttributeDefs collection contains a BAttributeDef with the specified name. | |
| bool | operator!= (const BAttributeDefs &defs) const |
| Inequality operator. | |
| bool | operator== (const BAttributeDefs &defs) const |
| Equality operator. | |
| void | Remove (const BAttributeDef &attrDef) |
| Removes a BAttributeDef from this BAttributeDefs collection. | |
| void | Reserve (size_t size) |
| Reserves space in the collection for the specified number of objects. | |
| virtual | ~BAttributeDefs () |
| Destructor. | |
| BAttributeDefs | ( | ) | [inline] |
Default constructor, which creates an empty collection.
| virtual ~BAttributeDefs | ( | ) | [inline, virtual] |
Destructor.
| void Add | ( | const BAttributeDef & | attrDef | ) | [inline] |
Adds a BAttributeDef to this BAttributeDefs collection.
| attrDef | The BAttributeDef to add to this collection. |
| void Clear | ( | void | ) | [inline] |
Removes all BAttributeDef objects from this BAttributeDefs collection.
| BAttributeDef& GetAt | ( | size_t | index | ) | [inline] |
Gets the BAttributeDef at the specified index in this BAttributeDefs collection.
| index | The zero-based index of the requested BAttributeDef. |
| const BAttributeDef& GetAt | ( | size_t | index | ) | const [inline] |
Gets the BAttributeDef at the specified index in this BAttributeDefs collection.
| index | The zero-based index of the requested BAttributeDef. |
| BAttributeDef& GetByAttributeName | ( | const BString & | attributeName | ) |
Finds the specified BAttributeDef in this BAttributeDefs.
| attributeName | The name of the desired BAttributeDef. |
| BKeyNotFoundException | This exception will be thrown if there does not exist a BAttributeDef with the specified name in this BAttributeDefs. |
| const BAttributeDef& GetByAttributeName | ( | const BString & | attributeName | ) | const |
Finds the specified BAttributeDef in this BAttributeDefs.
| attributeName | The name of the desired BAttributeDef. |
| BKeyNotFoundException | This exception will be thrown if there does not exist a BAttributeDef with the specified name in this BAttributeDefs. |
| size_t GetCount | ( | void | ) | const [inline] |
Gets the number of BAttributeDef objects in this BAttributeDefs collection.
Finds the index of the specified BAttributeDef in this BAttributeDefs.
| attributeName | The name of the desired BAttributeDef. |
| bool HasAttribute | ( | const BString & | attributeName | ) | const |
Determine whether or not this BAttributeDefs collection contains a BAttributeDef with the specified name.
| attributeName | The name of the BAttributeDef in question. |
| bool operator!= | ( | const BAttributeDefs & | defs | ) | const [inline] |
Inequality operator.
| defs | The BAttributeDefs to be compared to this one. |
| bool operator== | ( | const BAttributeDefs & | defs | ) | const |
Equality operator.
| defs | The BAttributeDefs to be compared to this one. |
| void Remove | ( | const BAttributeDef & | attrDef | ) |
Removes a BAttributeDef from this BAttributeDefs collection.
| attrDef | The BAttributeDef to remove from this collection. |
| void Reserve | ( | size_t | size | ) | [inline] |
Reserves space in the collection for the specified number of objects.
| size | The number of objects to reserve space for. |