Add missing parameter names in STL container wrappers
Mostly in STL copy constructors. Best to have parameter names as they make their way into the wrappers in some target languages.
This commit is contained in:
parent
8c207dd3a9
commit
6d0c495fd0
49 changed files with 72 additions and 74 deletions
|
|
@ -36,7 +36,7 @@ namespace std{
|
||||||
|
|
||||||
list();
|
list();
|
||||||
list(unsigned int size, const T& value = T());
|
list(unsigned int size, const T& value = T());
|
||||||
list(const list<T> &);
|
list(const list<T> &other);
|
||||||
|
|
||||||
~list();
|
~list();
|
||||||
void assign(unsigned int n, const T& value);
|
void assign(unsigned int n, const T& value);
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ namespace std {
|
||||||
typedef K key_type;
|
typedef K key_type;
|
||||||
typedef T mapped_type;
|
typedef T mapped_type;
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ namespace std {
|
||||||
typedef K key_type;
|
typedef K key_type;
|
||||||
typedef T mapped_type;
|
typedef T mapped_type;
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -219,7 +219,7 @@ namespace std {
|
||||||
typedef K key_type;
|
typedef K key_type;
|
||||||
typedef T mapped_type;
|
typedef T mapped_type;
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C> &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -435,7 +435,7 @@ namespace std {
|
||||||
%rename("has-key?") has_key;
|
%rename("has-key?") has_key;
|
||||||
public:
|
public:
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -641,7 +641,7 @@ namespace std {
|
||||||
%rename("has-key?") has_key;
|
%rename("has-key?") has_key;
|
||||||
public:
|
public:
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -849,7 +849,7 @@ namespace std {
|
||||||
%rename("has-key?") has_key;
|
%rename("has-key?") has_key;
|
||||||
public:
|
public:
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C> &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -189,7 +189,7 @@ namespace std {
|
||||||
public:
|
public:
|
||||||
vector(unsigned int size = 0);
|
vector(unsigned int size = 0);
|
||||||
vector(unsigned int size, const T& value);
|
vector(unsigned int size, const T& value);
|
||||||
vector(const vector<T>&);
|
vector(const vector<T>& other);
|
||||||
%rename(length) size;
|
%rename(length) size;
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
%rename("empty?") empty;
|
%rename("empty?") empty;
|
||||||
|
|
@ -353,7 +353,7 @@ namespace std {
|
||||||
public:
|
public:
|
||||||
vector(unsigned int size = 0);
|
vector(unsigned int size = 0);
|
||||||
vector(unsigned int size, const T& value);
|
vector(unsigned int size, const T& value);
|
||||||
vector(const vector<T>&);
|
vector(const vector<T>& other);
|
||||||
%rename(length) size;
|
%rename(length) size;
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
%rename("empty?") empty;
|
%rename("empty?") empty;
|
||||||
|
|
|
||||||
|
|
@ -154,7 +154,7 @@ template<class KeyType, class MappedType, class Comparator = std::less<KeyType>
|
||||||
typedef const value_type& const_reference;
|
typedef const value_type& const_reference;
|
||||||
|
|
||||||
map();
|
map();
|
||||||
map(const map<KeyType, MappedType, Comparator >&);
|
map(const map<KeyType, MappedType, Comparator >& other);
|
||||||
|
|
||||||
struct iterator {
|
struct iterator {
|
||||||
%typemap(javaclassmodifiers) iterator "protected class"
|
%typemap(javaclassmodifiers) iterator "protected class"
|
||||||
|
|
@ -185,7 +185,7 @@ template<class KeyType, class MappedType, class Comparator = std::less<KeyType>
|
||||||
%rename(isEmpty) empty;
|
%rename(isEmpty) empty;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
void clear();
|
void clear();
|
||||||
iterator find(const KeyType&);
|
iterator find(const KeyType& key);
|
||||||
iterator begin();
|
iterator begin();
|
||||||
iterator end();
|
iterator end();
|
||||||
%extend {
|
%extend {
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@ class set {
|
||||||
typedef const value_type& const_reference;
|
typedef const value_type& const_reference;
|
||||||
|
|
||||||
set();
|
set();
|
||||||
set(const set<T>&);
|
set(const set<T>& other);
|
||||||
|
|
||||||
%rename(isEmpty) empty;
|
%rename(isEmpty) empty;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -153,7 +153,7 @@ template<class KeyType, class MappedType > class unordered_map {
|
||||||
typedef const value_type& const_reference;
|
typedef const value_type& const_reference;
|
||||||
|
|
||||||
unordered_map();
|
unordered_map();
|
||||||
unordered_map(const unordered_map<KeyType, MappedType >&);
|
unordered_map(const unordered_map<KeyType, MappedType >& other);
|
||||||
|
|
||||||
struct iterator {
|
struct iterator {
|
||||||
%typemap(javaclassmodifiers) iterator "protected class"
|
%typemap(javaclassmodifiers) iterator "protected class"
|
||||||
|
|
@ -184,7 +184,7 @@ template<class KeyType, class MappedType > class unordered_map {
|
||||||
%rename(isEmpty) empty;
|
%rename(isEmpty) empty;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
void clear();
|
void clear();
|
||||||
iterator find(const KeyType&);
|
iterator find(const KeyType& key);
|
||||||
iterator begin();
|
iterator begin();
|
||||||
iterator end();
|
iterator end();
|
||||||
%extend {
|
%extend {
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@ class unordered_set {
|
||||||
typedef const value_type& const_reference;
|
typedef const value_type& const_reference;
|
||||||
|
|
||||||
unordered_set();
|
unordered_set();
|
||||||
unordered_set(const unordered_set<T>&);
|
unordered_set(const unordered_set<T>& other);
|
||||||
|
|
||||||
%rename(isEmpty) empty;
|
%rename(isEmpty) empty;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ namespace std {
|
||||||
typedef K key_type;
|
typedef K key_type;
|
||||||
typedef T mapped_type;
|
typedef T mapped_type;
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ namespace std {
|
||||||
typedef K key_type;
|
typedef K key_type;
|
||||||
typedef T mapped_type;
|
typedef T mapped_type;
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ namespace std {
|
||||||
typedef K key_type;
|
typedef K key_type;
|
||||||
typedef T mapped_type;
|
typedef T mapped_type;
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C> &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,6 @@ namespace std {
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class T, class U >
|
template <class T, class U >
|
||||||
pair<T,U> make_pair(const T&,const U&);
|
pair<T,U> make_pair(const T& t,const U& u);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,6 @@ as this is overloaded by the const char* version
|
||||||
public:
|
public:
|
||||||
string();
|
string();
|
||||||
string(const char*);
|
string(const char*);
|
||||||
//string(const string&);
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
unsigned int length() const;
|
unsigned int length() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -119,7 +118,6 @@ as this is overloaded by the const char* version
|
||||||
// assign does not return a copy of this object
|
// assign does not return a copy of this object
|
||||||
// (no point in a scripting language)
|
// (no point in a scripting language)
|
||||||
void assign(const char*);
|
void assign(const char*);
|
||||||
//void assign(const string&);
|
|
||||||
// no support for all the other features
|
// no support for all the other features
|
||||||
// it's probably better to do it in lua
|
// it's probably better to do it in lua
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ namespace std {
|
||||||
public:
|
public:
|
||||||
vector();
|
vector();
|
||||||
vector(unsigned int);
|
vector(unsigned int);
|
||||||
vector(const vector&);
|
vector(const vector& other);
|
||||||
vector(unsigned int,T);
|
vector(unsigned int,T);
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
unsigned int max_size() const;
|
unsigned int max_size() const;
|
||||||
|
|
|
||||||
|
|
@ -222,7 +222,7 @@ namespace std {
|
||||||
typedef K key_type;
|
typedef K key_type;
|
||||||
typedef T mapped_type;
|
typedef T mapped_type;
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -442,7 +442,7 @@ namespace std {
|
||||||
%rename("has-key?") has_key;
|
%rename("has-key?") has_key;
|
||||||
public:
|
public:
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -654,7 +654,7 @@ namespace std {
|
||||||
%rename("has-key?") has_key;
|
%rename("has-key?") has_key;
|
||||||
public:
|
public:
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -866,7 +866,7 @@ namespace std {
|
||||||
%rename("has-key?") has_key;
|
%rename("has-key?") has_key;
|
||||||
public:
|
public:
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -191,7 +191,7 @@ namespace std {
|
||||||
public:
|
public:
|
||||||
vector(unsigned int size = 0);
|
vector(unsigned int size = 0);
|
||||||
vector(unsigned int size, const T& value);
|
vector(unsigned int size, const T& value);
|
||||||
vector(const vector<T>&);
|
vector(const vector<T>& other);
|
||||||
%rename(length) size;
|
%rename(length) size;
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
%rename("empty?") empty;
|
%rename("empty?") empty;
|
||||||
|
|
@ -367,7 +367,7 @@ namespace std {
|
||||||
public:
|
public:
|
||||||
vector(unsigned int size = 0);
|
vector(unsigned int size = 0);
|
||||||
vector(unsigned int size, const T& value);
|
vector(unsigned int size, const T& value);
|
||||||
vector(const vector<T>&);
|
vector(const vector<T>& other);
|
||||||
%rename(length) size;
|
%rename(length) size;
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
%rename("empty?") empty;
|
%rename("empty?") empty;
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ namespace std{
|
||||||
|
|
||||||
list();
|
list();
|
||||||
list(unsigned int size, const T& value = T());
|
list(unsigned int size, const T& value = T());
|
||||||
list(const list<T> &);
|
list(const list<T>& other);
|
||||||
|
|
||||||
~list();
|
~list();
|
||||||
void assign(unsigned int n, const T& value);
|
void assign(unsigned int n, const T& value);
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ namespace std {
|
||||||
typedef K key_type;
|
typedef K key_type;
|
||||||
typedef T mapped_type;
|
typedef T mapped_type;
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ namespace std {
|
||||||
public:
|
public:
|
||||||
vector(unsigned int size = 0);
|
vector(unsigned int size = 0);
|
||||||
vector(unsigned int size, const T& value);
|
vector(unsigned int size, const T& value);
|
||||||
vector(const vector<T>&);
|
vector(const vector<T>& other);
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
void clear();
|
void clear();
|
||||||
|
|
|
||||||
|
|
@ -193,7 +193,7 @@ namespace std {
|
||||||
typedef const value_type& const_reference;
|
typedef const value_type& const_reference;
|
||||||
|
|
||||||
list();
|
list();
|
||||||
list(const list<T> &);
|
list(const list<T>& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -346,7 +346,7 @@ namespace std {
|
||||||
typedef const value_type& const_reference;
|
typedef const value_type& const_reference;
|
||||||
|
|
||||||
list();
|
list();
|
||||||
list(const list<T> &);
|
list(const list<T>& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ namespace std {
|
||||||
typedef K key_type;
|
typedef K key_type;
|
||||||
typedef T mapped_type;
|
typedef T mapped_type;
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -185,7 +185,7 @@ namespace std {
|
||||||
typedef const value_type& const_reference;
|
typedef const value_type& const_reference;
|
||||||
vector(unsigned int size = 0);
|
vector(unsigned int size = 0);
|
||||||
vector(unsigned int size, const T& value);
|
vector(unsigned int size, const T& value);
|
||||||
vector(const vector<T> &);
|
vector(const vector<T>& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -357,7 +357,7 @@ namespace std {
|
||||||
typedef const value_type& const_reference;
|
typedef const value_type& const_reference;
|
||||||
vector(unsigned int size = 0);
|
vector(unsigned int size = 0);
|
||||||
vector(unsigned int size, T *value);
|
vector(unsigned int size, T *value);
|
||||||
vector(const vector<T *> &);
|
vector(const vector<T *>& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -528,7 +528,7 @@ namespace std {
|
||||||
typedef const value_type& const_reference;
|
typedef const value_type& const_reference;
|
||||||
vector(unsigned int size = 0);
|
vector(unsigned int size = 0);
|
||||||
vector(unsigned int size, T value);
|
vector(unsigned int size, T value);
|
||||||
vector(const vector<T> &);
|
vector(const vector<T>& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ namespace std {
|
||||||
typedef K key_type;
|
typedef K key_type;
|
||||||
typedef T mapped_type;
|
typedef T mapped_type;
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
void clear();
|
void clear();
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace std {
|
||||||
// add typemaps here
|
// add typemaps here
|
||||||
public:
|
public:
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -31,9 +31,9 @@ namespace std
|
||||||
|
|
||||||
allocator() throw();
|
allocator() throw();
|
||||||
|
|
||||||
allocator(const allocator&) throw();
|
allocator(const allocator& other) throw();
|
||||||
template<typename _Tp1>
|
template<typename _Tp1>
|
||||||
allocator(const allocator<_Tp1>&) throw();
|
allocator(const allocator<_Tp1>& other) throw();
|
||||||
~allocator() throw();
|
~allocator() throw();
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
%define %std_container_methods_non_resizable(container...)
|
%define %std_container_methods_non_resizable(container...)
|
||||||
|
|
||||||
container();
|
container();
|
||||||
container(const container&);
|
container(const container& other);
|
||||||
|
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
size_type size() const;
|
size_type size() const;
|
||||||
|
|
|
||||||
|
|
@ -153,10 +153,10 @@ namespace std {
|
||||||
|
|
||||||
//50. Copy constructor and assignment operator of ios_base
|
//50. Copy constructor and assignment operator of ios_base
|
||||||
private:
|
private:
|
||||||
ios_base(const ios_base&);
|
ios_base(const ios_base& other);
|
||||||
|
|
||||||
ios_base&
|
ios_base&
|
||||||
operator=(const ios_base&);
|
operator=(const ios_base& other);
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename _CharT, typename _Traits = char_traits<_CharT> >
|
template<typename _CharT, typename _Traits = char_traits<_CharT> >
|
||||||
|
|
@ -242,10 +242,10 @@ namespace std {
|
||||||
// 27.4.5.1 basic_ios constructors
|
// 27.4.5.1 basic_ios constructors
|
||||||
basic_ios();
|
basic_ios();
|
||||||
private:
|
private:
|
||||||
basic_ios(const basic_ios&);
|
basic_ios(const basic_ios& other);
|
||||||
|
|
||||||
basic_ios&
|
basic_ios&
|
||||||
operator=(const basic_ios&);
|
operator=(const basic_ios& other);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -306,15 +306,15 @@ namespace std
|
||||||
|
|
||||||
template<typename _CharT, typename _Traits = char_traits<_CharT> >
|
template<typename _CharT, typename _Traits = char_traits<_CharT> >
|
||||||
std::basic_ostream<_CharT, _Traits>&
|
std::basic_ostream<_CharT, _Traits>&
|
||||||
endl(std::basic_ostream<_CharT, _Traits>&);
|
endl(std::basic_ostream<_CharT, _Traits>& value);
|
||||||
|
|
||||||
template<typename _CharT, typename _Traits = char_traits<_CharT> >
|
template<typename _CharT, typename _Traits = char_traits<_CharT> >
|
||||||
std::basic_ostream<_CharT, _Traits>&
|
std::basic_ostream<_CharT, _Traits>&
|
||||||
ends(std::basic_ostream<_CharT, _Traits>&);
|
ends(std::basic_ostream<_CharT, _Traits>& value);
|
||||||
|
|
||||||
template<typename _CharT, typename _Traits = char_traits<_CharT> >
|
template<typename _CharT, typename _Traits = char_traits<_CharT> >
|
||||||
std::basic_ostream<_CharT, _Traits>&
|
std::basic_ostream<_CharT, _Traits>&
|
||||||
flush(std::basic_ostream<_CharT, _Traits>&);
|
flush(std::basic_ostream<_CharT, _Traits>& value);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ namespace std {
|
||||||
|
|
||||||
%typemap_traits_ptr(SWIG_TYPECHECK_MAP, std::map< _Key, _Tp, _Compare, _Alloc >);
|
%typemap_traits_ptr(SWIG_TYPECHECK_MAP, std::map< _Key, _Tp, _Compare, _Alloc >);
|
||||||
|
|
||||||
map( const _Compare& );
|
map(const _Compare& other);
|
||||||
|
|
||||||
#ifdef %swig_map_methods
|
#ifdef %swig_map_methods
|
||||||
// Add swig/language extra methods
|
// Add swig/language extra methods
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ namespace std {
|
||||||
|
|
||||||
%typemap_traits_ptr(SWIG_TYPECHECK_MULTIMAP, std::multimap< _Key, _Tp, _Compare, _Alloc >);
|
%typemap_traits_ptr(SWIG_TYPECHECK_MULTIMAP, std::multimap< _Key, _Tp, _Compare, _Alloc >);
|
||||||
|
|
||||||
multimap( const _Compare& );
|
multimap(const _Compare& other);
|
||||||
|
|
||||||
#ifdef %swig_multimap_methods
|
#ifdef %swig_multimap_methods
|
||||||
// Add swig/language extra methods
|
// Add swig/language extra methods
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ namespace std {
|
||||||
|
|
||||||
%typemap_traits_ptr(SWIG_TYPECHECK_MULTISET, std::multiset< _Key, _Compare, _Alloc >);
|
%typemap_traits_ptr(SWIG_TYPECHECK_MULTISET, std::multiset< _Key, _Compare, _Alloc >);
|
||||||
|
|
||||||
multiset( const _Compare& );
|
multiset(const _Compare& other);
|
||||||
|
|
||||||
#ifdef %swig_multiset_methods
|
#ifdef %swig_multiset_methods
|
||||||
// Add swig/language extra methods
|
// Add swig/language extra methods
|
||||||
|
|
|
||||||
|
|
@ -13,14 +13,14 @@
|
||||||
|
|
||||||
%define %std_queue_methods(queue...)
|
%define %std_queue_methods(queue...)
|
||||||
queue();
|
queue();
|
||||||
queue( const _Sequence& );
|
queue(const _Sequence& other);
|
||||||
|
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
size_type size() const;
|
size_type size() const;
|
||||||
const value_type& front() const;
|
const value_type& front() const;
|
||||||
const value_type& back() const;
|
const value_type& back() const;
|
||||||
void pop();
|
void pop();
|
||||||
void push( const value_type& );
|
void push(const value_type& value);
|
||||||
%enddef
|
%enddef
|
||||||
|
|
||||||
%define %std_queue_methods_val(queue...)
|
%define %std_queue_methods_val(queue...)
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// Set
|
// Set
|
||||||
%define %std_set_methods_common(set...)
|
%define %std_set_methods_common(set...)
|
||||||
set();
|
set();
|
||||||
set( const set& );
|
set(const set& other);
|
||||||
|
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
size_type size() const;
|
size_type size() const;
|
||||||
|
|
@ -110,7 +110,7 @@ namespace std {
|
||||||
|
|
||||||
%typemap_traits_ptr(SWIG_TYPECHECK_SET, std::set< _Key, _Compare, _Alloc >);
|
%typemap_traits_ptr(SWIG_TYPECHECK_SET, std::set< _Key, _Compare, _Alloc >);
|
||||||
|
|
||||||
set( const _Compare& );
|
set(const _Compare& other);
|
||||||
|
|
||||||
#ifdef %swig_set_methods
|
#ifdef %swig_set_methods
|
||||||
// Add swig/language extra methods
|
// Add swig/language extra methods
|
||||||
|
|
|
||||||
|
|
@ -13,13 +13,13 @@
|
||||||
|
|
||||||
%define %std_stack_methods(stack...)
|
%define %std_stack_methods(stack...)
|
||||||
stack();
|
stack();
|
||||||
stack( const _Sequence& );
|
stack(const _Sequence& other);
|
||||||
|
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
size_type size() const;
|
size_type size() const;
|
||||||
const value_type& top() const;
|
const value_type& top() const;
|
||||||
void pop();
|
void pop();
|
||||||
void push( const value_type& );
|
void push(const value_type& value);
|
||||||
%enddef
|
%enddef
|
||||||
|
|
||||||
%define %std_stack_methods_val(stack...)
|
%define %std_stack_methods_val(stack...)
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ namespace std {
|
||||||
basic_streambuf();
|
basic_streambuf();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
basic_streambuf(const basic_streambuf&);
|
basic_streambuf(const basic_streambuf& other);
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// Unordered Set
|
// Unordered Set
|
||||||
%define %std_unordered_set_methods_common(unordered_set...)
|
%define %std_unordered_set_methods_common(unordered_set...)
|
||||||
unordered_set();
|
unordered_set();
|
||||||
unordered_set( const unordered_set& );
|
unordered_set(const unordered_set& other);
|
||||||
|
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
size_type size() const;
|
size_type size() const;
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ namespace std {
|
||||||
typedef K key_type;
|
typedef K key_type;
|
||||||
typedef T mapped_type;
|
typedef T mapped_type;
|
||||||
map();
|
map();
|
||||||
map(const map< K, T, C > &);
|
map(const map< K, T, C >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,7 @@ namespace std {
|
||||||
public:
|
public:
|
||||||
vector(unsigned int size = 0);
|
vector(unsigned int size = 0);
|
||||||
vector(unsigned int size, const T& value);
|
vector(unsigned int size, const T& value);
|
||||||
vector(const vector< T > &);
|
vector(const vector< T >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -361,7 +361,7 @@ namespace std {
|
||||||
public:
|
public:
|
||||||
vector(unsigned int size = 0);
|
vector(unsigned int size = 0);
|
||||||
vector(unsigned int size, const T& value);
|
vector(unsigned int size, const T& value);
|
||||||
vector(const vector< T > &);
|
vector(const vector< T >& other);
|
||||||
|
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue