Go to the documentation of this file.
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);
void loadModule(const OperationModule &module)
void loadOperationProperties(Operation &operation, const OperationModule &module)
static const char * OPRN_NAME
Object state name for name.
virtual TCEString name() const
virtual std::string propertiesModule() const
OperationSerializer serializer_
Serializer instance.
virtual ObjectState * readState()
virtual void loadState(const ObjectState *state)
ObjectState * child(int index) const
ObjectStateCache::iterator MapIter
Iterator for map containing already read ObjectState trees.
void setSourceFile(const std::string &filename)
std::string errorMessage() const
OperationPropertyLoader()
virtual ~OperationPropertyLoader()
ObjectStateCache::value_type ValueType
value_type for map containing already read ObjectState trees.
ObjectStateCache operations_
Cache for already read ObjectState trees.