TimeAppend.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2007 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/General/Pulsar/TimeAppend.h
10
11#ifndef _Pulsar_TimeAppend_H
12#define _Pulsar_TimeAppend_H
13
14#include "Pulsar/Append.h"
15
16namespace Pulsar {
17
19 class TimeAppend : public Append {
20
21 public:
22
24 TimeAppend ();
25
27 virtual void check (Archive* into, const Archive* from);
28
29 bool chronological;
30 float max_overlap;
31
32 protected:
33
35 virtual bool stop (Archive* into, const Archive* from);
36
38 virtual void combine (Archive* into, Archive* from);
39
40 };
41
42}
43
44#endif
45
Append()
Default constructor.
Definition Append.C:34
The primary interface to pulsar observational data.
Definition Archive.h:46
virtual void combine(Archive *into, Archive *from)
Add the data in 'from' to 'into'.
Definition TimeAppend.C:107
TimeAppend()
Default constructor.
Definition TimeAppend.C:43
virtual bool stop(Archive *into, const Archive *from)
Return true if there is a benign reason to stop.
Definition TimeAppend.C:49
virtual void check(Archive *into, const Archive *from)
Throw an exception if there is a reason to not append.
Definition TimeAppend.C:89
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0