Itasca C++ Interface
ijointarray.h
Go to the documentation of this file.
1 #pragma once
2 // ijointarray.h
3 
9 namespace itasca
10 {
11  class IContainer;
12  class IThing;
13 }
14 
15 namespace block
16 {
17  using namespace itasca;
18 
19  class IJointFaceThing;
20 
24  {
25  public:
26 
28  virtual const IThing * getIThing() const=0;
30  virtual IThing * getIThing()=0;
32  virtual const IContainer * getIContainer() const=0;
34  virtual IContainer * getIContainer() =0;
36  virtual quint64 getNumJoints() const=0;
38  virtual const IJointFaceThing * findJointWithID(quint64 id) const=0;
40  virtual IJointFaceThing * findJointWithID(quint64 id)=0;
42  virtual quint32 getJointFaceType() const=0;
44  virtual bool updateNewJointPlotData(bool plotJoined, QString *errorMessage=0) const=0;
45  };
46 
47 } // end namespace block
48 // EOF
This interface provides access to jointthing array.
Definition: ijointarray.h:24
virtual bool updateNewJointPlotData(bool plotJoined, QString *errorMessage=0) const =0
force an update to the joint plane plot data
virtual quint64 getNumJoints() const =0
Returns number of joints in the container.
virtual IThing * getIThing()=0
Returns a pointer to an IThing interface representing the IJointArray.
virtual IJointFaceThing * findJointWithID(quint64 id)=0
Returns a pointer to the joint face, with the ID id, or nullptr if the face does not exist.
virtual const IJointFaceThing * findJointWithID(quint64 id) const =0
Returns a const pointer to the joint face, with the ID id, or nullptr if the face does not exist.
virtual IContainer * getIContainer()=0
Returns a pointer to the IContainer interface representing the global list of joints.
virtual const IContainer * getIContainer() const =0
Returns a const pointer to the IContainer interface representing the global list of joints.
virtual const IThing * getIThing() const =0
Returns a const pointer to an IThing interface representing the IJointArray.
virtual quint32 getJointFaceType() const =0
Returns the joint face type identifier.
Definition: ijointthing.h:24
Interface for containers of IThings.
Definition: icontainer.h:21
Base class for items that will be stored in containers.
Definition: ithing.h:30
namespace Itasca
Definition: basememory.cpp:10