Public Types | Public Attributes

mln::util::multi_site< P > Struct Template Reference

#include <multi_site.hh>

Inheritance diagram for mln::util::multi_site< P >:
Inheritance graph

List of all members.

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

template<typename P>
struct mln::util::multi_site< P >


Member Typedef Documentation

typedef Object<void> mln::Object< multi_site< P > >::category [inherited]
template<typename P>
typedef container::const_reference mln::util::multi_site< P >::const_reference
template<typename P>
typedef std::vector<P> mln::util::multi_site< P >::container
template<typename P>
typedef P ::coord mln::util::multi_site< P >::coord
typedef multi_site< P > mln::Object< multi_site< P > >::exact_t [inherited]
template<typename P>
typedef P mln::util::multi_site< P >::location
template<typename P>
typedef container::reference mln::util::multi_site< P >::reference
template<typename P>
typedef container::size_type mln::util::multi_site< P >::size_type

Member Function Documentation

template<typename P >
multi_site< P >::const_reference mln::util::multi_site< P >::front (  )  const
template<typename P >
multi_site< P >::reference mln::util::multi_site< P >::front (  ) 
template<typename P >
multi_site< P >::const_reference mln::util::multi_site< P >::operator[] ( size_type  n  )  const
template<typename P >
multi_site< P >::reference mln::util::multi_site< P >::operator[] ( size_type  n  ) 
template<typename P>
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()().

template<typename P >
void mln::util::multi_site< P >::reserve ( size_type  n  ) 
template<typename P >
multi_site< P >::size_type mln::util::multi_site< P >::size (  )  const

Member Data Documentation

template<typename P>
container mln::util::multi_site< P >::sites

Referenced by mln::util::operator==().