shawn::MapTag< _K, _V > Class Template Reference

#include <map_tags.h>

Inheritance diagram for shawn::MapTag< _K, _V >:

Inheritance graph
[legend]
Collaboration diagram for shawn::MapTag< _K, _V >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef _K KeyType
typedef _V ValueType
typedef std::map< KeyType,
ValueType
Map
typedef MapTag< _K, _V > SelfType

Public Member Functions

Ctor, Dtor
 MapTag (const std::string &n, bool lock=false)
virtual ~MapTag ()
Value access
virtual const Mapvalue (void) const throw ()
virtual Mapvalue_w (void) throw ()
Persistency
virtual std::string encoded_content (void) const throw ( std::runtime_error )
virtual const_entry_iterator begin_entries (void) const throw ()
virtual const_entry_iterator end_entries (void) const throw ()
virtual void add_indexed_entry (const std::string &index, const std::string &value) throw ( std::runtime_error )

Protected Member Functions

virtual KeyType string_to_key (const std::string &) const =0 throw ( std::runtime_error )
virtual ValueType string_to_value (const std::string &) const =0 throw ( std::runtime_error )
virtual std::string key_to_string (const KeyType &) const =0 throw ()
virtual std::string value_to_string (const ValueType &) const =0 throw ()

Classes

class  MapIteratorData

template<typename _K, typename _V>
class shawn::MapTag< _K, _V >


Member Typedef Documentation

template<typename _K, typename _V>
typedef _K shawn::MapTag< _K, _V >::KeyType

template<typename _K, typename _V>
typedef _V shawn::MapTag< _K, _V >::ValueType

template<typename _K, typename _V>
typedef std::map<KeyType,ValueType> shawn::MapTag< _K, _V >::Map

template<typename _K, typename _V>
typedef MapTag<_K,_V> shawn::MapTag< _K, _V >::SelfType


Constructor & Destructor Documentation

template<typename _K, typename _V>
shawn::MapTag< _K, _V >::MapTag ( const std::string &  n,
bool  lock = false 
) [inline]

template<typename _K, typename _V>
virtual shawn::MapTag< _K, _V >::~MapTag (  )  [inline, virtual]


Member Function Documentation

template<typename _K, typename _V>
virtual const Map& shawn::MapTag< _K, _V >::value ( void   )  const throw () [inline, virtual]

Here is the caller graph for this function:

template<typename _K, typename _V>
virtual Map& shawn::MapTag< _K, _V >::value_w ( void   )  throw () [inline, virtual]

template<typename _K, typename _V>
virtual std::string shawn::MapTag< _K, _V >::encoded_content ( void   )  const throw ( std::runtime_error ) [inline, virtual]

Implements shawn::Tag.

template<typename _K, typename _V>
virtual const_entry_iterator shawn::MapTag< _K, _V >::begin_entries ( void   )  const throw () [inline, virtual]

Reimplemented from shawn::Tag.

template<typename _K, typename _V>
virtual const_entry_iterator shawn::MapTag< _K, _V >::end_entries ( void   )  const throw () [inline, virtual]

Reimplemented from shawn::Tag.

template<typename _K, typename _V>
virtual void shawn::MapTag< _K, _V >::add_indexed_entry ( const std::string &  index,
const std::string &  value 
) throw ( std::runtime_error ) [inline, virtual]

Reimplemented from shawn::Tag.

Here is the call graph for this function:

template<typename _K, typename _V>
virtual KeyType shawn::MapTag< _K, _V >::string_to_key ( const std::string &   )  const throw ( std::runtime_error ) [protected, pure virtual]

Here is the caller graph for this function:

template<typename _K, typename _V>
virtual ValueType shawn::MapTag< _K, _V >::string_to_value ( const std::string &   )  const throw ( std::runtime_error ) [protected, pure virtual]

Here is the caller graph for this function:

template<typename _K, typename _V>
virtual std::string shawn::MapTag< _K, _V >::key_to_string ( const KeyType  )  const throw () [protected, pure virtual]

Here is the caller graph for this function:

template<typename _K, typename _V>
virtual std::string shawn::MapTag< _K, _V >::value_to_string ( const ValueType  )  const throw () [protected, pure virtual]

Here is the caller graph for this function:


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

Generated on Sun Feb 5 00:01:20 2012 for Shawn by  doxygen 1.5.6