src/PredFinder/inference/EIUtils.cpp
/** 
 *  Add a set of relations to the ElfDocument.
 **/
Add a set of relations to the ElfDocument.
Add a set of relations to the ElfDocument .
void EIUtils::addNewRelations(EIDocData_ptr docData, const std::set<ElfRelation_ptr> & relations,
							  const std::wstring & src_to_add ) {
	docData->getElfDoc()->add_relations(relations);
	BOOST_FOREACH(ElfRelation_ptr rel, relations) {
		if (!src_to_add.empty()) {
			rel->add_source(src_to_add);
		}
	}
}
void EIUtils :: addNewRelations ( EIDocData_ptr docData , const std :: set < ElfRelation_ptr > & relations , const std :: wstring & src_to_add ) { docData -> getElfDoc ( ) -> add_relations ( relations ) ; BOOST_FOREACH ( ElfRelation_ptr rel , relations ) { if ( ! src_to_add . empty ( ) ) { rel -> add_source ( src_to_add ) ; } } }
Add a set of relations to the ElfDocument.
Add a set of relations to the ElfDocument .
/*= L""*/