Home
Getting started
Components overview
Topics
Components
Classes
Tutorials and Examples
Code snippets
Support
StateGroupInfo.h
1
//##################################################################################################
2
//
3
// Ceetron Desktop Components
4
// Component: UnstructGrid
5
//
6
// --------------------------------------------------------------------------------------------
7
// Copyright (C) 2012, 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
#include "CeeCore/Str.h"
18
19
namespace
cee
{
20
namespace
ug {
21
22
23
24
//==================================================================================================
25
//
26
//
27
//
28
//==================================================================================================
29
class
CEE_UG_EXPORT
StateGroupInfo
30
{
31
public
:
32
StateGroupInfo
();
33
StateGroupInfo
(
int
id
,
const
Str
& name);
34
StateGroupInfo
(
const
StateGroupInfo
& other);
35
~
StateGroupInfo
();
36
37
StateGroupInfo
& operator=(
const
StateGroupInfo
& rhs);
38
39
int
id()
const
;
40
Str
name()
const
;
41
42
size_t
stateCount()
const
;
43
int
stateId(
size_t
index)
const
;
44
45
void
addStateId(
int
stateId);
46
bool
hasStateId(
int
stateId)
const
;
47
void
clear();
48
49
private
:
50
CEE_PRIVATE_IMPL(
StateGroupInfo
);
51
};
52
53
}
// namespace ug
54
}
// namespace cee
cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition:
AppComponent.cpp:26
cee::Str
A general unicode based string class.
Definition:
Str.h:28
cee::ug::StateGroupInfo
Simple class containing metadata info for a group of states.
Definition:
StateGroupInfo.h:29
CeeUnstructGrid
StateGroupInfo.h
Updated: Fri Dec 17 2021 - Copyright © 2021 Ceetron AS