All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Private Member Functions | List of all members
details::FileListErrorWrapper Struct Reference

#include <expandInputFiles.h>

Inheritance diagram for details::FileListErrorWrapper:
details::FileListExpansionBaseError details::FileListExpansionBaseError

Public Member Functions

 FileListErrorWrapper (std::string const &fileName, unsigned int line)
 
 FileListErrorWrapper (std::string const &fileName, unsigned int line, FileListExpansionBaseError const &error)
 
 FileListErrorWrapper (std::string const &fileName, unsigned int line)
 
 FileListErrorWrapper (std::string const &fileName, unsigned int line, FileListExpansionBaseError const &error)
 

Static Private Member Functions

static std::string formatMsg (std::string const &fname, unsigned int line)
 
static std::string formatMsg (std::string const &fname, unsigned int line)
 

Detailed Description

Definition at line 56 of file icarusalg/icarusalg/gallery/helpers/C++/expandInputFiles.h.

Constructor & Destructor Documentation

details::FileListErrorWrapper::FileListErrorWrapper ( std::string const &  fileName,
unsigned int  line 
)
inline

Definition at line 57 of file icarusalg/icarusalg/gallery/helpers/C++/expandInputFiles.h.

58  : FileListExpansionBaseError(formatMsg(fileName, line))
59  {}
static std::string formatMsg(std::string const &fname, unsigned int line)
details::FileListErrorWrapper::FileListErrorWrapper ( std::string const &  fileName,
unsigned int  line,
FileListExpansionBaseError const &  error 
)
inline

Definition at line 60 of file icarusalg/icarusalg/gallery/helpers/C++/expandInputFiles.h.

64  : FileListExpansionBaseError
65  (std::string(error.what()) + "\n " + formatMsg(fileName, line))
66  {}
static std::string formatMsg(std::string const &fname, unsigned int line)
details::FileListErrorWrapper::FileListErrorWrapper ( std::string const &  fileName,
unsigned int  line 
)
inline

Definition at line 57 of file sbndcode/sbndcode/gallery/helpers/expandInputFiles.h.

58  : FileListExpansionBaseError(formatMsg(fileName, line))
59  {}
static std::string formatMsg(std::string const &fname, unsigned int line)
details::FileListErrorWrapper::FileListErrorWrapper ( std::string const &  fileName,
unsigned int  line,
FileListExpansionBaseError const &  error 
)
inline

Definition at line 60 of file sbndcode/sbndcode/gallery/helpers/expandInputFiles.h.

64  : FileListExpansionBaseError
65  (std::string(error.what()) + "\n " + formatMsg(fileName, line))
66  {}
static std::string formatMsg(std::string const &fname, unsigned int line)

Member Function Documentation

static std::string details::FileListErrorWrapper::formatMsg ( std::string const &  fname,
unsigned int  line 
)
inlinestaticprivate

Definition at line 69 of file icarusalg/icarusalg/gallery/helpers/C++/expandInputFiles.h.

70  { return "Error from file list '" + fname + "' line " + std::to_string(line); }
string fname
Definition: demo.py:5
std::string to_string(WindowPattern const &pattern)
static std::string details::FileListErrorWrapper::formatMsg ( std::string const &  fname,
unsigned int  line 
)
inlinestaticprivate

Definition at line 69 of file sbndcode/sbndcode/gallery/helpers/expandInputFiles.h.

70  { return "Error from file list '" + fname + "' line " + std::to_string(line); }
string fname
Definition: demo.py:5
std::string to_string(WindowPattern const &pattern)

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