85 const vector<ObjectState*> ops = (*it).second;
86 bool operationFound =
false;
88 for (
unsigned int i = 0; i < ops.size(); i++) {
92 operationFound =
true;
96 string msg =
"Problems when loading the state of the Object: "
104 if (!operationFound) {
105 string msg = string(
"Properties for operation ") + operation.
name() +
126 string msg =
"Problems when reading the XML file: " + s.
errorMessage();
129 vector<ObjectState*> ops;
130 for (
int i = 0; i < root->
childCount(); i++) {
132 ops.push_back(child);
std::string errorMessage() const
ObjectState * child(int index) const
virtual std::string propertiesModule() const
virtual ~OperationPropertyLoader()
ObjectStateCache::iterator MapIter
Iterator for map containing already read ObjectState trees.
ObjectStateCache operations_
Cache for already read ObjectState trees.
OperationPropertyLoader()
void loadModule(const OperationModule &module)
void loadOperationProperties(Operation &operation, const OperationModule &module)
ObjectStateCache::value_type ValueType
value_type for map containing already read ObjectState trees.
OperationSerializer serializer_
Serializer instance.
void setSourceFile(const std::string &filename)
virtual ObjectState * readState()
virtual TCEString name() const
static const char * OPRN_NAME
Object state name for name.
virtual void loadState(const ObjectState *state)