src/Generic/theories/EventMention.cpp
// will just return the first one found

will just return the first one found
will just return the first one found
const ValueMention *EventMention::getFirstValueForSlot(Symbol slotName) const {
	for (int i = 0; i < (int) _valueArguments.size(); i++) {
		if (_valueArguments[i].role == slotName) 
			return _valueArguments[i].valueMention;
	}
	return 0;
}
const ValueMention * EventMention :: getFirstValueForSlot ( Symbol slotName ) const { for ( int i = 0 ; i < ( int ) _valueArguments . size ( ) ; i ++ ) { if ( _valueArguments [ i ] . role == slotName ) return _valueArguments [ i ] . valueMention ; } return 0 ; }
will just return the first one found
will just return the first one found