vala-1.0 Reference Manual

Synopsis

public class Enum : Typesymbol  {
    public    weak bool                 is_flags                  { get; set; } ;
    public    weak bool                 has_type_id               { get; set; } ;


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


    public    void                      add_value                 ( EnumValue           value ) ;
    public    void                      add_method                ( Method              m ) ;
    public    Gee.Collection< EnumValue >  get_values                (  ) ;
    public    Gee.Collection< Method >  get_methods               (  ) ;
    public    string                    get_cprefix               (  ) ;
    public    void                      set_cprefix               ( string              cprefix ) ;
    public    void                      process_attributes        (  ) ;
    public    void                      set_type_id               ( string?             type_id ) ;
}

Enum Description

Details

Constructor Details

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

Field Details

Signal Details

Property Details

is_flags
    public    weak bool                 is_flags                  { get; set; } ;		

has_type_id
    public    weak bool                 has_type_id               { get; set; } ;		

Method Details

add_value ()
    public    void                      add_value                 ( EnumValue           value ) ;		

add_method ()
    public    void                      add_method                ( Method              m ) ;		

get_values ()
    public    Gee.Collection< EnumValue >  get_values                (  ) ;		

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

get_cprefix ()
    public    string                    get_cprefix               (  ) ;		

set_cprefix ()
    public    void                      set_cprefix               ( string              cprefix ) ;		

process_attributes ()
    public    void                      process_attributes        (  ) ;		

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


Created by Valadoc