Itasca C++ Interface
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
10namespace itasca {
11}
12
13namespace itascaxd {
14}
15
17namespace python {
18 using namespace itasca;
19 using namespace itascaxd;
20
23
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
Interface for the PYTHON module.
Definition ipythonmodule.h:25
#define itascaxd
Expands to itasca2d in 2D, itasca3d in 3D, for use as a namespace name....
Definition dim.h:181
namespace Itasca
Definition basememory.cpp:14
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:6
PYTHON namespace.
Definition imoduledfnpython.h:6