WPILibC++ 2024.3.2
detail::position_t Struct Reference

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

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/json/include/wpi/detail/input/position_t.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

struct to capture the start position of the current token

Member Function Documentation

◆ operator size_t()

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

conversion to size_t to preserve SAX interface

Member Data 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

◆ chars_read_total

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

the total number of characters read

◆ lines_read

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

the number of lines read


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