P6R::p6IJSONLocator Interface Reference

An instance of this component is passed to the application in 2 ways: a) Via the setDocumentLocator() method of the P6R::p6IJSONContentHandler interface implemented by an application, and registered with the JSON Reader component (p6IJSONReader). More...

#include <p6jsonlocator.h>

Inherits P6R::p6ICom.

List of all members.

Public Member Functions

virtual P6R::P6INT32 addref ()=0
 This method increases the reference count of the component instance by one.
virtual P6R::P6ERR convertToWideString (P6JSONSTRING *pJstring, P6WCHAR *pOut, P6UINT32 *pLength)=0
 JSON value strings can be encoded with hex digits in the form "\uhhhh" and have control characters represented encoded in strings (e.g., "\t").
virtual P6R::P6ERR getColumnNumber (P6UINT32 *pNumber)=0
 The application making use of the JSON Reader can use this interface to find out where in the JSON document the parser is currently processing.
virtual P6R::P6ERR getLineNumber (P6UINT32 *pNumber)=0
 Return the current line number, in the JSON document being parsed, where the JSON parser is currently pointing to.
virtual P6R::P6ERR queryInterface (const P6R::IID &iid, P6R::P6VOID **ppIface)=0
 This method queries the component for a specific interface.
virtual P6R::P6INT32 release ()=0
 This method decrements a components reference count.

Detailed Description

An instance of this component is passed to the application in 2 ways: a) Via the setDocumentLocator() method of the P6R::p6IJSONContentHandler interface implemented by an application, and registered with the JSON Reader component (p6IJSONReader).

b) Via the warning(), error(), and fatalError() methods of the P6R::p6IJSONErrorHandler interface implemented by an application and registered with the JSON Reader component.

Definition at line 31 of file p6jsonlocator.h.


The documentation for this interface was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.