orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
propertydb.h00001 #ifndef PROPSERVER_PROPERTYDB_H 00002 #define PROPSERVER_PROPERTYDB_H 00003 00004 #include <string> 00005 #include <map> 00006 00007 namespace propserver { 00008 00009 // 00010 // @brief Property Database 00011 // 00012 // @author Alex Brooks 00013 // 00014 class PropertyDb 00015 { 00016 00017 public: 00018 00019 PropertyDb(); 00020 ~PropertyDb(); 00021 00022 // Overwrites any properties that might already be set. 00023 void addProperties( const std::map<std::string,std::string> &newProperties ); 00024 const std::map<std::string,std::string> &properties() const { return properties_; } 00025 00026 private: 00027 00028 std::map<std::string,std::string> properties_; 00029 00030 }; 00031 00032 std::string toString( const std::map<std::string,std::string> &properties ); 00033 00034 } 00035 00036 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)