27 #ifndef GCTACUBESOURCE_HPP
28 #define GCTACUBESOURCE_HPP
62 virtual void clear(
void) = 0;
64 virtual std::string
classname(
void)
const = 0;
66 virtual void set(
const std::string&
name,
72 virtual const std::string&
name(
void)
const;
73 virtual void name(
const std::string& name);
virtual GCTAClassCode code(void) const =0
virtual const std::string & name(void) const
Return the source name.
void init_members(void)
Initialise class members.
Definition of GammaLib CTA typemaps.
void copy_members(const GCTACubeSource &source)
Copy class members.
Definition of interface for all GammaLib classes.
virtual ~GCTACubeSource(void)
Destructor.
virtual std::string classname(void) const =0
Return class name.
CTA source cube base class.
virtual void set(const std::string &name, const GModelSpatial &model, const GObservation &obs)=0
virtual GCTACubeSource & operator=(const GCTACubeSource &source)
Assignment operator.
virtual std::string print(const GChatter &chatter=NORMAL) const =0
Print content of object.
Interface class for all GammaLib classes.
virtual GCTACubeSource * clone(void) const =0
Clones object.
GCTACubeSource(void)
Void constructor.
Abstract observation base class.
std::string m_name
Unique source name.
void free_members(void)
Delete class members.
Abstract spatial model base class.
virtual void clear(void)=0
Clear object.