/usr/include/odindata/filter.h is in libodin-dev 1.8.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | //
// C++ Interface: filter
//
// Description:
//
//
// Author: <Enrico Reimer>, (C) 2008
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef FILTER_H
#define FILTER_H
#include <odindata/fileio.h>
/**
* @addtogroup odindata
* @{
*/
struct FilterChainData; // forward declaration
///////////////////////////////////////////////////////////////////////////////////
/**
* A chain of filter functors.
*/
class FilterChain {
public:
/**
* Create empty filter chain
*/
FilterChain();
/**
* Destructor
*/
~FilterChain();
/**
* Create filter chain from command line string.
*/
FilterChain(const STD_string& argstr);
/**
* Create filter chain from command line.
*/
FilterChain(int argc,char *argv[]);
/**
* Initialize filter chain using given command-line string.
*/
bool init(const STD_string& argstr) {return create(tokens(argstr,' ','\"','\"'));}
/**
* Apply filter chain to all elements in 'pdmap'.
*/
bool apply(FileIO::ProtocolDataMap& pdmap) const;
/**
* Apply filter chain to protocol-data pair.
*/
bool apply(Protocol& prot, Data<float,4>& data) const;
/**
* Returns documention for command line.
*/
STD_string get_cmdline_usage(const STD_string& lineprefix) const;
private:
FilterChainData* filterchaindata;
bool create(const svector& args);
};
/** @}
*/
#endif
|