Itasca C++ Interface
Loading...
Searching...
No Matches
imain.h
1#pragma once
2
3#include "librarydata.h"
4
5namespace itasca {
6 class IContainer;
7}
8
9namespace fish {
10 class IGlobalRuntime;
11 class IParameter;
12 class ISymbol;
13
14 class IMain {
15 public:
16 virtual LibraryData getLibraryData(const IString &name,bool throwIfAmbiguous) const=0;
17 virtual bool isOperator(char c) const=0;
18 virtual const itasca::IContainer *getSymbolContainer() const=0;
19 virtual std::vector<std::pair<IString,ISymbol *>> getAllSymbols() const=0;
20 virtual const IStringMap<ISymbol *> &getAllPublicSymbols() const = 0;
21 virtual bool checkIfSymbolModified() const=0;
22 virtual bool willAutoCreate() const=0;
23 virtual bool willBoolConvert() const=0;
24 virtual const IGlobalRuntime * getIGlobalRuntime() const=0;
25 virtual IParameter * createParameter() const=0;
26 };
27} // namespace fish
28// EoF
Definition istring.h:14
Definition iglobalruntime.h:6
Definition imain.h:14
Definition iparameter.h:13
Interface for containers of IThings.
Definition icontainer.h:21
namespace Itasca
Definition basememory.cpp:14
Definition librarydata.h:8