libwolfram20
|
Wolfram API element. More...
#include <WAPod.h>
Public Member Functions | |
WAPod () | |
Default constructor. More... | |
WAPod (rapidxml::xml_node<> *pod) | |
It generates the object with the pod . More... | |
WAPod (const WAPod &old) | |
Copy constructor. More... | |
~WAPod () | |
Destructor. More... | |
std::string | getTitle () |
Returns a 'title' attribute of Pod. More... | |
std::string | getScanner () |
Returns a 'scanner' attribute of Pod. More... | |
int | getPosition () |
Returns a 'position' attribute of Pod. More... | |
std::string | getID () |
Returns a 'id' attribute of Pod. More... | |
bool | isError () |
It checks if the results contains valid data. More... | |
WAError * | getError () |
It provides information about what happened. More... | |
std::vector< WASubpod > | getSubpods () |
Returns all the getted subpods. More... | |
std::vector< WAPodState > | getStates () |
Returns all the getted states. More... | |
Private Member Functions | |
void | parse (rapidxml::xml_node<> *pod) |
Parsing a input 'pod' xml node. More... | |
Private Attributes | |
WAError * | _error |
Information about the given error; nullptr if no error. | |
std::string | _title |
The pod title, used to identify the pod and its contents. | |
std::string | _scanner |
The name of the scanner that produced this pod. A general guide to the type of data it holds. | |
std::string | _id |
A unique identifier for a pod, used for selecting specific pods to include or exclude. | |
int | _position |
A number indicating the intended position of the pod in a visual display. | |
std::vector< WASubpod > | SubPods |
All the valid Pods returned by the query. | |
std::vector< WAPodState > | States |
All the valid States returned by the query. | |
Wolfram API element.
It contains information about the given query. More information on Wolfram documentation