EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nlohmann::detail::position_t Struct Reference

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

#include <acts/blob/sPHENIX/thirdparty/nlohmann_json/single_include/nlohmann/json.hpp>

Public Member Functions

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

Public Attributes

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 89 of file json.hpp.

View newest version in sPHENIX GitHub at line 89 of file json.hpp

Member Function Documentation

constexpr nlohmann::detail::position_t::operator size_t ( ) const
inline

conversion to size_t to preserve SAX interface

Definition at line 99 of file json.hpp.

View newest version in sPHENIX GitHub at line 99 of file json.hpp

References chars_read_total.

Member Data Documentation

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

the number of characters read in the current line

Definition at line 94 of file json.hpp.

View newest version in sPHENIX GitHub at line 94 of file json.hpp

Referenced by nlohmann::detail::parse_error::position_string().

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

the total number of characters read

Definition at line 92 of file json.hpp.

View newest version in sPHENIX GitHub at line 92 of file json.hpp

Referenced by nlohmann::detail::parse_error::create(), and operator size_t().

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

the number of lines read

Definition at line 96 of file json.hpp.

View newest version in sPHENIX GitHub at line 96 of file json.hpp

Referenced by nlohmann::detail::parse_error::position_string().


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