advgetopt 2.0.47
Parse complex command line arguments and configuration files in C++.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
advgetopt::anonymous_namespace{validator.cpp}::lexer Class Reference

Public Member Functions

 lexer (char const *in)
 
token next_token ()
 
std::string remains () const
 

Private Member Functions

int getc ()
 
void ungetc (int c)
 

Private Attributes

int f_c = '\0'
 
char constf_in = nullptr
 

Detailed Description

Definition at line 115 of file validator.cpp.

Constructor & Destructor Documentation

◆ lexer()

advgetopt::anonymous_namespace{validator.cpp}::lexer::lexer ( char const in)
inline

Definition at line 118 of file validator.cpp.

Member Function Documentation

◆ getc()

int advgetopt::anonymous_namespace{validator.cpp}::lexer::getc ( )
inlineprivate

Definition at line 295 of file validator.cpp.

◆ next_token()

token advgetopt::anonymous_namespace{validator.cpp}::lexer::next_token ( )
inline

Definition at line 123 of file validator.cpp.

References advgetopt::quote().

◆ remains()

std::string advgetopt::anonymous_namespace{validator.cpp}::lexer::remains ( ) const
inline

Definition at line 284 of file validator.cpp.

◆ ungetc()

void advgetopt::anonymous_namespace{validator.cpp}::lexer::ungetc ( int  c)
inlineprivate

Definition at line 316 of file validator.cpp.

Member Data Documentation

◆ f_c

int advgetopt::anonymous_namespace{validator.cpp}::lexer::f_c = '\0'
private

Definition at line 326 of file validator.cpp.

◆ f_in

char const* advgetopt::anonymous_namespace{validator.cpp}::lexer::f_in = nullptr
private

Definition at line 325 of file validator.cpp.


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

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.