C API Documentation
|
#include <rrRoadRunnerOptions.h>
Public Types | |
enum | ModelGeneratorOpt { CONSERVED_MOIETIES = (0x1 << 0) , RECOMPILE = (0x1 << 1) , READ_ONLY = (0x1 << 2) , MUTABLE_INITIAL_CONDITIONS = (0x1 << 3) , OPTIMIZE_GVN = (0x1 << 4) , OPTIMIZE_CFG_SIMPLIFICATION = (0x1 << 5) , OPTIMIZE_INSTRUCTION_COMBINING = (0x1 << 6) , OPTIMIZE_DEAD_INST_ELIMINATION = (0x1 << 7) , OPTIMIZE_DEAD_CODE_ELIMINATION = (0x1 << 8) , OPTIMIZE_INSTRUCTION_SIMPLIFIER = (0x1 << 9) , OPTIMIZE , USE_MCJIT = (0x1 << 10) , LLVM_SYMBOL_CACHE = (0x1 << 11) , TURN_ON_VALIDATION = (0x1 << 12) } |
enum | LoadOpt { NO_DEFAULT_SELECTIONS = (0x1 << 0) } |
Public Member Functions | |
LoadSBMLOptions () | |
LoadSBMLOptions (const Dictionary *dict) | |
virtual void | setItem (const std::string &key, const rr::Variant &value) |
virtual Variant | getItem (const std::string &key) const |
virtual bool | hasKey (const std::string &key) const |
virtual size_t | deleteItem (const std::string &key) |
virtual std::vector< std::string > | getKeys () const |
bool | getConservedMoietyConversion () const |
void | setConservedMoietyConversion (bool val) |
void | setValidation (bool val) |
![]() | |
~BasicDictionary () override=default | |
![]() | |
virtual | ~Dictionary () |
Public Attributes | |
uint16_t | version |
uint16_t | size |
uint32_t | modelGeneratorOpt |
uint32_t | loadFlags |
Additional Inherited Members | |
![]() | |
typedef cxx11_ns::unordered_map< std::string, Variant > | VariantMap |
![]() | |
VariantMap | items |
Options for loading SBML into RoadRunner.
Future version may add additional fields to the end of this struct, this way we can maintain binary compatibility with older RoadRunner versions.
rr::LoadSBMLOptions::LoadSBMLOptions | ( | ) |
initializes the struct with the default options.
rr::LoadSBMLOptions::LoadSBMLOptions | ( | const Dictionary * | dict | ) |
creates an object from an existing dictionary.
|
virtual |
remove a value
Reimplemented from rr::BasicDictionary.
|
virtual |
gets an item from the internal unordered map.
Reimplemented from rr::BasicDictionary.
|
virtual |
list of keys in this object.
Reimplemented from rr::BasicDictionary.
|
virtual |
is there a key matching this name.
@retruns true if this key exists, false otherwise.
Reimplemented from rr::BasicDictionary.
|
virtual |
sets an item in the internal unordered map.
Reimplemented from rr::BasicDictionary.
uint16_t rr::LoadSBMLOptions::size |
sizeof this struct
uint16_t rr::LoadSBMLOptions::version |
the version this struct