Stores information about the tape on which the data were recorded. More...

#include <TapeInfo.h>

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

Public Member Functions

 TapeInfo ()
 Default constructor.
 TapeInfo (const TapeInfo &)
 Copy constructor.
const TapeInfooperator= (const TapeInfo &)
 Operator =.
 ~TapeInfo ()
 Destructor.
TapeInfoclone () const
 Clone method.
int get_file_number () const
 Get file number for raw data (FB only)
void set_file_number (int number)
 Set file number for raw data (FB only)
std::string get_tape_label () const
 Get tape label for raw data (FB only)
void set_tape_label (std::string label)
 Set tape label for raw data (FB only)
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 tape_label
int file_number
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 information about the tape on which the data were recorded.

Member Function Documentation

◆ clone()

TapeInfo * Pulsar::TapeInfo::clone ( ) const
inlinevirtual

Clone method.

Implements Pulsar::Archive::Extension.

References TapeInfo().


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

Generated using doxygen 1.14.0