Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ExtUtils::XSpp::Node::UsereContributed Perl DocExtUtils::XSpp::Node::Member(3)

NAME
       ExtUtils::XSpp::Node::Member - Node representing	a class	member
       variable

DESCRIPTION
       An 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.

METHODS
   new
       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 ExtUtils::XSpp::Node::Class.

   resolve_typemaps
       Fetches the ExtUtils::XSpp::Typemap object for the type from the
       typemap registry	and stores a reference to the object.

ACCESSORS
   cpp_name
       Returns the C++ name of the member.

   perl_name
       Returns the Perl	name of	the member (defaults to	same as	C++).

   set_perl_name
       Sets the	Perl name of the member.

   type
       Returns the C++ type for	the member.

   class
       Returns the class (ExtUtils::XSpp::Node::Class) that the	member belongs
       to.

   access
       Returns 'public', 'protected' or	'private' depending on member access
       declaration.

   typemap
       Returns the typemap for member type.

   set_typemap(	typemap	)
       Sets the	typemap	for member type.

perl v5.32.0			  2020-08-09   ExtUtils::XSpp::Node::Member(3)

NAME | DESCRIPTION | METHODS | ACCESSORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ExtUtils::XSpp::Node::Member&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help