![]() |
![]()
| ![]() |
![]()
NAMEExtUtils::XSpp::Node::Member - Node representing a class member variable DESCRIPTIONAn ExtUtils::XSpp::Node 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. METHODSnewCreates 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 ExtUtils::XSpp::Node::Class. resolve_typemapsFetches the ExtUtils::XSpp::Typemap object for the type from the typemap registry and stores a reference to the object. ACCESSORScpp_nameReturns the C++ name of the member. perl_nameReturns the Perl name of the member (defaults to same as C++). set_perl_nameSets the Perl name of the member. typeReturns the C++ type for the member. classReturns the class (ExtUtils::XSpp::Node::Class) that the member belongs to. accessReturns 'public', 'protected' or 'private' depending on member access declaration. typemapReturns the typemap for member type. set_typemap( typemap )Sets the typemap for member type.
|