Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

qgxml::QtLocatorAdaptor Class Reference

#include <QtLocatorAdaptor.H>

Inheritance diagram for qgxml::QtLocatorAdaptor:

qgxml::Locator List of all members.

Detailed Description

Adapts the interface of Locator to the Qt QXmlLocator.

This class adapts the Qgar SAX Locator interface to the Qt implementation: QXmlLocator.

Author:
Jan Rendek
Date:
March 10, 2003 17:46
Since:
Qgar 2.1.1

Definition at line 68 of file QtLocatorAdaptor.H.

Public Member Functions

Constructors
 QtLocatorAdaptor (QXmlLocator *locator)
 Default constructor.
Destructors
virtual ~QtLocatorAdaptor ()
 Destructor.
Access
virtual int getColumnNumber () const
 Return the column number where the current document event ends.
virtual int getLineNumber () const
 Return the line number where the current document event ends.
virtual std::string getPublicId () const
 Return the public identifier for the current document event.
virtual std::string getSystemId () const
 Return the system identifier for the current document event.

Protected Attributes

QXmlLocator * _impl


Constructor & Destructor Documentation

qgxml::QtLocatorAdaptor::QtLocatorAdaptor QXmlLocator *  locator  ) 
 

Default constructor.

Definition at line 56 of file QtLocatorAdaptor.C.

References _impl.

qgxml::QtLocatorAdaptor::~QtLocatorAdaptor  )  [virtual]
 

Destructor.

Definition at line 65 of file QtLocatorAdaptor.C.


Member Function Documentation

int qgxml::QtLocatorAdaptor::getColumnNumber  )  const [virtual]
 

Return the column number where the current document event ends.

Returns:
The column number.

Implements qgxml::Locator.

Definition at line 75 of file QtLocatorAdaptor.C.

References _impl.

int qgxml::QtLocatorAdaptor::getLineNumber  )  const [virtual]
 

Return the line number where the current document event ends.

Returns:
The line number.

Implements qgxml::Locator.

Definition at line 83 of file QtLocatorAdaptor.C.

References _impl.

string qgxml::QtLocatorAdaptor::getPublicId  )  const [virtual]
 

Return the public identifier for the current document event.

Returns:
A string containing the public identifier, or an empty string if none is available.

Implements qgxml::Locator.

Definition at line 91 of file QtLocatorAdaptor.C.

string qgxml::QtLocatorAdaptor::getSystemId  )  const [virtual]
 

Return the system identifier for the current document event.

Returns:
A string containing the system identifier, or an empty string if none is available.

Implements qgxml::Locator.

Definition at line 99 of file QtLocatorAdaptor.C.


Member Data Documentation

QXmlLocator* qgxml::QtLocatorAdaptor::_impl [protected]
 

Definition at line 120 of file QtLocatorAdaptor.H.

Referenced by getColumnNumber(), getLineNumber(), and QtLocatorAdaptor().


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