#include <Keywords.h>
Public Member Functions | |
Keywords & | contains () |
bool | has_d (const std::string &key) const |
bool | has_s (const std::string &key) const |
bool | has_v (const std::string &key) const |
Keywords () | |
Keywords (std::string name, double val) | |
Keywords (std::string name, std::string val) | |
Keywords (std::string name, tf::Vector3 val) | |
KeyValPair | lookup (const std::string &key) const |
double | lookup_d (const std::string &key) const |
std::string | lookup_s (const std::string &key) const |
tf::Vector3 | lookup_v (const std::string &key) const |
Keywords & | operator() (std::string name, double val) |
Keywords & | operator() (std::string name, std::string val) |
Keywords & | operator() (std::string name, tf::Vector3 val) |
Public Attributes | |
std::map< std::string, double > | parameters_d |
std::map< std::string, std::string > | parameters_s |
std::map< std::string, tf::Vector3 > | parameters_v |
Definition at line 67 of file Keywords.h.
Keywords::Keywords | ( | ) | [inline] |
Definition at line 71 of file Keywords.h.
Keywords::Keywords | ( | std::string | name, |
double | val | ||
) |
Definition at line 6 of file Keywords.cpp.
Keywords::Keywords | ( | std::string | name, |
std::string | val | ||
) |
Definition at line 17 of file Keywords.cpp.
Keywords::Keywords | ( | std::string | name, |
tf::Vector3 | val | ||
) |
Definition at line 28 of file Keywords.cpp.
Keywords & Keywords::contains | ( | ) |
Definition at line 40 of file Keywords.cpp.
bool Keywords::has_d | ( | const std::string & | key | ) | const |
Definition at line 64 of file Keywords.cpp.
bool Keywords::has_s | ( | const std::string & | key | ) | const |
Definition at line 72 of file Keywords.cpp.
bool Keywords::has_v | ( | const std::string & | key | ) | const |
Definition at line 80 of file Keywords.cpp.
KeyValPair Keywords::lookup | ( | const std::string & | key | ) | const |
Definition at line 115 of file Keywords.cpp.
double Keywords::lookup_d | ( | const std::string & | key | ) | const |
Definition at line 88 of file Keywords.cpp.
std::string Keywords::lookup_s | ( | const std::string & | key | ) | const |
Definition at line 97 of file Keywords.cpp.
tf::Vector3 Keywords::lookup_v | ( | const std::string & | key | ) | const |
Definition at line 106 of file Keywords.cpp.
Keywords & Keywords::operator() | ( | std::string | name, |
double | val | ||
) |
Definition at line 11 of file Keywords.cpp.
Keywords & Keywords::operator() | ( | std::string | name, |
std::string | val | ||
) |
Definition at line 22 of file Keywords.cpp.
Keywords & Keywords::operator() | ( | std::string | name, |
tf::Vector3 | val | ||
) |
Definition at line 33 of file Keywords.cpp.
std::map<std::string, double> Keywords::parameters_d |
Definition at line 100 of file Keywords.h.
std::map<std::string, std::string> Keywords::parameters_s |
Definition at line 101 of file Keywords.h.
std::map<std::string, tf::Vector3> Keywords::parameters_v |
Definition at line 102 of file Keywords.h.