src/PredFinder/elf/ElfRelation.cpp
/**
 * Collects all of the non-value individuals associated with arguments
 * of this relation, if any.
 *
 * @return std::vector containing 0 or more ElfIndividuals associated
 * with the ElfRelationArgs of this ElfRelation.
 *
 * @author nward@bbn.com
 * @date 2010.06.23
 **/
Collects all of the non-value individuals associated with arguments
of this relation, if any.

@return std::vector containing 0 or more ElfIndividuals associated
with the ElfRelationArgs of this ElfRelation.


Collects all of the non - value individuals associated with arguments of this relation if any . @return std :: vector containing 0 or more ElfIndividuals associated with the ElfRelationArgs of this ElfRelation .
std::vector<ElfIndividual_ptr> ElfRelation::get_referenced_individuals(void) const {
	std::vector<ElfIndividual_ptr> individuals;
	BOOST_FOREACH(ElfRelationArg_ptr arg, get_args()) {
		ElfIndividual_ptr individual = arg->get_individual();
		if (individual && individual.get() != NULL && !individual->has_value()) {
			individuals.push_back(individual);
		}
	}
	return individuals;
}
std :: vector < ElfIndividual_ptr > ElfRelation :: get_referenced_individuals ( void ) const { std :: vector < ElfIndividual_ptr > individuals ; BOOST_FOREACH ( ElfRelationArg_ptr arg , get_args ( ) ) { ElfIndividual_ptr individual = arg -> get_individual ( ) ; if ( individual && individual . get ( ) != NULL && ! individual -> has_value ( ) ) { individuals . push_back ( individual ) ; } } return individuals ; }
Collects all of the non-value individuals associated with arguments
 of this relation, if any.
Collects all of the non - value individuals associated with arguments of this relation if any .
// Get entities from each argument contained in this relation
