ARTS 2.5.11 (git: 6827797f)
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.
 
Index mLine
 Line where the error occured.
 
Index mColumn
 Column where the error occured.
 

Detailed Description

Definition at line 24 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 26 of file exceptions.h.

Member Function Documentation

◆ column()

Index ParseError::column ( ) const
inline

Definition at line 35 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 33 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 34 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 43 of file exceptions.h.

Referenced by column().

◆ mFile

String ParseError::mFile
private

Filename associated with this part of the text.

Definition at line 39 of file exceptions.h.

Referenced by file().

◆ mLine

Index ParseError::mLine
private

Line where the error occured.

Definition at line 41 of file exceptions.h.

Referenced by line().


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