All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
icarus::KeyValuesData::WrongSize Struct Reference

#include <KeyValuesData.h>

Inheritance diagram for icarus::KeyValuesData::WrongSize:
icarus::KeyValuesData::ErrorOnKey icarus::KeyValuesData::Error

Public Member Functions

 WrongSize (std::string const &key, std::size_t expected, std::size_t actual)
 
- Public Member Functions inherited from icarus::KeyValuesData::ErrorOnKey
 ErrorOnKey (std::string const &key, std::string const &msg)
 
- Public Member Functions inherited from icarus::KeyValuesData::Error
 Error (std::string msg)
 

Detailed Description

Definition at line 639 of file KeyValuesData.h.

Constructor & Destructor Documentation

icarus::KeyValuesData::WrongSize::WrongSize ( std::string const &  key,
std::size_t  expected,
std::size_t  actual 
)
inline

Definition at line 641 of file KeyValuesData.h.

642  : ErrorOnKey(key,
643  std::to_string(expected) + " values (except the size) were expected, "
644  + std::to_string(actual) + " are present instead"
645  )
646  {}
ErrorOnKey(std::string const &key, std::string const &msg)
std::string to_string(WindowPattern const &pattern)

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