# Hurricane Documentation

# Hurricane VLSI Database

Quark.h
1 // ****************************************************************************************************
2 // File: ./hurricane/Quark.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_QUARK
21 #define HURRICANE_QUARK
22
23 #include "hurricane/DBo.h"
24 #include "hurricane/Quarks.h"
25 #include "hurricane/Occurrence.h"
26
27 namespace Hurricane {
28
29
30
31 // ****************************************************************************************************
32 // Quark declaration
33 // ****************************************************************************************************
34
35 class Quark : public DBo {
36 // *********************
37
38 // Types
39 // *****
40
41 public: typedef DBo Inherit;
42
43 // Attributes
44 // **********
45
46 private: Occurrence _occurrence;
47 private: Quark* _nextOfSharedPathQuarkMap;
48
49 // Constructors
50 // ************
51
52 protected: Quark(const Occurrence& occurrence);
53
54 // Accessors
55 // *********
56
57 public: const Occurrence& getOccurrence() const {return _occurrence;};
58
59 // Others
60 // ******
61
62 public: static Quark* _create(const Occurrence& occurrence);
63 protected: virtual void _postCreate();
64
65 protected: virtual void _preDestroy();
66
67 public: virtual string _getTypeName() const {return _TName("Quark");};
68 public: virtual string _getString() const;
69 public: virtual Record* _getRecord() const;
70 public: Quark* _getNextOfSharedPathQuarkMap() const {return _nextOfSharedPathQuarkMap;};
71
72 public: void _setNextOfSharedPathQuarkMap(Quark* quark) {_nextOfSharedPathQuarkMap = quark;};
73
74 };
75
76
77 } // End of Hurricane namespace.
78
79
80 INSPECTOR_P_SUPPORT(Hurricane::Quark);
81
82
83 #endif // HURRICANE_QUARK
84
85
86 // ****************************************************************************************************
87 // Copyright (c) BULL S.A. 2000-2018, All Rights Reserved
88 // ****************************************************************************************************
Hurricane::Occurrence
Occurrence description (API)
Definition: Occurrence.h:39
Hurricane::Quark
Quark description (API)
Definition: Quark.h:35
Hurricane::DBo
DataBase object root class (API).
Definition: DBo.h:47
Hurricane
The namespace dedicated to Hurricane.
Definition: Generalities.dox:5
Hurricane::Quark::getOccurrence
const Occurrence & getOccurrence() const
Definition: Quark.h:57