Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
GdsParser::GdsDB::GdsShape Class Reference

#include <GdsObjects.h>

Inheritance diagram for GdsParser::GdsDB::GdsShape:
GdsParser::GdsDB::GdsObject GdsParser::GdsDB::GdsPath GdsParser::GdsDB::GdsPolygon GdsParser::GdsDB::GdsRectangle GdsParser::GdsDB::GdsText

Public Types

typedef GdsObject base_type
 base type
 
- Public Types inherited from GdsParser::GdsDB::GdsObject
typedef int coordinate_type
 coordinate types
 
typedef gtl::point_data
< coordinate_type
point_type
 
typedef gtl::interval_data
< coordinate_type
interval_type
 interval type
 
typedef gtl::rectangle_data
< coordinate_type
rectangle_type
 rectangle type
 
typedef gtl::polygon_data
< coordinate_type
polygon_type
 polygon type
 
typedef
gtl::polygon_90_set_data
< coordinate_type
polygon_set_type
 polygon set type
 

Public Member Functions

 GdsShape ()
 default constructor
 
 GdsShape (GdsShape const &rhs)
 
GdsShapeoperator= (GdsShape const &rhs)
 
 ~GdsShape ()
 destructor
 
int layer () const
 
void setLayer (int l)
 
int datatype () const
 
void setDatatype (int d)
 
- Public Member Functions inherited from GdsParser::GdsDB::GdsObject
 GdsObject ()
 default constructor
 
 GdsObject (GdsObject const &rhs)
 copy constructor More...
 
GdsObjectoperator= (GdsObject const &rhs)
 assignment More...
 
virtual ~GdsObject ()
 destructor More...
 

Protected Attributes

int m_layer
 layer
 
int m_datatype
 data type
 

Detailed Description

Base class for all gdsii shapes with layer and datatype attributes

Definition at line 73 of file GdsObjects.h.

Constructor & Destructor Documentation

GdsParser::GdsDB::GdsShape::GdsShape ( GdsShape const &  rhs)

copy constructor

Parameters
rhsan object

Member Function Documentation

int GdsParser::GdsDB::GdsShape::datatype ( ) const
inline
Returns
data type

Definition at line 97 of file GdsObjects.h.

int GdsParser::GdsDB::GdsShape::layer ( ) const
inline
Returns
layer

Definition at line 92 of file GdsObjects.h.

GdsShape& GdsParser::GdsDB::GdsShape::operator= ( GdsShape const &  rhs)

assignment

Parameters
rhsan object
void GdsParser::GdsDB::GdsShape::setDatatype ( int  d)
inline
Parameters
ddata type

Definition at line 99 of file GdsObjects.h.

void GdsParser::GdsDB::GdsShape::setLayer ( int  l)
inline
Parameters
llayer

Definition at line 94 of file GdsObjects.h.


The documentation for this class was generated from the following file: