![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
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 201 of file O3prmrContext.h.
|
explicit |
Definition at line 38 of file O3prmrContext_tpl.h.
gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::O3prmrContext | ( | const O3prmrContext< GUM_SCALAR > & | s | ) |
Definition at line 44 of file O3prmrContext_tpl.h.
|
virtual |
Definition at line 51 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 88 of file O3prmrContext_tpl.h.
void gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::addImport | ( | int | line, |
const std::string & | import, | ||
bool | ismain | ||
) |
Definition at line 98 of file O3prmrContext_tpl.h.
|
inline |
Definition at line 224 of file O3prmrContext.h.
void gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::addSession | ( | const O3prmrSession< GUM_SCALAR > & | session | ) |
Definition at line 110 of file O3prmrContext_tpl.h.
std::string gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::aliasToImport | ( | const std::string & | alias | ) |
Definition at line 75 of file O3prmrContext_tpl.h.
std::string gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::filename | ( | ) | const |
Definition at line 60 of file O3prmrContext_tpl.h.
std::vector< ImportCommand *> gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::imports | ( | ) | const |
Definition at line 83 of file O3prmrContext_tpl.h.
|
inline |
Definition at line 213 of file O3prmrContext.h.
O3prmrContext< GUM_SCALAR > & gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::operator+= | ( | const O3prmrContext< GUM_SCALAR > & | c | ) |
Definition at line 135 of file O3prmrContext_tpl.h.
std::string gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::package | ( | ) | const |
Definition at line 65 of file O3prmrContext_tpl.h.
std::vector< O3prmrSession< GUM_SCALAR > *> gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::sessions | ( | ) | const |
Definition at line 105 of file O3prmrContext_tpl.h.
void gum::prm::o3prmr::O3prmrContext< GUM_SCALAR >::setPackage | ( | const std::string & | package | ) |
Definition at line 70 of file O3prmrContext_tpl.h.
|
virtual |
Definition at line 115 of file O3prmrContext_tpl.h.
|
private |
Definition at line 202 of file O3prmrContext.h.
Referenced by gum::prm::o3prmr::O3prmrContext< double >::filename(), and gum::prm::o3prmr::O3prmrContext< double >::O3prmrContext().
|
private |
Definition at line 205 of file O3prmrContext.h.
|
private |
Definition at line 206 of file O3prmrContext.h.
Referenced by gum::prm::o3prmr::O3prmrContext< double >::mainImport(), and gum::prm::o3prmr::O3prmrContext< double >::O3prmrContext().
|
private |
Definition at line 203 of file O3prmrContext.h.
Referenced by gum::prm::o3prmr::O3prmrContext< double >::package(), gum::prm::o3prmr::O3prmrContext< double >::setPackage(), and gum::prm::o3prmr::O3prmrContext< double >::toString().
|
private |
Definition at line 204 of file O3prmrContext.h.