31 #ifndef _PROPERTYSOURCE_H_ 32 #define _PROPERTYSOURCE_H_ 34 #include <Rcs_MatNd.h> 66 virtual bool getProperty(std::string& out,
const char* property) = 0;
76 virtual bool getProperty(std::vector<std::string>& out,
const char* property) = 0;
86 virtual bool getProperty(
double& out,
const char* property) = 0;
96 virtual bool getProperty(
int& out,
const char* property) = 0;
107 virtual bool getProperty(MatNd*& out,
const char* property) = 0;
119 virtual bool getPropertyBool(
const char* property,
bool def =
false) = 0;
138 virtual const std::vector<PropertySource*>&
getChildList(
const char* prefix) = 0;
151 virtual void saveXML(
const char* fileName,
const char* rootNodeName) = 0;
virtual bool getProperty(std::string &out, const char *property)=0
virtual bool getPropertyBool(const char *property, bool def=false)=0
virtual PropertySource * getChild(const char *prefix)=0
virtual const std::vector< PropertySource * > & getChildList(const char *prefix)=0
static PropertySource * empty()
virtual PropertySource * clone() const =0
virtual ~PropertySource()
virtual void saveXML(const char *fileName, const char *rootNodeName)=0