Belle II Software development
|
Integer specialization of TokenCast<T> More...
#include <ARICHDatabaseTools.h>
Public Member Functions | |
auto | isValidChar (const unsigned char character) const noexcept -> bool |
isValidChar defines characters that are allowed for the convertion | |
auto | operator() (const std::string &rToken) const -> int |
operator () converts given token to an integer. | |
Integer specialization of TokenCast<T>
Definition at line 242 of file ARICHDatabaseTools.h.
|
inlinenoexcept |
isValidChar defines characters that are allowed for the convertion
character |
Definition at line 248 of file ARICHDatabaseTools.h.
|
inline |
operator () converts given token to an integer.
rToken |
invalid_argument | in case the given string is invalid for convertion |
std::out_of_range | if the given number is smaller/greater than a integer. |
Definition at line 262 of file ARICHDatabaseTools.h.