Pulsar::ObsDescription Class Reference

Stores pulsar parameters as uninterpreted text. More...

#include <ObsDescription.h>

Inheritance diagram for Pulsar::ObsDescription:
Pulsar::Archive::Extension Reference::Able Reference::HeapTracked

Public Member Functions

 ObsDescription ()
 Default constructor.
 ObsDescription (const ObsDescription &)
 Copy constructor.
ObsDescriptionclone () const
 Clone method.
void load (FILE *)
 Load from an open stream.
void unload (FILE *) const
 Unload to an open stream.
void set_text (const std::string &t)
 Set the text.
std::string get_text () const
 Get the text.
Public Member Functions inherited from Pulsar::Archive::Extension
 Extension (const char *name)
 Construct with a name.
virtual ~Extension ()
 Destructor.
virtual TextInterface::Parserget_interface ()
 Return a text interface that can be used to access this instance.
std::string get_extension_name () const
 Return the name of the Extension.
virtual std::string get_short_name () const
 Return an abbreviated name that can be typed relatively quickly.
virtual bool has_data () const
 Returns true if the Extension contains useful data.
virtual void resize (unsigned nsubint, unsigned npol=0, unsigned nchan=0, unsigned nbin=0)
 Resize the Extension.
virtual void frequency_append (Archive *to, const Archive *from)
 Append data along frequency dimension, if applicable.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Protected Attributes

std::string text
Protected Attributes inherited from Pulsar::Archive::Extension
std::string extension_name
 Extension name - useful when debugging.

Additional Inherited Members

Static Public Member Functions inherited from Pulsar::Archive::Extension
static Extensionfactory (const std::string &name)
 Derived type factory.
Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

Stores pulsar parameters as uninterpreted text.

Member Function Documentation

◆ clone()

Pulsar::ObsDescription * Pulsar::ObsDescription::clone ( ) const
virtual

Clone method.

Implements Pulsar::Archive::Extension.

References ObsDescription().


The documentation for this class was generated from the following files:

Generated using doxygen 1.14.0