#include "pp.h" void Cd_graph::markTargetAssociated( Cd_graph* schema,Vertex_selector* targets ) { DEM_TRACE("Cd_graph","void Cd_graph::markTargetAssociated(Cd_graph* schema,Vertex_selector* targets)"); // prefix class wrappers adjacencies->markTargetAssociated(schema,targets); // suffix class wrappers } void Adjacency_Nlist::markTargetAssociated( Cd_graph* schema,Vertex_selector* targets ) { DEM_TRACE("Adjacency_Nlist","void Adjacency_Nlist::markTargetAssociated(Cd_graph* schema,Vertex_selector* targets)"); // prefix class wrappers Adjacency_list_iterator next(*this); Adjacency* each; while (each = next()) { int r = 0; targets->contains(each->get_source(),r); if (r) each->markTargetAssociated(schema,targets); } // suffix class wrappers } void Adjacency::markTargetAssociated( Cd_graph* schema,Vertex_selector* targets ) { DEM_TRACE("Adjacency","void Adjacency::markTargetAssociated(Cd_graph* schema,Vertex_selector* targets)"); // prefix class wrappers ns->markTargetAssociated(schema,targets); // suffix class wrappers } void Neighbors::markTargetAssociated( Cd_graph* schema,Vertex_selector* targets ) { DEM_TRACE("Neighbors","void Neighbors::markTargetAssociated(Cd_graph* schema,Vertex_selector* targets)"); // prefix class wrappers // suffix class wrappers } void Neighbors_wc::markTargetAssociated( Cd_graph* schema,Vertex_selector* targets ) { DEM_TRACE("Neighbors_wc","void Neighbors_wc::markTargetAssociated(Cd_graph* schema,Vertex_selector* targets)"); // prefix class wrappers // suffix class wrappers } void Alternat_ns::markTargetAssociated( Cd_graph* schema,Vertex_selector* targets ) { DEM_TRACE("Alternat_ns","void Alternat_ns::markTargetAssociated(Cd_graph* schema,Vertex_selector* targets)"); // prefix class wrappers if (alternat_ns) alternat_ns->markTargetAssociated(schema,targets); // suffix class wrappers } void Term_Barlist::markTargetAssociated( Cd_graph* schema,Vertex_selector* targets ) { DEM_TRACE("Term_Barlist","void Term_Barlist::markTargetAssociated(Cd_graph* schema,Vertex_selector* targets)"); // prefix class wrappers static DemString * markt = new DemString("call"); static DemString * marka = new DemString("propagate"); Term_list_iterator nextt(*this); Term* eacht; while (eacht = nextt()) { if (!markt->g_equal(eacht->get_call())) delete eacht->rset_call((DemString *)markt->g_copy()); Adjacency_list_iterator nexta(*schema->get_adjacencies()); Adjacency* eacha; while (eacha = nexta()) if (eacha->get_source()->equal(eacht->get_vertex())) break; assert(eacha); if (!marka->g_equal(eacha->get_propagate())) delete eacha->rset_propagate((DemString *)marka->g_copy()); eacha->markTargetAssociated(schema,targets); } // suffix class wrappers }