1ExtUtils::Typemaps::STLU:s:eLrisCto(n3t)ributed Perl DocEuxmteUnttialtsi:o:nTypemaps::STL::List(3)
2
3
4

NAME

6       ExtUtils::Typemaps::STL::List - A set of typemaps for STL std::lists
7

SYNOPSIS

9         use ExtUtils::Typemaps::STL::List;
10         # First, read my own type maps:
11         my $private_map = ExtUtils::Typemaps->new(file => 'my.map');
12
13         # Then, get the object map set and merge it into my maps
14         $private_map->merge(typemap => ExtUtils::Typemaps::STL::List->new);
15
16         # Now, write the combined map to an output file
17         $private_map->write(file => 'typemap');
18

DESCRIPTION

20       "ExtUtils::Typemaps::STL::List" is an "ExtUtils::Typemaps" subclass
21       that provides a set of mappings for C++ STL lists.  These are:
22
23         TYPEMAP
24         std::list<double>             T_STD_LIST_DOUBLE
25         std::list<double>*            T_STD_LIST_DOUBLE_PTR
26
27         std::list<int>                T_STD_LIST_INT
28         std::list<int>*               T_STD_LIST_INT_PTR
29
30         std::list<unsigned int>       T_STD_LIST_UINT
31         std::list<unsigned int>*      T_STD_LIST_UINT_PTR
32
33         std::list<std::string>        T_STD_LIST_STD_STRING
34         std::list<std::string>*       T_STD_LIST_STD_STRING_PTR
35
36         std::list<char*>              T_STD_LIST_CSTRING
37         std::list<char*>*             T_STD_LIST_CSTRING_PTR
38
39       All of these mean that the lists are converted to references to Perl
40       arrays and vice versa.
41

METHODS

43       These are the overridden methods:
44
45   new
46       Creates a new "ExtUtils::Typemaps::STL::List" object.  It acts as any
47       other "ExtUtils::Typemaps" object, except that it has the list type
48       maps initialized.
49

SEE ALSO

51       ExtUtils::Typemaps, ExtUtils::Typemaps::Default,
52       ExtUtils::Typemaps::ObjectMap, ExtUtils::Typemaps::STL,
53       ExtUtils::Typemaps::STL::String, ExtUtils::Typemaps::STL::Vector
54

AUTHOR

56       Steffen Mueller <smueller@cpan.org>
57
59       Copyright 2013 by Steffen Mueller
60
61       This program is free software; you can redistribute it and/or modify it
62       under the same terms as Perl itself.
63
64
65
66perl v5.32.0                      2020-07-28  ExtUtils::Typemaps::STL::List(3)
Impressum