GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Gw::Data< Data_T > Class Template Reference

A single value data. More...

#include <Data.h>

Inheritance diagram for Gw::Data< Data_T >:

Public Types

enum  EData { kKnown = 0, kUnknown = 1, kTentative = 2, kTheo = 3, kAbout = 4 }
 flags that qualify a given data More...
 

Public Member Functions

 ClassDef (InfoData, 1)
 rootcint dictionary More...
 
 ClassDef (Data, 1)
 rootcint dictionary More...
 
 Data ()
 
 Data (Data_T data)
 
 Data (const Data &data)
 
virtual Data_T Get () const
 get the value, can be overloaded More...
 
Data_T GetValue () const
 get the value, cannot be overloaded More...
 
virtual bool IsData (UShort_t) const
 to get some information about this data More...
 
virtual Data_T & operator[] (int)
 
virtual void Set (Data_T data)
 set the value, can be overloaded More...
 
virtual void Set (const char *s)
 set the value, can be overloaded More...
 
virtual void SetInfo (InfoData::EData)
 to set some information about this data More...
 
void SetValue (Data_T data)
 set the value, cannot be overloaded More...
 
virtual ~Data ()
 

Static Public Member Functions

static EData WhatIs (const char *)
 It deduces from a string the kind of data. More...
 

Protected Attributes

UShort_t fInfo
 
Data_T fValue
 

Detailed Description

template<typename Data_T>
class Gw::Data< Data_T >

A single value data.

Any data that can be determined experimentally and has thus all possible flags defined in the InfoData base class.

Author
Olivier Stezowski

Definition at line 58 of file Data.h.


The documentation for this class was generated from the following file: