83 virtual void clear(
void) = 0;
85 virtual std::string
classname(
void)
const = 0;
86 virtual double size(
void)
const = 0;
89 virtual const GTime&
time(
void)
const = 0;
90 virtual double counts(
void)
const = 0;
91 virtual double error(
void)
const = 0;
92 virtual bool is_atom(
void)
const = 0;
93 virtual bool is_bin(
void)
const = 0;
Abstract instrument direction base class definition.
void copy_members(const GEvent &event)
Copy class members.
virtual double counts(void) const =0
Energy value class definition.
virtual double error(void) const =0
Abstract interface for the event classes.
Definition of interface for all GammaLib classes.
virtual double size(void) const =0
virtual const GTime & time(void) const =0
virtual GEvent & operator=(const GEvent &event)
Assignment operator.
Abstract instrument direction base class.
virtual ~GEvent(void)
Destructor.
virtual bool is_bin(void) const =0
Interface class for all GammaLib classes.
virtual const GEnergy & energy(void) const =0
virtual std::string classname(void) const =0
Return class name.
void init_members(void)
Initialise class members.
virtual GEvent * clone(void) const =0
Clones object.
virtual bool is_atom(void) const =0
virtual std::string print(const GChatter &chatter=NORMAL) const =0
Print content of object.
void free_members(void)
Delete class members.
GEvent(void)
Void constructor.
virtual void clear(void)=0
Clear object.
virtual const GInstDir & dir(void) const =0
Time class interface definition.
Class that handles energies in a unit independent way.