Class: Mapi::Pst::TablePtr

Inherits:
Struct
  • Object
show all
Defined in:
lib/mapi/pst.rb

Overview

_pst_table_ptr_struct

Constant Summary collapse

UNPACK_STR =
'V3'
SIZE =
12

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ TablePtr

Returns a new instance of TablePtr.



547
548
549
550
# File 'lib/mapi/pst.rb', line 547

def initialize data
	data = data.unpack(UNPACK_STR) if String === data
	super(*data)
end

Instance Attribute Details

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



543
544
545
# File 'lib/mapi/pst.rb', line 543

def offset
  @offset
end

#startObject

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



543
544
545
# File 'lib/mapi/pst.rb', line 543

def start
  @start
end

#u1Object

Returns the value of attribute u1

Returns:

  • (Object)

    the current value of u1



543
544
545
# File 'lib/mapi/pst.rb', line 543

def u1
  @u1
end