Choreonoid  1.8
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

Member Typedef Documentation

◆ iterator

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

Constructor & Destructor Documentation

◆ Row() [1/2]

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

◆ Row() [2/2]

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

◆ at()

template<typename ElementType , typename Allocator = std::allocator<ElementType>>
ElementType& cnoid::Array2D< ElementType, Allocator >::Row::at ( int  index)
inline

◆ begin()

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

◆ empty()

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

◆ end()

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

◆ operator=()

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

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ size()

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: