TapeInfo.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2006 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/Base/Extensions/Pulsar/TapeInfo.h
10
11#ifndef __Pulsar_TapeInfo_h
12#define __Pulsar_TapeInfo_h
13
14#include "Pulsar/ArchiveExtension.h"
15
16namespace Pulsar {
17
20
21 public:
22
24 TapeInfo ();
25
27 TapeInfo (const TapeInfo&);
28
30 const TapeInfo& operator= (const TapeInfo&);
31
33 ~TapeInfo ();
34
36 TapeInfo* clone () const { return new TapeInfo( *this ); }
37
39 int get_file_number() const { return file_number; }
40
42 void set_file_number(int number) { file_number = number; }
43
45 std::string get_tape_label() const { return tape_label; }
46
48 void set_tape_label(std::string label) { tape_label = label; }
49
50 protected:
51
52 std::string tape_label;
53 int file_number;
54
55 };
56
57
58}
59
60#endif
Definition ArchiveExtension.h:24
int get_file_number() const
Get file number for raw data (FB only)
Definition TapeInfo.h:39
const TapeInfo & operator=(const TapeInfo &)
Operator =.
Definition TapeInfo.C:26
TapeInfo * clone() const
Clone method.
Definition TapeInfo.h:36
TapeInfo()
Default constructor.
Definition TapeInfo.C:10
void set_tape_label(std::string label)
Set tape label for raw data (FB only)
Definition TapeInfo.h:48
~TapeInfo()
Destructor.
Definition TapeInfo.C:34
std::string get_tape_label() const
Get tape label for raw data (FB only)
Definition TapeInfo.h:45
void set_file_number(int number)
Set file number for raw data (FB only)
Definition TapeInfo.h:42
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0