68 virtual void clear(
void);
70 virtual std::string
classname(
void)
const;
78 const std::string&
name(
void)
const;
83 const std::string&
name =
"");
Definition of interface for all GammaLib classes.
Pulsar ephemeris class definition.
Interface class for all GammaLib classes.
Abstract interface for FITS table.
Good Time Interval class.
std::vector< GPulsarEphemeris > m_ephemerides
Pulsar ephemerides.
virtual GPulsar * clone(void) const
Clone Pulsar.
void load_fits(const GFilename &filename, const std::string &name="")
Load Pulsar from ephemerides FITS file.
virtual ~GPulsar(void)
Destructor.
void load_parfile(const GFilename &filename)
Load Pulsar from ephemeris par file.
virtual std::string classname(void) const
Return class name.
std::string m_name
Pulsar name.
void copy_members(const GPulsar &pulsar)
Copy class members.
const std::string & name(void) const
Return pulsar name.
void load(const GFilename &filename, const std::string &name="")
Load Pulsar from ephemerides file.
const GPulsarEphemeris & ephemeris(const GTime &time) const
Return pulsar ephemeris.
void load_fermi(const GFitsTable *table, const std::string &name="")
Load Pulsar from Fermi ephemerides FITS table.
virtual void clear(void)
Clear Pulsar.
void init_members(void)
Initialise class members.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print Pulsar.
GPulsar(void)
Void constructor.
GPulsar & operator=(const GPulsar &pulsar)
Assignment operator.
void load_integral(const GFitsTable *table, const std::string &name="")
Load Pulsar from INTEGRAL ephemerides FITS table.
void free_members(void)
Delete class members.
GPulsarEphemeris & operator[](const int &index)
Return reference to ephemeris.
int size(void) const
Return number of ephemerides for pulsar.
GPulsarEphemeris & at(const int &index)
Return reference to ephemeris.
void load_psrtime(const GFilename &filename, const std::string &name="")
Load Pulsar from ephemerides psrtime file.
bool is_empty(void) const
Signals if there are no ephemerides for pulsar.
GGti validity(void) const
Return validity intervals of pulsar ephemerides.