SymEngine C++ API
symengine
printers
sbml.h
1
#ifndef SYMENGINE_SBML_H
2
#define SYMENGINE_SBML_H
3
4
#include <
symengine/visitor.h
>
5
#include <symengine/printers/strprinter.h>
6
7
namespace
SymEngine
8
{
9
10
class
SbmlPrinter
:
public
BaseVisitor
<SbmlPrinter, StrPrinter>
11
{
12
public
:
13
using
StrPrinter::apply;
14
using
StrPrinter::bvisit;
15
static
const
std::vector<std::string>
names_;
16
void
_print_pow(
std::ostringstream
&o,
const
RCP<const Basic> &a,
17
const
RCP<const Basic> &b)
override
;
18
void
bvisit(
const
BooleanAtom
&x);
19
void
bvisit(
const
And
&x);
20
void
bvisit(
const
Or
&x);
21
void
bvisit(
const
Xor
&x);
22
void
bvisit(
const
Not
&x);
23
void
bvisit(
const
Piecewise
&x);
24
void
bvisit(
const
Infty
&x);
25
void
bvisit(
const
Constant
&x);
26
void
bvisit(
const
Function
&x);
27
};
28
29
}
// namespace SymEngine
30
31
#endif
std::ostringstream
SymEngine::And
Definition:
logic.h:105
SymEngine::BaseVisitor
Definition:
visitor.h:48
SymEngine::BooleanAtom
Definition:
logic.h:26
SymEngine::Constant
Definition:
constants.h:19
SymEngine::Function
Definition:
functions.h:18
SymEngine::Infty
Definition:
infinity.h:21
SymEngine::Not
Definition:
logic.h:144
SymEngine::Or
Definition:
logic.h:125
SymEngine::Piecewise
Definition:
logic.h:83
SymEngine::SbmlPrinter
Definition:
sbml.h:11
SymEngine::Xor
Definition:
logic.h:163
SymEngine
Main namespace for SymEngine package.
Definition:
add.cpp:19
std::vector< std::string >
visitor.h