OPAL (Object Oriented Parallel Accelerator Library) 2022.1
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 30 of file error_handler.hpp.

Constructor & Destructor Documentation

◆ error_handler()

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

Definition at line 35 of file error_handler.hpp.

Member Function Documentation

◆ get_line()

template<typename Iterator >
std::string SDDS::error_handler< Iterator >::get_line ( Iterator  err_pos) const
inline

◆ get_pos()

template<typename Iterator >
Iterator SDDS::error_handler< Iterator >::get_pos ( Iterator  err_pos,
int &  line 
) const
inline

◆ operator()()

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

◆ first

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

Definition at line 96 of file error_handler.hpp.

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

◆ iters

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

Definition at line 98 of file error_handler.hpp.

◆ last

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

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