Main MRPT website > C++ reference for MRPT 1.5.3
List of all members | Public Member Functions | Private Attributes
exprtk::lexer::helper::numeric_checker Class Reference

Detailed Description

Definition at line 3375 of file exprtk.hpp.

#include <mrpt/otherlibs/exprtk.hpp>

Inheritance diagram for exprtk::lexer::helper::numeric_checker:
Inheritance graph

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 ()
 
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 &)
 
virtual void init ()
 

Private Attributes

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

Constructor & Destructor Documentation

◆ numeric_checker()

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

Definition at line 3381 of file exprtk.hpp.

Member Function Documentation

◆ clear_errors()

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

Definition at line 3427 of file exprtk.hpp.

Referenced by exprtk::parser< T >::run_assemblies().

◆ error_count()

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

Definition at line 3414 of file exprtk.hpp.

Referenced by exprtk::parser< T >::run_assemblies().

◆ error_index()

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

Definition at line 3419 of file exprtk.hpp.

References exprtk::details::numeric::max().

Referenced by exprtk::parser< T >::run_assemblies().

◆ init()

virtual void exprtk::lexer::helper_interface::init ( )
inlinevirtualinherited

Definition at line 2740 of file exprtk.hpp.

◆ operator()() [1/4]

virtual bool exprtk::lexer::token_scanner::operator() ( const token ,
const token  
)
inlinevirtualinherited

Reimplemented in exprtk::lexer::helper::sequence_validator.

Definition at line 2834 of file exprtk.hpp.

◆ operator()() [2/4]

virtual bool exprtk::lexer::token_scanner::operator() ( const token ,
const token ,
const token  
)
inlinevirtualinherited

Definition at line 2839 of file exprtk.hpp.

◆ operator()() [3/4]

virtual bool exprtk::lexer::token_scanner::operator() ( const token ,
const token ,
const token ,
const token  
)
inlinevirtualinherited

Definition at line 2844 of file exprtk.hpp.

◆ operator()() [4/4]

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

◆ process()

std::size_t exprtk::lexer::token_scanner::process ( generator g)
inlinevirtualinherited

◆ reset()

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

Reimplemented from exprtk::lexer::helper_interface.

Definition at line 3391 of file exprtk.hpp.

◆ result()

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

Reimplemented from exprtk::lexer::helper_interface.

Definition at line 3386 of file exprtk.hpp.

Member Data Documentation

◆ current_index_

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

Definition at line 3434 of file exprtk.hpp.

◆ error_list_

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

Definition at line 3435 of file exprtk.hpp.




Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Tue Oct 31 07:27:35 UTC 2017