1260 EdgeNotifier; |
1260 EdgeNotifier; |
1261 |
1261 |
1262 /// \brief Gives back the node alteration notifier. |
1262 /// \brief Gives back the node alteration notifier. |
1263 /// |
1263 /// |
1264 /// Gives back the node alteration notifier. |
1264 /// Gives back the node alteration notifier. |
1265 NodeNotifier& getNotifier(Node) const { |
1265 NodeNotifier& notifier(Node) const { |
1266 return NodeNotifier(); |
1266 return NodeNotifier(); |
1267 } |
1267 } |
1268 |
1268 |
1269 /// \brief Gives back the edge alteration notifier. |
1269 /// \brief Gives back the edge alteration notifier. |
1270 /// |
1270 /// |
1271 /// Gives back the edge alteration notifier. |
1271 /// Gives back the edge alteration notifier. |
1272 EdgeNotifier& getNotifier(Edge) const { |
1272 EdgeNotifier& notifier(Edge) const { |
1273 return EdgeNotifier(); |
1273 return EdgeNotifier(); |
1274 } |
1274 } |
1275 |
1275 |
1276 template <typename _Graph> |
1276 template <typename _Graph> |
1277 struct Constraints { |
1277 struct Constraints { |
1278 void constraints() { |
1278 void constraints() { |
1279 checkConcept<Base, _Graph>(); |
1279 checkConcept<Base, _Graph>(); |
1280 typename _Graph::NodeNotifier& nn |
1280 typename _Graph::NodeNotifier& nn |
1281 = graph.getNotifier(typename _Graph::Node()); |
1281 = graph.notifier(typename _Graph::Node()); |
1282 |
1282 |
1283 typename _Graph::EdgeNotifier& en |
1283 typename _Graph::EdgeNotifier& en |
1284 = graph.getNotifier(typename _Graph::Edge()); |
1284 = graph.notifier(typename _Graph::Edge()); |
1285 |
1285 |
1286 ignore_unused_variable_warning(nn); |
1286 ignore_unused_variable_warning(nn); |
1287 ignore_unused_variable_warning(en); |
1287 ignore_unused_variable_warning(en); |
1288 } |
1288 } |
1289 |
1289 |
1314 UEdgeNotifier; |
1314 UEdgeNotifier; |
1315 |
1315 |
1316 /// \brief Gives back the edge alteration notifier. |
1316 /// \brief Gives back the edge alteration notifier. |
1317 /// |
1317 /// |
1318 /// Gives back the edge alteration notifier. |
1318 /// Gives back the edge alteration notifier. |
1319 UEdgeNotifier& getNotifier(UEdge) const { |
1319 UEdgeNotifier& notifier(UEdge) const { |
1320 return UEdgeNotifier(); |
1320 return UEdgeNotifier(); |
1321 } |
1321 } |
1322 |
1322 |
1323 template <typename _Graph> |
1323 template <typename _Graph> |
1324 struct Constraints { |
1324 struct Constraints { |
1325 void constraints() { |
1325 void constraints() { |
1326 checkConcept<AlterableGraphComponent<Base>, _Graph>(); |
1326 checkConcept<AlterableGraphComponent<Base>, _Graph>(); |
1327 typename _Graph::UEdgeNotifier& uen |
1327 typename _Graph::UEdgeNotifier& uen |
1328 = graph.getNotifier(typename _Graph::UEdge()); |
1328 = graph.notifier(typename _Graph::UEdge()); |
1329 ignore_unused_variable_warning(uen); |
1329 ignore_unused_variable_warning(uen); |
1330 } |
1330 } |
1331 |
1331 |
1332 const _Graph& graph; |
1332 const _Graph& graph; |
1333 |
1333 |
1362 BNodeNotifier; |
1362 BNodeNotifier; |
1363 |
1363 |
1364 /// \brief Gives back the A-node alteration notifier. |
1364 /// \brief Gives back the A-node alteration notifier. |
1365 /// |
1365 /// |
1366 /// Gives back the A-node alteration notifier. |
1366 /// Gives back the A-node alteration notifier. |
1367 ANodeNotifier& getNotifier(ANode) const { |
1367 ANodeNotifier& notifier(ANode) const { |
1368 return ANodeNotifier(); |
1368 return ANodeNotifier(); |
1369 } |
1369 } |
1370 |
1370 |
1371 /// \brief Gives back the B-node alteration notifier. |
1371 /// \brief Gives back the B-node alteration notifier. |
1372 /// |
1372 /// |
1373 /// Gives back the B-node alteration notifier. |
1373 /// Gives back the B-node alteration notifier. |
1374 BNodeNotifier& getNotifier(BNode) const { |
1374 BNodeNotifier& notifier(BNode) const { |
1375 return BNodeNotifier(); |
1375 return BNodeNotifier(); |
1376 } |
1376 } |
1377 |
1377 |
1378 template <typename _Graph> |
1378 template <typename _Graph> |
1379 struct Constraints { |
1379 struct Constraints { |
1380 void constraints() { |
1380 void constraints() { |
1381 checkConcept<AlterableUGraphComponent<Base>, _Graph>(); |
1381 checkConcept<AlterableUGraphComponent<Base>, _Graph>(); |
1382 typename _Graph::ANodeNotifier& ann |
1382 typename _Graph::ANodeNotifier& ann |
1383 = graph.getNotifier(typename _Graph::ANode()); |
1383 = graph.notifier(typename _Graph::ANode()); |
1384 typename _Graph::BNodeNotifier& bnn |
1384 typename _Graph::BNodeNotifier& bnn |
1385 = graph.getNotifier(typename _Graph::BNode()); |
1385 = graph.notifier(typename _Graph::BNode()); |
1386 ignore_unused_variable_warning(ann); |
1386 ignore_unused_variable_warning(ann); |
1387 ignore_unused_variable_warning(bnn); |
1387 ignore_unused_variable_warning(bnn); |
1388 } |
1388 } |
1389 |
1389 |
1390 const _Graph& graph; |
1390 const _Graph& graph; |