libwolfram20

◆ WAPod() [3/3]

WAPod::WAPod ( const WAPod old)

Copy constructor.

Parameters
[in]oldObject to copy
42 {
43 this->_error = nullptr;
44 if (old._error != nullptr) this->_error = new WAError(*old._error);
45 this->_title = old._title;
46 this->_scanner = old._scanner;
47 this->_id = old._id;
48 this->_position = old._position;
49 this->SubPods = old.SubPods;
50 this->States = old.States;
51}
Wolfram API error element.
Definition: WAError.h:20
std::vector< WAPodState > States
All the valid States returned by the query.
Definition: WAPod.h:51
std::string _id
A unique identifier for a pod, used for selecting specific pods to include or exclude.
Definition: WAPod.h:47
int _position
A number indicating the intended position of the pod in a visual display.
Definition: WAPod.h:48
WAError * _error
Information about the given error; nullptr if no error.
Definition: WAPod.h:44
std::vector< WASubpod > SubPods
All the valid Pods returned by the query.
Definition: WAPod.h:50
std::string _scanner
The name of the scanner that produced this pod. A general guide to the type of data it holds.
Definition: WAPod.h:46
std::string _title
The pod title, used to identify the pod and its contents.
Definition: WAPod.h:45