OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
 
Loading...
Searching...
No Matches
Odb::Lib::FileModel::parse_error Class Reference

#include <parse_error.h>

Inheritance diagram for Odb::Lib::FileModel::parse_error:
[legend]
Collaboration diagram for Odb::Lib::FileModel::parse_error:
[legend]

Public Member Functions

 parse_error (std::filesystem::path dataFile, const std::string &szDataLine, const std::string &szDataToken, int dataLineNumber, int sourceLine, const char *szSourceFile)
 
 parse_error (const char *szDataFile, const char *szDataLine, const char *szDataToken, int sourceLine, const char *szSourceFile)
 
 parse_error (const char *szDataFile, const char *szDataLine, int sourceLine, const char *szSourceFile)
 
 parse_error (const char *szDataFile, int sourceLine, const char *szSourceFile)
 
std::string toString (const std::string &message="") const
 
const parse_info & getParseInfo () const
 
std::string sourceLocation () const
 
char const * what () const noexcept
 

Detailed Description

Definition at line 15 of file parse_error.h.

Constructor & Destructor Documentation

◆ parse_error() [1/4]

Odb::Lib::FileModel::parse_error::parse_error ( std::filesystem::path  dataFile,
const std::string &  szDataLine,
const std::string &  szDataToken,
int  dataLineNumber,
int  sourceLine,
const char *  szSourceFile 
)
inline

Definition at line 19 of file parse_error.h.

◆ parse_error() [2/4]

Odb::Lib::FileModel::parse_error::parse_error ( const char *  szDataFile,
const char *  szDataLine,
const char *  szDataToken,
int  sourceLine,
const char *  szSourceFile 
)
inline

Definition at line 24 of file parse_error.h.

◆ parse_error() [3/4]

Odb::Lib::FileModel::parse_error::parse_error ( const char *  szDataFile,
const char *  szDataLine,
int  sourceLine,
const char *  szSourceFile 
)
inline

Definition at line 29 of file parse_error.h.

◆ parse_error() [4/4]

Odb::Lib::FileModel::parse_error::parse_error ( const char *  szDataFile,
int  sourceLine,
const char *  szSourceFile 
)
inline

Definition at line 34 of file parse_error.h.

Member Function Documentation

◆ getParseInfo()

const parse_info & Odb::Lib::FileModel::parse_error::getParseInfo ( ) const

Definition at line 15 of file parse_error.cpp.

◆ sourceLocation()

std::string Odb::Lib::FileModel::parse_error::sourceLocation ( ) const

Definition at line 20 of file parse_error.cpp.

◆ toString()

std::string Odb::Lib::FileModel::parse_error::toString ( const std::string &  message = "") const

Definition at line 7 of file parse_error.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ what()

char const * Odb::Lib::FileModel::parse_error::what ( ) const
noexcept

Definition at line 25 of file parse_error.cpp.


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