Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
ipythonmodule.h
Go to the documentation of this file.
1
#pragma once
7
#include "shared/interface/signal.h"
8
#include "base/src/property.h"
9
10
namespace
itasca
{
11
}
12
13
namespace
itascaxd
{
14
}
15
17
namespace
python
{
18
using namespace
itasca;
19
using namespace
itascaxd
;
20
23
25
class
IPythonModule
{
26
public
:
27
28
virtual
void
setConsole(
bool
b)=0;
29
30
virtual
std::vector<std::string> getSymbolNames(
bool
skip_private =
true
)
const
= 0;
31
32
virtual
std::string getSymbolValueAsString(
const
std::string& name)
const
= 0;
33
34
virtual
std::string getSymbolType(
const
std::string& name)
const
= 0;
35
36
virtual
bool
isFunction(
const
std::string& name,
int
* outArgCount =
nullptr
)
const
= 0;
37
38
using
prop_signal = shared::Signal<const string &,const base::Property &>;
39
40
41
};
42
43
44
}
// namespace python
45
// EoF
python::IPythonModule
Interface for the PYTHON module.
Definition
ipythonmodule.h:25
itascaxd
#define itascaxd
Expands to itasca2d in 2D, itasca3d in 3D, for use as a namespace name....
Definition
dim.h:181
itasca
namespace Itasca
Definition
basememory.cpp:14
itascaxd
Itasca Library standard namespace, specific to 2D or 3D.
Definition
icontactmodule.h:6
python
PYTHON namespace.
Definition
imoduledfnpython.h:6
common
python
interface
ipythonmodule.h
Generated by
1.18.0