PST File Format SDK v0.4
Loading...
Searching...
No Matches
pstsdk::key_not_found< K > Class Template Reference

The requested key was not found. More...

#include <errors.h>

+ Inheritance diagram for pstsdk::key_not_found< K >:
+ Collaboration diagram for pstsdk::key_not_found< K >:

Public Member Functions

 key_not_found (const K &k)
 
virtual ~key_not_found () throw ()
 
const charwhat () const throw ()
 
const K & which () const
 Returns the key which was not found.
 

Detailed Description

template<typename K>
class pstsdk::key_not_found< K >

The requested key was not found.

Parameters
KThe key type

Definition at line 113 of file errors.h.

Constructor & Destructor Documentation

◆ key_not_found()

template<typename K >
pstsdk::key_not_found< K >::key_not_found ( const K &  k)
inlineexplicit

Definition at line 116 of file errors.h.

◆ ~key_not_found()

template<typename K >
virtual pstsdk::key_not_found< K >::~key_not_found ( )
throw (
)
inlinevirtual

Definition at line 118 of file errors.h.

Member Function Documentation

◆ what()

template<typename K >
const char * pstsdk::key_not_found< K >::what ( ) const
throw (
)
inline

Definition at line 120 of file errors.h.

◆ which()

template<typename K >
const K & pstsdk::key_not_found< K >::which ( ) const
inline

Returns the key which was not found.

Returns
The missing key

Definition at line 125 of file errors.h.


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