Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / cython / src / Cython / Includes / Deprecated / stl.pxd
blob22248d2655eeddea1165486f8cbb7bff9726b9ed
1 cdef extern from "<vector>" namespace std:
3         cdef cppclass vector[TYPE]:
4                 #constructors
5                 __init__()
6                 __init__(vector&)
7                 __init__(int)
8                 __init__(int, TYPE&)
9                 __init__(iterator, iterator)
10                 #operators
11                 TYPE& __getitem__(int)
12                 TYPE& __setitem__(int, TYPE&)
13                 vector __new__(vector&)
14                 bool __eq__(vector&, vector&)
15                 bool __ne__(vector&, vector&)
16                 bool __lt__(vector&, vector&)
17                 bool __gt__(vector&, vector&)
18                 bool __le__(vector&, vector&)
19                 bool __ge__(vector&, vector&)
20                 #others
21                 void assign(int, TYPE)
22                 #void assign(iterator, iterator)
23                 TYPE& at(int)
24                 TYPE& back()
25                 iterator begin()
26                 int capacity()
27                 void clear()
28                 bool empty()
29                 iterator end()
30                 iterator erase(iterator)
31                 iterator erase(iterator, iterator)
32                 TYPE& front()
33                 iterator insert(iterator, TYPE&)
34                 void insert(iterator, int, TYPE&)
35                 void insert(iterator, iterator)
36                 int max_size()
37                 void pop_back()
38                 void push_back(TYPE&)
39                 iterator rbegin()
40                 iterator rend()
41                 void reserve(int)
42                 void resize(int)
43                 void resize(int, TYPE&) #void resize(size_type num, const TYPE& = TYPE())
44                 int size()
45                 void swap(container&)
47 cdef extern from "<deque>" namespace std:
49         cdef cppclass deque[TYPE]:
50                 #constructors
51                 __init__()
52                 __init__(deque&)
53                 __init__(int)
54                 __init__(int, TYPE&)
55                 __init__(iterator, iterator)
56                 #operators
57                 TYPE& operator[]( size_type index );
58                 const TYPE& operator[]( size_type index ) const;
59                 deque __new__(deque&);
60                 bool __eq__(deque&, deque&);
61                 bool __ne__(deque&, deque&);
62                 bool __lt__(deque&, deque&);
63                 bool __gt__(deque&, deque&);
64                 bool __le__(deque&, deque&);
65                 bool __ge__(deque&, deque&);
66                 #others
67                 void assign(int, TYPE&)
68                 void assign(iterator, iterator)
69                 TYPE& at(int)
70                 TYPE& back()
71                 iterator begin()
72                 void clear()
73                 bool empty()
74                 iterator end()
75                 iterator erase(iterator)
76                 iterator erase(iterator, iterator)
77                 TYPE& front()
78                 iterator insert(iterator, TYPE&)
79                 void insert(iterator, int, TYPE&)
80                 void insert(iterator, iterator, iterator)
81                 int max_size()
82                 void pop_back()
83                 void pop_front()
84                 void push_back(TYPE&)
85                 void push_front(TYPE&)
86                 iterator rbegin()
87                 iterator rend()
88                 void resize(int)
89                 void resize(int, TYPE&)
90                 int size()
91                 void swap(container&)