src/PredFinder/elf/ElfIndividual.cpp
/**
 * Finds the lowest start offset and highest end offset of
 * any type assertion contained in this ElfIndividual.
 *
 * @param start The lowest ElfType _start. Pass-by-reference.
 * @param end The highest ElfType _end. Pass-by-reference.
 *
 * @author nward@bbn.com
 * @date 2011.08.11
 **/
Finds the lowest start offset and highest end offset of
any type assertion contained in this ElfIndividual.

@param start The lowest ElfType _start. Pass-by-reference.
@param end The highest ElfType _end. Pass-by-reference.


Finds the lowest start offset and highest end offset of any type assertion contained in this ElfIndividual . @param start The lowest ElfType _start . Pass - by - reference . @param end The highest ElfType _end . Pass - by - reference .
void ElfIndividual::get_spanning_offsets(EDTOffset& start, EDTOffset& end) const {
	start = EDTOffset(INT_MAX);
	end = EDTOffset(0);
	BOOST_FOREACH(ElfType_ptr type, _types) {
		EDTOffset type_start, type_end;
		type->get_offsets(type_start, type_end);
		if (type_start.is_defined() && type_start < start)
			start = type_start;
		if (type_end.is_defined() && type_end > end)
			end = type_end;
	}
}
void ElfIndividual :: get_spanning_offsets ( EDTOffset & start , EDTOffset & end ) const { start = EDTOffset ( INT_MAX ) ; end = EDTOffset ( 0 ) ; BOOST_FOREACH ( ElfType_ptr type , _types ) { EDTOffset type_start , type_end ; type -> get_offsets ( type_start , type_end ) ; if ( type_start . is_defined ( ) && type_start < start ) start = type_start ; if ( type_end . is_defined ( ) && type_end > end ) end = type_end ; } }
Finds the lowest start offset and highest end offset of
 any type assertion contained in this ElfIndividual.
Finds the lowest start offset and highest end offset of any type assertion contained in this ElfIndividual .
// Loop over all of the members' relations' args and individuals
