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