GammaWare
Head Version for release 0.9
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ADFConfig.h
Go to the documentation of this file.
1
/* src/adf/ADFConfig.h. Generated from ADFConfig.h.in by configure. */
2
/***************************************************************************
3
* Copyright (C) 2004 by Olivier Stezowski *
4
* agata(AT)ipnl.in2p3.fr *
5
* *
6
* This program is free software; you can redistribute it and/or modify *
7
* it under the terms of the GNU General Public License as published by *
8
* 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 General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with this program; if not, write to the *
18
* Free Software Foundation, Inc., *
19
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20
***************************************************************************/
21
26
#ifndef ADF_ADFConfig
27
#define ADF_ADFConfig
28
#define ADF_CONFIG_H ADF_ADFConfig
29
30
#include <string>
31
32
/* Define to 1 if compiled as a standalone library */
33
#define ADF_STANDALONE 0
34
35
/* Define to 1 if you have the Narval on your system </narval/xxx.h> header file. */
36
#define HAVE_NARVAL_H 0
37
38
/* Define to the version of this package. */
39
#define PACKAGE_VERSION "0.9"
40
41
/* Define to the full name of this package. */
42
#define PACKAGE_NAME "GammaWare"
43
44
// ROOT includes in case the library is embedded in GammaWare
45
#if ADF_STANDALONE == 0
46
47
#ifndef ROOT_Bytes
48
#include <Bytes.h>
49
#endif
50
51
#else
52
53
//---- types from ROOT -------------------------------------------------------------------
54
55
typedef
char
Char_t;
//Signed Character 1 byte (char)
56
typedef
unsigned
char
UChar_t;
//Unsigned Character 1 byte (unsigned char)
57
typedef
short
Short_t;
//Signed Short integer 2 bytes (short)
58
typedef
unsigned
short
UShort_t;
//Unsigned Short integer 2 bytes (unsigned short)
59
typedef
int
Int_t;
//Signed integer 4 bytes (int)
60
typedef
unsigned
int
UInt_t;
//Unsigned integer 4 bytes (unsigned int)
61
62
// Note: Long_t and ULong_t are currently not portable types
63
#ifdef R__B64
64
typedef
long
Long_t;
//Signed long integer 8 bytes (long)
65
typedef
unsigned
long
ULong_t;
//Unsigned long integer 8 bytes (unsigned long)
66
#else
67
typedef
long
Long_t;
//Signed long integer 4 bytes (long)
68
typedef
unsigned
long
ULong_t;
//Unsigned long integer 4 bytes (unsigned long)
69
#endif
70
71
#if defined(R__WIN32)
72
typedef
__int64 Long64_t;
//Portable signed long integer 8 bytes
73
typedef
unsigned
__int64 ULong64_t;
//Portable unsigned long integer 8 bytes
74
#else
75
typedef
long
long
Long64_t;
//Portable signed long integer 8 bytes
76
typedef
unsigned
long
long
ULong64_t;
//Portable unsigned long integer 8 bytes
77
#endif
78
79
typedef
float
Float_t;
//Float 4 bytes (float)
80
typedef
double
Double_t;
//Double 8 bytes
81
typedef
double
Double32_t;
//Double 8 bytes in memory, written as a 4 bytes float
82
typedef
bool
Bool_t;
//Boolean (0=false, 1=true) (bool)
83
84
#ifndef NULL
85
#define NULL 0
86
#endif
87
88
#endif
89
90
namespace
ADF {
91
92
const
UInt_t
kMaxUChar_t
= UChar_t(~0);
93
const
Int_t
kMaxChar_t
=
kMaxUChar_t
>> 1;
94
const
Int_t
kMinChar_t
= -
kMaxChar_t
- 1;
95
96
const
UInt_t
kMaxUShort_t
= UShort_t(~0);
97
const
Int_t
kMaxShort_t
=
kMaxUShort_t
>> 1;
98
const
Int_t
kMinShort_t
= -
kMaxShort_t
- 1;
99
100
const
UInt_t
kMaxUInt_t
= UInt_t(~0);
101
const
Int_t
kMaxInt_t
= Int_t(
kMaxUInt_t
>> 1);
102
const
Int_t
kMinInt_t
= -
kMaxInt_t
- 1;
103
104
const
char
kBool_t
[] =
"B"
;
105
const
char
kUShort_t
[] =
"US"
;
106
const
char
kShort_t
[] =
"S"
;
107
const
char
kUInt_t
[] =
"UI"
;
108
const
char
kInt_t
[] =
"I"
;
109
const
char
kULong64_t
[] =
"UL"
;
110
const
char
kLong64_t
[] =
"L"
;
111
const
char
kFloat_t
[] =
"F"
;
112
const
char
kDouble_t
[] =
"D"
;
113
114
std::string
GetPathToConfFile
();
115
116
}
117
118
#endif
ADF::kMaxUChar_t
const UInt_t kMaxUChar_t
Definition:
ADFConfig.h:92
ADF::kMinInt_t
const Int_t kMinInt_t
Definition:
ADFConfig.h:102
ADF::kMinChar_t
const Int_t kMinChar_t
Definition:
ADFConfig.h:94
ADF::kShort_t
const char kShort_t[]
Definition:
ADFConfig.h:106
ADF::kLong64_t
const char kLong64_t[]
Definition:
ADFConfig.h:110
ADF::kDouble_t
const char kDouble_t[]
Definition:
ADFConfig.h:112
ADF::kMinShort_t
const Int_t kMinShort_t
Definition:
ADFConfig.h:98
ADF::kMaxUInt_t
const UInt_t kMaxUInt_t
Definition:
ADFConfig.h:100
ADF::kULong64_t
const char kULong64_t[]
Definition:
ADFConfig.h:109
ADF::kMaxUShort_t
const UInt_t kMaxUShort_t
Definition:
ADFConfig.h:96
ADF::kMaxChar_t
const Int_t kMaxChar_t
Definition:
ADFConfig.h:93
ADF::kFloat_t
const char kFloat_t[]
Definition:
ADFConfig.h:111
ADF::kBool_t
const char kBool_t[]
Definition:
ADFConfig.h:104
ADF::kInt_t
const char kInt_t[]
Definition:
ADFConfig.h:108
ADF::kUShort_t
const char kUShort_t[]
Definition:
ADFConfig.h:105
ADF::kUInt_t
const char kUInt_t[]
Definition:
ADFConfig.h:107
ADF::kMaxInt_t
const Int_t kMaxInt_t
Definition:
ADFConfig.h:101
ADF::kMaxShort_t
const Int_t kMaxShort_t
Definition:
ADFConfig.h:97
ADF::GetPathToConfFile
std::string GetPathToConfFile()
Definition:
ADFConfig.cpp:31
src
adf
ADFConfig.h
Generated on Wed Sep 20 2017 17:26:15 for GammaWare by
1.8.7