OpcUaCanOpen
CANopen OPC-UA server
exprtk::lexer::helper::numeric_checker Class Reference

#include <exprtk.hpp>

Inherits exprtk::lexer::token_scanner.

Public Member Functions

 numeric_checker ()
 
bool result ()
 
void reset ()
 
bool operator() (const lexer::token &t)
 
std::size_t error_count () const
 
std::size_t error_index (const std::size_t &i)
 
void clear_errors ()
 
- Public Member Functions inherited from exprtk::lexer::token_scanner
virtual ~token_scanner ()
 
 token_scanner (const std::size_t &stride)
 
std::size_t process (generator &g)
 
virtual bool operator() (const token &, const token &)
 
virtual bool operator() (const token &, const token &, const token &)
 
virtual bool operator() (const token &, const token &, const token &, const token &)
 
- Public Member Functions inherited from exprtk::lexer::helper_interface
virtual void init ()
 
virtual ~helper_interface ()
 

Private Attributes

std::size_t current_index_
 
std::vector< std::size_t > error_list_
 

Detailed Description

Definition at line 3508 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ numeric_checker()

exprtk::lexer::helper::numeric_checker::numeric_checker ( )
inline

Definition at line 3514 of file exprtk.hpp.

Member Function Documentation

◆ clear_errors()

void exprtk::lexer::helper::numeric_checker::clear_errors ( )
inline

Definition at line 3560 of file exprtk.hpp.

◆ error_count()

std::size_t exprtk::lexer::helper::numeric_checker::error_count ( ) const
inline

Definition at line 3547 of file exprtk.hpp.

◆ error_index()

std::size_t exprtk::lexer::helper::numeric_checker::error_index ( const std::size_t &  i)
inline

Definition at line 3552 of file exprtk.hpp.

◆ operator()()

bool exprtk::lexer::helper::numeric_checker::operator() ( const lexer::token t)
inlinevirtual

Reimplemented from exprtk::lexer::token_scanner.

Definition at line 3530 of file exprtk.hpp.

◆ reset()

void exprtk::lexer::helper::numeric_checker::reset ( )
inlinevirtual

Reimplemented from exprtk::lexer::helper_interface.

Definition at line 3524 of file exprtk.hpp.

◆ result()

bool exprtk::lexer::helper::numeric_checker::result ( )
inlinevirtual

Reimplemented from exprtk::lexer::helper_interface.

Definition at line 3519 of file exprtk.hpp.

Member Data Documentation

◆ current_index_

std::size_t exprtk::lexer::helper::numeric_checker::current_index_
private

Definition at line 3567 of file exprtk.hpp.

◆ error_list_

std::vector<std::size_t> exprtk::lexer::helper::numeric_checker::error_list_
private

Definition at line 3568 of file exprtk.hpp.


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