class RbGCCXML::ReferenceType

References a <ReferenceType> node, which is a reference to another Type.

Public Instance Methods

==(val) click to toggle source
# File lib/rbgccxml/nodes/types/reference_type.rb, line 6
def ==(val)
  check_sub_type_without(val, %r\&/)
end
to_cpp(qualified = true) click to toggle source
# File lib/rbgccxml/nodes/types/reference_type.rb, line 10
def to_cpp(qualified = true)
  type = NodeCache.find(attributes["type"])
  "#{type.to_cpp(qualified)}&"
end