Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
icontactmodellist.h
1 #pragma once
2 // icontactmodellist.h
3 
4 namespace itascaxd {
6  public:
7  virtual QStringList 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 uint 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 uint 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 QString &name) const =0;
29  // Return all energies
30  virtual QStringList allEnergies(const QString &mn=QString()) const = 0;
31  // Return the energy index
32  virtual uint getEnergyIndex(const QString &modelName,const QString &energyName)=0;
33 
34  };
35 } // namespace itascaxd
36 // EoF
Definition: icontactmodellist.h:5
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4