AvogadroLibs 1.97.0
Public Types | Public Member Functions | Public Attributes | List of all members
ArrayRefContainer< T > Class Template Reference

Public Types

typedef T ValueType
 
typedef std::vector< T > Parent
 
typedef Parent::value_type value_type
 
typedef Parent::allocator_type allocator_type
 
typedef Parent::reference reference
 
typedef Parent::const_reference const_reference
 
typedef Parent::pointer pointer
 
typedef Parent::const_pointer const_pointer
 
typedef Parent::iterator iterator
 
typedef Parent::const_iterator const_iterator
 
typedef Parent::reverse_iterator reverse_iterator
 
typedef Parent::const_reverse_iterator const_reverse_iterator
 
typedef Parent::difference_type difference_type
 
typedef Parent::size_type size_type
 

Public Member Functions

 ArrayRefContainer (const size_t n, const ValueType &value=ValueType())
 
 ArrayRefContainer (const ArrayRefContainer &other)
 
template<typename InputIterator >
 ArrayRefContainer (InputIterator first, InputIterator last)
 
void reref ()
 
bool deref ()
 
unsigned int ref () const
 

Public Attributes

unsigned int m_ref
 
std::vector< T > data
 

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