|
PLYwoot
Header-only C++17 library for parsing and writing PLY files
|
Exception thrown in case the input contains an unexpected token. More...
#include <header_parser.hpp>
Public Member Functions | |
| UnexpectedToken (detail::HeaderScanner::Token expected, detail::HeaderScanner::Token found, const std::string &tokenString) | |
| UnexpectedToken (std::vector< detail::HeaderScanner::Token > expected, detail::HeaderScanner::Token found, const std::string &tokenString) | |
| const std::vector< detail::HeaderScanner::Token > & | expected () const |
| detail::HeaderScanner::Token | found () const |
Public Member Functions inherited from plywoot::HeaderParserException | |
| HeaderParserException (const std::string &message) | |
Public Member Functions inherited from plywoot::Exception | |
| Exception (const std::string &message) | |
Exception thrown in case the input contains an unexpected token.
Definition at line 62 of file header_parser.hpp.
|
inline |
Constructs an unexpected token header parser exception.
| expected | token that was expected |
| found | token that was found |
| tokenString | textual representation of the token that was found |
Definition at line 69 of file header_parser.hpp.
|
inline |
Constructs an unexpected token header parser exception for cases where the expected token is not clearly defined.
| expected | list of tokens that were expected |
| found | token that was found |
| tokenString | textual representation of the token that was found |
Definition at line 83 of file header_parser.hpp.
|
inline |
Returns the list of expected tokens.
Definition at line 105 of file header_parser.hpp.
|
inline |
Returns the token that was found instead of the expected token.
Definition at line 109 of file header_parser.hpp.