Choreonoid  1.8
Classes | Public Types | Public Member Functions | List of all members
cnoid::Deque2D< ElementType, Allocator > Class Template Reference

#include <Deque2D.h>

Classes

class  Column
 
class  const_iterator
 
class  iterator
 
class  Row
 

Public Types

typedef ElementType value_type
 
typedef ElementType Element
 

Public Member Functions

iterator begin ()
 
const_iterator cbegin () const
 
iterator end ()
 
const_iterator cend () const
 
 Deque2D ()
 
 Deque2D (int rowSize, int colSize)
 
 Deque2D (const Deque2D< ElementType, Allocator > &org)
 
Deque2DTypeoperator= (const Deque2DType &rhs)
 
virtual ~Deque2D ()
 
bool empty () const
 
void resize (int newRowSize, int newColSize)
 
void resizeColumn (int newColSize)
 
int rowSize () const
 
void resizeRow (int newRowSize)
 
int colSize () const
 
void clear ()
 
const Elementoperator() (int rowIndex, int colIndex) const
 
Elementoperator() (int rowIndex, int colIndex)
 
const Elementat (int rowIndex, int colIndex) const
 
Elementat (int rowIndex, int colIndex)
 
Row operator[] (int rowIndex)
 
const Row operator[] (int rowIndex) const
 
Row row (int rowIndex)
 
const Row row (int rowIndex) const
 
Row last ()
 
const Row last () const
 
Column column (int colIndex)
 
const Column column (int colIndex) const
 
Row append ()
 
void pop_back ()
 
void pop_front (int numRows=1)
 

Member Typedef Documentation

◆ Element

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
typedef ElementType cnoid::Deque2D< ElementType, Allocator >::Element
Deprecated:
. Use value_type.

◆ value_type

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
typedef ElementType cnoid::Deque2D< ElementType, Allocator >::value_type

Constructor & Destructor Documentation

◆ Deque2D() [1/3]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
cnoid::Deque2D< ElementType, Allocator >::Deque2D ( )
inline

◆ Deque2D() [2/3]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
cnoid::Deque2D< ElementType, Allocator >::Deque2D ( int  rowSize,
int  colSize 
)
inline

◆ Deque2D() [3/3]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
cnoid::Deque2D< ElementType, Allocator >::Deque2D ( const Deque2D< ElementType, Allocator > &  org)
inline

◆ ~Deque2D()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
virtual cnoid::Deque2D< ElementType, Allocator >::~Deque2D ( )
inlinevirtual

Member Function Documentation

◆ append()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
Row cnoid::Deque2D< ElementType, Allocator >::append ( )
inline

◆ at() [1/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
Element& cnoid::Deque2D< ElementType, Allocator >::at ( int  rowIndex,
int  colIndex 
)
inline

◆ at() [2/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
const Element& cnoid::Deque2D< ElementType, Allocator >::at ( int  rowIndex,
int  colIndex 
) const
inline

◆ begin()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
iterator cnoid::Deque2D< ElementType, Allocator >::begin ( )
inline

◆ cbegin()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
const_iterator cnoid::Deque2D< ElementType, Allocator >::cbegin ( ) const
inline

◆ cend()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
const_iterator cnoid::Deque2D< ElementType, Allocator >::cend ( ) const
inline

◆ clear()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
void cnoid::Deque2D< ElementType, Allocator >::clear ( )
inline

◆ colSize()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
int cnoid::Deque2D< ElementType, Allocator >::colSize ( ) const
inline

◆ column() [1/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
Column cnoid::Deque2D< ElementType, Allocator >::column ( int  colIndex)
inline

◆ column() [2/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
const Column cnoid::Deque2D< ElementType, Allocator >::column ( int  colIndex) const
inline

◆ empty()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
bool cnoid::Deque2D< ElementType, Allocator >::empty ( ) const
inline

◆ end()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
iterator cnoid::Deque2D< ElementType, Allocator >::end ( )
inline

◆ last() [1/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
Row cnoid::Deque2D< ElementType, Allocator >::last ( )
inline

◆ last() [2/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
const Row cnoid::Deque2D< ElementType, Allocator >::last ( ) const
inline

◆ operator()() [1/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
Element& cnoid::Deque2D< ElementType, Allocator >::operator() ( int  rowIndex,
int  colIndex 
)
inline

◆ operator()() [2/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
const Element& cnoid::Deque2D< ElementType, Allocator >::operator() ( int  rowIndex,
int  colIndex 
) const
inline

◆ operator=()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
Deque2DType& cnoid::Deque2D< ElementType, Allocator >::operator= ( const Deque2DType rhs)
inline

◆ operator[]() [1/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
Row cnoid::Deque2D< ElementType, Allocator >::operator[] ( int  rowIndex)
inline

◆ operator[]() [2/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
const Row cnoid::Deque2D< ElementType, Allocator >::operator[] ( int  rowIndex) const
inline

◆ pop_back()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
void cnoid::Deque2D< ElementType, Allocator >::pop_back ( )
inline

◆ pop_front()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
void cnoid::Deque2D< ElementType, Allocator >::pop_front ( int  numRows = 1)
inline

◆ resize()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
void cnoid::Deque2D< ElementType, Allocator >::resize ( int  newRowSize,
int  newColSize 
)
inline

◆ resizeColumn()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
void cnoid::Deque2D< ElementType, Allocator >::resizeColumn ( int  newColSize)
inline

◆ resizeRow()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
void cnoid::Deque2D< ElementType, Allocator >::resizeRow ( int  newRowSize)
inline

◆ row() [1/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
Row cnoid::Deque2D< ElementType, Allocator >::row ( int  rowIndex)
inline

◆ row() [2/2]

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
const Row cnoid::Deque2D< ElementType, Allocator >::row ( int  rowIndex) const
inline

◆ rowSize()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
int cnoid::Deque2D< ElementType, Allocator >::rowSize ( ) const
inline

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