1ExtUtils::XSpp::Node::MUesmebrerC(o3n)tributed Perl DocuEmxetnUttaitliso:n:XSpp::Node::Member(3)
2
3
4

NAME

6       ExtUtils::XSpp::Node::Member - Node representing a class member
7       variable
8

DESCRIPTION

10       An ExtUtils::XSpp::Node sub-class representing a single member variable
11       in a class such as
12
13         class FooBar {
14           int foo; // <-- this one
15         }
16
17       Member declarations do not produce any XS code unless they are
18       decorated by either %get or %set.
19

METHODS

21   new
22       Creates a new "ExtUtils::XSpp::Node::Member".
23
24       Named parameters: "cpp_name" indicating the C++ name of the member,
25       "perl_name" indicating the Perl name of the member (defaults to the
26       same as "cpp_name"), "type" indicates the (C++) type of the member and
27       finally "class", which is an ExtUtils::XSpp::Node::Class.
28
29   resolve_typemaps
30       Fetches the ExtUtils::XSpp::Typemap object for the type from the
31       typemap registry and stores a reference to the object.
32

ACCESSORS

34   cpp_name
35       Returns the C++ name of the member.
36
37   perl_name
38       Returns the Perl name of the member (defaults to same as C++).
39
40   set_perl_name
41       Sets the Perl name of the member.
42
43   type
44       Returns the C++ type for the member.
45
46   class
47       Returns the class (ExtUtils::XSpp::Node::Class) that the member belongs
48       to.
49
50   access
51       Returns 'public', 'protected' or 'private' depending on member access
52       declaration.
53
54   typemap
55       Returns the typemap for member type.
56
57   set_typemap( typemap )
58       Sets the typemap for member type.
59
60
61
62perl v5.32.1                      2021-01-27   ExtUtils::XSpp::Node::Member(3)
Impressum