OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
SDDS::error_handler< Iterator > Struct Template Reference

#include <error_handler.hpp>

Collaboration diagram for SDDS::error_handler< Iterator >:

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.


Class Documentation

◆ SDDS::error_handler::result

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

Definition at line 33 of file error_handler.hpp.

Collaboration diagram for SDDS::error_handler< Iterator >::result< typename, typename, typename >:
Class Members
typedef void type

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.

References first, and last.

Member Function Documentation

◆ get_line()

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

Definition at line 87 of file error_handler.hpp.

References last.

Referenced by operator()().

Here is the caller graph for this function:

◆ get_pos()

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

Definition at line 61 of file error_handler.hpp.

References first.

Referenced by operator()().

Here is the caller graph for this function:

◆ 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

Definition at line 39 of file error_handler.hpp.

References get_line(), get_pos(), and last.

Here is the call graph for this function:

Member Data Documentation

◆ first

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

Definition at line 96 of file error_handler.hpp.

Referenced by error_handler(), and 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

Definition at line 97 of file error_handler.hpp.

Referenced by error_handler(), get_line(), and operator()().


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