ExtUtils::XSpp::Node::Member - Node representing a class member variable |
ExtUtils::XSpp::Node::Member - Node representing a class member variable
An the ExtUtils::XSpp::Node manpage sub-class representing a single member variable in a class such as
class FooBar { int foo; // <-- this one }
Member declarations do not produce any XS code unless they are
decorated by either %get
or %set
.
Creates a new ExtUtils::XSpp::Node::Member
.
Named parameters: cpp_name
indicating the C++ name of the member,
perl_name
indicating the Perl name of the member (defaults to the
same as cpp_name
), type
indicates the (C++) type of the member
and finally class
, which is an the ExtUtils::XSpp::Node::Class manpage.
Fetches the the ExtUtils::XSpp::Typemap manpage object for the type from the typemap registry and stores a reference to the object.
Returns the C++ name of the member.
Returns the Perl name of the member (defaults to same as C++).
Sets the Perl name of the member.
Returns the C++ type for the member.
Returns the class (the ExtUtils::XSpp::Node::Class manpage) that the member belongs to.
Returns 'public'
, 'protected'
or 'private'
depending on
member access declaration.
Returns the typemap for member type.
Sets the typemap for member type.
ExtUtils::XSpp::Node::Member - Node representing a class member variable |