Pointwise Plugin SDK
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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
unsigned int PWP_UINT32
32-bit unsigned integer
Definition: apiPWP.h:210
Pointwise Plugin API (PWP-API)
PWGM_HBNDRY firstBoundary() const
Get the first boundary in the group.
PWP_UINT32 boundaryCount() const
Get the number of boundaries in the group.
Pointwise Grid Model API Specification (PWGM-API)
virtual ~CaeStrBoundaryGroup()
Destructor.
An opaque handle to a structured block boundary.
Definition: apiGridModel.h:457
The structured boundary group class.
virtual PWGM_HBNDRY enumBoundariesImpl(PWP_UINT32 ndx) const =0
Get a boundary in the group.
virtual PWP_UINT32 boundaryCountImpl() const =0
Get the number of boundaries in the group.
PWGM_HBNDRY enumBoundaries(PWP_UINT32 ndx) const
Get a boundary in the group.