class WinMD::Type::Struct

Included Modules

Direct Known Subclasses

Defined in:

winmd/template/type/struct.cr

Constructors

Instance Method Summary

Instance methods inherited from module WinMD::Architecture

architectures? architectures?, render_arches render_arches

Instance methods inherited from class WinMD::Type

file=(file : WinMD::File) file=, kind : String kind, kind=(kind : String) kind=, render render

Constructor methods inherited from class WinMD::Type

new(pull : JSON::PullParser) new

Instance methods inherited from class WinMD::Base

after_initialize after_initialize, file : WinMD::File | Nil file, file=(file : WinMD::File) file=, nested_type : Bool nested_type, nested_type=(nested_type : Bool) nested_type=, pad(p_size : Int32)
pad
pad
, pad_size : Int32 pad_size, pad_size=(pad_size : Int32) pad_size=, pointer=(pointer : Bool) pointer=, pointer? : Bool pointer?

Constructor methods inherited from class WinMD::Base

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def after_initialize #

[View source]
def architectures : Array(String) #

[View source]
def architectures=(architectures : ::Array(String)) #

[View source]
def attrs : Array(String) #

[View source]
def attrs=(attrs : ::Array(String)) #

[View source]
def comment : String | Nil #

[View source]
def comment=(comment : String | Nil) #

[View source]
def fields : Array(WinMD::Type::Struct::StructField) #

[View source]
def fields=(fields : ::Array(WinMD::Type::Struct::StructField)) #

[View source]
def file=(file : WinMD::File) #

[View source]
def fix_pad_size #

[View source]
def is_union? : Bool #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def namespace : String #

[View source]
def namespace=(namespace : String) #

[View source]
def nested_types : Array(WinMD::Type) #

[View source]
def nested_types=(nested_types : ::Array(WinMD::Type)) #

[View source]
def packing_size : Int32 #

[View source]
def packing_size=(packing_size : Int32) #

[View source]
def parent : Struct | Nil #

[View source]
def parent=(parent : Struct | Nil) #

[View source]
def platform : String | Nil #

[View source]
def platform=(platform : String | Nil) #

[View source]
def render #

[View source]
def size : Int32 #

[View source]
def size=(size : Int32) #

[View source]
def union : Bool #

[View source]
def union=(union : Bool) #

[View source]