MADARA  3.2.3
madara::knowledge::rcw::TrackedCollection< T, Impl > Class Template Reference

Used internally by Tracked. More...

#include <Tracked.h>

Public Types

typedef T::const_iterator const_iterator
 
typedef T::value_type value_type
 

Public Member Functions

const value_typeat (size_t i) const
 Pass through at method to underlying collection. More...
 
value_typeat_mut (size_t i)
 Pass through to non-const version of at method of underlying collection Immediately mark that index as modified when called. More...
 
value_typeat_mutable (size_t i)
 Synonym for. More...
 
const value_typeback () const
 Equivalent to back method of underlying collection. More...
 
value_typeback ()
 Equivalent to non-const back method of underlying collection. More...
 
const_iterator begin () const
 Pass through to const begin method of underlying collection. More...
 
const_iterator cbegin () const
 Pass through to cbegin method of underlying collection. More...
 
const_iterator cend () const
 Pass through to cend method of underlying collection. More...
 
bool empty ()
 Pass through to empty method of underlying collection. More...
 
const_iterator end () const
 Pass through to const end method of underlying collection. More...
 
const value_typefront () const
 Equivalent to front method of underlying collection. More...
 
value_typefront_mut ()
 Equivalent to non-const front method of underlying collection. More...
 
const value_typeget (size_t i) const
 Synonym for. More...
 
value_typeget_mut (size_t i)
 Synonym for. More...
 
value_typeget_mutable (size_t i)
 Synonym for. More...
 
size_t max_size ()
 Pass through to max_size method of underlying collection. More...
 
const value_typeoperator[] (size_t i) const
 Pass through operator[] to underlying collection. More...
 
void set (size_t i, value_type val)
 Set value at index . More...
 
size_t size ()
 Pass through to size method of underlying collection. More...
 

Private Member Functions

Impl & impl ()
 
const Impl & impl () const
 

Detailed Description

template<typename T, typename Impl>
class madara::knowledge::rcw::TrackedCollection< T, Impl >

Used internally by Tracked.

Implements methods appropriate for std library collections.

Definition at line 65 of file Tracked.h.

Member Typedef Documentation

template<typename T, typename Impl>
typedef T::const_iterator madara::knowledge::rcw::TrackedCollection< T, Impl >::const_iterator

Definition at line 340 of file Tracked.h.

template<typename T, typename Impl>
typedef T::value_type madara::knowledge::rcw::TrackedCollection< T, Impl >::value_type

Definition at line 339 of file Tracked.h.

Member Function Documentation

template<typename T, typename Impl>
const value_type& madara::knowledge::rcw::TrackedCollection< T, Impl >::at ( size_t  i) const
inline

Pass through at method to underlying collection.

Definition at line 352 of file Tracked.h.

template<typename T, typename Impl>
value_type& madara::knowledge::rcw::TrackedCollection< T, Impl >::at_mut ( size_t  i)
inline

Pass through to non-const version of at method of underlying collection Immediately mark that index as modified when called.

Definition at line 371 of file Tracked.h.

template<typename T, typename Impl>
value_type& madara::knowledge::rcw::TrackedCollection< T, Impl >::at_mutable ( size_t  i)
inline

Synonym for.

See also
at_mut

Definition at line 378 of file Tracked.h.

template<typename T, typename Impl>
const value_type& madara::knowledge::rcw::TrackedCollection< T, Impl >::back ( ) const
inline

Equivalent to back method of underlying collection.

Definition at line 409 of file Tracked.h.

template<typename T, typename Impl>
value_type& madara::knowledge::rcw::TrackedCollection< T, Impl >::back ( )
inline

Equivalent to non-const back method of underlying collection.

Definition at line 420 of file Tracked.h.

template<typename T, typename Impl>
const_iterator madara::knowledge::rcw::TrackedCollection< T, Impl >::begin ( ) const
inline

Pass through to const begin method of underlying collection.

Definition at line 426 of file Tracked.h.

template<typename T, typename Impl>
const_iterator madara::knowledge::rcw::TrackedCollection< T, Impl >::cbegin ( ) const
inline

Pass through to cbegin method of underlying collection.

Definition at line 432 of file Tracked.h.

template<typename T, typename Impl>
const_iterator madara::knowledge::rcw::TrackedCollection< T, Impl >::cend ( ) const
inline

Pass through to cend method of underlying collection.

Definition at line 444 of file Tracked.h.

template<typename T, typename Impl>
bool madara::knowledge::rcw::TrackedCollection< T, Impl >::empty ( )
inline

Pass through to empty method of underlying collection.

Definition at line 398 of file Tracked.h.

template<typename T, typename Impl>
const_iterator madara::knowledge::rcw::TrackedCollection< T, Impl >::end ( ) const
inline

Pass through to const end method of underlying collection.

Definition at line 438 of file Tracked.h.

template<typename T, typename Impl>
const value_type& madara::knowledge::rcw::TrackedCollection< T, Impl >::front ( ) const
inline

Equivalent to front method of underlying collection.

Definition at line 403 of file Tracked.h.

template<typename T, typename Impl>
value_type& madara::knowledge::rcw::TrackedCollection< T, Impl >::front_mut ( )
inline

Equivalent to non-const front method of underlying collection.

Definition at line 415 of file Tracked.h.

template<typename T, typename Impl>
const value_type& madara::knowledge::rcw::TrackedCollection< T, Impl >::get ( size_t  i) const
inline

Synonym for.

See also
at

Definition at line 364 of file Tracked.h.

template<typename T, typename Impl>
value_type& madara::knowledge::rcw::TrackedCollection< T, Impl >::get_mut ( size_t  i)
inline

Synonym for.

See also
at_mut

Definition at line 384 of file Tracked.h.

template<typename T, typename Impl>
value_type& madara::knowledge::rcw::TrackedCollection< T, Impl >::get_mutable ( size_t  i)
inline

Synonym for.

See also
at_mut

Definition at line 390 of file Tracked.h.

template<typename T, typename Impl>
Impl& madara::knowledge::rcw::TrackedCollection< T, Impl >::impl ( )
inlineprivate

Definition at line 335 of file Tracked.h.

template<typename T, typename Impl>
const Impl& madara::knowledge::rcw::TrackedCollection< T, Impl >::impl ( ) const
inlineprivate

Definition at line 336 of file Tracked.h.

template<typename T, typename Impl>
size_t madara::knowledge::rcw::TrackedCollection< T, Impl >::max_size ( )
inline

Pass through to max_size method of underlying collection.

Definition at line 400 of file Tracked.h.

template<typename T, typename Impl>
const value_type& madara::knowledge::rcw::TrackedCollection< T, Impl >::operator[] ( size_t  i) const
inline

Pass through operator[] to underlying collection.

Definition at line 358 of file Tracked.h.

template<typename T, typename Impl>
void madara::knowledge::rcw::TrackedCollection< T, Impl >::set ( size_t  i,
value_type  val 
)
inline

Set value at index .

Parameters
iindex to set
valvalue to set to

Definition at line 345 of file Tracked.h.

template<typename T, typename Impl>
size_t madara::knowledge::rcw::TrackedCollection< T, Impl >::size ( void  )
inline

Pass through to size method of underlying collection.

Definition at line 396 of file Tracked.h.


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