class TurboRex::MSRPC::MIDL::DataType::Pointer

Attributes

level[RW]
pointee[R]
type[R]

Public Class Methods

new(pointee, type, level=1) click to toggle source
# 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

Protected Instance Methods

get_level() click to toggle source
# File lib/turborex/msrpc/midl.rb, line 203
def get_level
  @pointee.is_a?(Pointer) ? @level += @pointee.get_level : @level
end