Remake
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
 
const variable_maplocal_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) {}

◆ ~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

const variable_map* 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:
input_generator::done
bool done
Definition: remake.cpp:1239
input_generator::local_variables
const variable_map * local_variables
Definition: remake.cpp:1238
input_generator::in
std::istream & in
Definition: remake.cpp:1236
input_generator::nested
generator * nested
Definition: remake.cpp:1237
input_generator::earliest_exit
bool earliest_exit
Definition: remake.cpp:1239