ARTS 2.5.9 (git: 825fa5f2)
ParseError Class Reference

#include <exceptions.h>

Inheritance diagram for ParseError:
Eot IllegalLinebreak UnexpectedChar UnknownMethod UnknownWsv WrongWsvGroup WsvAlreadyExists

Public Member Functions

 ParseError (const String &s="", String f="", Index l=0, Index c=0)
 
String file () const
 
Index line () const
 
Index column () const
 

Private Attributes

String mFile
 Filename associated with this part of the text. More...
 
Index mLine
 Line where the error occured. More...
 
Index mColumn
 Column where the error occured. More...
 

Detailed Description

Definition at line 41 of file exceptions.h.

Constructor & Destructor Documentation

◆ ParseError()

ParseError::ParseError ( const String s = "",
String  f = "",
Index  l = 0,
Index  c = 0 
)
inline

Definition at line 43 of file exceptions.h.

Member Function Documentation

◆ column()

Index ParseError::column ( ) const
inline

Definition at line 52 of file exceptions.h.

References mColumn.

Referenced by ArtsParser::parse_main(), and ArtsParser::set_gin_to_default().

◆ file()

String ParseError::file ( ) const
inline

Definition at line 50 of file exceptions.h.

References mFile.

Referenced by ArtsParser::parse_main(), and ArtsParser::set_gin_to_default().

◆ line()

Index ParseError::line ( ) const
inline

Definition at line 51 of file exceptions.h.

References mLine.

Referenced by ArtsParser::parse_main(), and ArtsParser::set_gin_to_default().

Member Data Documentation

◆ mColumn

Index ParseError::mColumn
private

Column where the error occured.

Definition at line 60 of file exceptions.h.

Referenced by column().

◆ mFile

String ParseError::mFile
private

Filename associated with this part of the text.

Definition at line 56 of file exceptions.h.

Referenced by file().

◆ mLine

Index ParseError::mLine
private

Line where the error occured.

Definition at line 58 of file exceptions.h.

Referenced by line().


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