# Hurricane VLSI Database

Pathes.h
1 // ****************************************************************************************************
2 // File: ./hurricane/Pathes.h
3 // Authors: R. Escassut
4 // Copyright (c) BULL S.A. 2000-2018, All Rights Reserved
5 //
6 // This file is part of Hurricane.
7 //
8 // Hurricane is free software: you can redistribute it and/or modify it under the terms of the GNU
9 // Lesser General Public License as published by the Free Software Foundation, either version 3 of the
10 // License, or (at your option) any later version.
11 //
12 // Hurricane is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
13 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU
14 // General Public License for more details.
15 //
16 // You should have received a copy of the Lesser GNU General Public License along with Hurricane. If
17 // not, see <http://www.gnu.org/licenses/>.
18 // ****************************************************************************************************
19
20 #ifndef HURRICANE_PATHES
21 #define HURRICANE_PATHES
22
23 #include "hurricane/Collection.h"
24 #include "hurricane/Path.h"
25
26 namespace Hurricane {
27
28
29
30 // ****************************************************************************************************
31 // Pathes declaration
32 // ****************************************************************************************************
33
34 typedef GenericCollection<Path> Pathes;
35
36
37
38 // ****************************************************************************************************
39 // PathLocator declaration
40 // ****************************************************************************************************
41
42 typedef GenericLocator<Path> PathLocator;
43
44
45
46 // ****************************************************************************************************
47 // PathFilter declaration
48 // ****************************************************************************************************
49
50 typedef GenericFilter<Path> PathFilter;
51
52
53
54 // ****************************************************************************************************
55 // for_each_path declaration
56 // ****************************************************************************************************
57
58 #define for_each_path(path, pathes)\
59 /**********************************/\
60 {\
61 PathLocator _locator = pathes.getLocator();\
62 while (_locator.isValid()) {\
63 Path path = _locator.getElement();\
64 _locator.progress();
65
66
67
68 } // End of Hurricane namespace.
69
70 #endif // HURRICANE_PATHES
71
72
73 // ****************************************************************************************************
74 // Copyright (c) BULL S.A. 2000-2018, All Rights Reserved
75 // ****************************************************************************************************
Hurricane::GenericLocator
Generic Locator auto-pointer.
Definition: Locator.h:113
Hurricane::GenericFilter
Generic Filter auto-pointer.
Definition: Filter.h:27
Hurricane::PathFilter
GenericFilter< Path > PathFilter
Definition: Pathes.h:50
Hurricane::GenericCollection
Generic Collection auto-pointer.
Definition: Collection.h:28
Hurricane::PathLocator
GenericLocator< Path > PathLocator
Definition: Pathes.h:42
Hurricane::Pathes
GenericCollection< Path > Pathes
Definition: Pathes.h:34
Hurricane
The namespace dedicated to Hurricane.
Definition: Generalities.dox:5

Generated by doxygen 1.8.14 on Tue Jul 21 2020 | Return to top of page

Hurricane VLSI Database | Copyright © 2000-2016 Bull S.A. All rights reserved