Remake
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
input_generator Struct Reference

Public Member Functions

 input_generator (std::istream &i, variable_map const *lv, bool e=false)
 
input_status next (std::string &)
 
 ~input_generator ()
 

Public Attributes

std::istream & in
 
generatornested
 
variable_map constlocal_variables
 
bool earliest_exit
 
bool done
 

Detailed Description

Generator for the words of an input stream.

Definition at line 1234 of file remake.cpp.

Constructor & Destructor Documentation

◆ input_generator()

input_generator::input_generator ( std::istream & i,
variable_map const * lv,
bool e = false )
inline

Definition at line 1240 of file remake.cpp.

1241 : in(i), nested(NULL), local_variables(lv), earliest_exit(e), done(false) {}
std::istream & in
Definition remake.cpp:1236
generator * nested
Definition remake.cpp:1237
variable_map const * local_variables
Definition remake.cpp:1238

◆ ~input_generator()

input_generator::~input_generator ( )
inline

Definition at line 1243 of file remake.cpp.

1243{ assert(!nested); }

Member Data Documentation

◆ done

bool input_generator::done

Definition at line 1239 of file remake.cpp.

Referenced by next().

◆ earliest_exit

bool input_generator::earliest_exit

Definition at line 1239 of file remake.cpp.

Referenced by next().

◆ in

std::istream& input_generator::in

◆ local_variables

variable_map const* input_generator::local_variables

Definition at line 1238 of file remake.cpp.

Referenced by next().

◆ nested

generator* input_generator::nested

Definition at line 1237 of file remake.cpp.

Referenced by next(), and ~input_generator().


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