Module: Gdsii::Access::Sname

Included in:
Gdsii::ARef, SRef
Defined in:
lib/gdsii/mixins.rb

Overview

Access Sname attribute

Instance Method Summary collapse

Instance Method Details

#snameObject

Get the referenced structure name (returns String).



188
# File 'lib/gdsii/mixins.rb', line 188

def sname() @records.get_data(GRT_SNAME); end

#sname=(val) ⇒ Object

Set the referenced structure name.



193
# File 'lib/gdsii/mixins.rb', line 193

def sname=(val) @records.set(GRT_SNAME, val); end

#sname_recordObject

Get the referenced structure SNAME record (returns Record).



183
# File 'lib/gdsii/mixins.rb', line 183

def sname_record() @records.get(GRT_SNAME); end