Itasca C++ Interface
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
zone::IIntModel Class Referenceabstract

Interface provides access to the constitutive model of a FLAC3D interface. More...

#include <iintmodel.h>

Public Types

enum  State {
  InContact =0x020 , InShearFailNow =0x100 , InShearFailPast =0x080 , InTensionFail =0x200 ,
  InShearBondFail =0x400
}
 

Public Member Functions

virtual int32 getPropertyNumber (const string &propName) const =0
 
virtual base::Property getPropertyValue (int propNo) const =0
 
virtual void setPropertyValue (int propNo, const base::Property &val)=0
 
virtual int32 getNumProperties ()=0
 Returns the number of properties in the model.
 
virtual string getPropertyName (int propNo)=0
 
virtual bool isInContact () const =0
 Returns true if the model considers itself in contact with something.
 
virtual bool isSlippingNow () const =0
 Returns true if is slipping now.
 
virtual bool hasSlipped () const =0
 Returns true if has slipped in the past.
 
virtual uint32 GetState () const =0
 
virtual void SetState (const uint32 uMask)=0
 
virtual bool GetCanFail () const =0
 
virtual string getShearStateLabel () const =0
 
virtual string getNormalStateLabel () const =0
 

Detailed Description

Interface provides access to the constitutive model of a FLAC3D interface.

Member Function Documentation

◆ getPropertyName()

virtual string zone::IIntModel::getPropertyName ( int propNo)
pure virtual

Given a property ID, returns its name.
Parameter propNo must be from 0 to getNumProperties(). For a ID number outside the range, returns "Unknown".

◆ getPropertyNumber()

virtual int32 zone::IIntModel::getPropertyNumber ( const string & propName) const
pure virtual

Given a property name, returns its ID.
Possible return values are from 0 to getNumProperties()-1.
A return value of -1 indicates no match for propName. Uses current setting for case sensitivity.

◆ getPropertyValue()

virtual base::Property zone::IIntModel::getPropertyValue ( int propNo) const
pure virtual

Given a property ID, returns its value.
Parameter propNo must be from 0 to getNumProperties()-1.

See also
setPropertyValue() getNumProperties()

◆ setPropertyValue()

virtual void zone::IIntModel::setPropertyValue ( int propNo,
const base::Property & val )
pure virtual

Sets the value for a given property ID number.
Parameter propNo must be from 0 to getNumProperties()-1.

See also
getPropertyValue() getNumProperties()

The documentation for this class was generated from the following file: