Public Member Functions | Protected Attributes | Private Attributes | List of all members
gtsam::ValuesIncorrectType Class Reference

#include <Values.h>

Inheritance diagram for gtsam::ValuesIncorrectType:
Inheritance graph
[legend]

Public Member Functions

Key key () const noexcept
 The key that was attempted to be accessed that does not exist. More...
 
const std::type_info & requestedTypeId () const
 The requested typeid. More...
 
const std::type_info & storedTypeId () const
 The typeid of the value stores in the Values. More...
 
 ValuesIncorrectType (Key key, const std::type_info &storedTypeId, const std::type_info &requestedTypeId) noexcept
 Construct with the key that does not exist in the values. More...
 
GTSAM_EXPORT const char * what () const noexceptoverride
 The message to be displayed to the user. More...
 
 ~ValuesIncorrectType () noexceptoverride
 

Protected Attributes

const Key key_
 The key requested. More...
 
const std::type_info & requestedTypeId_
 
const std::type_info & storedTypeId_
 

Private Attributes

std::string message_
 

Detailed Description

Definition at line 478 of file Values.h.

Constructor & Destructor Documentation

gtsam::ValuesIncorrectType::ValuesIncorrectType ( Key  key,
const std::type_info &  storedTypeId,
const std::type_info &  requestedTypeId 
)
inlinenoexcept

Construct with the key that does not exist in the values.

Definition at line 489 of file Values.h.

gtsam::ValuesIncorrectType::~ValuesIncorrectType ( )
inlineoverridenoexcept

Definition at line 493 of file Values.h.

Member Function Documentation

Key gtsam::ValuesIncorrectType::key ( ) const
inlinenoexcept

The key that was attempted to be accessed that does not exist.

Definition at line 496 of file Values.h.

const std::type_info& gtsam::ValuesIncorrectType::requestedTypeId ( ) const
inline

The requested typeid.

Definition at line 502 of file Values.h.

const std::type_info& gtsam::ValuesIncorrectType::storedTypeId ( ) const
inline

The typeid of the value stores in the Values.

Definition at line 499 of file Values.h.

const char * gtsam::ValuesIncorrectType::what ( ) const
overridenoexcept

The message to be displayed to the user.

Definition at line 241 of file Values.cpp.

Member Data Documentation

const Key gtsam::ValuesIncorrectType::key_
protected

The key requested.

Definition at line 480 of file Values.h.

std::string gtsam::ValuesIncorrectType::message_
mutableprivate

Definition at line 485 of file Values.h.

const std::type_info& gtsam::ValuesIncorrectType::requestedTypeId_
protected

Definition at line 482 of file Values.h.

const std::type_info& gtsam::ValuesIncorrectType::storedTypeId_
protected

Definition at line 481 of file Values.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:37