src/Generic/patterns/PatternReturn.cpp
/**
 * Constructs a PatternReturn from a vector key/value pairs.
 * Skips over duplicate keys.
 *
 * @author eboschee@bbn.com
 * @date 2010.11.24
 **/
Constructs a PatternReturn from a vector key/value pairs.
Skips over duplicate keys.


Constructs a PatternReturn from a vector key / value pairs . Skips over duplicate keys .
PatternReturn::PatternReturn(const KeyValPairVec & key_val_pairs) {
	_return_label = Symbol();
	BOOST_FOREACH(KeyValPair pair, key_val_pairs) {
		_return_values.insert(pair);
	}
}
PatternReturn :: PatternReturn ( const KeyValPairVec & key_val_pairs ) { _return_label = Symbol ( ) ; BOOST_FOREACH ( KeyValPair pair , key_val_pairs ) { _return_values . insert ( pair ) ; } }
Constructs a PatternReturn from a vector key/value pairs.
Constructs a PatternReturn from a vector key / value pairs .