8#ifndef TRITON_SYNTHESISRESULT_HPP
9#define TRITON_SYNTHESISRESULT_HPP
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.