#include <tag_container.h>


Public Types | |
Public Types | |
| typedef std::map< std::string, RefcntPointer< Tag > > | TagMap |
| typedef TagMap::const_iterator | tag_iterator |
Public Member Functions | |
Ctor, Dtor | |
| TagContainer () | |
| virtual | ~TagContainer () |
Tag Modification | |
overwrites already existing tag with same name | |
| virtual void | add_tag (const RefcntPointer< Tag > &) throw () |
| virtual void | remove_tag (const RefcntPointer< const Tag > &) throw () |
| tag must be contained in this container! | |
| virtual void | remove_tag_by_name (const std::string &) throw () |
| passing non-existing tag name is okay | |
| virtual void | clear_tags (void) throw () |
Tag Access | |
NULL if nonex | |
| virtual RefcntPointer< const Tag > | find_tag (const std::string &) const throw () |
| virtual RefcntPointer< Tag > | find_tag_w (const std::string &) throw () |
| NULL if nonex. | |
| template<typename T> | |
| const T * | find_typed_tag (const std::string &t) const throw ( std::runtime_error ) |
| template<typename T> | |
| T * | find_typed_tag_w (const std::string &t) throw ( std::runtime_error ) |
| virtual tag_iterator | begin_tags (void) const throw () |
| virtual tag_iterator | end_tags (void) const throw () |
| virtual unsigned int | count_tags (void) const throw () |
| typedef std::map<std::string, RefcntPointer<Tag> > shawn::TagContainer::TagMap |
| typedef TagMap::const_iterator shawn::TagContainer::tag_iterator |
| shawn::TagContainer::TagContainer | ( | ) |
| virtual shawn::TagContainer::~TagContainer | ( | ) | [virtual] |
| virtual void shawn::TagContainer::add_tag | ( | const RefcntPointer< Tag > & | ) | throw () [virtual] |
| virtual void shawn::TagContainer::remove_tag | ( | const RefcntPointer< const Tag > & | ) | throw () [virtual] |
tag must be contained in this container!
| virtual void shawn::TagContainer::remove_tag_by_name | ( | const std::string & | ) | throw () [virtual] |
passing non-existing tag name is okay
| virtual void shawn::TagContainer::clear_tags | ( | void | ) | throw () [virtual] |
| virtual RefcntPointer<const Tag> shawn::TagContainer::find_tag | ( | const std::string & | ) | const throw () [virtual] |

| virtual RefcntPointer<Tag> shawn::TagContainer::find_tag_w | ( | const std::string & | ) | throw () [virtual] |
NULL if nonex.

| const T* shawn::TagContainer::find_typed_tag | ( | const std::string & | t | ) | const throw ( std::runtime_error ) [inline] |

| T* shawn::TagContainer::find_typed_tag_w | ( | const std::string & | t | ) | throw ( std::runtime_error ) [inline] |

| virtual tag_iterator shawn::TagContainer::begin_tags | ( | void | ) | const throw () [virtual] |
| virtual tag_iterator shawn::TagContainer::end_tags | ( | void | ) | const throw () [virtual] |
| virtual unsigned int shawn::TagContainer::count_tags | ( | void | ) | const throw () [virtual] |
1.5.6