Class: Quark::DatawireMdkMd::QuarkCallIfIsInstance

Inherits:
Object
  • Object
show all
Extended by:
DatawireQuarkCore::Static
Defined in:
lib/datawire_mdk_md.rb

Constant Summary

Constants included from DatawireQuarkCore::Static

DatawireQuarkCore::Static::Unassigned

Instance Method Summary collapse

Methods included from DatawireQuarkCore::Static

_lazy_statics, static, unlazy_statics

Constructor Details

#initializeQuarkCallIfIsInstance

Returns a new instance of QuarkCallIfIsInstance.



27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
# File 'lib/datawire_mdk_md.rb', line 27120

def initialize()
    
    super("quark._CallIfIsInstance")
    (self).name = "quark._CallIfIsInstance"
    (self).parameters = ::DatawireQuarkCore::List.new([])
    (self).fields = ::DatawireQuarkCore::List.new([::Quark.quark.reflect.Field.new("quark.UnaryCallable", "_underlying"), ::Quark.quark.reflect.Field.new("quark.reflect.Class", "_class")])
    (self).methods = ::DatawireQuarkCore::List.new([])
    (self).parents = ::DatawireQuarkCore::List.new(["quark.Object"])

    nil
end

Instance Method Details

#__init_fields__Object



27170
27171
27172
27173
27174
27175
# File 'lib/datawire_mdk_md.rb', line 27170

def __init_fields__()
    
    super

    nil
end

#_getClassObject



27149
27150
27151
27152
27153
27154
# File 'lib/datawire_mdk_md.rb', line 27149

def _getClass()
    
    return ::DatawireQuarkCore.cast(nil) { ::String }

    nil
end

#_getField(name) ⇒ Object



27156
27157
27158
27159
27160
27161
# File 'lib/datawire_mdk_md.rb', line 27156

def _getField(name)
    
    return nil

    nil
end

#_setField(name, value) ⇒ Object



27163
27164
27165
27166
27167
27168
# File 'lib/datawire_mdk_md.rb', line 27163

def _setField(name, value)
    
    nil

    nil
end

#construct(args) ⇒ Object



27135
27136
27137
27138
27139
27140
# File 'lib/datawire_mdk_md.rb', line 27135

def construct(args)
    
    return ::Quark.quark._CallIfIsInstance.new(::DatawireQuarkCore.cast((args)[0]) { ::Quark.quark.UnaryCallable }, ::DatawireQuarkCore.cast((args)[1]) { ::Quark.quark.reflect.QuarkClass })

    nil
end

#isAbstractObject



27142
27143
27144
27145
27146
27147
# File 'lib/datawire_mdk_md.rb', line 27142

def isAbstract()
    
    return false

    nil
end