KDbParserError

Search for usage in LXR

KDbParserError Class Reference

#include <KDbParser.h>

Public Member Functions

 KDbParserError ()
 
 KDbParserError (const KDbParserError &other)
 
 KDbParserError (const QString &type, const QString &message, const QByteArray &token, int position)
 
QString message () const
 
bool operator!= (const KDbParserError &other) const
 
KDbParserErroroperator= (const KDbParserError &other)
 
bool operator== (const KDbParserError &other) const
 
int position () const
 
QString type () const
 

Detailed Description

Provides detailed error description about KDbParser.

Todo

Make it explicitly shared using SDC

change type to enum

Definition at line 40 of file KDbParser.h.

Constructor & Destructor Documentation

◆ KDbParserError() [1/3]

KDbParserError::KDbParserError ( )

Empty constructor.

Definition at line 165 of file KDbParser.cpp.

◆ KDbParserError() [2/3]

KDbParserError::KDbParserError ( const QString & type,
const QString & message,
const QByteArray & token,
int position )

Constructor.

Parameters
typeThe error type.
messageA description of the error.
tokenToken where the Error happend.
positionThe position where the error happened.

Definition at line 170 of file KDbParser.cpp.

◆ KDbParserError() [3/3]

KDbParserError::KDbParserError ( const KDbParserError & other)

Copy constructor.

Definition at line 180 of file KDbParser.cpp.

◆ ~KDbParserError()

KDbParserError::~KDbParserError ( )

Definition at line 186 of file KDbParser.cpp.

Member Function Documentation

◆ message()

QString KDbParserError::message ( ) const
Returns
translated error message.

Definition at line 209 of file KDbParser.cpp.

◆ operator!=()

bool KDbParserError::operator!= ( const KDbParserError & other) const
inline

Definition at line 69 of file KDbParser.h.

◆ operator=()

KDbParserError & KDbParserError::operator= ( const KDbParserError & other)

Definition at line 191 of file KDbParser.cpp.

◆ operator==()

bool KDbParserError::operator== ( const KDbParserError & other) const

Definition at line 199 of file KDbParser.cpp.

◆ position()

int KDbParserError::position ( ) const
Returns
(character) position where the error happened.

Definition at line 214 of file KDbParser.cpp.

◆ type()

QString KDbParserError::type ( ) const
Returns
the error type.

Definition at line 204 of file KDbParser.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.