Class: TurboRex::MSRPC::MIDL::DataType::Pointer

Inherits:
TurboRex::MSRPC::MIDL::DataType show all
Defined in:
lib/turborex/msrpc/midl.rb

Instance Attribute Summary collapse

Attributes inherited from TurboRex::MSRPC::MIDL::DataType

#bytesize, #symbol_name

Instance Method Summary collapse

Constructor Details

#initialize(pointee, type, level = 1) ⇒ Pointer

Returns a new instance of Pointer.



193
194
195
196
197
198
199
# File 'lib/turborex/msrpc/midl.rb', line 193

def initialize(pointee, type, level=1)
  @pointee = pointee
  @type = type # ref, full, unique
  @level = level

  get_level
end

Instance Attribute Details

#levelObject

Returns the value of attribute level.



191
192
193
# File 'lib/turborex/msrpc/midl.rb', line 191

def level
  @level
end

#pointeeObject (readonly)

Returns the value of attribute pointee.



189
190
191
# File 'lib/turborex/msrpc/midl.rb', line 189

def pointee
  @pointee
end

#typeObject (readonly)

Returns the value of attribute type.



190
191
192
# File 'lib/turborex/msrpc/midl.rb', line 190

def type
  @type
end