MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::ascii::UnescapeError Struct Reference

Error when unescaping characters fails. More...

#include <ascii.hpp>

Collaboration diagram for mtcore::ascii::UnescapeError:

Public Member Functions

bool operator== (const UnescapeError &o) const
 
bool operator!= (const UnescapeError &o) const
 

Public Attributes

int code
 

Static Public Attributes

static const UnescapeError EMPTY_INPUT
 
static const UnescapeError INVALID_ESCAPE_SEQUENCE
 

Detailed Description

Error when unescaping characters fails.

Definition at line 325 of file ascii.hpp.

Member Function Documentation

◆ operator!=()

bool mtcore::ascii::UnescapeError::operator!= ( const UnescapeError & o) const
inline

Definition at line 329 of file ascii.hpp.

329{ return code != o.code; }

◆ operator==()

bool mtcore::ascii::UnescapeError::operator== ( const UnescapeError & o) const
inline

Definition at line 327 of file ascii.hpp.

327{ return code == o.code; }

Member Data Documentation

◆ code

int mtcore::ascii::UnescapeError::code

Definition at line 326 of file ascii.hpp.

◆ EMPTY_INPUT

const UnescapeError mtcore::ascii::UnescapeError::EMPTY_INPUT
static

Definition at line 331 of file ascii.hpp.

◆ INVALID_ESCAPE_SEQUENCE

const UnescapeError mtcore::ascii::UnescapeError::INVALID_ESCAPE_SEQUENCE
static

Definition at line 332 of file ascii.hpp.


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