summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/petaltree2uml.h
blob: 7b4b99d88072c01e89c58c9feb2c6a03fdc01512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   copyright (C) 2006                                                    *
 *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
 ***************************************************************************/

#ifndef PETALTREE2UML_H
#define PETALTREE2UML_H

// fwd decl
class PetalNode;

/**
 * Traverse the PetalNode tree and create corresponding Umbrello objects
 * for the PetalNodes encountered.
 *
 * @author Oliver Kellogg
 * Bugs and comments to uml-devel@lists.sf.net or http://bugs.trinitydesktop.org
 */
namespace Import_Rose {

    /**
     * This is really an auxiliary method for loadFromMDL() but is kept in a
     * separate file to reflect that it is not coupled with the parser
     * (other than by the PetalNode.)
     *
     * @return  true for success.
     */
    bool petalTree2Uml(PetalNode *root);

}

#endif