Module: Gdsii::Access::Datatype
Overview
Access Datatype attribute
Instance Method Summary collapse
-
#datatype ⇒ Object
Get the datatype number (returns Fixnum).
-
#datatype=(val) ⇒ Object
Set the datatype number.
-
#datatype_record ⇒ Object
Get the datatype record (returns Record).
Instance Method Details
#datatype ⇒ Object
Get the datatype number (returns Fixnum)
35 |
# File 'lib/gdsii/mixins.rb', line 35 def datatype() @records.get_data(GRT_DATATYPE); end |
#datatype=(val) ⇒ Object
Set the datatype number
38 |
# File 'lib/gdsii/mixins.rb', line 38 def datatype=(val) @records.set(GRT_DATATYPE, val); end |
#datatype_record ⇒ Object
Get the datatype record (returns Record)
32 |
# File 'lib/gdsii/mixins.rb', line 32 def datatype_record() @records.get(GRT_DATATYPE); end |