CloneArchive.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2009 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __dsp_CloneArchive_h_
10 #define __dsp_CloneArchive_h_
11 
12 #include "dsp/OutputArchive.h"
13 
14 namespace dsp {
15 
17  class CloneArchive : public OutputArchive
18  {
19 
20  public:
21 
24 
26  CloneArchive (const CloneArchive&);
27 
29  ~CloneArchive ();
30 
32  dspExtension* clone () const;
33 
35  Pulsar::Archive* new_Archive () const;
36 
37  protected:
38 
40 
41  };
42 
43 }
44 
45 #endif
CloneArchive(const Pulsar::Archive *)
Construct from Pulsar::Archive instance to be cloned.
Definition: CloneArchive.C:13
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
Pulsar::Archive * new_Archive() const
Return a clone of the Pulsar::Archive instance.
Definition: CloneArchive.C:35
Extensions that can be added to the Extensions class.
Definition: dspExtension.h:23
~CloneArchive()
Destructor.
Definition: CloneArchive.C:25
Creates a cloned instance of Pulsar::Archive to be used for output.
Definition: CloneArchive.h:22
dspExtension(const std::string &name)
Constructor.
Definition: dspExtension.C:14
Creates a new instance of Pulsar::Archive to be used for output.
Definition: OutputArchive.h:22
virtual Archive * clone() const=0
dspExtension * clone() const
Clone operator.
Definition: CloneArchive.C:29

Generated using doxygen 1.8.17