Abstract class (interface) that mandates the definition of very basic JSON serialization support.
More...
#include <classes/idisplay.h>
Abstract class (interface) that mandates the definition of very basic JSON serialization support.
◆ IJSON() [1/3]
◆ IJSON() [2/3]
qpp::IJSON::IJSON |
( |
const IJSON & |
| ) |
|
|
default |
Default copy constructor.
◆ IJSON() [3/3]
qpp::IJSON::IJSON |
( |
IJSON && |
| ) |
|
|
default |
Default move constructor.
◆ ~IJSON()
virtual qpp::IJSON::~IJSON |
( |
| ) |
|
|
virtualdefault |
Default virtual destructor.
◆ operator=() [1/2]
Default copy assignment operator.
◆ operator=() [2/2]
Default move assignment operator.
◆ to_JSON()
virtual std::string qpp::IJSON::to_JSON |
( |
bool |
enclosed_in_curly_brackets = true | ) |
const |
|
pure virtual |
JSON representation of the derived instance, must be overridden by all derived classes.
- Parameters
-
enclosed_in_curly_brackets | If true, encloses the result in curly brackets |
Implemented in qpp::QEngine, and qpp::QCircuit.
The documentation for this class was generated from the following file: