#include <multi_site.hh>
Public Types | |
typedef Object< void > | category |
typedef container::const_reference | const_reference |
typedef std::vector< P > | container |
typedef P::coord | coord |
typedef multi_site< P > | exact_t |
typedef P | location |
typedef container::reference | reference |
typedef container::size_type | size_type |
Public Member Functions | |
void | push_back (const P &p) |
Interface similar to std::vector. | |
void | reserve (size_type n) |
size_type | size () const |
reference | operator[] (size_type n) |
const_reference | operator[] (size_type n) const |
const_reference | front () const |
reference | front () |
Public Attributes | |
container | sites |
typedef Object<void> mln::Object< multi_site< P > >::category [inherited] |
typedef container::const_reference mln::util::multi_site< P >::const_reference |
typedef std::vector<P> mln::util::multi_site< P >::container |
typedef P ::coord mln::util::multi_site< P >::coord |
typedef multi_site< P > mln::Object< multi_site< P > >::exact_t [inherited] |
typedef P mln::util::multi_site< P >::location |
typedef container::reference mln::util::multi_site< P >::reference |
typedef container::size_type mln::util::multi_site< P >::size_type |
multi_site< P >::const_reference mln::util::multi_site< P >::front | ( | ) | const |
multi_site< P >::reference mln::util::multi_site< P >::front | ( | ) |
multi_site< P >::const_reference mln::util::multi_site< P >::operator[] | ( | size_type | n | ) | const |
multi_site< P >::reference mln::util::multi_site< P >::operator[] | ( | size_type | n | ) |
void mln::util::multi_site< P >::push_back | ( | const P & | p | ) |
Interface similar to std::vector.
Referenced by mln::geom::complex_geometry< D, P >::operator()().
void mln::util::multi_site< P >::reserve | ( | size_type | n | ) |
Referenced by mln::geom::complex_geometry< D, P >::operator()().
multi_site< P >::size_type mln::util::multi_site< P >::size | ( | ) | const |
container mln::util::multi_site< P >::sites |
Referenced by mln::util::operator==().