BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
facilities::WrongType Class Reference

Exception class used when converting from string to numeric type. More...

#include <Util.h>

Public Member Functions

 WrongType (const std::string &toConvert, const std::string &typeName)
std::string getMsg ()
 WrongType (const std::string &toConvert, const std::string &typeName)
std::string getMsg ()
 WrongType (const std::string &toConvert, const std::string &typeName)
std::string getMsg ()
 WrongType (const std::string &toConvert, const std::string &typeName)
std::string getMsg ()
 WrongType (const std::string &toConvert, const std::string &typeName)
std::string getMsg ()
 WrongType (const std::string &toConvert, const std::string &typeName)
std::string getMsg ()

Detailed Description

Exception class used when converting from string to numeric type.

Definition at line 29 of file Calibration/facilities/include/facilities/Util.h.

Constructor & Destructor Documentation

◆ WrongType() [1/6]

facilities::WrongType::WrongType ( const std::string & toConvert,
const std::string & typeName )
inline

Definition at line 31 of file Calibration/facilities/include/facilities/Util.h.

32 : m_toConvert( toConvert ), m_typeName( typeName ) {}

◆ WrongType() [2/6]

facilities::WrongType::WrongType ( const std::string & toConvert,
const std::string & typeName )
inline

Definition at line 30 of file Event/RootCnvSvc/include/RootCnvSvc/Util.h.

31 : m_toConvert( toConvert ), m_typeName( typeName ) {}

◆ WrongType() [3/6]

facilities::WrongType::WrongType ( const std::string & toConvert,
const std::string & typeName )
inline

Definition at line 31 of file InstallArea/x86_64-el9-gcc13-dbg/include/facilities/Util.h.

32 : m_toConvert( toConvert ), m_typeName( typeName ) {}

◆ WrongType() [4/6]

facilities::WrongType::WrongType ( const std::string & toConvert,
const std::string & typeName )
inline

Definition at line 30 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootCnvSvc/Util.h.

31 : m_toConvert( toConvert ), m_typeName( typeName ) {}

◆ WrongType() [5/6]

facilities::WrongType::WrongType ( const std::string & toConvert,
const std::string & typeName )
inline

Definition at line 31 of file InstallArea/x86_64-el9-gcc13-opt/include/facilities/Util.h.

32 : m_toConvert( toConvert ), m_typeName( typeName ) {}

◆ WrongType() [6/6]

facilities::WrongType::WrongType ( const std::string & toConvert,
const std::string & typeName )
inline

Definition at line 30 of file InstallArea/x86_64-el9-gcc13-opt/include/RootCnvSvc/Util.h.

31 : m_toConvert( toConvert ), m_typeName( typeName ) {}

Member Function Documentation

◆ getMsg() [1/6]

std::string facilities::WrongType::getMsg ( )
inline

◆ getMsg() [2/6]

std::string facilities::WrongType::getMsg ( )
inline

Definition at line 32 of file Event/RootCnvSvc/include/RootCnvSvc/Util.h.

32 {
33 std::string msg =
34 "facilities::WrongType. Cannot convert '" + m_toConvert + "' to type " + m_typeName;
35 return msg;
36 }

◆ getMsg() [3/6]

std::string facilities::WrongType::getMsg ( )
inline

Definition at line 33 of file InstallArea/x86_64-el9-gcc13-dbg/include/facilities/Util.h.

33 {
34 std::string msg =
35 "facilities::WrongType. Cannot convert '" + m_toConvert + "' to type " + m_typeName;
36 return msg;
37 }

◆ getMsg() [4/6]

std::string facilities::WrongType::getMsg ( )
inline

Definition at line 32 of file InstallArea/x86_64-el9-gcc13-dbg/include/RootCnvSvc/Util.h.

32 {
33 std::string msg =
34 "facilities::WrongType. Cannot convert '" + m_toConvert + "' to type " + m_typeName;
35 return msg;
36 }

◆ getMsg() [5/6]

std::string facilities::WrongType::getMsg ( )
inline

Definition at line 33 of file InstallArea/x86_64-el9-gcc13-opt/include/facilities/Util.h.

33 {
34 std::string msg =
35 "facilities::WrongType. Cannot convert '" + m_toConvert + "' to type " + m_typeName;
36 return msg;
37 }

◆ getMsg() [6/6]

std::string facilities::WrongType::getMsg ( )
inline

Definition at line 32 of file InstallArea/x86_64-el9-gcc13-opt/include/RootCnvSvc/Util.h.

32 {
33 std::string msg =
34 "facilities::WrongType. Cannot convert '" + m_toConvert + "' to type " + m_typeName;
35 return msg;
36 }

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