class IDL::Type::Const
Attributes
type[R]
Public Class Methods
new(t)
click to toggle source
# File lib/ridl/type.rb, line 586 def initialize(t) @type = t @typename = "const #{t.typename}" end
Public Instance Methods
instantiate(instantiation_context)
click to toggle source
# File lib/ridl/type.rb, line 615 def instantiate(instantiation_context) self.is_template? ? Type::Const.new(@type.instantiate(instantiation_context)) : self end
is_anonymous?()
click to toggle source
# File lib/ridl/type.rb, line 607 def is_anonymous? t.resolved_type.is_anonymous? end
is_complete?()
click to toggle source
# File lib/ridl/type.rb, line 599 def is_complete? @type.resolved_type.is_complete? end
is_local?(recurstk = [])
click to toggle source
# File lib/ridl/type.rb, line 603 def is_local?(recurstk = []) @type.resolved_type.is_local?(recurstk) end
is_node?(node_class)
click to toggle source
# File lib/ridl/type.rb, line 619 def is_node?(node_class) @type.is_node?(node_class) end
is_template?()
click to toggle source
# File lib/ridl/type.rb, line 611 def is_template? @type.is_template? end
matches?(idltype)
click to toggle source
Calls superclass method
IDL::Type#matches?
# File lib/ridl/type.rb, line 627 def matches?(idltype) super && self.type.resolved_type.matches?(idltype.type.resolved_type) end
narrow(obj)
click to toggle source
# File lib/ridl/type.rb, line 595 def narrow(obj) @type.narrow(obj) end
resolved_node()
click to toggle source
# File lib/ridl/type.rb, line 623 def resolved_node @type.resolved_node end
typename()
click to toggle source
# File lib/ridl/type.rb, line 591 def typename @typename end