Combination.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2005 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/General/Pulsar/Combination.h
10
11#ifndef __Pulsar_Combination_h
12#define __Pulsar_Combination_h
13
14#include "Pulsar/Transformation.h"
15
16namespace Pulsar {
17
19 template<class Container> class Combination
20 : public Transformation<Container>
21 {
22 public:
23
25 void set_operand (const Container* o) { operand = o; }
26
28 const Container* get_operand () const { return operand; }
29
30 protected:
31
34
35 };
36
37}
38
39#endif
Binary transformations that combine data from another Container.
Definition Combination.h:21
void set_operand(const Container *o)
Set the Container from which data will be taken during tranformation.
Definition Combination.h:25
const Container * get_operand() const
Get the Container from which data will be taken during transformation.
Definition Combination.h:28
Data storage implementations.
Definition Container.h:19
Algorithms that modify data in the Container.
Definition Transformation.h:20
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0