class Hexspace::TTypeEntry

Constants

ARRAYENTRY
FIELDS
MAPENTRY
PRIMITIVEENTRY
STRUCTENTRY
UNIONENTRY
USERDEFINEDTYPEENTRY

Public Class Methods

arrayEntry(val) click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 481
def arrayEntry(val)
  TTypeEntry.new(:arrayEntry, val)
end
mapEntry(val) click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 485
def mapEntry(val)
  TTypeEntry.new(:mapEntry, val)
end
primitiveEntry(val) click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 477
def primitiveEntry(val)
  TTypeEntry.new(:primitiveEntry, val)
end
structEntry(val) click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 489
def structEntry(val)
  TTypeEntry.new(:structEntry, val)
end
unionEntry(val) click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 493
def unionEntry(val)
  TTypeEntry.new(:unionEntry, val)
end
userDefinedTypeEntry(val) click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 497
def userDefinedTypeEntry(val)
  TTypeEntry.new(:userDefinedTypeEntry, val)
end

Public Instance Methods

struct_fields() click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 518
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 520
def validate
  raise(StandardError, 'Union fields are not set.') if get_set_field.nil? || get_value.nil?
end