virtual P6R::P6ERR P6R::p6IJSONLocator::getLineNumber ( P6UINT32 *  pNumber  )  [pure virtual]

Return the current line number, in the JSON document being parsed, where the JSON parser is currently pointing to.

The line count, starts at 1 and is incremented after each line feed.

This information is especially useful when passed to an application in the p6IJSONErrorHandler. The combination of the line and column number offset will point to a parsing problem.

Parameters:
pNumber [OUT] starts at 1, line offset in the JSON document.
Returns:
SuccessP6R::eOk 
FailureP6R::eInvalidArgpObject is NULL.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.