libTriton version 1.0 build 1592
|
The SynthesisResult engine class. More...
#include <synthesisResult.hpp>
Public Member Functions | |
TRITON_EXPORT | SynthesisResult () |
Constructor. | |
TRITON_EXPORT | SynthesisResult (const SynthesisResult &other) |
Constructor by copy. | |
SynthesisResult & | operator= (const SynthesisResult &other) |
Copies a SynthesisResult. | |
TRITON_EXPORT void | setInput (const triton::ast::SharedAbstractNode &input) |
Sets the input node. | |
TRITON_EXPORT void | setOutput (const triton::ast::SharedAbstractNode &output) |
Sets the output node. | |
TRITON_EXPORT void | setTime (triton::usize ms) |
Sets the time. | |
TRITON_EXPORT void | setSuccess (bool value) |
Sets the success flag. | |
TRITON_EXPORT const triton::ast::SharedAbstractNode | getInput (void) |
Gets the input node. | |
TRITON_EXPORT const triton::ast::SharedAbstractNode | getOutput (void) |
Gets the output node. | |
TRITON_EXPORT triton::usize | getTime (void) |
Gets the time of the synthesizing. | |
TRITON_EXPORT bool | successful (void) |
Returns True the input node has been synthesized successfully. | |
The SynthesisResult engine class.
Definition at line 42 of file synthesisResult.hpp.
triton::engines::synthesis::SynthesisResult::SynthesisResult | ( | ) |
Constructor.
Definition at line 16 of file synthesisResult.cpp.
triton::engines::synthesis::SynthesisResult::SynthesisResult | ( | const SynthesisResult & | other | ) |
Constructor by copy.
Definition at line 24 of file synthesisResult.cpp.
const triton::ast::SharedAbstractNode triton::engines::synthesis::SynthesisResult::getInput | ( | void | ) |
Gets the input node.
Definition at line 57 of file synthesisResult.cpp.
const triton::ast::SharedAbstractNode triton::engines::synthesis::SynthesisResult::getOutput | ( | void | ) |
Gets the output node.
Definition at line 62 of file synthesisResult.cpp.
triton::usize triton::engines::synthesis::SynthesisResult::getTime | ( | void | ) |
Gets the time of the synthesizing.
Definition at line 67 of file synthesisResult.cpp.
SynthesisResult & triton::engines::synthesis::SynthesisResult::operator= | ( | const SynthesisResult & | other | ) |
Copies a SynthesisResult.
Definition at line 32 of file synthesisResult.cpp.
void triton::engines::synthesis::SynthesisResult::setInput | ( | const triton::ast::SharedAbstractNode & | input | ) |
Sets the input node.
Definition at line 42 of file synthesisResult.cpp.
void triton::engines::synthesis::SynthesisResult::setOutput | ( | const triton::ast::SharedAbstractNode & | output | ) |
Sets the output node.
Definition at line 47 of file synthesisResult.cpp.
void triton::engines::synthesis::SynthesisResult::setSuccess | ( | bool | value | ) |
Sets the success flag.
Definition at line 77 of file synthesisResult.cpp.
void triton::engines::synthesis::SynthesisResult::setTime | ( | triton::usize | ms | ) |
Sets the time.
Definition at line 52 of file synthesisResult.cpp.
bool triton::engines::synthesis::SynthesisResult::successful | ( | void | ) |
Returns True the input node has been synthesized successfully.
Definition at line 72 of file synthesisResult.cpp.