70 const std::string&
name(
void)
const;
Definition of interface for all GammaLib classes.
Energy value class definition.
Abstract spatial model base class interface definition.
Time class interface definition.
Interface class for all GammaLib classes.
Class that handles energies in a unit independent way.
Abstract spatial model base class.
Class that handles gamma-ray sources.
void free_members(void)
Delete class members.
std::string classname(void) const
Return class name.
GSource & operator=(const GSource &src)
Assignment operator.
const GEnergy & energy(void) const
Return photon energy.
GSource(void)
Void constructor.
std::string m_name
Source name.
void clear(void)
Clear instance.
GTime m_time
Photon arrival time.
GEnergy m_energy
Photon energy.
const std::string & name(void) const
Return model name.
virtual ~GSource(void)
Destructor.
const GTime & time(void) const
Return photon arrival time.
GModelSpatial * m_model
Spatial model.
std::string print(const GChatter &chatter=NORMAL) const
Print source.
void copy_members(const GSource &src)
Copy class members.
void init_members(void)
Initialise class members.
const GModelSpatial * model(void) const
Return spatial model component.
GSource * clone(void) const
Clone object.