KEduVocXdxfReader

Search for usage in LXR

KEduVocXdxfReader Class Reference

#include <keduvocxdxfreader.h>

Inheritance diagram for KEduVocXdxfReader:

Public Member Functions

 KEduVocXdxfReader (QIODevice &file)
 
 ~KEduVocXdxfReader () override
 
QString errorMessage () const override
 
KEduVocDocument::FileType fileTypeHandled () override
 
bool isParsable () override
 
KEduVocDocument::ErrorCode read (KEduVocDocument &doc) override
 
- Public Member Functions inherited from ReaderBase
virtual ~ReaderBase ()
 

Additional Inherited Members

- Properties inherited from QXmlStreamReader
 namespaceProcessing
 

Detailed Description

Reader for the XDXF format.

Definition at line 18 of file keduvocxdxfreader.h.

Constructor & Destructor Documentation

◆ KEduVocXdxfReader()

KEduVocXdxfReader::KEduVocXdxfReader ( QIODevice & file)
explicit

constructor

Parameters
filean device open for read

Definition at line 14 of file keduvocxdxfreader.cpp.

◆ ~KEduVocXdxfReader()

KEduVocXdxfReader::~KEduVocXdxfReader ( )
inlineoverride

destructor

Definition at line 27 of file keduvocxdxfreader.h.

Member Function Documentation

◆ errorMessage()

QString KEduVocXdxfReader::errorMessage ( ) const
overridevirtual

an error message.

Returns
the error message

Implements ReaderBase.

Definition at line 19 of file keduvocxdxfreader.cpp.

◆ fileTypeHandled()

KEduVocDocument::FileType KEduVocXdxfReader::fileTypeHandled ( )
overridevirtual

returns the KEduVocDocument::FileType that this reader handles

Returns
KEduVocDocument::FileType handled

Implements ReaderBase.

Definition at line 35 of file keduvocxdxfreader.cpp.

◆ isParsable()

bool KEduVocXdxfReader::isParsable ( )
overridevirtual

Can this reader parse this file.

Read a small portion of the header of the file and decide if it is a suitable type.

Returns
true if parsable

Implements ReaderBase.

Definition at line 24 of file keduvocxdxfreader.cpp.

◆ read()

KEduVocDocument::ErrorCode KEduVocXdxfReader::read ( KEduVocDocument & doc)
overridevirtual

Parse file and write into doc.

Parameters
docto be written
Returns
error status of the read.

Implements ReaderBase.

Definition at line 40 of file keduvocxdxfreader.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 Fri Nov 22 2024 12:06:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.