#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 |
|
|
|
|
|
|
|
|
|
|
|
assign number to Tag
|
|
lookup Tag responsible for parsing starttag in map and call its assign function
|
|
reset all included tags |
|
get Tag by number instead of string
|
|
insert tag into tagmap
|
|
print every contained tag |
|
set encoding on all tags with locale, call this *before* assigning data to it
|
|
language dependant tags, needed for setting the encoding |
|
map of tags managed by this tagset |
|
vector of tags, used to retreive tags by index |