Main Page Class Hierarchy Compound List File List Compound Members

# layerinf.h

    00001
    00002
    00003 /*
    00004 Program LAYERINF.H
    00005 Purpose Holds information about each layer
    00006 Programmers     R. Spekreijse & N. Noorlander
    00007 Last Update     12-12-1995
    00008 */
    00009
    00010 #ifndef LAYERINF_H
    00011 #define LAYERINF_H
    00012
    00013 #ifdef __GNUG__
    00014 #pragma interface
    00015 #endif
    00016
    00019
    00020 #include <string.h>
    00021 #include "misc.h"
    00022
    00026 class LayerInfo
    00027 {
    00028         public:
    00029                 LayerInfo();
    00030
    00031                 char*              Get_Name();
    00032                 long                    Get_BorderColor();
    00033                 long                    Get_FillColor();
    00034                 int                     Get_Brush();
    00035                 bool            Get_Visible();
    00036                 bool            Get_Selectable();
    00037                 bool            Get_Available();
    00038                 int                     Get_Order();
    00039                 bool      Get_ReadLayer();
    00040                 int                     Get_GdsInMapping();
    00041                 int                     Get_GdsOutMapping();
    00042
    00043                 void                    Set_Name(const char* name);
    00044                 void                    Set_BorderColor(unsigned char R = 0, unsigned char G = 0, unsigned char B = 0);
    00045                 void                    Set_BorderColor(long color = 0);
    00046                 void                    Set_FillColor(unsigned char R = 255, unsigned char G = 255, unsigned char B = 255);
    00047                 void                    Set_FillColor(long color = 0x00FFFFFFl);
    00048                 void                    Set_Visible(bool status = true);
    00049                 void                    Set_Selectable(bool status);
    00050                 void                    Set_Brush(int brush = 1);
    00051                 void                    Set_Available(bool status = false);
    00052                 void                    Set_Order(int order);
    00053                 void                    Set_Read(bool status = true);
    00054                 void                    Set_GdsInMapping(int layer);
    00055                 void                    Set_GdsOutMapping(int layer);
    00056
    00057                 LayerInfo&                      operator=(const LayerInfo&);
    00058                 int                                     operator==(const LayerInfo &other) const;
    00059                 int                                     operator!=(const LayerInfo &other) const;
    00060
    00061         protected:
    00063                 bool                            _selectable;
    00065                 bool                            _visible;
    00067                 bool                            _available;
    00069                 bool                            _readlayer;
    00071       long                                      _fillcolor;
    00073                 long                                    _bordercolor;
    00075                 char                                    _name[50];
    00077                 int                                     _brush;
    00079                 int                                     _order;
    00081                 int                                     _gdsinmap;
    00083                 int                                     _gdsoutmap;
    00084 };
    00085 #endif
    00086

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