17 this->input =
nullptr;
18 this->output =
nullptr;
19 this->success =
false;
25 this->input = other.input;
26 this->output = other.output;
27 this->success = other.success;
28 this->time = other.time;
33 this->input = other.input;
34 this->output = other.output;
35 this->success = other.success;
36 this->time = other.time;
48 this->output = output;
The SynthesisResult engine class.
TRITON_EXPORT void setTime(triton::usize ms)
Sets the time.
TRITON_EXPORT SynthesisResult()
Constructor.
TRITON_EXPORT bool successful(void)
Returns True the input node has been synthesized successfully.
TRITON_EXPORT const triton::ast::SharedAbstractNode getOutput(void)
Gets the output node.
TRITON_EXPORT void setOutput(const triton::ast::SharedAbstractNode &output)
Sets the output node.
TRITON_EXPORT triton::usize getTime(void)
Gets the time of the synthesizing.
SynthesisResult & operator=(const SynthesisResult &other)
Copies a SynthesisResult.
TRITON_EXPORT void setSuccess(bool value)
Sets the success flag.
TRITON_EXPORT void setInput(const triton::ast::SharedAbstractNode &input)
Sets the input node.
TRITON_EXPORT const triton::ast::SharedAbstractNode getInput(void)
Gets the input node.
std::shared_ptr< triton::ast::AbstractNode > SharedAbstractNode
Shared Abstract Node.
std::size_t usize
unsigned MAX_INT 32 or 64 bits according to the CPU.