SimulationInfo.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 #include "CeeCore/Str.h"
17 
18 namespace cee {
19 namespace ug {
20 
21 //==================================================================================================
25 //==================================================================================================
26 class CEE_UG_EXPORT SimulationInfo
27 {
28 
29 public:
31  SimulationInfo(const SimulationInfo& other);
32  ~SimulationInfo();
33 
34  SimulationInfo& operator=(const SimulationInfo& rhs);
35 
36  Str title() const;
37  void setTitle(const Str& title);
38 
39  Str description() const;
40  void setDescription(const Str& description);
41 
42  Str filename() const;
43  void setFilename(const Str& filename);
44 
45  Str sourceFilename() const;
46  void setSourceFilename(const Str& filename);
47 
48  SimulationType type() const;
49  void setType(SimulationType type);
50 
51  SolutionType solutionType() const;
52  void setSolutionType(SolutionType type);
53 
54 private:
55  CEE_PRIVATE_IMPL(SimulationInfo);
56 };
57 
58 
59 } // namespace ug
60 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
A general unicode based string class.
Definition: Str.h:28
SolutionType
Type of the solution run to produce the result database.
Definition: Base.h:129
SimulationType
Type of the simulation run to produce the result database.
Definition: Base.h:115
Simple class containing metadata info for the simulation that produced the model database.
Definition: SimulationInfo.h:26