libwolfram20
WAPod Class Reference

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...
 
WAErrorgetError ()
 It provides information about what happened. More...
 
std::vector< WASubpodgetSubpods ()
 Returns all the getted subpods. More...
 
std::vector< WAPodStategetStates ()
 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< WASubpodSubPods
 All the valid Pods returned by the query.
 
std::vector< WAPodStateStates
 All the valid States returned by the query.
 

Detailed Description

Wolfram API element.

It contains information about the given query. More information on Wolfram documentation


The documentation for this class was generated from the following files: