Changeset 100 in pacpusframework for branches/2.0-beta1/src/PacpusLib/XmlComponentConfig.cpp
- Timestamp:
- Jun 2, 2013, 10:10:12 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/src/PacpusLib/XmlComponentConfig.cpp
r89 r100 46 46 { 47 47 LOG_ERROR("cannot add component property:" 48 << " component '" << component_. tagName() << "'"48 << " component '" << component_.attribute(kPropertyComponentName.c_str()) << "'" 49 49 << " already contains property '" << name << "'" 50 50 << " and its value is '" << component_.attribute(name) << "'" … … 56 56 component_.setAttribute(name, 0); 57 57 LOG_INFO("property '" << name << "'" 58 << " was added to the component " << component_. tagName() << "'"58 << " was added to the component " << component_.attribute(kPropertyComponentName.c_str()) << "'" 59 59 << " and set to '" << component_.attribute(name) << "'" 60 60 ); … … 66 66 { 67 67 LOG_WARN("cannot delete compoenent property '" << name << "'" 68 << " of component '" << component_. tagName() << "'"68 << " of component '" << component_.attribute(kPropertyComponentName.c_str()) << "'" 69 69 << ". Component does not contain this property." 70 70 ); … … 75 75 component_.removeAttribute(name); 76 76 LOG_INFO("property '" << name << "' " 77 << " of component '" << component_. tagName() << "'"77 << " of component '" << component_.attribute(kPropertyComponentName.c_str()) << "'" 78 78 << " was deleted" 79 79 ); … … 87 87 { 88 88 LOG_WARN("cannot retrieve component property '" << name << "'" 89 << " of component '" << component_. tagName() << "'"89 << " of component '" << component_.attribute(kPropertyComponentName.c_str()) << "'" 90 90 << ". Component does not contain this property." 91 91 ); … … 116 116 component_.setAttribute(name, value); 117 117 LOG_INFO("property " << name 118 << " of the component " << component_. tagName()118 << " of the component " << component_.attribute(kPropertyComponentName.c_str()) 119 119 << " was set to : " << value 120 120 ); … … 138 138 QString const XmlComponentConfig::getComponentName() const 139 139 { 140 //return component_. tagName();140 //return component_.attribute(kPropertyComponentName.c_str()); 141 141 return getProperty(kPropertyComponentName.c_str()); 142 142 }
Note:
See TracChangeset
for help on using the changeset viewer.