Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions | Data Fields
detail::position_t Struct Reference

struct to capture the start position of the current token More...

#include <json.h>

Collaboration diagram for detail::position_t:
Collaboration graph
[legend]

Public Member Functions

constexpr operator size_t () const
 conversion to size_t to preserve SAX interface
 

Data Fields

std::size_t chars_read_total = 0
 the total number of characters read
 
std::size_t chars_read_current_line = 0
 the number of characters read in the current line
 
std::size_t lines_read = 0
 the number of lines read
 

Detailed Description

struct to capture the start position of the current token

Definition at line 3035 of file json.h.

Member Function Documentation

◆ operator size_t()

constexpr detail::position_t::operator size_t ( ) const
inlineconstexpr

conversion to size_t to preserve SAX interface

Definition at line 3045 of file json.h.

Field Documentation

◆ chars_read_current_line

std::size_t detail::position_t::chars_read_current_line = 0

the number of characters read in the current line

Definition at line 3040 of file json.h.

◆ chars_read_total

std::size_t detail::position_t::chars_read_total = 0

the total number of characters read

Definition at line 3038 of file json.h.

◆ lines_read

std::size_t detail::position_t::lines_read = 0

the number of lines read

Definition at line 3042 of file json.h.


The documentation for this struct was generated from the following file: