Choreonoid  1.8
Public Types | Public Member Functions | List of all members
cnoid::PolymorphicPointerArray< ObjectType, PointerType > Class Template Reference

#include <PolymorphicPointerArray.h>

Inheritance diagram for cnoid::PolymorphicPointerArray< ObjectType, PointerType >:
cnoid::PolymorphicPointerArrayBase

Public Types

typedef PolymorphicPointerArrayBase Base
 
typedef Container::iterator iterator
 
typedef Container::const_iterator const_iterator
 
typedef Container::reference reference
 
typedef Container::const_reference const_reference
 

Public Member Functions

 PolymorphicPointerArray ()
 
template<class RhsObjectType , class RhsPointerType >
 PolymorphicPointerArray (const PolymorphicPointerArray< RhsObjectType, RhsPointerType > &rhs)
 
virtual ~PolymorphicPointerArray ()
 
template<class RhsObjectType , class RhsPointerType >
PolymorphicPointerArrayoperator<< (const PolymorphicPointerArray< RhsObjectType, RhsPointerType > &rhs)
 
bool operator== (const PolymorphicPointerArray &rhs) const
 
bool operator!= (const PolymorphicPointerArray &rhs) const
 
bool empty () const
 
void reserve (size_t size)
 
void resize (size_t size)
 
std::size_t size () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
PointerType & back ()
 
const PointerType & back () const
 
PointerType & front ()
 
const PointerType & front () const
 
PointerType & operator[] (std::size_t i)
 
const PointerType & operator[] (std::size_t i) const
 
void clear ()
 
void push_back (const PointerType &pointer)
 
void pop_back ()
 
iterator erase (iterator pos)
 
void swap (PolymorphicPointerArray &x)
 
- Public Member Functions inherited from cnoid::PolymorphicPointerArrayBase
virtual ~PolymorphicPointerArrayBase ()
 

Member Typedef Documentation

◆ Base

template<class ObjectType , class PointerType >
typedef PolymorphicPointerArrayBase cnoid::PolymorphicPointerArray< ObjectType, PointerType >::Base

◆ const_iterator

template<class ObjectType , class PointerType >
typedef Container::const_iterator cnoid::PolymorphicPointerArray< ObjectType, PointerType >::const_iterator

◆ const_reference

template<class ObjectType , class PointerType >
typedef Container::const_reference cnoid::PolymorphicPointerArray< ObjectType, PointerType >::const_reference

◆ iterator

template<class ObjectType , class PointerType >
typedef Container::iterator cnoid::PolymorphicPointerArray< ObjectType, PointerType >::iterator

◆ reference

template<class ObjectType , class PointerType >
typedef Container::reference cnoid::PolymorphicPointerArray< ObjectType, PointerType >::reference

Constructor & Destructor Documentation

◆ PolymorphicPointerArray() [1/2]

template<class ObjectType , class PointerType >
cnoid::PolymorphicPointerArray< ObjectType, PointerType >::PolymorphicPointerArray ( )
inline

◆ PolymorphicPointerArray() [2/2]

template<class ObjectType , class PointerType >
template<class RhsObjectType , class RhsPointerType >
cnoid::PolymorphicPointerArray< ObjectType, PointerType >::PolymorphicPointerArray ( const PolymorphicPointerArray< RhsObjectType, RhsPointerType > &  rhs)
inline

◆ ~PolymorphicPointerArray()

template<class ObjectType , class PointerType >
virtual cnoid::PolymorphicPointerArray< ObjectType, PointerType >::~PolymorphicPointerArray ( )
inlinevirtual

Member Function Documentation

◆ back() [1/2]

template<class ObjectType , class PointerType >
PointerType& cnoid::PolymorphicPointerArray< ObjectType, PointerType >::back ( )
inline

◆ back() [2/2]

template<class ObjectType , class PointerType >
const PointerType& cnoid::PolymorphicPointerArray< ObjectType, PointerType >::back ( ) const
inline

◆ begin() [1/2]

template<class ObjectType , class PointerType >
iterator cnoid::PolymorphicPointerArray< ObjectType, PointerType >::begin ( )
inline

◆ begin() [2/2]

template<class ObjectType , class PointerType >
const_iterator cnoid::PolymorphicPointerArray< ObjectType, PointerType >::begin ( ) const
inline

◆ clear()

template<class ObjectType , class PointerType >
void cnoid::PolymorphicPointerArray< ObjectType, PointerType >::clear ( )
inline

◆ empty()

template<class ObjectType , class PointerType >
bool cnoid::PolymorphicPointerArray< ObjectType, PointerType >::empty ( ) const
inline

◆ end() [1/2]

template<class ObjectType , class PointerType >
iterator cnoid::PolymorphicPointerArray< ObjectType, PointerType >::end ( )
inline

◆ end() [2/2]

template<class ObjectType , class PointerType >
const_iterator cnoid::PolymorphicPointerArray< ObjectType, PointerType >::end ( ) const
inline

◆ erase()

template<class ObjectType , class PointerType >
iterator cnoid::PolymorphicPointerArray< ObjectType, PointerType >::erase ( iterator  pos)
inline

◆ front() [1/2]

template<class ObjectType , class PointerType >
PointerType& cnoid::PolymorphicPointerArray< ObjectType, PointerType >::front ( )
inline

◆ front() [2/2]

template<class ObjectType , class PointerType >
const PointerType& cnoid::PolymorphicPointerArray< ObjectType, PointerType >::front ( ) const
inline

◆ operator!=()

template<class ObjectType , class PointerType >
bool cnoid::PolymorphicPointerArray< ObjectType, PointerType >::operator!= ( const PolymorphicPointerArray< ObjectType, PointerType > &  rhs) const
inline

◆ operator<<()

template<class ObjectType , class PointerType >
template<class RhsObjectType , class RhsPointerType >
PolymorphicPointerArray& cnoid::PolymorphicPointerArray< ObjectType, PointerType >::operator<< ( const PolymorphicPointerArray< RhsObjectType, RhsPointerType > &  rhs)
inline

◆ operator==()

template<class ObjectType , class PointerType >
bool cnoid::PolymorphicPointerArray< ObjectType, PointerType >::operator== ( const PolymorphicPointerArray< ObjectType, PointerType > &  rhs) const
inline

◆ operator[]() [1/2]

template<class ObjectType , class PointerType >
PointerType& cnoid::PolymorphicPointerArray< ObjectType, PointerType >::operator[] ( std::size_t  i)
inline

◆ operator[]() [2/2]

template<class ObjectType , class PointerType >
const PointerType& cnoid::PolymorphicPointerArray< ObjectType, PointerType >::operator[] ( std::size_t  i) const
inline

◆ pop_back()

template<class ObjectType , class PointerType >
void cnoid::PolymorphicPointerArray< ObjectType, PointerType >::pop_back ( )
inline

◆ push_back()

template<class ObjectType , class PointerType >
void cnoid::PolymorphicPointerArray< ObjectType, PointerType >::push_back ( const PointerType &  pointer)
inline

◆ reserve()

template<class ObjectType , class PointerType >
void cnoid::PolymorphicPointerArray< ObjectType, PointerType >::reserve ( size_t  size)
inline

◆ resize()

template<class ObjectType , class PointerType >
void cnoid::PolymorphicPointerArray< ObjectType, PointerType >::resize ( size_t  size)
inline

◆ size()

template<class ObjectType , class PointerType >
std::size_t cnoid::PolymorphicPointerArray< ObjectType, PointerType >::size ( ) const
inline

◆ swap()

template<class ObjectType , class PointerType >
void cnoid::PolymorphicPointerArray< ObjectType, PointerType >::swap ( PolymorphicPointerArray< ObjectType, PointerType > &  x)
inline

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