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


Manual Reference Pages  -  EXTUTILS::XSPP::NODE::CLASS (3)

.ds Aq ’

NAME

ExtUtils::XSpp::Node::Class - A class (inherits from Package).

CONTENTS

DESCRIPTION

An ExtUtils::XSpp::Node::Package sub-class representing a class declaration such as



  %name{PerlClassName} class MyClass : public BaseClass
  {
    ...
  }



The Perl-level class name and the C++ class name attributes are inherited from the ExtUtils::XSpp::Node::Package class.

METHODS

    new

Creates a new ExtUtils::XSpp::Node::Class object.

Optional named parameters: methods can be a reference to an array of methods (ExtUtils::XSpp::Node::Method) of the class, and base_classes, a reference to an array of base classes (ExtUtils::XSpp::Node::Class objects). catch may be a list of exception names that all methods in the class handle.

    add_methods

Adds new methods to the class. By default, their scope is public. Takes arbitrary number of arguments which are processed in order.

If an argument is an ExtUtils::XSpp::Node::Access, the current method scope is changed accordingly for all following methods.

If an argument is an ExtUtils::XSpp::Node::Method it is added to the list of methods of the class. The method’s class name is set to the current class and its scope is set to the current method scope.

ACCESSORS

    methods

Returns the internal reference to the array of methods in this class. Each of the methods is an ExtUtils::XSpp::Node::Method

    base_classes

Returns the internal reference to the array of base classes of this class.

If the base classes have been defined in the same file, these are the complete class objects including method definitions, otherwise only the C++ and Perl name of the class are available as attributes.

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


perl v5.20.3 EXTUTILS::XSPP::NODE::CLASS (3) 2016-03-17

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