World Builder
0.1.0-pre
A geodyanmic initial conditions generator
unsigned_int.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2018 by the authors of the World Builder code.
3
4
This file is part of the World Builder.
5
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU Lesser General Public License as published
8
by the Free Software Foundation, either version 2 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public License
17
along with this program. If not, see <https://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef _world_feature_types_unsigned_int_h
21
#define _world_feature_types_unsigned_int_h
22
23
#include <
world_builder/types/interface.h
>
24
25
26
namespace
WorldBuilder
27
{
28
namespace
Types
29
{
30
37
class
UnsignedInt
:
public
Interface
38
{
39
public
:
43
UnsignedInt
(
unsigned
int
default_value
, std::string
description
);
44
48
UnsignedInt
(
unsigned
int
value
,
unsigned
int
default_value, std::string description);
49
53
~UnsignedInt
();
54
59
virtual
60
std::unique_ptr<Interface>
clone
()
const
;
61
62
63
unsigned
int
value
;
64
unsigned
int
default_value
;
65
std::string
description
;
66
67
private
:
68
69
};
70
}
71
}
72
73
#endif
WorldBuilder::Types::UnsignedInt::clone
virtual std::unique_ptr< Interface > clone() const
Definition:
unsigned_int.cc:50
WorldBuilder::Types::UnsignedInt::default_value
unsigned int default_value
Definition:
unsigned_int.h:64
WorldBuilder::Types::Interface
Definition:
interface.h:41
WorldBuilder::Types::UnsignedInt::value
unsigned int value
Definition:
unsigned_int.h:63
WorldBuilder::Types::UnsignedInt::description
std::string description
Definition:
unsigned_int.h:65
WorldBuilder::Types::UnsignedInt::UnsignedInt
UnsignedInt(unsigned int default_value, std::string description)
Definition:
unsigned_int.cc:27
WorldBuilder::Types::UnsignedInt::~UnsignedInt
~UnsignedInt()
Definition:
unsigned_int.cc:46
WorldBuilder
Definition:
cartesian.cc:22
interface.h
WorldBuilder::Types::UnsignedInt
Definition:
unsigned_int.h:37
include
world_builder
types
unsigned_int.h
Generated by
1.8.13