class FloatArrayStore Access and manipulate an indexed storage of float vectors
More...
#include <FloatArrayStore.h>
class FloatArrayStore Access and manipulate an indexed storage of float vectors
- Author
- Jorgen Beck Hansen
Definition at line 34 of file FloatArrayStore.h.
◆ Buffer
◆ BufferMap
◆ lessp
◆ map_citr
◆ FloatArrayStore() [1/2]
FloatArrayStore::FloatArrayStore |
( |
| ) |
|
|
inline |
◆ FloatArrayStore() [2/2]
FloatArrayStore::FloatArrayStore |
( |
const std::string & |
tag | ) |
|
|
inline |
◆ ~FloatArrayStore()
FloatArrayStore::~FloatArrayStore |
( |
| ) |
|
|
inlinevirtual |
◆ begin()
◆ buffer()
◆ cbegin()
◆ cend()
◆ cleanUp()
void FloatArrayStore::cleanUp |
( |
| ) |
|
remove data with no index pointing to it
Definition at line 9 of file FloatArrayStore.cxx.
10 std::multimap<int,Identifier> indexmap;
14 indexmap.insert(std::pair<int,Identifier>(std::abs(itr->second),itr->first));
15 std::vector< std::vector<float> >
tmp(
m_buf);
23 for (
pos=indexmap.lower_bound(
i);
pos!=indexmap.upper_bound(
i); ++
pos){
26 shared_id=
pos->second;
29 this->
share(pos->second,shared_id);
◆ clear()
void FloatArrayStore::clear |
( |
| ) |
|
|
inline |
◆ dbg()
void FloatArrayStore::dbg |
( |
| ) |
const |
◆ end()
◆ existID()
◆ numberOfIDs()
int FloatArrayStore::numberOfIDs |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ operator[]() [1/2]
std::vector< float > & FloatArrayStore::operator[] |
( |
const Identifier & |
ident | ) |
|
|
inline |
◆ operator[]() [2/2]
◆ push_back() [1/2]
◆ push_back() [2/2]
void FloatArrayStore::push_back |
( |
const std::vector< Identifier > & |
identvec, |
|
|
const std::vector< float > & |
value |
|
) |
| |
|
inline |
Definition at line 121 of file FloatArrayStore.h.
124 for(std::vector<Identifier>::const_iterator
it = identvec.begin() ;
it != identvec.end(); ++
it)
◆ removeID()
◆ share()
◆ sharedID()
◆ tag()
const std::string & FloatArrayStore::tag |
( |
| ) |
const |
|
inline |
◆ m_buf
The std::vector<float> stored in each second element.
Definition at line 100 of file FloatArrayStore.h.
◆ m_bufmap
◆ m_tag
std::string FloatArrayStore::m_tag |
|
private |
The documentation for this class was generated from the following files: