Class: Relyze::FileModel::Value
- Inherits:
-
Object
- Object
- Relyze::FileModel::Value
- Defined in:
- C:/Program Files/Relyze/lib/relyze/core/file_model.rb
Overview
A Value is the base class to describe all structure items in a model.
Instance Method Summary collapse
-
#color ⇒ Integer?
Get the color of this value as displayed in the GUI.
-
#color=(color) ⇒ Object
Set the color of this value as displayed in the GUI.
-
#comment ⇒ String
Get the comment for this value.
-
#comment=(comment) ⇒ String
Set the comment for this value.
-
#name ⇒ String
Get the name of this value.
-
#name=(name) ⇒ String
Set the name of this value.
-
#offset ⇒ Integer
Get the file offset of this value.
-
#size ⇒ Integer
Get the byte size of this value.
-
#to_s ⇒ String
Get the String representation of this value.
-
#type ⇒ Symbol
Get the type of this value.
-
#value ⇒ true, ...
Get the raw value.
Instance Method Details
#color ⇒ Integer?
Get the color of this value as displayed in the GUI.
147 148 149 |
# File 'C:/Program Files/Relyze/lib/relyze/core/file_model.rb', line 147 def color return nil end |
#color=(color) ⇒ Object
Set the color of this value as displayed in the GUI.
154 155 156 |
# File 'C:/Program Files/Relyze/lib/relyze/core/file_model.rb', line 154 def color=( color ) return color end |
#comment ⇒ String
Get the comment for this value.
97 98 99 |
# File 'C:/Program Files/Relyze/lib/relyze/core/file_model.rb', line 97 def comment return nil end |
#comment=(comment) ⇒ String
Set the comment for this value.
105 106 107 |
# File 'C:/Program Files/Relyze/lib/relyze/core/file_model.rb', line 105 def comment=( comment ) return nil end |
#name ⇒ String
Get the name of this value.
82 83 84 |
# File 'C:/Program Files/Relyze/lib/relyze/core/file_model.rb', line 82 def name return nil end |
#name=(name) ⇒ String
Set the name of this value.
90 91 92 |
# File 'C:/Program Files/Relyze/lib/relyze/core/file_model.rb', line 90 def name=( name ) return nil end |
#offset ⇒ Integer
Get the file offset of this value.
119 120 121 |
# File 'C:/Program Files/Relyze/lib/relyze/core/file_model.rb', line 119 def offset return 0 end |
#size ⇒ Integer
Get the byte size of this value.
112 113 114 |
# File 'C:/Program Files/Relyze/lib/relyze/core/file_model.rb', line 112 def size return 0 end |
#to_s ⇒ String
Get the String representation of this value.
126 127 128 |
# File 'C:/Program Files/Relyze/lib/relyze/core/file_model.rb', line 126 def to_s return '' end |
#type ⇒ Symbol
Get the type of this value.
133 134 135 |
# File 'C:/Program Files/Relyze/lib/relyze/core/file_model.rb', line 133 def type return nil end |
#value ⇒ true, ...
Get the raw value
140 141 142 |
# File 'C:/Program Files/Relyze/lib/relyze/core/file_model.rb', line 140 def value return nil end |