ObsDescription.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2014 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/Base/Extensions/Pulsar/ObsDescription.h
10
11#ifndef __ObsDescription_h
12#define __ObsDescription_h
13
14#include "Pulsar/ArchiveExtension.h"
15
16namespace Pulsar {
17
20
21 public:
22
25
28
30 ObsDescription* clone () const;
31
33 void load (FILE*);
34
36 void unload (FILE*) const;
37
39 void set_text (const std::string& t) { text = t; }
40
42 std::string get_text () const { return text; }
43
44 protected:
45
46 std::string text;
47 };
48
49}
50
51#endif
Definition ArchiveExtension.h:24
ObsDescription()
Default constructor.
Definition ObsDescription.C:14
ObsDescription * clone() const
Clone method.
Definition ObsDescription.C:26
void set_text(const std::string &t)
Set the text.
Definition ObsDescription.h:39
std::string get_text() const
Get the text.
Definition ObsDescription.h:42
void unload(FILE *) const
Unload to an open stream.
Definition ObsDescription.C:41
void load(FILE *)
Load from an open stream.
Definition ObsDescription.C:32
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0