NAME

XS::Framework::Manual::SVAPI::List - XS::Framework List C++ class reference

List

Overview

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 is child-class of Array, so it basically inherits all Array's methods.

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.

SEE ALSO

XS::Framework

XS::Framework::Manual::SVAPI

XS::Framework::Manual::SVAPI::Sv

XS::Framework::Manual::SVAPI::Array