src/PredFinder/macros/ReadingMacroSet.cpp
/**
 * Takes an input document and applies each macro
 * defined in this macro set for the specified stage.
 * If no rules match for that stage, the result is
 * a no-op and the document is unchanged.
 *
 * @param stage_name The stage for which rules should
 * be applied.
 * @param document The ELF document, which will be
 * transformed in-place.
 *
 * @author nward@bbn.com
 * @date 2010.10.08
 **/
Takes an input document and applies each macro
defined in this macro set for the specified stage.
If no rules match for that stage, the result is
a no-op and the document is unchanged.

@param stage_name The stage for which rules should
be applied.
@param document The ELF document, which will be
transformed in-place.


Takes an input document and applies each macro defined in this macro set for the specified stage . If no rules match for that stage the result is a no - op and the document is unchanged . @param stage_name The stage for which rules should be applied . @param document The ELF document which will be transformed in - place .
void ReadingMacroSet::apply(Symbol stage_name, ElfDocument_ptr document) const {
	BOOST_FOREACH(ReadingMacro_ptr macro, _macros) {
		macro->apply(stage_name, document);
	}
}
void ReadingMacroSet :: apply ( Symbol stage_name , ElfDocument_ptr document ) const { BOOST_FOREACH ( ReadingMacro_ptr macro , _macros ) { macro -> apply ( stage_name , document ) ; } }
Takes an input document and applies each macro
 defined in this macro set for the specified stage.
Takes an input document and applies each macro defined in this macro set for the specified stage .
// Apply each macro defined in this set in turn
