Itasca C++ Interface
Loading...
Searching...
No Matches
icontactmodellist.h
1#pragma once
2// icontactmodellist.h
3
4namespace itascaxd {
6 public:
7 virtual IStringList allModels() const=0;
8 // Returns a set of all properties in all contact models current registered with the program.
9 // If notFixedOnly is set to true, then *Fixed* (readOnly) properties are not returned.
10 virtual QStringList allProperties(const QString &mn=QString(),bool notFixedOnly=true) const=0;
11 // Return a list of properties that are not strings or vectors
12 virtual QStringList nonStringVectorProperties(const QString &mn=QString(),bool not_fixed_only=true) const=0;
13 // Return a list of properties that are strings only
14 virtual QStringList stringProperties(const QString &mn=QString(),bool not_fixed_only=true) const=0;
15 // Return a list of properties that are only vectors
16 virtual QStringList vectorProperties(const QString &mn=QString(),bool not_fixed_only=true) const=0;
17 // Return a property index given a model name and a property name.
18 virtual uint32 getPropertyIndex(const QString &modelName,const QString &propertyName)=0;
19 // Returns a set of all properties in all contact models current registered with the program.
20 virtual QStringList allMethods(const QString &mn=QString()) const=0;
21 // Return a method index given a model name and a property name.
22 virtual uint32 getMethodIndex(const QString &modelName,const QString &propertyName)=0;
23 // Returns a list of all arguments available under the method name methodName for contact model modelName.
24 virtual QStringList getMethodArguments(const QString &modelName,const QString &methodName) const=0;
25 // Returns a list of all arguments available under the method name methodName in all contact models current registered with the program.
26 virtual QStringList getAllMethodArguments(const QString &methodName) const=0;
27 // Return true is the model was registered as a plugin
28 virtual bool plugin(const IString &name) const =0;
29 // Return all energies
30 virtual QStringList allEnergies(const QString &mn=QString()) const = 0;
31 // Return the energy index
32 virtual uint32 getEnergyIndex(const string &modelName,const string &energyName)=0;
33
34 };
35} // namespace itascaxd
36// EoF
Definition istring.h:14
Definition istringlist.h:10
Definition icontactmodellist.h:5
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4