ODIN
Public Member Functions | List of all members

#include <filter.h>

Inherits FileIOTrace.

Public Member Functions

 FilterChain ()
 
 ~FilterChain ()
 
 FilterChain (const STD_string &argstr)
 
 FilterChain (int argc, char *argv[])
 
bool init (const STD_string &argstr)
 
bool apply (FileIO::ProtocolDataMap &pdmap) const
 
bool apply (Protocol &prot, Data< float, 4 > &data) const
 
STD_string get_cmdline_usage (const STD_string &lineprefix) const
 

Detailed Description

A chain of filter functors.

Definition at line 31 of file odindata/filter.h.

Constructor & Destructor Documentation

◆ FilterChain() [1/3]

FilterChain::FilterChain ( )

Create empty filter chain

◆ ~FilterChain()

FilterChain::~FilterChain ( )

Destructor

◆ FilterChain() [2/3]

FilterChain::FilterChain ( const STD_string &  argstr)

Create filter chain from command line string.

◆ FilterChain() [3/3]

FilterChain::FilterChain ( int  argc,
char *  argv[] 
)

Create filter chain from command line.

Member Function Documentation

◆ apply() [1/2]

bool FilterChain::apply ( FileIO::ProtocolDataMap pdmap) const

Apply filter chain to all elements in 'pdmap'.

◆ apply() [2/2]

bool FilterChain::apply ( Protocol prot,
Data< float, 4 > &  data 
) const

Apply filter chain to protocol-data pair.

◆ get_cmdline_usage()

STD_string FilterChain::get_cmdline_usage ( const STD_string &  lineprefix) const

Returns documention for command line.

◆ init()

bool FilterChain::init ( const STD_string &  argstr)
inline

Initialize filter chain using given command-line string.

Definition at line 58 of file odindata/filter.h.


The documentation for this class was generated from the following file: