StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StarRoot
TAttr.h
1
// Author: Victor Perev 08/04/01
2
3
4
#ifndef ROOT_TAttr
5
#define ROOT_TAttr
6
7
9
// //
10
// TAttr //
11
// General attribute collection //
12
// //
14
#include "TNamed.h"
15
#include "TString.h"
16
#include "TList.h"
17
class
TAttr
:
public
TList
18
{
19
public
:
20
TAttr
(
const
char
*name=
""
);
21
~
TAttr
();
22
void
SetAttr
(
const
char
*key,
const
char
* val);
23
void
SetAttr
(
const
char
*key,Long_t val);
24
void
SetAttr
(
const
char
*key,ULong_t val);
25
void
SetAttr
(
const
char
*key,
double
val);
26
int
SetAttr
(
const
TAttr
*att);
27
void
RemAttr(
const
char
*key ) {
return
SetAttr
(key,
".remove"
);}
28
Long_t IAttr(
const
char
*key)
const
;
29
ULong_t UAttr(
const
char
*key)
const
;
30
double
DAttr(
const
char
*key)
const
;
31
const
char
*SAttr(
const
char
*key)
const
;
32
void
PrintAttr()
const
;
33
static
void
SetDebug(Int_t k = 0) {_debug = k;}
34
// Data members
35
private
:
36
static
Int_t _debug;
37
ClassDef(
TAttr
,1)
38
39
};
40
#endif //ROOT_TAttr
TAttr
Definition:
TAttr.h:17
TAttr::SetAttr
void SetAttr(const char *key, const char *val)
Definition:
TAttr.cxx:39
Generated by
1.8.5