GPLIB++
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
GAClasses
GeneralSelect.cpp
Go to the documentation of this file.
1
#include "
GeneralSelect.h
"
2
#include "
FatalException.h
"
3
4
namespace
gplib
5
{
6
GeneralSelect::GeneralSelect
() :
7
initialized(false)
8
{
9
}
10
11
GeneralSelect::~GeneralSelect
()
12
{
13
}
14
15
size_t
GeneralSelect::GetOne
()
16
{
17
if
(!initialized)
18
throw
FatalException
(
19
"Trying to use Select::GetOne without initializing !"
);
20
return
DoGetOne();
21
}
22
}
FatalException.h
gplib::GeneralSelect::~GeneralSelect
virtual ~GeneralSelect()
Definition:
GeneralSelect.cpp:11
gplib::GeneralSelect::GeneralSelect
GeneralSelect()
Definition:
GeneralSelect.cpp:6
gplib::GeneralSelect::GetOne
size_t GetOne()
Definition:
GeneralSelect.cpp:15
GeneralSelect.h
gplib::FatalException
The basic exception class for all errors that arise in gplib.
Definition:
FatalException.h:11
Generated on Wed May 25 2016 14:21:06 for GPLIB++ by
1.8.6