Don't import ogdf namespace
[TortoiseGit.git] / ext / OGDF / ogdf / internal / planarity / IndInfo.h
blob234ebe0b5c438c82bf5e490ff5fbb4db14804d29
1 /*
2 * $Revision: 2564 $
4 * last checkin:
5 * $Author: gutwenger $
6 * $Date: 2012-07-07 00:03:48 +0200 (Sa, 07. Jul 2012) $
7 ***************************************************************/
9 /** \file
10 * \brief Declaration of the class EmbedKey.
12 * Implements the Key of the direction Indicator. Used by class EmbedPQTree.
14 * \author Sebastian Leipert
16 * \par License:
17 * This file is part of the Open Graph Drawing Framework (OGDF).
19 * \par
20 * Copyright (C)<br>
21 * See README.txt in the root directory of the OGDF installation for details.
23 * \par
24 * This program is free software; you can redistribute it and/or
25 * modify it under the terms of the GNU General Public License
26 * Version 2 or 3 as published by the Free Software Foundation;
27 * see the file LICENSE.txt included in the packaging of this file
28 * for details.
30 * \par
31 * This program is distributed in the hope that it will be useful,
32 * but WITHOUT ANY WARRANTY; without even the implied warranty of
33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 * GNU General Public License for more details.
36 * \par
37 * You should have received a copy of the GNU General Public
38 * License along with this program; if not, write to the Free
39 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
40 * Boston, MA 02110-1301, USA.
42 * \see http://www.gnu.org/copyleft/gpl.html
43 ***************************************************************/
45 #ifdef _MSC_VER
46 #pragma once
47 #endif
51 #ifndef OGDF_EMBED_KEY_H
52 #define OGDF_EMBED_KEY_H
54 #include <ogdf/internal/planarity/PQNodeKey.h>
56 namespace ogdf {
59 class IndInfo
61 friend class EmbedPQTree;
63 public:
64 IndInfo(node w) { v = w; changeDir = false; }
65 ~IndInfo() { }
67 void resetAssociatedNode(node w) { v = w; }
68 node getAssociatedNode() { return v; }
70 private:
71 node v;
72 bool changeDir;
75 OGDF_NEW_DELETE
80 #endif