OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Classes | Public Member Functions | Public Attributes | List of all members
client::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 client::error_handler< Iterator >

Definition at line 20 of file error_handler.hpp.

Constructor & Destructor Documentation

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

Definition at line 29 of file error_handler.hpp.

Member Function Documentation

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

Member Data Documentation

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

Definition at line 90 of file error_handler.hpp.

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

template<typename Iterator>
std::vector<Iterator> client::error_handler< Iterator >::iters
template<typename Iterator>
Iterator client::error_handler< Iterator >::last

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