shawn::Tag Class Reference

#include <tag.h>

Inheritance diagram for shawn::Tag:

Inheritance graph
[legend]
Collaboration diagram for shawn::Tag:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Ctor, Dtor
 Tag (const std::string &, bool lock=false)
virtual ~Tag ()
Access
const std::string & name (void) const throw ()
Locks
virtual bool is_locked (void) const throw ()
virtual void lock (void) throw ()
virtual void unlock (void) throw ()
Persistency - saving-relating
virtual const std::string & type_identifier (void) const =0 throw ()
virtual std::string encoded_content (void) const =0 throw ( std::runtime_error )
virtual void set_persistency (bool) throw ()
virtual bool is_persistent (void) const throw ()
virtual const_entry_iterator begin_entries (void) const throw ()
virtual const_entry_iterator end_entries (void) const throw ()
Persistency - loading-related
virtual void add_indexed_entry (const std::string &index, const std::string &value) throw ( std::runtime_error )
virtual void add_value_entry (const std::string &value) throw ( std::runtime_error )

Classes

class  const_entry_iterator


Constructor & Destructor Documentation

shawn::Tag::Tag ( const std::string &  ,
bool  lock = false 
)

virtual shawn::Tag::~Tag (  )  [virtual]


Member Function Documentation

const std::string& shawn::Tag::name ( void   )  const throw ()

virtual bool shawn::Tag::is_locked ( void   )  const throw () [virtual]

virtual void shawn::Tag::lock ( void   )  throw () [virtual]

virtual void shawn::Tag::unlock ( void   )  throw () [virtual]

virtual const std::string& shawn::Tag::type_identifier ( void   )  const throw () [pure virtual]

virtual std::string shawn::Tag::encoded_content ( void   )  const throw ( std::runtime_error ) [pure virtual]

virtual void shawn::Tag::set_persistency ( bool   )  throw () [virtual]

virtual bool shawn::Tag::is_persistent ( void   )  const throw () [virtual]

virtual const_entry_iterator shawn::Tag::begin_entries ( void   )  const throw () [virtual]

Reimplemented in shawn::MapTag< _K, _V >.

virtual const_entry_iterator shawn::Tag::end_entries ( void   )  const throw () [virtual]

Reimplemented in shawn::MapTag< _K, _V >.

virtual void shawn::Tag::add_indexed_entry ( const std::string &  index,
const std::string &  value 
) throw ( std::runtime_error ) [virtual]

Reimplemented in shawn::MapTag< _K, _V >.

virtual void shawn::Tag::add_value_entry ( const std::string &  value  )  throw ( std::runtime_error ) [virtual]


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

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