Itasca C++ Interface
Loading...
Searching...
No Matches
iflowplanething.h
Go to the documentation of this file.
1#pragma once
2// iflowplanething.h
3
4#include "iblockdef.h"
5
6#include "base/src/farray.h"
7#include "base/src/property.h"
8
17namespace itasca
18{
19 class IThing;
20}
21
22namespace block
23{
24 class IFlowZoneThing;
25 class IFlowPlaneVertexThing;
26 class IContactThing;
27
29 {
30 public:
31
33 inline static const TType type_ = 0x52d800d8;
35 virtual const itasca::IThing * getIThing() const=0;
39 virtual FInt getFortranOffset() const=0;
41 virtual double getArea() const=0;
43 virtual const IContactThing * getContact() const=0;
45 virtual uint64 getContactID() const=0;
47 virtual DVect3 getLocalX() const=0;
49 virtual DVect3 getLocalY() const=0;
56 virtual uint32 getPropertyIndex(const string &sc) const=0;
58 virtual string getProperties() const=0;
61 virtual string getPropertyName(uint32 index) const=0;
63 virtual StringList getPropertyNames() const=0;
66 virtual base::Property getProperty(uint32 index) const=0;
69 virtual base::Property getProperty(const string& propName) const=0;
71 virtual bool setProperty(string sprop,const base::Property value)=0;
73 virtual bool setProperty(uint32 index,const base::Property value)=0;
75 virtual DVect3 getLocation() const = 0;
76
77 };
78
79} // end namespace block
80// EOF
An array class that attempts to minimize unnecessary heap access.
Definition farray.h:25
Definition basestring.h:71
Definition property.h:36
Definition icontactthing.h:31
Definition iflowplanething.h:29
static const TType type_
type used in IThing typing system
Definition iflowplanething.h:33
virtual const IContactThing * getContact() const =0
Return the contact associated with the flow plane.
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing pointer.
virtual itasca::IThing * getIThing()=0
Returns a IThing pointer.
virtual FInt getFortranOffset() const =0
Return flow plane fortran offset.
virtual string getProperties() const =0
Return property names as a single string with names separated by commas.
virtual DVect3 getLocalY() const =0
Return local coordinate system y-axis in global system.
virtual base::Property getProperty(const string &propName) const =0
virtual base::Property getProperty(uint32 index) const =0
virtual string getPropertyName(uint32 index) const =0
virtual FArray< const IFlowPlaneVertexThing * > getFlowPlaneVertices() const =0
Return flow vertices associated with the flow plane.
virtual StringList getPropertyNames() const =0
returns a list of all the valid properties assigned to this flowplane
virtual uint32 getPropertyIndex(const string &sc) const =0
virtual uint64 getContactID() const =0
Return the id of the contact associated with the flow plane.
virtual DVect3 getLocalX() const =0
Return local coordinate system x-axis in global system.
virtual FArray< const IFlowZoneThing * > getFlowZones() const =0
Return flow zones associated with the flow plane.
virtual DVect3 getLocation() const =0
Return the flow plane location.
virtual double getArea() const =0
Return the plane area.
virtual bool setProperty(string sprop, const base::Property value)=0
Set property corresponding to sprop equal to value.
virtual bool setProperty(uint32 index, const base::Property value)=0
Set property corresponding to index equal to value.
Base class for items that will be stored in containers.
Definition ithing.h:31
An array class that attempts to minimize unnecessary heap access.
uint32 TType
class type indicator
Definition basedef.h:47
int64 FInt
Interface to provide access to 3DEC modules, global data, list of 3DEC entities, etc.
Definition iblockdef.h:14
Fortran to C++ type declarations.
namespace Itasca
Definition basememory.cpp:14