Main Page Class Hierarchy Compound List File List Compound Members

# group.h

    00001 // author="klaas"
    00002 // version="1.0"
    00003 // name         :       group.h
    00004 // creator      :       O. Kerpershoek
    00005 // date         :       8-9-1997
    00006 // function     :       used to define groups of layers
    00007 //                                      a layer belongs completely to a group or, if the selected falg is
    00008 //                                      set, only the selected object of that layer.
    00009
    00010 #ifndef GROUP_H
    00011 #define GROUP_H
    00012
    00013 #ifdef __GNUG__
    00014 #pragma interface
    00015 #endif
    00016
    00017 #include "lsetup.h"
    00018
    00022 class   group {
    00023  public:
    00024         group();
    00025         ~group();
    00026
    00027    group&       operator=(group&);
    00029         void            Clear();
    00031         void            SetLayer(int, bool);
    00033         bool            GetLayer(int);
    00035    int          GetNumberOfLayers();
    00037         void            SetOnlySelected(bool);
    00039         bool            GetOnlySelected();
    00040  protected:
    00041
    00042         bool    layer[MAX_LAYERS];
    00043         bool    _onlySelected;
    00045         int             _numberOfLayers;
    00046 };
    00047
    00048 #endif

group.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page