votca 2024.2-dev
Loading...
Searching...
No Matches
votca::tools::DataCollection< T >::selection Class Reference

class for array selection More...

#include <datacollection.h>

Collaboration diagram for votca::tools::DataCollection< T >::selection:

Public Member Functions

 selection ()=default
 
 ~selection ()=default
 
Index size () const
 
bool empty () const
 
arrayoperator[] (Index i)
 
const arrayoperator[] (Index i) const
 
void push_back (array *a)
 
void push_back (selection *s)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Private Attributes

std::vector< array * > arrays_
 

Detailed Description

template<typename T>
class votca::tools::DataCollection< T >::selection

class for array selection

Definition at line 63 of file datacollection.h.

Constructor & Destructor Documentation

◆ selection()

template<typename T >
votca::tools::DataCollection< T >::selection::selection ( )
default

◆ ~selection()

template<typename T >
votca::tools::DataCollection< T >::selection::~selection ( )
default

Member Function Documentation

◆ begin() [1/2]

template<typename T >
iterator votca::tools::DataCollection< T >::selection::begin ( )
inline

Definition at line 85 of file datacollection.h.

◆ begin() [2/2]

template<typename T >
const_iterator votca::tools::DataCollection< T >::selection::begin ( ) const
inline

Definition at line 87 of file datacollection.h.

◆ empty()

template<typename T >
bool votca::tools::DataCollection< T >::selection::empty ( ) const
inline

Definition at line 69 of file datacollection.h.

◆ end() [1/2]

template<typename T >
iterator votca::tools::DataCollection< T >::selection::end ( )
inline

Definition at line 86 of file datacollection.h.

◆ end() [2/2]

template<typename T >
const_iterator votca::tools::DataCollection< T >::selection::end ( ) const
inline

Definition at line 88 of file datacollection.h.

◆ operator[]() [1/2]

template<typename T >
array & votca::tools::DataCollection< T >::selection::operator[] ( Index i)
inline

Definition at line 70 of file datacollection.h.

◆ operator[]() [2/2]

template<typename T >
const array & votca::tools::DataCollection< T >::selection::operator[] ( Index i) const
inline

Definition at line 75 of file datacollection.h.

◆ push_back() [1/2]

template<typename T >
void votca::tools::DataCollection< T >::selection::push_back ( array * a)
inline

Definition at line 80 of file datacollection.h.

◆ push_back() [2/2]

template<typename T >
void votca::tools::DataCollection< T >::selection::push_back ( selection * s)
inline

Definition at line 81 of file datacollection.h.

◆ size()

template<typename T >
Index votca::tools::DataCollection< T >::selection::size ( ) const
inline

Definition at line 68 of file datacollection.h.

Member Data Documentation

◆ arrays_

template<typename T >
std::vector<array *> votca::tools::DataCollection< T >::selection::arrays_
private

Definition at line 91 of file datacollection.h.


The documentation for this class was generated from the following file: