1.00.0
C++ Standard Airline IT Object Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
DoWStruct.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_DOWSTRUCT_HPP
2
#define __STDAIR_BOM_DOWSTRUCT_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <string>
9
#include <vector>
10
// STDAIR
11
#include <
stdair/basic/StructAbstract.hpp
>
12
13
namespace
stdair {
14
18
struct
DoWStruct
:
public
StructAbstract
{
19
public
:
21
typedef
std::vector<bool>
BooleanList_T
;
22
23
public
:
24
// //////////////// Getters ///////////////
26
bool
getDayOfWeek
(
const
unsigned
short
i)
const
;
27
29
bool
getStandardDayOfWeek
(
const
unsigned
short
i)
const
;
30
31
public
:
32
// //////////////// Setters ///////////////
34
void
setDayOfWeek
(
const
unsigned
short
,
const
bool
);
35
36
public
:
37
// //////////////// Display methods ///////////////
39
const
std::string
describe
()
const
;
40
42
const
std::string
describeShort
()
const
;
43
44
public
:
45
// ///////////////// Business Methods ////////////////
47
DoWStruct
shift
(
const
long
&)
const
;
48
50
DoWStruct
intersection
(
const
DoWStruct
&)
const
;
51
53
const
bool
isValid
()
const
;
54
55
public
:
58
DoWStruct
(
const
std::string& iDowString);
60
DoWStruct
();
61
DoWStruct
(
const
DoWStruct
&);
63
~DoWStruct
() { }
64
65
private
:
67
BooleanList_T
_dowList;
68
};
69
70
}
71
#endif // __STDAIR_BOM_DOWSTRUCT_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1