Rosetta
Public Member Functions | Private Attributes | Friends | List of all members
utility::graph::ArrayPoolElement< T > Class Template Reference

#include <ArrayPool.hh>

Public Member Functions

 ArrayPoolElement (platform::Size size, NegSpaceElement< T > *neg_ptr)
 
T const & operator[] (platform::Size index) const
 
Toperator[] (platform::Size index)
 
T const & operator[] (int index) const
 
Toperator[] (int index)
 
bool valid () const
 
void copy_array_contents (ArrayPoolElement< T > const &other)
 
platform::Size size () const
 

Private Attributes

Array0< Tarray_
 
NegSpaceElement< T > * neg_ptr_
 

Friends

template<typename >
class ArrayPool
 

Constructor & Destructor Documentation

◆ ArrayPoolElement()

template<class T >
utility::graph::ArrayPoolElement< T >::ArrayPoolElement ( platform::Size  size,
NegSpaceElement< T > *  neg_ptr 
)
inline

Member Function Documentation

◆ copy_array_contents()

template<class T >
void utility::graph::ArrayPoolElement< T >::copy_array_contents ( ArrayPoolElement< T > const &  other)
inline

◆ operator[]() [1/4]

template<class T >
T& utility::graph::ArrayPoolElement< T >::operator[] ( int  index)
inline

◆ operator[]() [2/4]

template<class T >
T const& utility::graph::ArrayPoolElement< T >::operator[] ( int  index) const
inline

◆ operator[]() [3/4]

template<class T >
T& utility::graph::ArrayPoolElement< T >::operator[] ( platform::Size  index)
inline

◆ operator[]() [4/4]

template<class T >
T const& utility::graph::ArrayPoolElement< T >::operator[] ( platform::Size  index) const
inline

◆ size()

template<class T >
platform::Size utility::graph::ArrayPoolElement< T >::size ( ) const
inline

◆ valid()

template<class T >
bool utility::graph::ArrayPoolElement< T >::valid ( ) const
inline

Friends And Related Function Documentation

◆ ArrayPool

template<class T >
template<typename >
friend class ArrayPool
friend

Member Data Documentation

◆ array_

template<class T >
Array0< T > utility::graph::ArrayPoolElement< T >::array_
private

◆ neg_ptr_

template<class T >
NegSpaceElement< T >* utility::graph::ArrayPoolElement< T >::neg_ptr_
private

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