ResultsQueryItem.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: UnstructGrid
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2017, 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 ResultsQueryItem
26 {
27 public:
29  ResultsQueryItem(size_t partIndex, size_t index);
30  bool operator==(const ResultsQueryItem& other) const;
31 
32  size_t partIndex() const;
33  size_t index() const;
34 
35 private:
36  size_t m_partIndex;
37  size_t m_index;
38 };
39 
40 
41 } // namespace ug
42 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Used to identify an element or a node within a DataGeometry in order to query result values for it us...
Definition: ResultsQueryItem.h:25
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