Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Public Member Functions | Private Attributes | Static Private Attributes
HypothesisNotFoundException Class Reference

Detailed Description

Definition at line 23 of file CHypothesisNotFoundException.h.

#include <mrpt/graphs/CHypothesisNotFoundException.h>

Inheritance diagram for HypothesisNotFoundException:
Inheritance graph

Public Member Functions

 HypothesisNotFoundException (mrpt::utils::TNodeID from, mrpt::utils::TNodeID to)
 
 HypothesisNotFoundException (size_t id)
 
 ~HypothesisNotFoundException () throw ()
 
void clear ()
 
std::string getErrorMsg () const throw ()
 
const char * what () const throw ()
 

Private Attributes

mrpt::utils::TNodeID m_from
 
mrpt::utils::TNodeID m_to
 
size_t m_id
 Hypothesis ID. More...
 
std::string m_msg
 Error message. More...
 

Static Private Attributes

static std::ostringstream m_cnvt
 

Constructor & Destructor Documentation

◆ HypothesisNotFoundException() [1/2]

HypothesisNotFoundException::HypothesisNotFoundException ( mrpt::utils::TNodeID  from,
mrpt::utils::TNodeID  to 
)

Definition at line 16 of file CHypothesisNotFoundException.cpp.

References clear(), m_from, m_msg, and m_to.

◆ HypothesisNotFoundException() [2/2]

HypothesisNotFoundException::HypothesisNotFoundException ( size_t  id)

Definition at line 35 of file CHypothesisNotFoundException.cpp.

References clear(), m_id, and m_msg.

◆ ~HypothesisNotFoundException()

HypothesisNotFoundException::~HypothesisNotFoundException ( )
throw (
)

Definition at line 54 of file CHypothesisNotFoundException.cpp.

Member Function Documentation

◆ clear()

void HypothesisNotFoundException::clear ( )

Definition at line 47 of file CHypothesisNotFoundException.cpp.

References INVALID_NODEID, m_from, m_id, m_msg, m_to, and SIZE_MAX.

Referenced by HypothesisNotFoundException().

◆ getErrorMsg()

std::string HypothesisNotFoundException::getErrorMsg ( ) const
throw (
)

Definition at line 56 of file CHypothesisNotFoundException.cpp.

References m_msg.

Referenced by what().

◆ what()

const char * HypothesisNotFoundException::what ( ) const
throw (
)

Definition at line 60 of file CHypothesisNotFoundException.cpp.

References getErrorMsg(), and m_cnvt.

Member Data Documentation

◆ m_cnvt

std::ostringstream HypothesisNotFoundException::m_cnvt
staticprivate

Definition at line 43 of file CHypothesisNotFoundException.h.

Referenced by what().

◆ m_from

mrpt::utils::TNodeID HypothesisNotFoundException::m_from
private

Definition at line 35 of file CHypothesisNotFoundException.h.

Referenced by clear(), and HypothesisNotFoundException().

◆ m_id

size_t HypothesisNotFoundException::m_id
private

Hypothesis ID.

Definition at line 39 of file CHypothesisNotFoundException.h.

Referenced by clear(), and HypothesisNotFoundException().

◆ m_msg

std::string HypothesisNotFoundException::m_msg
private

Error message.

Definition at line 42 of file CHypothesisNotFoundException.h.

Referenced by clear(), getErrorMsg(), and HypothesisNotFoundException().

◆ m_to

mrpt::utils::TNodeID HypothesisNotFoundException::m_to
private

Definition at line 36 of file CHypothesisNotFoundException.h.

Referenced by clear(), and HypothesisNotFoundException().




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019