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 noexcept override
 The message to be displayed to the user. More...
 
 ~ValuesIncorrectType () noexcept override
 

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 404 of file Values.h.

Constructor & Destructor Documentation

◆ ValuesIncorrectType()

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 415 of file Values.h.

◆ ~ValuesIncorrectType()

gtsam::ValuesIncorrectType::~ValuesIncorrectType ( )
inlineoverridenoexcept

Definition at line 419 of file Values.h.

Member Function Documentation

◆ key()

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

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

Definition at line 422 of file Values.h.

◆ requestedTypeId()

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

The requested typeid.

Definition at line 428 of file Values.h.

◆ storedTypeId()

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

The typeid of the value stores in the Values.

Definition at line 425 of file Values.h.

◆ what()

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

The message to be displayed to the user.

Definition at line 285 of file Values.cpp.

Member Data Documentation

◆ key_

const Key gtsam::ValuesIncorrectType::key_
protected

The key requested.

Definition at line 406 of file Values.h.

◆ message_

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

Definition at line 411 of file Values.h.

◆ requestedTypeId_

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

Definition at line 408 of file Values.h.

◆ storedTypeId_

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

Definition at line 407 of file Values.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:15