NAME
ExtUtils::Typemaps::STL::List - A set of typemaps for STL std::lists
SYNOPSIS
use ExtUtils::Typemaps::STL::List;# First, read my own type maps:my $private_map = ExtUtils::Typemaps->new(file => 'my.map');# Then, get the object map set and merge it into my maps$private_map->merge(typemap => ExtUtils::Typemaps::STL::List->new);# Now, write the combined map to an output file$private_map->write(file => 'typemap');
DESCRIPTION
"ExtUtils::Typemaps::STL::List" is an "ExtUtils::Typemaps" subclass that provides a set of mappings for C++ STL lists. These are:
TYPEMAPstd::list<double> T_STD_LIST_DOUBLEstd::list<double>* T_STD_LIST_DOUBLE_PTRstd::list<int> T_STD_LIST_INTstd::list<int>* T_STD_LIST_INT_PTRstd::list<unsigned int> T_STD_LIST_UINTstd::list<unsigned int>* T_STD_LIST_UINT_PTRstd::list<std::string> T_STD_LIST_STD_STRINGstd::list<std::string>* T_STD_LIST_STD_STRING_PTRstd::list<char*> T_STD_LIST_CSTRINGstd::list<char*>* T_STD_LIST_CSTRING_PTR
All of these mean that the lists are converted to references to Perl arrays and vice versa.
METHODS
These are the overridden methods:
new
Creates a new "ExtUtils::Typemaps::STL::List" object. It acts as any other "ExtUtils::Typemaps" object, except that it has the list type maps initialized.
SEE ALSO
ExtUtils::Typemaps, ExtUtils::Typemaps::Default, ExtUtils::Typemaps::ObjectMap, ExtUtils::Typemaps::STL, ExtUtils::Typemaps::STL::String, ExtUtils::Typemaps::STL::Vector
AUTHOR
Steffen Mueller <[email protected]>
COPYRIGHT AND LICENSE
Copyright 2013 by Steffen Mueller
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.