DataElementSetItem.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: UnstructGrid
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2015, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeUnstructGrid/Base.h"
16 
17 namespace cee {
18 namespace ug {
19 
20 //==================================================================================================
21 //
22 //
23 //
24 //==================================================================================================
25 class CEE_UG_EXPORT DataElementSetItem
26 {
27 public:
29  DataElementSetItem(int geometryId, int partId, size_t elementIndex);
32 
33  DataElementSetItem& operator=(const DataElementSetItem& other);
34  bool operator==(const DataElementSetItem& rhs) const;
35  bool operator!=(const DataElementSetItem& rhs) const;
36 
37  int geometryId() const;
38  void setGeometryId(int geometryId);
39 
40  int partId() const;
41  void setPartId(int partId);
42 
43  size_t elementIndex() const;
44  void setElementIndex(size_t elementIndex);
45 
46 private:
47  CEE_PRIVATE_IMPL(DataElementSetItem);
48 };
49 
50 } // namespace ug
51 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
bool operator!=(const PtrRef< T1 > &a, const PtrRef< T2 > &b)
Returns true if the internal pointers of refs a and b are different.
Definition: PtrRef.h:58
bool operator==(const PtrRef< T1 > &a, const PtrRef< T2 > &b)
Returns true if the internal pointers of refs a and b are equal.
Definition: PtrRef.h:57
This class identifies an element within an UnstructGrid model and is used as an item in a DataElement...
Definition: DataElementSetItem.h:25