vala-1.0 Reference Manual

Synopsis

public class Struct : Typesymbol  {
    public    Method                    default_construction_method { get; set; } ;


    public                              Struct                    ( string              name,
                                                                    SourceReference?    source_reference = null ) ;


    public    void                      add_type_parameter        ( TypeParameter       p ) ;
    public    void                      add_constant              ( Constant            c ) ;
    public    void                      add_field                 ( Field               f ) ;
    public    Gee.Collection< Field >   get_fields                (  ) ;
    public    void                      add_method                ( Method              m ) ;
    public    Gee.Collection< Method >  get_methods               (  ) ;
    public    bool                      is_integer_type           (  ) ;
    public    bool                      is_floating_type          (  ) ;
    public    int                       get_rank                  (  ) ;
    public    void                      process_attributes        (  ) ;
    public    void                      set_type_id               ( string?             name ) ;
    public    void                      add_base_type             ( DataType            type ) ;
    public    Gee.Collection< DataType >  get_base_types            (  ) ;
    public    bool                      is_simple_type            (  ) ;
    public    void                      set_simple_type           ( bool                simple_type ) ;
}

Struct Description

Details

Constructor Details

Struct ()
    public                              Struct                    ( string              name,
                                                                    SourceReference?    source_reference = null ) ;		

Field Details

Signal Details

Property Details

default_construction_method
    public    Method                    default_construction_method { get; set; } ;		

Method Details

add_type_parameter ()
    public    void                      add_type_parameter        ( TypeParameter       p ) ;		

add_constant ()
    public    void                      add_constant              ( Constant            c ) ;		

add_field ()
    public    void                      add_field                 ( Field               f ) ;		

get_fields ()
    public    Gee.Collection< Field >   get_fields                (  ) ;		

add_method ()
    public    void                      add_method                ( Method              m ) ;		

get_methods ()
    public    Gee.Collection< Method >  get_methods               (  ) ;		

is_integer_type ()
    public    bool                      is_integer_type           (  ) ;		

is_floating_type ()
    public    bool                      is_floating_type          (  ) ;		

get_rank ()
    public    int                       get_rank                  (  ) ;		

process_attributes ()
    public    void                      process_attributes        (  ) ;		

set_type_id ()
    public    void                      set_type_id               ( string?             name ) ;		

add_base_type ()
    public    void                      add_base_type             ( DataType            type ) ;		

get_base_types ()
    public    Gee.Collection< DataType >  get_base_types            (  ) ;		

is_simple_type ()
    public    bool                      is_simple_type            (  ) ;		

set_simple_type ()
    public    void                      set_simple_type           ( bool                simple_type ) ;		


Created by Valadoc