#include <CommonPkdParser.h>
Public Types | |
| typedef std::vector < CommonPkdParser::Tag * > | tagvectortype |
Public Member Functions | |
| TagSet () | |
| virtual | ~TagSet () |
| void | addTag (Tag *tag) |
| Tag::assignstatus | assign (const std::string &starttag, TagParser &parser, std::istream &istr) |
| void | print (std::ostream &os) |
| void | clear () |
| virtual void | setEncoding (Tag::encodingtype etype) |
| CommonPkdParser::Tag * | getTagByIndex (unsigned int idx) |
| void | addTagByIndex (unsigned int idx, CommonPkdParser::Tag *t) |
Protected Types | |
| typedef std::map < std::string, Tag * > | tagmaptype |
Protected Member Functions | |
| void | insert (const std::string key, Tag *tag) |
Protected Attributes | |
| std::vector< Tag * > | _localetags |
| tagmaptype | _tags |
| tagvectortype | _tagv |
| typedef std::vector<CommonPkdParser::Tag*> CommonPkdParser::TagSet::tagvectortype |
typedef std::map<std::string, Tag*> CommonPkdParser::TagSet::tagmaptype [protected] |
| CommonPkdParser::TagSet::TagSet | ( | ) | [inline] |
| virtual CommonPkdParser::TagSet::~TagSet | ( | ) | [virtual] |
| void CommonPkdParser::TagSet::insert | ( | const std::string | key, | |
| Tag * | tag | |||
| ) | [inline, protected] |
| void CommonPkdParser::TagSet::addTag | ( | Tag * | tag | ) | [inline] |
| Tag::assignstatus CommonPkdParser::TagSet::assign | ( | const std::string & | starttag, | |
| TagParser & | parser, | |||
| std::istream & | istr | |||
| ) |
| void CommonPkdParser::TagSet::print | ( | std::ostream & | os | ) | [inline] |
print every contained tag
| void CommonPkdParser::TagSet::clear | ( | ) | [inline] |
reset all included tags
| virtual void CommonPkdParser::TagSet::setEncoding | ( | Tag::encodingtype | etype | ) | [inline, virtual] |
set encoding on all tags with locale, call this *before* assigning data to it
| etype | Encoding to use |
| CommonPkdParser::Tag* CommonPkdParser::TagSet::getTagByIndex | ( | unsigned int | idx | ) | [inline] |
| void CommonPkdParser::TagSet::addTagByIndex | ( | unsigned int | idx, | |
| CommonPkdParser::Tag * | t | |||
| ) | [inline] |
std::vector<Tag*> CommonPkdParser::TagSet::_localetags [protected] |
language dependant tags, needed for setting the encoding
tagmaptype CommonPkdParser::TagSet::_tags [protected] |
map of tags managed by this tagset
tagvectortype CommonPkdParser::TagSet::_tagv [protected] |
vector of tags, used to retreive tags by index
1.5.3