File: UmlBaseDiagram.h

package info (click to toggle)
bouml 2.19.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 42,364 kB
  • ctags: 33,402
  • sloc: cpp: 169,092; makefile: 135
file content (29 lines) | stat: -rw-r--r-- 898 bytes parent folder | download | duplicates (44)
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
#ifndef _UMLBASEDIAGRAM_H
#define _UMLBASEDIAGRAM_H


#include "UmlItem.h"
#include <qcstring.h>

//  Mother class of all the classes managing the diagrams
class UmlBaseDiagram : public UmlItem {
  public:
    // saves the diagram picture in the file whose pathname is given
    // in argument, the produced file is a PNG file.
    // The aspect of the diagram is :
    // - its visible part in case it is open
    // - the aspect specified by its prefered size and scale in case
    //   these last are specified (see menu on a diagram view)
    // - else the default diagram aspect, which is probably not as you want
    //
    // On error return FALSE in C++, produce a RuntimeException in Java
    bool saveIn(const QCString & s) const;


  protected:
    // the constructor, do not call it yourself !!!!!!!!!!
    UmlBaseDiagram(void * id, const QCString & n) : UmlItem(id, n) {};

};

#endif