src/Generic/patterns/UnionPattern.cpp
/**
 * Redefinition of parent class's virtual method that returns a vector of 
 * pointers to PatternReturn objects for a given pattern.
 *
 * @param PatternReturnVecSeq for a given pattern
 *
 * @author afrankel@bbn.com
 * @date 2010.10.20
 **/
Redefinition of parent class's virtual method that returns a vector of
pointers to PatternReturn objects for a given pattern.

@param PatternReturnVecSeq for a given pattern


Redefinition of parent class ' s virtual method that returns a vector of pointers to PatternReturn objects for a given pattern . @param PatternReturnVecSeq for a given pattern
void UnionPattern::getReturns(PatternReturnVecSeq & output) const {
	Pattern::getReturns(output);
	for (size_t n = 0; n < _patternList.size(); ++n) {
		if (_patternList[n])
			_patternList[n]->getReturns(output);
	}
}
void UnionPattern :: getReturns ( PatternReturnVecSeq & output ) const { Pattern :: getReturns ( output ) ; for ( size_t n = 0 ; n < _patternList . size ( ) ; ++ n ) { if ( _patternList [ n ] ) _patternList [ n ] -> getReturns ( output ) ; } }
Redefinition of parent class's virtual method that returns a vector of
 pointers to PatternReturn objects for a given pattern.
Redefinition of parent class ' s virtual method that returns a vector of pointers to PatternReturn objects for a given pattern .