ug4
ug::PProcessChain< TVector > Class Template Reference

a chain of pre- or postprocess operations More...

#include <pprocess.h>

Public Types

typedef IPProcessVector< TVector > p_process_type
 
typedef TVector vector_type
 the vector type More...
 

Public Member Functions

void add (SmartPtr< p_process_type > p)
 adds an operation at the end of the chain More...
 
void apply (vector_type &v)
 performs all the operations More...
 
SmartPtr< p_process_typeoperator[] (size_t i)
 returns the operation #i More...
 
void remove (SmartPtr< p_process_type > p)
 removes an operation from the chain More...
 
size_t size ()
 returns the number of the operations More...
 

Private Attributes

std::vector< SmartPtr< p_process_type > > m_pp_chain
 

Detailed Description

template<typename TVector>
class ug::PProcessChain< TVector >

a chain of pre- or postprocess operations

A class for storing a chain of pre- or postprocess operations

Template Parameters
TVectorthe vector type in the algebra

Member Typedef Documentation

◆ p_process_type

template<typename TVector >
typedef IPProcessVector<TVector> ug::PProcessChain< TVector >::p_process_type

◆ vector_type

template<typename TVector >
typedef TVector ug::PProcessChain< TVector >::vector_type

the vector type

Member Function Documentation

◆ add()

◆ apply()

◆ operator[]()

template<typename TVector >
SmartPtr<p_process_type> ug::PProcessChain< TVector >::operator[] ( size_t  i)
inline

returns the operation #i

References ug::PProcessChain< TVector >::m_pp_chain.

◆ remove()

◆ size()

template<typename TVector >
size_t ug::PProcessChain< TVector >::size ( )
inline

returns the number of the operations

References ug::PProcessChain< TVector >::m_pp_chain.

Member Data Documentation

◆ m_pp_chain


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