20 #ifndef __LOADSTATE_HXX_
21 #define __LOADSTATE_HXX_
58 virtual void parse(std::string xmlState);
86 static void setProc(
Proc*
p);
87 static void setRuntime(
Runtime* runtime);
93 virtual void onStart (
const XML_Char* elem,
const xmlChar**
p);
94 virtual void onEnd (
const XML_Char* name);
95 virtual void charData(std::string data);
110 virtual void onStart (
const XML_Char* elem,
const xmlChar** p);
111 virtual void onEnd (
const XML_Char* name);
120 virtual void onStart (
const XML_Char* elem,
const xmlChar** p);
121 virtual void onEnd (
const XML_Char* name);
122 Any* xmlToAny(
const std::string& data,
const TypeCode* tc)
const;
133 virtual void onStart (
const XML_Char* elem,
const xmlChar** p);
134 virtual void charData(std::string data);
135 virtual void onEnd (
const XML_Char* name);
144 virtual void onStart (
const XML_Char* elem,
const xmlChar** p);
145 virtual void onEnd (
const XML_Char* name);
146 virtual void addData(std::string value);
153 virtual void onStart (
const XML_Char* elem,
const xmlChar** p);
154 virtual void onEnd (
const XML_Char* name);
155 virtual void addData(std::string value);
162 virtual void onStart (
const XML_Char* elem,
const xmlChar** p);
163 virtual void onEnd (
const XML_Char* name);
164 virtual void addData(std::string value);
171 virtual void onStart (
const XML_Char* elem,
const xmlChar** p);
172 virtual void onEnd (
const XML_Char* name);
173 virtual void addData(std::string value);
181 virtual void onStart (
const XML_Char* elem,
const xmlChar** p);
182 virtual void onEnd (
const XML_Char* name);
183 virtual void charData(std::string data);
190 virtual void onStart (
const XML_Char* elem,
const xmlChar** p);
191 virtual void onEnd (
const XML_Char* name);
192 virtual void charData(std::string data);
193 void addSample(
int index,
const std::string data);
194 unsigned int getNbSamples()
const;
195 unsigned int getSampleId(
unsigned int i)
const;
196 const std::string& getSampleData(
unsigned int i)
const;
197 const std::string& getPortName()
const;
199 std::vector<unsigned int>
_ids;
208 virtual void onStart (
const XML_Char* elem,
const xmlChar** p);
209 virtual void onEnd (
const XML_Char* name);
210 virtual void charData(std::string data);