libwolfram20
WAPodState.h
Go to the documentation of this file.
1
10#ifndef WAPODSTATE_H
11#define WAPODSTATE_H
12
13#include <string>
14
15#include <rapidxml/rapidxml_utils.hpp>
16
22public:
23 WAPodState(rapidxml::xml_node<>* states);
24
25 std::string getName();
26 std::string getInput();
27
28private:
29 // Attributes of 'state'
30 std::string _name;
31 std::string _input;
32
33 void parse(rapidxml::xml_node<>* states);
34};
35
36#endif // WAPODSTATE_H
WAPodState(rapidxml::xml_node<> *states)
It generates the object with the states.
Definition: WAPodState.cpp:17
std::string getInput()
Returning a 'input' attribute of state.
Definition: WAPodState.cpp:35
void parse(rapidxml::xml_node<> *states)
Parsing a input 'state' xml node.
Definition: WAPodState.cpp:45
std::string getName()
Returning the name of the state.
Definition: WAPodState.cpp:26
Contains a particular pod state for a single pod or subpod.
Definition: WAPodState.h:21
std::string _input
It can be used to modify subsequent queries.
Definition: WAPodState.h:31
std::string _name
Describes the pod state.
Definition: WAPodState.h:30