|
CLAM-Development
1.4.0
|
A container for the attributes values along the differents contexts of a single scope. More...
#include <ScopePool.hxx>
Classes | |
| class | AttributePoolStorageProxy |
Public Types | |
| typedef std::vector < AttributePool > | AttributesData |
Public Member Functions | |
| ScopePool (const DescriptionScope &spec, unsigned size=0) | |
| ~ScopePool () | |
| const char * | GetClassName () const |
| Return the class name. | |
| void | StoreOn (Storage &storage) const |
| Stores component's subitems on the given Storage. | |
| void | LoadFrom (Storage &storage) |
| Loads component's subitems from the given Storage. | |
| void | Insert (unsigned pos) |
| void | Remove (unsigned pos) |
| unsigned | GetNAttributes () const |
| unsigned | GetSize () const |
| void | SetSize (unsigned newSize) |
| bool | IsInstantiated (const std::string &attributeName) const |
| template<typename AttributeType > | |
| const AttributeType * | GetReadPool (const std::string &name) const |
| template<typename AttributeType > | |
| AttributeType * | GetWritePool (const std::string &name) |
Public Member Functions inherited from CLAM::Component | |
| virtual | ~Component () |
| virtual Component * | ShallowCopy () const |
| virtual Component * | DeepCopy () const |
Friends | |
| class | AttributePoolStorageProxy |
A container for the attributes values along the differents contexts of a single scope.
Definition at line 41 of file ScopePool.hxx.
| typedef std::vector<AttributePool> CLAM::ScopePool::AttributesData |
Definition at line 66 of file ScopePool.hxx.
|
inline |
Definition at line 72 of file ScopePool.hxx.
References CLAM::DescriptionScope::GetAttribute().
| CLAM::ScopePool::~ScopePool | ( | ) |
Definition at line 5 of file ScopePool.cxx.
|
inlinevirtual |
|
inline |
Definition at line 149 of file ScopePool.hxx.
References CLAM::DescriptionScope::GetNAttributes().
|
inline |
Definition at line 169 of file ScopePool.hxx.
References CLAM::DescriptionScope::CheckType(), CLAM_ASSERT, CLAM::DescriptionScope::GetIndex(), and CLAM::DescriptionScope::GetName().
|
inline |
Definition at line 153 of file ScopePool.hxx.
|
inline |
Definition at line 180 of file ScopePool.hxx.
References CLAM::DescriptionScope::CheckType(), and CLAM::DescriptionScope::GetIndex().
|
inline |
Definition at line 115 of file ScopePool.hxx.
|
inline |
Definition at line 162 of file ScopePool.hxx.
References CLAM::DescriptionScope::GetIndex().
|
inlinevirtual |
Loads component's subitems from the given Storage.
| storage | The given storage where the subitem will be loaded from |
Implements CLAM::Component.
Definition at line 97 of file ScopePool.hxx.
References AttributePoolStorageProxy, CLAM_ASSERT, CLAM::DescriptionScope::GetName(), and CLAM::Storage::Load().
|
inline |
Definition at line 125 of file ScopePool.hxx.
|
inline |
Definition at line 157 of file ScopePool.hxx.
|
inlinevirtual |
Stores component's subitems on the given Storage.
| storage | The given storage where the subitem will be stored |
Implements CLAM::Component.
Definition at line 84 of file ScopePool.hxx.
References CLAM::DescriptionScope::GetName(), and CLAM::Storage::Store().
|
friend |
Definition at line 43 of file ScopePool.hxx.
Referenced by LoadFrom().
1.8.1