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