ArchiveEditor.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2011 - 2024 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9#ifndef __Pulsar_ArchiveEditor_h
10#define __Pulsar_ArchiveEditor_h
11
12#include "TextEditor.h"
13
14namespace Pulsar {
15
16 class Archive;
17
19 class ArchiveEditor : 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
The primary interface to pulsar observational data.
Definition Archive.h:46
Edit the metadata in a pulsar archive.
Definition ArchiveEditor.h:20
void add_extension(Archive *, const std::string &name)
Add the named extension to the given archive.
Definition ArchiveEditor.C:13
void remove_extension(Archive *, const std::string &name)
Remove the named extension from the given archive.
Definition ArchiveEditor.C:21
std::string get_identifier(const Archive *)
Return the archive filename.
Definition ArchiveEditor.C:35
The primary interface to pulsar observational data.
Definition Archive.h:46
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0