204 result.append(
"GSource(");
210 result.append(
", None");
GSource * clone(void) const
Clone object.
std::string m_name
Source name.
void clear(void)
Clear time.
void free_members(void)
Delete class members.
const std::string & name(void) const
Return model name.
virtual ~GSource(void)
Destructor.
std::string print(const GChatter &chatter=NORMAL) const
Print energy.
const GTime & time(void) const
Return photon arrival time.
std::string print(const GChatter &chatter=NORMAL) const
Print 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.
std::string type(void) const
Return model type.
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.
void clear(void)
Clear instance.
GEnergy m_energy
Photon energy.
Class that handles energies in a unit independent way.