BaseNodeCompositeStore Class Reference
#include <BaseStorage.hh>
Additional Inherited Members | |
Public Member Functions inherited from BaseCompositeStore< Node > | |
| BaseCompositeStore () | |
| virtual | ~BaseCompositeStore () |
| virtual bool | Add (TPtr _object) |
| Add given element. If the element has already been added or its name or ID conflict with other existing elements, then no work will be done. | |
| virtual bool | AddStore (TStorePtr _store) |
| Add the given store. If the given store already exists, then no work will be done. | |
| virtual bool | Contains (ConstTPtr _object) const |
| Determine if store contains the given element. | |
| virtual bool | ContainsId (unsigned int _id) const |
| Determine if store contains the element with the given ID. | |
| virtual bool | ContainsName (const std::string &_name) const |
| Determine if store contains the element with the given name. | |
| virtual bool | ContainsStore (ConstTStorePtr _store) const |
| Determine if given store exists. | |
| virtual void | Destroy (TPtr _object) |
| Remove and destroy given element. If the given element does not exists, in this store, then no work will be done. | |
| virtual void | DestroyAll () |
| Remove and destroy all elements in store. | |
| virtual void | DestroyById (unsigned int _id) |
| Remove and destroy element with the given ID. If the specified element does not exists in this store, then no work will be done. | |
| virtual void | DestroyByIndex (unsigned int _index) |
| Remove and destroy element at the given index. If the specified element does not exists in this store, then no work will be done. | |
| virtual void | DestroyByName (const std::string &_name) |
| Remove and destroy element with the given name. If the specified element does not exists in this store, then no work will be done. | |
| virtual TPtr | GetById (unsigned int _id) const |
| Get element with the given ID. | |
| virtual TPtr | GetByIndex (unsigned int _index) const |
| Get element at the given index. | |
| virtual TPtr | GetByName (const std::string &_name) const |
| Get element with the given name. | |
| virtual TStorePtr | GetStore (unsigned int _index) const |
| Get store at the given index. If no such store exists NULL will be returned. | |
| virtual unsigned int | GetStoreCount () const |
| Get number of Stores. | |
| virtual TPtr | Remove (TPtr _object) |
| Remove given element. If the given element does not exists in this store, then no work will be done. | |
| virtual void | RemoveAll () |
| Remove all elements from store. | |
| virtual TPtr | RemoveById (unsigned int _id) |
| Remove element with the given ID. If the specified element does not exists in this store, then no work will be done. | |
| virtual TPtr | RemoveByIndex (unsigned int _index) |
| Remove element at the given index. If the specified element does not exists in this store, then no work will be done. | |
| virtual TPtr | RemoveByName (const std::string &_name) |
| Remove element with the given name. If the specified element does not exists in this store, then no work will be done. | |
| virtual TStorePtr | RemoveStore (TStorePtr _store) |
| Remove given store. If no such store exists no work will be done and NULL will be returned. | |
| virtual TStorePtr | RemoveStore (unsigned int _index) |
| Remove store at the given index. If no such store exists no work will be done and NULL will be returned. | |
| virtual TStorePtr | RemoveStoreImpl (TStoreIter _iter) |
| virtual unsigned int | Size () const |
| Get number of elements in this store. | |
Public Member Functions inherited from CompositeStore< T > | |
| virtual | ~CompositeStore ()=default |
| Destructor. | |
Public Member Functions inherited from Store< T > | |
| virtual | ~Store ()=default |
| Destructor. | |
Protected Attributes inherited from BaseCompositeStore< Node > | |
| TStoreList | stores |
The documentation for this class was generated from the following file:
Public Member Functions inherited from