Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
sbncode
sbncode
OpT0Finder
flashmatch
Base
OpT0FinderException.cxx
Go to the documentation of this file.
1
#ifndef OPT0FINDER_EREXCEPTION_CXX
2
#define OPT0FINDER_EREXCEPTION_CXX
3
4
#include "
OpT0FinderException.h
"
5
6
namespace
flashmatch {
7
8
OpT0FinderException::OpT0FinderException
(
const
std::string&
msg
)
9
:
std
::exception()
10
{
11
_msg
=
"\033[93m EXCEPTION \033[00m\033[95m"
;
12
_msg
+=
msg
;
13
_msg
+=
"\033[00m\n"
;
14
}
15
16
const
char
*
OpT0FinderException::what
()
const
throw()
17
{
return
_msg
.c_str(); }
18
19
}
20
#endif
pmtana::std
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition:
UtilFunc.cxx:42
flashmatch::OpT0FinderException::OpT0FinderException
OpT0FinderException(const std::string &msg="")
Default ctor w/ error message input (optional)
Definition:
OpT0FinderException.cxx:8
flashmatch::OpT0FinderException::_msg
std::string _msg
Error message.
Definition:
OpT0FinderException.h:37
flashmatch::OpT0FinderException::what
virtual const char * what() const
Definition:
OpT0FinderException.cxx:16
OpT0FinderException.h
Class def header for exception classes in OpT0Finder package.
example_anaunit.msg
string msg
Definition:
Algorithms/mac/example_anaunit.py:4
Generated by
1.8.5