OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Classes | Public Member Functions | Public Attributes | List of all members
SDDS::error_handler< Iterator > Struct Template Reference

#include <error_handler.hpp>

Classes

struct  result
 

Public Member Functions

 error_handler (Iterator first, Iterator last)
 
template<typename Message , typename What >
void operator() (Message const &message, What const &what, Iterator err_pos) const
 
Iterator get_pos (Iterator err_pos, int &line) const
 
std::string get_line (Iterator err_pos) const
 

Public Attributes

Iterator first
 
Iterator last
 
std::vector< Iterator > iters
 

Detailed Description

template<typename Iterator>
struct SDDS::error_handler< Iterator >

Definition at line 22 of file error_handler.hpp.

Constructor & Destructor Documentation

template<typename Iterator>
SDDS::error_handler< Iterator >::error_handler ( Iterator  first,
Iterator  last 
)
inline

Definition at line 27 of file error_handler.hpp.

Member Function Documentation

template<typename Iterator>
std::string SDDS::error_handler< Iterator >::get_line ( Iterator  err_pos) const
inline
template<typename Iterator>
Iterator SDDS::error_handler< Iterator >::get_pos ( Iterator  err_pos,
int &  line 
) const
inline
template<typename Iterator>
template<typename Message , typename What >
void SDDS::error_handler< Iterator >::operator() ( Message const &  message,
What const &  what,
Iterator  err_pos 
) const
inline

Member Data Documentation

template<typename Iterator>
Iterator SDDS::error_handler< Iterator >::first

Definition at line 88 of file error_handler.hpp.

Referenced by SDDS::error_handler< Iterator >::get_pos().

template<typename Iterator>
std::vector<Iterator> SDDS::error_handler< Iterator >::iters

Definition at line 90 of file error_handler.hpp.

template<typename Iterator>
Iterator SDDS::error_handler< Iterator >::last

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