Pointwise Plugin SDK
CaeStrBoundaryGroup.h
Go to the documentation of this file.
1 /****************************************************************************
2  *
3  * CaeStrBoundaryGroup class
4  *
5  * (C) 2021 Cadence Design Systems, Inc. All rights reserved worldwide.
6  *
7  ***************************************************************************/
8 
9 #if !defined(PWGM_HIDE_STRUCTURED_API)
10 
11 #ifndef _CAESTRBOUNDARYGROUP_H_
12 #define _CAESTRBOUNDARYGROUP_H_
13 
14 
15 #include "apiGridModel.h"
16 #include "apiPWP.h"
17 
18 
46 public:
47 
50  {
51  }
52 
54 
58  return this->boundaryCountImpl();
59  }
60 
62 
69  return this->enumBoundariesImpl(ndx);
70  }
71 
73 
80  return this->enumBoundariesImpl(0);
81  }
82 
83 protected:
84 
86 
91  virtual PWP_UINT32 boundaryCountImpl() const = 0;
92 
94 
102  virtual PWGM_HBNDRY enumBoundariesImpl(PWP_UINT32 ndx) const = 0;
103 };
104 
105 #endif // _CAESTRBOUNDARYGROUP_H_
106 
107 #endif // PWGM_HIDE_STRUCTURED_API
CaeStrBoundaryGroup::firstBoundary
PWGM_HBNDRY firstBoundary() const
Get the first boundary in the group.
Definition: CaeStrBoundaryGroup.h:79
PWP_UINT32
unsigned int PWP_UINT32
32-bit unsigned integer
Definition: apiPWP.h:210
apiGridModel.h
Pointwise Grid Model API Specification (PWGM-API)
CaeStrBoundaryGroup::~CaeStrBoundaryGroup
virtual ~CaeStrBoundaryGroup()
Destructor.
Definition: CaeStrBoundaryGroup.h:49
CaeStrBoundaryGroup::boundaryCountImpl
virtual PWP_UINT32 boundaryCountImpl() const =0
Get the number of boundaries in the group.
CaeStrBoundaryGroup::enumBoundaries
PWGM_HBNDRY enumBoundaries(PWP_UINT32 ndx) const
Get a boundary in the group.
Definition: CaeStrBoundaryGroup.h:68
PWGM_HBNDRY
An opaque handle to a structured block boundary.
Definition: apiGridModel.h:457
CaeStrBoundaryGroup::enumBoundariesImpl
virtual PWGM_HBNDRY enumBoundariesImpl(PWP_UINT32 ndx) const =0
Get a boundary in the group.
apiPWP.h
Pointwise Plugin API (PWP-API)
CaeStrBoundaryGroup
The structured boundary group class.
Definition: CaeStrBoundaryGroup.h:45
CaeStrBoundaryGroup::boundaryCount
PWP_UINT32 boundaryCount() const
Get the number of boundaries in the group.
Definition: CaeStrBoundaryGroup.h:57