gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
picojson::input< Iter > Class Template Reference

#include <picojson.h>

Public Member Functions

 input (const Iter &first, const Iter &last)
 
int getc ()
 
void ungetc ()
 
Iter cur () const
 
int line () const
 
void skip_ws ()
 
bool expect (const int expected)
 
bool match (const std::string &pattern)
 

Protected Attributes

Iter cur_
 
Iter end_
 
bool consumed_
 
int line_
 

Detailed Description

template<typename Iter>
class picojson::input< Iter >

Definition at line 637 of file picojson.h.

Constructor & Destructor Documentation

◆ input()

template<typename Iter >
picojson::input< Iter >::input ( const Iter &  first,
const Iter &  last 
)
inline

Definition at line 644 of file picojson.h.

Member Function Documentation

◆ cur()

template<typename Iter >
Iter picojson::input< Iter >::cur ( ) const
inline

Definition at line 663 of file picojson.h.

Referenced by picojson::_parse().

Here is the caller graph for this function:

◆ expect()

template<typename Iter >
bool picojson::input< Iter >::expect ( const int  expected)
inline

Definition at line 683 of file picojson.h.

Referenced by picojson::_parse_array(), and picojson::_parse_object().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getc()

◆ line()

template<typename Iter >
int picojson::input< Iter >::line ( ) const
inline

Definition at line 671 of file picojson.h.

Referenced by picojson::_parse().

Here is the caller graph for this function:

◆ match()

template<typename Iter >
bool picojson::input< Iter >::match ( const std::string &  pattern)
inline

Definition at line 691 of file picojson.h.

Here is the call graph for this function:

◆ skip_ws()

template<typename Iter >
void picojson::input< Iter >::skip_ws ( )
inline

Definition at line 674 of file picojson.h.

Referenced by picojson::_parse(), and picojson::input< Iter >::expect().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ungetc()

template<typename Iter >
void picojson::input< Iter >::ungetc ( )
inline

Member Data Documentation

◆ consumed_

template<typename Iter >
bool picojson::input< Iter >::consumed_
protected

◆ cur_

template<typename Iter >
Iter picojson::input< Iter >::cur_
protected

Definition at line 639 of file picojson.h.

Referenced by picojson::input< Iter >::cur(), and picojson::input< Iter >::getc().

◆ end_

template<typename Iter >
Iter picojson::input< Iter >::end_
protected

Definition at line 639 of file picojson.h.

Referenced by picojson::input< Iter >::getc().

◆ line_

template<typename Iter >
int picojson::input< Iter >::line_
protected

Definition at line 641 of file picojson.h.

Referenced by picojson::input< Iter >::getc(), and picojson::input< Iter >::line().


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