Choreonoid  1.5
Public Types | Public Member Functions | List of all members
cnoid::Array2D< ElementType, Allocator >::Row Class Reference

#include <Array2D.h>

Public Types

typedef Container::iterator iterator
 

Public Member Functions

 Row ()
 
 Row (const Array2D< ElementType, Allocator > &owner, int frame)
 
Rowoperator= (const Row &rhs)
 
bool empty () const
 
int size () const
 
ElementType & operator[] (int index)
 
const ElementType & operator[] (int index) const
 
ElementType & at (int index)
 
iterator begin ()
 
iterator end ()
 

Detailed Description

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
class cnoid::Array2D< ElementType, Allocator >::Row

Todo:
make const version of this class

Member Typedef Documentation

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
typedef Container::iterator cnoid::Array2D< ElementType, Allocator >::Row::iterator

Constructor & Destructor Documentation

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
cnoid::Array2D< ElementType, Allocator >::Row::Row ( )
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
cnoid::Array2D< ElementType, Allocator >::Row::Row ( const Array2D< ElementType, Allocator > &  owner,
int  frame 
)
inline

Member Function Documentation

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
ElementType& cnoid::Array2D< ElementType, Allocator >::Row::at ( int  index)
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
iterator cnoid::Array2D< ElementType, Allocator >::Row::begin ( )
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
bool cnoid::Array2D< ElementType, Allocator >::Row::empty ( ) const
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
iterator cnoid::Array2D< ElementType, Allocator >::Row::end ( )
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
Row& cnoid::Array2D< ElementType, Allocator >::Row::operator= ( const Row rhs)
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
ElementType& cnoid::Array2D< ElementType, Allocator >::Row::operator[] ( int  index)
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
const ElementType& cnoid::Array2D< ElementType, Allocator >::Row::operator[] ( int  index) const
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
int cnoid::Array2D< ElementType, Allocator >::Row::size ( ) const
inline

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