MADARA  3.2.3
madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl > Class Template Reference

Adds functionality specific to std::basic_string. More...

#include <Tracked.h>

Inheritance diagram for madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >:
madara::knowledge::rcw::TrackedCollection< std::basic_string< Char >, Impl >

Public Types

typedef std::basic_string< Char >::const_iterator const_iterator
 
typedef std::basic_string< Char >::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 value_typec_str () const
 Pass through c_str data method underlying string. More...
 
size_t capacity () const
 Pass through capacity to underlying string. 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...
 
void clear ()
 Pass through clear to underlying string. More...
 
bool clear_dirty (size_t) const
 Clear dirty status for given index, which is same as overall dirty status, since we don't track per character. More...
 
const value_typedata () const
 Pass through data method to underlying string. 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...
 
bool is_dirty (size_t) const
 Check dirty status for given index, which is same as overall dirty status, since we don't track per character. More...
 
size_t max_size ()
 Pass through to max_size method of underlying collection. More...
 
void modify (size_t)
 Flag this as modified; we don't track individual characters as dirty, so flags entire string. More...
 
const value_typeoperator[] (size_t i) const
 Pass through operator[] to underlying collection. More...
 
void pop_back ()
 Pass through pop_back to underlying string. More...
 
void push_back (const value_type &value)
 Pass through push_back to underlying string. More...
 
void reserve (size_t count)
 Pass through reserve to underlying string. More...
 
void resize (size_t count)
 Pass through resize to underlying string. 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
 

Friends

template<class U , class I >
class TrackedCollection
 

Detailed Description

template<typename Char, typename Impl>
class madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >

Adds functionality specific to std::basic_string.

Definition at line 452 of file Tracked.h.

Member Typedef Documentation

template<typename Char , typename Impl >
typedef std::basic_string<Char>::const_iterator madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::const_iterator

Definition at line 460 of file Tracked.h.

template<typename Char , typename Impl >
typedef std::basic_string<Char>::value_type madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::value_type

Definition at line 459 of file Tracked.h.

Member Function Documentation

const value_type& madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::at ( size_t  i) const
inlineinherited

Pass through at method to underlying collection.

Definition at line 352 of file Tracked.h.

value_type& madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::at_mut ( size_t  i)
inlineinherited

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.

value_type& madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::at_mutable ( size_t  i)
inlineinherited

Synonym for.

See also
at_mut

Definition at line 378 of file Tracked.h.

const value_type& madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::back ( void  ) const
inlineinherited

Equivalent to back method of underlying collection.

Definition at line 409 of file Tracked.h.

value_type& madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::back ( void  )
inlineinherited

Equivalent to non-const back method of underlying collection.

Definition at line 420 of file Tracked.h.

const_iterator madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::begin ( void  ) const
inlineinherited

Pass through to const begin method of underlying collection.

Definition at line 426 of file Tracked.h.

template<typename Char , typename Impl >
const value_type* madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::c_str ( ) const
inline

Pass through c_str data method underlying string.

Definition at line 524 of file Tracked.h.

template<typename Char , typename Impl >
size_t madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::capacity ( ) const
inline

Pass through capacity to underlying string.

Definition at line 491 of file Tracked.h.

const_iterator madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::cbegin ( ) const
inlineinherited

Pass through to cbegin method of underlying collection.

Definition at line 432 of file Tracked.h.

const_iterator madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::cend ( ) const
inlineinherited

Pass through to cend method of underlying collection.

Definition at line 444 of file Tracked.h.

template<typename Char , typename Impl >
void madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::clear ( void  )
inline

Pass through clear to underlying string.

Definition at line 517 of file Tracked.h.

template<typename Char , typename Impl >
bool madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::clear_dirty ( size_t  ) const
inline

Clear dirty status for given index, which is same as overall dirty status, since we don't track per character.

Definition at line 478 of file Tracked.h.

template<typename Char , typename Impl >
const value_type* madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::data ( ) const
inline

Pass through data method to underlying string.

Definition at line 526 of file Tracked.h.

bool madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::empty ( )
inlineinherited

Pass through to empty method of underlying collection.

Definition at line 398 of file Tracked.h.

const_iterator madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::end ( void  ) const
inlineinherited

Pass through to const end method of underlying collection.

Definition at line 438 of file Tracked.h.

const value_type& madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::front ( void  ) const
inlineinherited

Equivalent to front method of underlying collection.

Definition at line 403 of file Tracked.h.

value_type& madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::front_mut ( )
inlineinherited

Equivalent to non-const front method of underlying collection.

Definition at line 415 of file Tracked.h.

const value_type& madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::get ( size_t  i) const
inlineinherited

Synonym for.

See also
at

Definition at line 364 of file Tracked.h.

value_type& madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::get_mut ( size_t  i)
inlineinherited

Synonym for.

See also
at_mut

Definition at line 384 of file Tracked.h.

value_type& madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::get_mutable ( size_t  i)
inlineinherited

Synonym for.

See also
at_mut

Definition at line 390 of file Tracked.h.

template<typename Char , typename Impl >
Impl& madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::impl ( )
inlineprivate

Definition at line 455 of file Tracked.h.

template<typename Char , typename Impl >
const Impl& madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::impl ( ) const
inlineprivate

Definition at line 456 of file Tracked.h.

template<typename Char , typename Impl >
bool madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::is_dirty ( size_t  ) const
inline

Check dirty status for given index, which is same as overall dirty status, since we don't track per character.

Definition at line 471 of file Tracked.h.

size_t madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::max_size ( void  )
inlineinherited

Pass through to max_size method of underlying collection.

Definition at line 400 of file Tracked.h.

template<typename Char , typename Impl >
void madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::modify ( size_t  )
inline

Flag this as modified; we don't track individual characters as dirty, so flags entire string.

Definition at line 464 of file Tracked.h.

const value_type& madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::operator[] ( size_t  i) const
inlineinherited

Pass through operator[] to underlying collection.

Definition at line 358 of file Tracked.h.

template<typename Char , typename Impl >
void madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::pop_back ( )
inline

Pass through pop_back to underlying string.

Definition at line 510 of file Tracked.h.

template<typename Char , typename Impl >
void madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::push_back ( const value_type value)
inline

Pass through push_back to underlying string.

Definition at line 503 of file Tracked.h.

template<typename Char , typename Impl >
void madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::reserve ( size_t  count)
inline

Pass through reserve to underlying string.

Definition at line 497 of file Tracked.h.

template<typename Char , typename Impl >
void madara::knowledge::rcw::TrackedExtra< std::basic_string< Char >, Impl >::resize ( size_t  count)
inline

Pass through resize to underlying string.

Definition at line 484 of file Tracked.h.

void madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::set ( size_t  i,
value_type  val 
)
inlineinherited

Set value at index .

Parameters
iindex to set
valvalue to set to

Definition at line 345 of file Tracked.h.

size_t madara::knowledge::rcw::TrackedCollection< std::basic_string< Char > , Impl >::size ( void  )
inlineinherited

Pass through to size method of underlying collection.

Definition at line 396 of file Tracked.h.

Friends And Related Function Documentation

template<typename Char , typename Impl >
template<class U , class I >
friend class TrackedCollection
friend

Definition at line 457 of file Tracked.h.


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