Class: OLEStorageLitePPS
- Inherits:
-
OLEStorageLite
- Object
- OLEStorageLite
- OLEStorageLitePPS
- Defined in:
- lib/WriteExcel/storage_lite.rb
Direct Known Subclasses
Constant Summary
Constants inherited from OLEStorageLite
OLEStorageLite::DATA_SIZE_SMALL, OLEStorageLite::LONG_INT_SIZE, OLEStorageLite::PPS_SIZE, OLEStorageLite::PPS_TYPE_DIR, OLEStorageLite::PPS_TYPE_FILE, OLEStorageLite::PPS_TYPE_ROOT
Instance Attribute Summary collapse
-
#child ⇒ Object
Returns the value of attribute child.
-
#data ⇒ Object
Returns the value of attribute data.
-
#dir_pps ⇒ Object
Returns the value of attribute dir_pps.
-
#name ⇒ Object
Returns the value of attribute name.
-
#next_pps ⇒ Object
Returns the value of attribute next_pps.
-
#no ⇒ Object
Returns the value of attribute no.
-
#pps_file ⇒ Object
readonly
Returns the value of attribute pps_file.
-
#prev_pps ⇒ Object
Returns the value of attribute prev_pps.
-
#size ⇒ Object
Returns the value of attribute size.
-
#start_block ⇒ Object
Returns the value of attribute start_block.
-
#time_1st ⇒ Object
Returns the value of attribute time_1st.
-
#time_2nd ⇒ Object
Returns the value of attribute time_2nd.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(iNo, sNm, iType, iPrev, iNext, iDir, raTime1st, raTime2nd, iStart, iSize, sData, raChild) ⇒ OLEStorageLitePPS
constructor
A new instance of OLEStorageLitePPS.
Methods inherited from OLEStorageLite
#asc2ucs, #localDate2OLE, #ucs2asc
Constructor Details
#initialize(iNo, sNm, iType, iPrev, iNext, iDir, raTime1st, raTime2nd, iStart, iSize, sData, raChild) ⇒ OLEStorageLitePPS
Returns a new instance of OLEStorageLitePPS.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/WriteExcel/storage_lite.rb', line 49 def initialize(iNo, sNm, iType, iPrev, iNext, iDir, raTime1st, raTime2nd, iStart, iSize, sData, raChild) @no = iNo @name = sNm @type = iType @prev_pps = iPrev @next_pps = iNext @dir_pps = iDir @time_1st = raTime1st @time_2nd = raTime2nd @start_block = iStart @size = iSize @data = sData @child = raChild @pps_file = nil end |
Instance Attribute Details
#child ⇒ Object
Returns the value of attribute child.
46 47 48 |
# File 'lib/WriteExcel/storage_lite.rb', line 46 def child @child end |
#data ⇒ Object
Returns the value of attribute data.
46 47 48 |
# File 'lib/WriteExcel/storage_lite.rb', line 46 def data @data end |
#dir_pps ⇒ Object
Returns the value of attribute dir_pps.
45 46 47 |
# File 'lib/WriteExcel/storage_lite.rb', line 45 def dir_pps @dir_pps end |
#name ⇒ Object
Returns the value of attribute name.
45 46 47 |
# File 'lib/WriteExcel/storage_lite.rb', line 45 def name @name end |
#next_pps ⇒ Object
Returns the value of attribute next_pps.
45 46 47 |
# File 'lib/WriteExcel/storage_lite.rb', line 45 def next_pps @next_pps end |
#no ⇒ Object
Returns the value of attribute no.
45 46 47 |
# File 'lib/WriteExcel/storage_lite.rb', line 45 def no @no end |
#pps_file ⇒ Object (readonly)
Returns the value of attribute pps_file.
47 48 49 |
# File 'lib/WriteExcel/storage_lite.rb', line 47 def pps_file @pps_file end |
#prev_pps ⇒ Object
Returns the value of attribute prev_pps.
45 46 47 |
# File 'lib/WriteExcel/storage_lite.rb', line 45 def prev_pps @prev_pps end |
#size ⇒ Object
Returns the value of attribute size.
46 47 48 |
# File 'lib/WriteExcel/storage_lite.rb', line 46 def size @size end |
#start_block ⇒ Object
Returns the value of attribute start_block.
46 47 48 |
# File 'lib/WriteExcel/storage_lite.rb', line 46 def start_block @start_block end |
#time_1st ⇒ Object
Returns the value of attribute time_1st.
46 47 48 |
# File 'lib/WriteExcel/storage_lite.rb', line 46 def time_1st @time_1st end |
#time_2nd ⇒ Object
Returns the value of attribute time_2nd.
46 47 48 |
# File 'lib/WriteExcel/storage_lite.rb', line 46 def time_2nd @time_2nd end |
#type ⇒ Object
Returns the value of attribute type.
45 46 47 |
# File 'lib/WriteExcel/storage_lite.rb', line 45 def type @type end |