GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ExtUtils::XSpp::Node::EnumValue(3) User Contributed Perl Documentation ExtUtils::XSpp::Node::EnumValue(3)

ExtUtils::XSpp::Node::EnumValue - Node representing an enum element

An ExtUtils::XSpp::Node subclass representing an "enum" declaration. As an example

    enum Bool
    {
        FALSE = 0,
        TRUE
    };

Will create two "ExtUtils::XSpp::Node::EnumValue" objects, the first with "name" "FALSE" and "value" 0, the second with "name" "TRUE" and no value.

Enumerations do not affect the generated code.

    my $e = ExtUtils::XSpp::Node::EnumValue->new( name  => 'FALSE',
                                                  value => '0x1 | 0x4',
                                                  );

Creates a new "ExtUtils::XSpp::Node::EnumValue".

"value" is optional.

Returns the name of the enumeration element.

Returns the initializer of the enumeration element, or "undef".
2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.