![]() |
aGrUM
0.16.0
|
Represent a o3prmr context, with an import, and some sequencials commands. More...
#include <O3prmrContext.h>
Public Member Functions | |
O3prmrContext (const std::string &filename=std::string()) | |
O3prmrContext (const O3prmrContext &s) | |
virtual | ~O3prmrContext () |
const ImportCommand * | mainImport () const |
std::string | filename () const |
std::string | package () const |
void | setPackage (const std::string &package) |
std::string | aliasToImport (const std::string &alias) |
std::vector< ImportCommand *> | imports () const |
void | addImport (int line, const std::string &import, const std::string &alias) |
void | addImport (int line, const std::string &import, bool ismain) |
void | addImport (const ImportCommand &i) |
std::vector< O3prmrSession< GUM_SCALAR > *> | sessions () const |
void | addSession (const O3prmrSession< GUM_SCALAR > &session) |
virtual std::string | toString () const |
O3prmrContext & | operator+= (const O3prmrContext &c) |
Represent a o3prmr context, with an import, and some sequencials commands.
Definition at line 216 of file O3prmrContext.h.
|
explicit |
Definition at line 39 of file O3prmrContext_tpl.h.
gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::O3prmrContext | ( | const O3prmrContext< GUM_SCALAR > & | s | ) |
Definition at line 45 of file O3prmrContext_tpl.h.
|
virtual |
Definition at line 52 of file O3prmrContext_tpl.h.
void gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::addImport | ( | int | line, |
const std::string & | import, | ||
const std::string & | alias | ||
) |
Definition at line 90 of file O3prmrContext_tpl.h.
Referenced by gum::prm::o3prmr::O3prmrInterpreter::checkSemantic().
void gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::addImport | ( | int | line, |
const std::string & | import, | ||
bool | ismain | ||
) |
Definition at line 99 of file O3prmrContext_tpl.h.
|
inline |
Definition at line 241 of file O3prmrContext.h.
void gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::addSession | ( | const O3prmrSession< GUM_SCALAR > & | session | ) |
Definition at line 114 of file O3prmrContext_tpl.h.
Referenced by gum::prm::o3prmr::O3prmrInterpreter::checkSemantic().
std::string gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::aliasToImport | ( | const std::string & | alias | ) |
Definition at line 77 of file O3prmrContext_tpl.h.
Referenced by gum::prm::o3prmr::O3prmrInterpreter::findSystemName().
std::string gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::filename | ( | ) | const |
Definition at line 61 of file O3prmrContext_tpl.h.
Referenced by gum::prm::o3prmr::O3prmrInterpreter::addError(), gum::prm::o3prmr::O3prmrInterpreter::addWarning(), and gum::prm::o3prmr::O3prmrInterpreter::import().
std::vector< ImportCommand *> gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::imports | ( | ) | const |
Definition at line 85 of file O3prmrContext_tpl.h.
Referenced by gum::prm::o3prmr::O3prmrInterpreter::checkSemantic(), and gum::prm::o3prmr::O3prmrContext< double >::operator+=().
|
inline |
Definition at line 228 of file O3prmrContext.h.
Referenced by gum::prm::o3prmr::O3prmrInterpreter::system().
O3prmrContext< GUM_SCALAR > & gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::operator+= | ( | const O3prmrContext< GUM_SCALAR > & | c | ) |
Definition at line 141 of file O3prmrContext_tpl.h.
Referenced by gum::prm::o3prmr::O3prmrContext< double >::toString().
std::string gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::package | ( | ) | const |
Definition at line 66 of file O3prmrContext_tpl.h.
std::vector< O3prmrSession< GUM_SCALAR > *> gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::sessions | ( | ) | const |
Definition at line 109 of file O3prmrContext_tpl.h.
Referenced by gum::prm::o3prmr::O3prmrInterpreter::checkSemantic(), gum::prm::o3prmr::O3prmrInterpreter::interpret(), and gum::prm::o3prmr::O3prmrContext< double >::operator+=().
void gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::setPackage | ( | const std::string & | package | ) |
Definition at line 71 of file O3prmrContext_tpl.h.
|
virtual |
Definition at line 120 of file O3prmrContext_tpl.h.
|
private |
Definition at line 217 of file O3prmrContext.h.
Referenced by gum::prm::o3prmr::O3prmrContext< double >::O3prmrContext().
|
private |
Definition at line 220 of file O3prmrContext.h.
|
private |
Definition at line 221 of file O3prmrContext.h.
Referenced by gum::prm::o3prmr::O3prmrContext< double >::O3prmrContext().
|
private |
Definition at line 218 of file O3prmrContext.h.
|
private |
Definition at line 219 of file O3prmrContext.h.