-
Notifications
You must be signed in to change notification settings - Fork 0
/
Facility.h
54 lines (43 loc) · 1.03 KB
/
Facility.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// -*- C++ -*-
//
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Michael A.G. Aivazis
// California Institute of Technology
// (C) 1998-2005 All Rights Reserved
//
// <LicenseText>
//
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
#if !defined(journal_Facility_h)
#define journal_Facility_h
// forward declarations
namespace journal {
class Facility;
}
class journal::Facility {
//interface
public:
inline void state(bool);
inline bool state() const;
// meta-methods
public:
inline ~Facility();
inline Facility(bool state);
// disable these
private:
Facility(const Facility &);
const Facility & operator=(const Facility &);
// data
private:
bool _state;
};
// get the inline definitions
#define journal_Facility_icc
#include "Facility.icc"
#undef journal_Facility_icc
#endif
// version
// $Id: Facility.h,v 1.1.1.1 2006-11-27 00:09:37 aivazis Exp $
// End of file