Urbi SDK Remote for C++  2.7.5
urbi::UList Class Reference

Class storing URBI List type. More...

#include <uvalue.hh>

Collaboration diagram for urbi::UList:

List of all members.

Public Types

typedef std::vector< UValue * > list_type
 Iteration.
typedef list_type::iterator iterator
typedef list_type::const_iterator const_iterator

Public Member Functions

 UList ()
 UList (const UList &b)
 ~UList ()
UListoperator= (const UList &b)
template<typename T >
UListoperator= (const T &container)
UListoperator= (UVar &v)
template<typename T >
as ()
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
template<typename T >
UListpush_back (const T &v)
void pop_back ()
UValuefront ()
UValueoperator[] (size_t i)
const UValueoperator[] (size_t i) const
size_t size () const
void setOffset (size_t n)
std::ostream & print (std::ostream &o) const

Public Attributes

list_type array

Private Member Functions

void clear ()

Private Attributes

size_t offset

Friends

class UValue

Detailed Description

Class storing URBI List type.

Definition at line 86 of file uvalue.hh.


Member Typedef Documentation

typedef list_type::const_iterator urbi::UList::const_iterator

Definition at line 108 of file uvalue.hh.

typedef list_type::iterator urbi::UList::iterator

Definition at line 107 of file uvalue.hh.

typedef std::vector<UValue*> urbi::UList::list_type

Iteration.

Definition at line 106 of file uvalue.hh.


Constructor & Destructor Documentation

urbi::UList::UList ( )

Definition at line 603 of file uvalue-common.cc.

Referenced by operator=().

urbi::UList::UList ( const UList b)

Definition at line 607 of file uvalue-common.cc.

urbi::UList::~UList ( )

Definition at line 624 of file uvalue-common.cc.

References clear().


Member Function Documentation

template<typename T >
T urbi::UList::as ( ) [inline]

Definition at line 382 of file uvalue.hxx.

References array.

UList::iterator urbi::UList::begin ( ) [inline]

Definition at line 44 of file uvalue.hxx.

References array.

UList::const_iterator urbi::UList::begin ( ) const [inline]

Definition at line 58 of file uvalue.hxx.

References array.

void urbi::UList::clear ( ) [private]

Definition at line 629 of file uvalue-common.cc.

References array, and offset.

Referenced by operator=(), and ~UList().

UList::iterator urbi::UList::end ( ) [inline]

Definition at line 51 of file uvalue.hxx.

References array.

UList::const_iterator urbi::UList::end ( ) const [inline]

Definition at line 65 of file uvalue.hxx.

References array.

UValue & urbi::UList::front ( ) [inline]

Definition at line 95 of file uvalue.hxx.

References array.

UList & urbi::UList::operator= ( const UList b)

Definition at line 613 of file uvalue-common.cc.

References array, clear(), offset, and UValue.

template<typename T >
UList & urbi::UList::operator= ( const T &  container) [inline]

Definition at line 366 of file uvalue.hxx.

References array, and UValue.

UList & urbi::UList::operator= ( UVar v)

Definition at line 164 of file uvar-common.cc.

References UList(), and urbi::UVar::val().

UValue& urbi::UList::operator[] ( size_t  i)
const UValue& urbi::UList::operator[] ( size_t  i) const
void urbi::UList::pop_back ( ) [inline]

Definition at line 102 of file uvalue.hxx.

References array.

std::ostream & urbi::UList::print ( std::ostream &  o) const

Definition at line 638 of file uvalue-common.cc.

References size().

Referenced by urbi::operator<<().

template<typename T >
UList & urbi::UList::push_back ( const T &  v) [inline]

Definition at line 87 of file uvalue.hxx.

References array, and UValue.

Referenced by urbi::impl::RemoteUObjectImpl::onUpdate(), and transmitRemoteWrite().

void urbi::UList::setOffset ( size_t  n) [inline]

Definition at line 79 of file uvalue.hxx.

References offset.

Referenced by urbi::impl::RemoteUContextImpl::evalFunctionMessage().

size_t urbi::UList::size ( ) const [inline]

Definition at line 72 of file uvalue.hxx.

References array.

Referenced by print(), and urbi::saveUValue().


Friends And Related Function Documentation

friend class UValue [friend]

Definition at line 137 of file uvalue.hh.

Referenced by operator=(), and push_back().


Member Data Documentation

size_t urbi::UList::offset [private]

Definition at line 136 of file uvalue.hh.

Referenced by clear(), operator=(), urbi::UValue::set(), and setOffset().


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