ExampleExtension.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2003 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/Base/Extensions/Pulsar/ExampleExtension.h
10 
11 #ifndef __ExampleExtension_h
12 #define __ExampleExtension_h
13 
14 #include "Pulsar/ArchiveExtension.h"
15 
16 namespace Pulsar {
17 
19 
23  class ExampleExtension : public Archive::Extension {
24 
25  public:
26 
29 
32 
35 
38 
40  ExampleExtension* clone () const { return new ExampleExtension( *this ); }
41 
42  };
43 
44 
45 }
46 
47 #endif
ExampleExtension * clone() const
Clone method.
Definition: ExampleExtension.h:50
Example Archive::Extension.
Definition: ExampleExtension.h:28
const ExampleExtension & operator=(const ExampleExtension &)
Operator =.
Definition: ExampleExtension.C:23
ExampleExtension()
Default constructor.
Definition: ExampleExtension.C:10
Defines the PSRCHIVE library.
Definition: CalSource.h:17
~ExampleExtension()
Destructor.
Definition: ExampleExtension.C:29

Generated using doxygen 1.8.17