27 #ifndef G2O_GRAPH_PARAMETER_CONTAINER_HH_ 28 #define G2O_GRAPH_PARAMETER_CONTAINER_HH_ 59 virtual bool read(std::istream& is,
const std::map<std::string, std::string>* renamedMap =0);
61 virtual bool write(std::ostream& os)
const;
66 using BaseClass::size;
virtual bool read(std::istream &is, const std::map< std::string, std::string > *renamedMap=0)
read parameters from a stream
Parameter * detachParameter(int id)
remove a parameter from the container, i.e., the user now owns the pointer
virtual bool write(std::ostream &os) const
write the data to a stream
Parameter * getParameter(int id)
return a parameter based on its ID
std::map< int, Parameter * > BaseClass
bool isMainStorage() const
virtual ~ParameterContainer()
ParameterContainer(bool isMainStorage_=true)
bool addParameter(Parameter *p)
add parameter to the container