![]() |
ATLAS Offline Software
|
class FloatArrayStore Access and manipulate an indexed storage of float vectors More...
#include <FloatArrayStore.h>
Public Types | |
| typedef std::less< Identifier > | lessp |
| typedef std::map< Identifier, int, lessp > | BufferMap |
| typedef BufferMap::const_iterator | map_citr |
| typedef std::vector< std::vector< float > > | Buffer |
Public Member Functions | |
| FloatArrayStore () | |
| constructors, optionally with a tag | |
| FloatArrayStore (const std::string &tag) | |
| virtual | ~FloatArrayStore () |
| destructor | |
| FloatArrayStore & | operator= (FloatArrayStore &&other) |
| move assignment | |
| const std::string & | tag () const |
| Tag accessor. | |
| int | numberOfIDs () const |
| Size accessor. | |
| const std::vector< float > & | operator[] (const Identifier &ident) const |
| Overload [] const access. | |
| bool | sharedID (const Identifier &ident) const |
| returns flag for index sharing data | |
| bool | existID (const Identifier &ident) const |
| returns flag for index existing in the std::map | |
| void | dbg () const |
| print method | |
| map_citr | cbegin () const |
| begin/end const iterators | |
| map_citr | cend () const |
| std::vector< float > & | operator[] (const Identifier &ident) |
| Overload [] modifier. | |
| void | share (const Identifier &ident, const Identifier &referenceIdent) |
| makes index ident share data with referenceIdent | |
| void | push_back (const Identifier &ident, const std::vector< float > &value) |
| makes new indices | |
| void | push_back (const std::vector< Identifier > &identvec, const std::vector< float > &value) |
| void | removeID (const Identifier &ident) |
| remove new index | |
| void | clear () |
| remove all | |
| void | cleanUp () |
| remove data with no index pointing to it | |
| map_citr | begin () const |
| begin/end iterators | |
| map_citr | end () const |
| const Buffer & | buffer () const |
| return stored vector | |
Private Attributes | |
| std::string | m_tag |
| The tag std::string. | |
| BufferMap | m_bufmap |
| The std::map. | |
| Buffer | m_buf |
| The std::vector<float> stored in each second element. | |
class FloatArrayStore Access and manipulate an indexed storage of float vectors
Definition at line 34 of file FloatArrayStore.h.
| typedef std::vector< std::vector<float> > FloatArrayStore::Buffer |
Definition at line 40 of file FloatArrayStore.h.
| typedef std::map<Identifier,int,lessp> FloatArrayStore::BufferMap |
Definition at line 38 of file FloatArrayStore.h.
| typedef std::less<Identifier> FloatArrayStore::lessp |
Definition at line 37 of file FloatArrayStore.h.
| typedef BufferMap::const_iterator FloatArrayStore::map_citr |
Definition at line 39 of file FloatArrayStore.h.
|
inline |
|
inline |
Definition at line 99 of file FloatArrayStore.h.
|
inlinevirtual |
|
inline |
return stored vector
Definition at line 83 of file FloatArrayStore.h.
|
inline |
|
inline |
Definition at line 165 of file FloatArrayStore.h.
| void FloatArrayStore::cleanUp | ( | ) |
remove data with no index pointing to it
Definition at line 10 of file FloatArrayStore.cxx.
|
inline |
| void FloatArrayStore::dbg | ( | ) | const |
print method
Definition at line 35 of file FloatArrayStore.cxx.
|
inline |
Definition at line 160 of file FloatArrayStore.h.
|
inline |
returns flag for index existing in the std::map
Definition at line 134 of file FloatArrayStore.h.
|
inline |
|
inline |
move assignment
Definition at line 101 of file FloatArrayStore.h.
|
inline |
Overload [] modifier.
Definition at line 143 of file FloatArrayStore.h.
|
inline |
Overload [] const access.
Definition at line 139 of file FloatArrayStore.h.
|
inline |
makes new indices
Definition at line 115 of file FloatArrayStore.h.
|
inline |
Definition at line 121 of file FloatArrayStore.h.
|
inline |
|
inline |
makes index ident share data with referenceIdent
Definition at line 146 of file FloatArrayStore.h.
|
inline |
returns flag for index sharing data
Definition at line 137 of file FloatArrayStore.h.
|
inline |
|
private |
The std::vector<float> stored in each second element.
Definition at line 90 of file FloatArrayStore.h.
|
private |
The std::map.
Definition at line 89 of file FloatArrayStore.h.
|
private |
The tag std::string.
Definition at line 88 of file FloatArrayStore.h.