Hurricane VLSI Database


Points.h
1// -*- C++ -*-
2//
3// Copyright (c) BULL S.A. 2000-2018, All Rights Reserved
4//
5// This file is part of Hurricane.
6//
7// Hurricane is free software: you can redistribute it and/or modify
8// it under the terms of the GNU Lesser General Public License as
9// 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
13// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN-
14// TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU
15// General Public License for more details.
16//
17// You should have received a copy of the Lesser GNU General Public
18// License along with Hurricane. If not, see
19// <http://www.gnu.org/licenses/>.
20//
21// +-----------------------------------------------------------------+
22// | H U R R I C A N E |
23// | V L S I B a c k e n d D a t a - B a s e |
24// | |
25// | Author : Remy Escassut |
26// | E-mail : Jean-Paul.Chaput@lip6.fr |
27// | =============================================================== |
28// | C++ Header : "./hurricane/Points.h" |
29// +-----------------------------------------------------------------+
30
31
32#ifndef HURRICANE_POINTS_H
33#define HURRICANE_POINTS_H
34
35#include "hurricane/Collection.h"
36#include "hurricane/Point.h"
37
38
39namespace Hurricane {
40
41 typedef GenericCollection<Point> Points;
42 typedef GenericLocator <Point> PointLocator;
43 typedef GenericFilter <Point> PointFilter;
44 typedef Filter <Point> PointHF;
45 typedef Locator <Point> PointHL;
46 typedef Collection <Point> PointHC;
47
48
49#define for_each_point(point, points) \
50{ \
51 PointLocator _locator = points.getLocator(); \
52 while (_locator.isValid()) { \
53 Point point = _locator.getElement(); \
54 _locator.progress();
55
56
57} // Hurricane namespace.
58
59#endif // HURRICANE_POINTS_H
Generic Collection auto-pointer.
Definition Collection.h:235
Contains Almost Everything.
Definition BasicLayer.h:39


Generated by doxygen 1.16.1 on Return to top of page
Hurricane VLSI Database Copyright © 2000-2020 Bull S.A. All rights reserved