Editor.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2011 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __Pulsar_Editor_h
10 #define __Pulsar_Editor_h
11 
12 #include "TextEditor.h"
13 
14 namespace Pulsar {
15 
16  class Archive;
17 
19  class Editor : public TextEditor<Archive>
20  {
21 
22  public:
23 
25  void add_extension (Archive*, const std::string& name);
26 
28  void remove_extension (Archive*, const std::string& name);
29 
31  std::string get_identifier (const Archive*);
32 
33  };
34 
35 }
36 
37 #endif
void add_extension(Archive *, const std::string &name)
Add the named extension to the given archive.
Definition: Editor.C:13
The primary interface to pulsar observational data.
Definition: Archive.h:45
std::string get_identifier(const Archive *)
Return the archive filename.
Definition: Editor.C:35
void remove_extension(Archive *, const std::string &name)
Remove the named extension from the given archive.
Definition: Editor.C:21
Defines the PSRCHIVE library.
Definition: CalSource.h:17

Generated using doxygen 1.8.17