ROOT
6.08/07
Reference Guide
core
base
inc
RtypesCore.h
Go to the documentation of this file.
1
/* @(#)root/base:$Id$ */
2
3
/*************************************************************************
4
* Copyright (C) 1995-2014, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
#ifndef ROOT_RtypesCore
12
#define ROOT_RtypesCore
13
14
//////////////////////////////////////////////////////////////////////////
15
// //
16
// RtypesCore //
17
// //
18
// Basic types used by ROOT and required by TInterpreter. //
19
// //
20
//////////////////////////////////////////////////////////////////////////
21
22
23
#ifndef ROOT_RConfig
24
#include "
RConfig.h
"
25
#endif
26
27
//---- Tag used by rootcling to determine constructor used for I/O.
28
29
class
TRootIOCtor
;
30
31
//---- types -------------------------------------------------------------------
32
33
typedef
char
Char_t
;
//Signed Character 1 byte (char)
34
typedef
unsigned
char
UChar_t
;
//Unsigned Character 1 byte (unsigned char)
35
typedef
short
Short_t
;
//Signed Short integer 2 bytes (short)
36
typedef
unsigned
short
UShort_t
;
//Unsigned Short integer 2 bytes (unsigned short)
37
#ifdef R__INT16
38
typedef
long
Int_t
;
//Signed integer 4 bytes
39
typedef
unsigned
long
UInt_t
;
//Unsigned integer 4 bytes
40
#else
41
typedef
int
Int_t
;
//Signed integer 4 bytes (int)
42
typedef
unsigned
int
UInt_t
;
//Unsigned integer 4 bytes (unsigned int)
43
#endif
44
#ifdef R__B64 // Note: Long_t and ULong_t are currently not portable types
45
typedef
int
Seek_t
;
//File pointer (int)
46
typedef
long
Long_t
;
//Signed long integer 8 bytes (long)
47
typedef
unsigned
long
ULong_t
;
//Unsigned long integer 8 bytes (unsigned long)
48
#else
49
typedef
int
Seek_t
;
//File pointer (int)
50
typedef
long
Long_t
;
//Signed long integer 4 bytes (long)
51
typedef
unsigned
long
ULong_t
;
//Unsigned long integer 4 bytes (unsigned long)
52
#endif
53
typedef
float
Float_t
;
//Float 4 bytes (float)
54
typedef
float
Float16_t
;
//Float 4 bytes written with a truncated mantissa
55
typedef
double
Double_t
;
//Double 8 bytes
56
typedef
double
Double32_t
;
//Double 8 bytes in memory, written as a 4 bytes float
57
typedef
long
double
LongDouble_t
;
//Long Double
58
typedef
char
Text_t
;
//General string (char)
59
typedef
bool
Bool_t
;
//Boolean (0=false, 1=true) (bool)
60
typedef
unsigned
char
Byte_t
;
//Byte (8 bits) (unsigned char)
61
typedef
short
Version_t
;
//Class version identifier (short)
62
typedef
const
char
Option_t
;
//Option string (const char)
63
typedef
int
Ssiz_t
;
//String size (int)
64
typedef
float
Real_t
;
//TVector and TMatrix element type (float)
65
#if defined(R__WIN32) && !defined(__CINT__)
66
typedef
__int64
Long64_t
;
//Portable signed long integer 8 bytes
67
typedef
unsigned
__int64
ULong64_t
;
//Portable unsigned long integer 8 bytes
68
#else
69
typedef
long
long
Long64_t
;
//Portable signed long integer 8 bytes
70
typedef
unsigned
long
long
ULong64_t
;
//Portable unsigned long integer 8 bytes
71
#endif
72
typedef
double
Axis_t
;
//Axis values type (double)
73
typedef
double
Stat_t
;
//Statistics type (double)
74
75
typedef
short
Font_t
;
//Font number (short)
76
typedef
short
Style_t
;
//Style number (short)
77
typedef
short
Marker_t
;
//Marker number (short)
78
typedef
short
Width_t
;
//Line width (short)
79
typedef
short
Color_t
;
//Color number (short)
80
typedef
short
SCoord_t
;
//Screen coordinates (short)
81
typedef
double
Coord_t
;
//Pad world coordinates (double)
82
typedef
float
Angle_t
;
//Graphics angle (float)
83
typedef
float
Size_t
;
//Attribute size (float)
84
85
#endif
Long64_t
long long Long64_t
Definition:
RtypesCore.h:69
TRootIOCtor
Definition:
TRootIOCtor.h:32
Style_t
short Style_t
Definition:
RtypesCore.h:76
Version_t
short Version_t
Definition:
RtypesCore.h:61
Float_t
float Float_t
Definition:
RtypesCore.h:53
Size_t
float Size_t
Definition:
RtypesCore.h:83
Option_t
const char Option_t
Definition:
RtypesCore.h:62
Axis_t
double Axis_t
Definition:
RtypesCore.h:72
UShort_t
unsigned short UShort_t
Definition:
RtypesCore.h:36
Int_t
int Int_t
Definition:
RtypesCore.h:41
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
Font_t
short Font_t
Definition:
RtypesCore.h:75
RConfig.h
Float16_t
float Float16_t
Definition:
RtypesCore.h:54
Byte_t
unsigned char Byte_t
Definition:
RtypesCore.h:60
SCoord_t
short SCoord_t
Definition:
RtypesCore.h:80
Marker_t
short Marker_t
Definition:
RtypesCore.h:77
Double32_t
double Double32_t
Definition:
RtypesCore.h:56
Color_t
short Color_t
Definition:
RtypesCore.h:79
Angle_t
float Angle_t
Definition:
RtypesCore.h:82
Coord_t
double Coord_t
Definition:
RtypesCore.h:81
UInt_t
unsigned int UInt_t
Definition:
RtypesCore.h:42
Short_t
short Short_t
Definition:
RtypesCore.h:35
LongDouble_t
long double LongDouble_t
Definition:
RtypesCore.h:57
Width_t
short Width_t
Definition:
RtypesCore.h:78
Long_t
long Long_t
Definition:
RtypesCore.h:50
Ssiz_t
int Ssiz_t
Definition:
RtypesCore.h:63
Double_t
double Double_t
Definition:
RtypesCore.h:55
ULong64_t
unsigned long long ULong64_t
Definition:
RtypesCore.h:70
ULong_t
unsigned long ULong_t
Definition:
RtypesCore.h:51
Stat_t
double Stat_t
Definition:
RtypesCore.h:73
Char_t
char Char_t
Definition:
RtypesCore.h:29
Real_t
float Real_t
Definition:
RtypesCore.h:64
Seek_t
int Seek_t
Definition:
RtypesCore.h:49
Text_t
char Text_t
Definition:
RtypesCore.h:58
UChar_t
unsigned char UChar_t
Definition:
RtypesCore.h:34