Class LayerInfo (version 0.16)

Description: A structure encapsulating the layer properties

The layer properties describe how a layer is stored in a GDSII or OASIS file for example.

Class overview

Index

Method Overview

name=( string name )Set the layer name
[const] string nameRead accessor for the layer name
layer=( int layer )Set the layer number
[const] int layerRead accessor for the layer number
datatype=( int datatype )Set the datatype
[const] int datatypeRead accessor for the datatype
destroyExplicitly destroy the object
[const] bool destroyedTell, if the object was destroyed

[const] int datatype

Description: Read accessor for the datatype

datatype=( int datatype )

Description: Set the datatype

destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed

Description: Tell, if the object was destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] int layer

Description: Read accessor for the layer number

layer=( int layer )

Description: Set the layer number

[const] string name

Description: Read accessor for the layer name

name=( string name )

Description: Set the layer name

The name is set on OASIS input for example, if the layer has a name.