src/PredFinder/elf/ElfIndividual.cpp
/**
 * Returns the countable set of all type strings used in
 * this ElfIndividual. Intended primarily for use in
 * ElfIndividualCluster::get_generated_uri() for determining
 * the best type string to use in its returned URI.
 *
 * @author nward@bbn.com
 * @date 2011.08.10
 **/
Returns the countable set of all type strings used in
this ElfIndividual. Intended primarily for use in
ElfIndividualCluster::get_generated_uri() for determining
the best type string to use in its returned URI.


Returns the countable set of all type strings used in this ElfIndividual . Intended primarily for use in ElfIndividualCluster :: get_generated_uri () for determining the best type string to use in its returned URI .
std::multiset<std::wstring> ElfIndividual::get_type_strings(void) const {
	std::multiset<std::wstring> type_strings;
	BOOST_FOREACH(ElfType_ptr type, _types) {
		if (type.get() != NULL && type->get_value() != L"")
			type_strings.insert(type->get_value());
	}
	return type_strings;
}
std :: multiset < std :: wstring > ElfIndividual :: get_type_strings ( void ) const { std :: multiset < std :: wstring > type_strings ; BOOST_FOREACH ( ElfType_ptr type , _types ) { if ( type . get ( ) != NULL && type -> get_value ( ) != L" " ) type_strings . insert ( type -> get_value ( ) ) ; } return type_strings ; }
Returns the countable set of all type strings used in
 this ElfIndividual.
Returns the countable set of all type strings used in this ElfIndividual .
// Loop over all of the types in this individual, accumulating the type strings
 // Ignore bad types
