INMOST
Mathematical Modelling Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | List of all members
INMOST::dynarray< element, stacked > Class Template Reference

#include <container.hpp>

Inheritance diagram for INMOST::dynarray< element, stacked >:
Collaboration diagram for INMOST::dynarray< element, stacked >:

Classes

class  _iterator
 
class  _reverse_iterator
 

Public Types

typedef size_t size_type
 
typedef _iterator< element > iterator
 
typedef _iterator< const element > const_iterator
 
typedef _reverse_iterator
< element > 
reverse_iterator
 
typedef _reverse_iterator
< const element > 
const_reverse_iterator
 

Public Member Functions

__INLINE element * data ()
 
__INLINE const element * data () const
 
void report_addr ()
 
void reserve (size_type n)
 
 dynarray ()
 
 for (element *i=pbegin;i< pend;i++) new(i) element(c)
 
template<class InputIterator >
 dynarray (InputIterator first, InputIterator last)
 
 dynarray (const dynarray &other)
 
 ~dynarray ()
 
dynarrayoperator= (dynarray const &other)
 
__INLINE const element & operator[] (size_type n) const
 
__INLINE element & operator[] (size_type n)
 
__INLINE const element & at (size_type n) const
 
__INLINE element & at (size_type n)
 
void push_back (const element &e)
 
void pop_back ()
 
__INLINE element & back ()
 
__INLINE const element & back () const
 
__INLINE element & front ()
 
__INLINE const element & front () const
 
__INLINE size_type capacity ()
 
__INLINE bool empty () const
 
void resize (size_type n, element c=element())
 
__INLINE size_type size () const
 
void clear ()
 
void move (dynarray< element, stacked > &other)
 
void swap (dynarray< element, stacked > &other)
 
__INLINE iterator begin ()
 
__INLINE iterator end ()
 
__INLINE const_iterator begin () const
 
__INLINE const_iterator end () const
 
__INLINE reverse_iterator rbegin ()
 
__INLINE reverse_iterator rend ()
 
__INLINE const_reverse_iterator rbegin () const
 
__INLINE const_reverse_iterator rend () const
 
iterator erase (iterator pos)
 
iterator erase (iterator b, iterator e)
 
iterator insert (iterator pos, const element &x)
 
void insert (iterator pos, size_type n, const element &x)
 
template<class InputIterator >
void insert (iterator pos, InputIterator first, InputIterator last)
 

Detailed Description

template<typename element, unsigned int stacked>
class INMOST::dynarray< element, stacked >

Definition at line 1530 of file container.hpp.

Member Typedef Documentation

template<typename element, unsigned int stacked>
typedef _iterator<const element> INMOST::dynarray< element, stacked >::const_iterator

Definition at line 1571 of file container.hpp.

template<typename element, unsigned int stacked>
typedef _reverse_iterator<const element> INMOST::dynarray< element, stacked >::const_reverse_iterator

Definition at line 1609 of file container.hpp.

template<typename element, unsigned int stacked>
typedef _iterator<element> INMOST::dynarray< element, stacked >::iterator

Definition at line 1570 of file container.hpp.

template<typename element, unsigned int stacked>
typedef _reverse_iterator<element> INMOST::dynarray< element, stacked >::reverse_iterator

Definition at line 1608 of file container.hpp.

template<typename element, unsigned int stacked>
typedef size_t INMOST::dynarray< element, stacked >::size_type

Definition at line 1533 of file container.hpp.

Constructor & Destructor Documentation

template<typename element, unsigned int stacked>
INMOST::dynarray< element, stacked >::dynarray ( )
inline

Definition at line 1687 of file container.hpp.

template<typename element, unsigned int stacked>
template<class InputIterator >
INMOST::dynarray< element, stacked >::dynarray ( InputIterator  first,
InputIterator  last 
)
inline

Definition at line 1698 of file container.hpp.

template<typename element, unsigned int stacked>
INMOST::dynarray< element, stacked >::dynarray ( const dynarray< element, stacked > &  other)
inline

Definition at line 1708 of file container.hpp.

template<typename element, unsigned int stacked>
INMOST::dynarray< element, stacked >::~dynarray ( )
inline

Definition at line 1717 of file container.hpp.

Member Function Documentation

template<typename element, unsigned int stacked>
__INLINE const element& INMOST::dynarray< element, stacked >::at ( size_type  n) const
inline

Definition at line 1746 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE element& INMOST::dynarray< element, stacked >::at ( size_type  n)
inline

Definition at line 1751 of file container.hpp.

template<typename element, unsigned int stacked>
__INLINE element& INMOST::dynarray< element, stacked >::back ( )
inline

Definition at line 1766 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE const element& INMOST::dynarray< element, stacked >::back ( ) const
inline

Definition at line 1767 of file container.hpp.

template<typename element, unsigned int stacked>
__INLINE iterator INMOST::dynarray< element, stacked >::begin ( )
inline

Definition at line 1854 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE const_iterator INMOST::dynarray< element, stacked >::begin ( ) const
inline

Definition at line 1856 of file container.hpp.

template<typename element, unsigned int stacked>
__INLINE size_type INMOST::dynarray< element, stacked >::capacity ( )
inline

Definition at line 1770 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
void INMOST::dynarray< element, stacked >::clear ( )
inline

Definition at line 1781 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE element* INMOST::dynarray< element, stacked >::data ( )
inline

Definition at line 1632 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE const element* INMOST::dynarray< element, stacked >::data ( ) const
inline

Definition at line 1633 of file container.hpp.

template<typename element, unsigned int stacked>
__INLINE bool INMOST::dynarray< element, stacked >::empty ( ) const
inline

Definition at line 1771 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE iterator INMOST::dynarray< element, stacked >::end ( )
inline

Definition at line 1855 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE const_iterator INMOST::dynarray< element, stacked >::end ( ) const
inline

Definition at line 1857 of file container.hpp.

template<typename element, unsigned int stacked>
iterator INMOST::dynarray< element, stacked >::erase ( iterator  pos)
inline

Definition at line 1862 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
iterator INMOST::dynarray< element, stacked >::erase ( iterator  b,
iterator  e 
)
inline

Definition at line 1871 of file container.hpp.

template<typename element, unsigned int stacked>
INMOST::dynarray< element, stacked >::for ( )
new
template<typename element, unsigned int stacked>
__INLINE element& INMOST::dynarray< element, stacked >::front ( )
inline

Definition at line 1768 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE const element& INMOST::dynarray< element, stacked >::front ( ) const
inline

Definition at line 1769 of file container.hpp.

template<typename element, unsigned int stacked>
iterator INMOST::dynarray< element, stacked >::insert ( iterator  pos,
const element &  x 
)
inline

Definition at line 1881 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
void INMOST::dynarray< element, stacked >::insert ( iterator  pos,
size_type  n,
const element &  x 
)
inline

Definition at line 1891 of file container.hpp.

template<typename element, unsigned int stacked>
template<class InputIterator >
void INMOST::dynarray< element, stacked >::insert ( iterator  pos,
InputIterator  first,
InputIterator  last 
)
inline

Definition at line 1901 of file container.hpp.

template<typename element, unsigned int stacked>
void INMOST::dynarray< element, stacked >::move ( dynarray< element, stacked > &  other)
inline

Definition at line 1788 of file container.hpp.

template<typename element, unsigned int stacked>
dynarray& INMOST::dynarray< element, stacked >::operator= ( dynarray< element, stacked > const &  other)
inline

Definition at line 1722 of file container.hpp.

template<typename element, unsigned int stacked>
__INLINE const element& INMOST::dynarray< element, stacked >::operator[] ( size_type  n) const
inline

Definition at line 1736 of file container.hpp.

template<typename element, unsigned int stacked>
__INLINE element& INMOST::dynarray< element, stacked >::operator[] ( size_type  n)
inline

Definition at line 1741 of file container.hpp.

template<typename element, unsigned int stacked>
void INMOST::dynarray< element, stacked >::pop_back ( )
inline

Definition at line 1762 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
void INMOST::dynarray< element, stacked >::push_back ( const element &  e)
inline

Definition at line 1757 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE reverse_iterator INMOST::dynarray< element, stacked >::rbegin ( )
inline

Definition at line 1858 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE const_reverse_iterator INMOST::dynarray< element, stacked >::rbegin ( ) const
inline

Definition at line 1860 of file container.hpp.

template<typename element, unsigned int stacked>
__INLINE reverse_iterator INMOST::dynarray< element, stacked >::rend ( )
inline

Definition at line 1859 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE const_reverse_iterator INMOST::dynarray< element, stacked >::rend ( ) const
inline

Definition at line 1861 of file container.hpp.

template<typename element, unsigned int stacked>
void INMOST::dynarray< element, stacked >::report_addr ( )
inline

Definition at line 1634 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
void INMOST::dynarray< element, stacked >::reserve ( size_type  n)
inline

Definition at line 1643 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
void INMOST::dynarray< element, stacked >::resize ( size_type  n,
element  c = element() 
)
inline

Definition at line 1772 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
__INLINE size_type INMOST::dynarray< element, stacked >::size ( ) const
inline

Definition at line 1780 of file container.hpp.

Here is the caller graph for this function:

template<typename element, unsigned int stacked>
void INMOST::dynarray< element, stacked >::swap ( dynarray< element, stacked > &  other)
inline

Definition at line 1808 of file container.hpp.

Here is the caller graph for this function:


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