4 #ifndef __CHANIDENTIFIER_HPP
5 #define __CHANIDENTIFIER_HPP
63 void AddTag(
const std::string &s, TagValue n) {
tag[s] = n;}
67 bool HasTag(
const std::string &s)
const {
73 TagValue
GetTag(
const std::string &s)
const;
84 void Print(
void)
const;
123 std::stringstream ss;
133 std::map<std::string, TagValue>
tag;
~Identifier()
Definition: Identifier.hpp:32
std::string type
Definition: Identifier.hpp:128
int GetLocation() const
Definition: Identifier.hpp:58
std::string subtype
Definition: Identifier.hpp:129
bool HasTag(const std::string &s) const
Definition: Identifier.hpp:67
int dammID
Definition: Identifier.hpp:130
int TagValue
Type definition for the tag vaule.
Definition: Identifier.hpp:40
std::string GetPlaceName() const
Definition: Identifier.hpp:122
TagValue GetTag(const std::string &s) const
void SetSubtype(const std::string &a)
Definition: Identifier.hpp:50
static void PrintHeaders(void)
int GetDammID() const
Definition: Identifier.hpp:55
bool operator<(const Identifier &x) const
Definition: Identifier.hpp:105
void SetDammID(int a)
Definition: Identifier.hpp:44
const std::string & GetType() const
Definition: Identifier.hpp:56
Identifier()
Definition: Identifier.hpp:30
int location
Definition: Identifier.hpp:131
bool operator!=(const Identifier &x) const
Definition: Identifier.hpp:98
void SetLocation(int a)
Definition: Identifier.hpp:53
void AddTag(const std::string &s, TagValue n)
Definition: Identifier.hpp:63
const std::string & GetSubtype() const
Definition: Identifier.hpp:57
std::map< std::string, TagValue > tag
Definition: Identifier.hpp:133
Channel identification.
Definition: Identifier.hpp:23
void SetType(const std::string &a)
Definition: Identifier.hpp:47
bool operator==(const Identifier &x) const
Definition: Identifier.hpp:89