AvogadroLibs 1.97.0
|
Templated class for array type containers. More...
#include <avogadro/core/coordinateset.h>
Public Member Functions | |
void | resize (Index _size) |
Index | size () const |
std::vector< T > & | coordinates () |
const std::vector< T > & | coordinates () const |
T | operator() (Index _index) const |
T & | operator[] (Index _index) |
const T & | operator[] (Index _index) const |
![]() | |
template<typename T > | |
bool | isType (const T &) const |
Additional Inherited Members | |
![]() | |
PlaceHolder * | m_content |
void * | m_data |
This class gives us the derived templated class that stores arrays of data. of data. This class should be used to store concrete arrays, and can be cast to ArraySet when stored in generic containers.
T operator() | ( | Index | _index | ) | const |
Returns the element at \index _index.