XS::Framework::Manual::SVAPI::List - XS::Framework List C++ class reference
The purpose of List class is to properly call CallProxy in list context, as well as return into perl list instead of array (this is provided by shipped typemap specialization).
List
CallProxy
List is child-class of Array, so it basically inherits all Array's methods.
Array
The List-specific methods, which provide list context for CallProxy are:
List (const CallProxy& p) List& operator= (const CallProxy& p)
All other methods are quite trivial, and only their signature is provided here:
List () {} List (SV* sv, bool policy = INCREMENT) List (AV* sv, bool policy = INCREMENT) List (const Array& oth) List (Array&& oth) List (const Sv& oth) List (Sv&& oth) List& operator= (SV* val) List& operator= (AV* val) List& operator= (const Array& oth) List& operator= (Array&& oth) List& operator= (const Sv& oth) List& operator= (Sv&& oth) List& operator= (const CallProxy& p)
Assignment operrators are NULL-safe.
XS::Framework
XS::Framework::Manual::SVAPI
XS::Framework::Manual::SVAPI::Sv
XS::Framework::Manual::SVAPI::Array
To install XS::Framework, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XS::Framework
CPAN shell
perl -MCPAN -e shell install XS::Framework
For more information on module installation, please visit the detailed CPAN module installation guide.