26 using namespace YACS::ENGINE;
33 PropertyInterface::~PropertyInterface()
37 void PropertyInterface::setProperty(
const std::string& name,
const std::string& value)
39 DEBTRACE(
"PropertyInterface::setProperty " << name <<
" " << value);
40 _propertyMap[name]=value;
48 std::string PropertyInterface::getProperty(
const std::string& name)
50 DEBTRACE(
"PropertyInterface::getProperty " << name );
51 return _propertyMap[name];
54 void PropertyInterface::setProperties(std::map<std::string,std::string> properties)
56 DEBTRACE(
"PropertyInterface::setProperties " );
58 std::map<std::string,std::string>::iterator it;
59 for (it = properties.begin(); it != properties.end(); ++it)
61 setProperty(it->first, it->second);