Pose2Config constructor

release/4.3a0
Viorela Ila 2009-12-10 04:12:41 +00:00
parent 072dea81b0
commit e0274dab59
2 changed files with 5 additions and 0 deletions

View File

@ -4,7 +4,11 @@
namespace gtsam { namespace gtsam {
class Pose2Config: public std::map<std::string, Pose2> { class Pose2Config: public std::map<std::string, Pose2> {
public: public:
Pose2Config() {}
Pose2 get(std::string key) const { Pose2 get(std::string key) const {
std::map<std::string, Pose2>::const_iterator it = find(key); std::map<std::string, Pose2>::const_iterator it = find(key);
if (it == end()) if (it == end())

View File

@ -174,6 +174,7 @@ class Pose2{
}; };
class Pose2Config{ class Pose2Config{
Pose2Config();
Pose2 get(string key) const; Pose2 get(string key) const;
}; };