/
usr
/
share
/
swig
/
3.0.12
/
std
/
/usr/share/swig/3.0.12/std
mkdir
upload
Name
Size
Mode
Actions
std_alloc.i
2015
0644
edit
dl
rm
std_array.i
2584
0644
edit
dl
rm
std_basic_string.i
6500
0644
edit
dl
rm
std_carray.swg
1416
0644
edit
dl
rm
std_char_traits.i
3190
0644
edit
dl
rm
std_common.i
5391
0644
edit
dl
rm
std_container.i
4297
0644
edit
dl
rm
std_deque.i
3494
0644
edit
dl
rm
std_except.i
1191
0644
edit
dl
rm
std_ios.i
5214
0644
edit
dl
rm
std_iostream.i
8853
0644
edit
dl
rm
std_list.i
3878
0644
edit
dl
rm
std_map.i
3680
0644
edit
dl
rm
std_multimap.i
3258
0644
edit
dl
rm
std_multiset.i
2540
0644
edit
dl
rm
std_pair.i
3712
0644
edit
dl
rm
std_queue.i
3497
0644
edit
dl
rm
std_set.i
3362
0644
edit
dl
rm
std_sstream.i
5323
0644
edit
dl
rm
std_stack.i
3471
0644
edit
dl
rm
std_streambuf.i
1741
0644
edit
dl
rm
std_string.i
219
0644
edit
dl
rm
std_unordered_map.i
4193
0644
edit
dl
rm
std_unordered_multimap.i
3278
0644
edit
dl
rm
std_unordered_multiset.i
3012
0644
edit
dl
rm
std_unordered_set.i
3869
0644
edit
dl
rm
std_vector.i
6167
0644
edit
dl
rm
std_vectora.i
147
0644
edit
dl
rm
std_wios.i
90
0644
edit
dl
rm
std_wiostream.i
100
0644
edit
dl
rm
std_wsstream.i
98
0644
edit
dl
rm
std_wstreambuf.i
102
0644
edit
dl
rm
std_wstring.i
249
0644
edit
dl
rm
_std_deque.i
4437
0644
edit
dl
rm
Edit:
/usr/share/swig/3.0.12/std/std_streambuf.i
(1741B)
%include <std_ios.i> %{ #ifndef SWIG_STD_NOMODERN_STL #include <streambuf> #else #include <streambuf.h> #endif %} namespace std { template<typename _CharT, typename _Traits = char_traits<_CharT> > class basic_streambuf { public: // Types: typedef _CharT char_type; typedef _Traits traits_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; public: virtual ~basic_streambuf(); // Locales: locale pubimbue(const locale &__loc); locale getloc() const; // Buffer and positioning: basic_streambuf<_CharT, _Traits>* pubsetbuf(char_type* __s, streamsize __n); pos_type pubseekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode = std::ios_base::in | std::ios_base::out); pos_type pubseekpos(pos_type __sp, ios_base::openmode __mode = std::ios_base::in | std::ios_base::out); int pubsync() ; // Get and put areas: // Get area: streamsize in_avail(); int_type snextc(); int_type sbumpc(); int_type sgetc(); streamsize sgetn(char_type* __s, streamsize __n); // Putback: int_type sputbackc(char_type __c); int_type sungetc(); // Put area: int_type sputc(char_type __c); streamsize sputn(const char_type* __s, streamsize __n); protected: basic_streambuf(); private: basic_streambuf(const basic_streambuf&); }; } namespace std { %template(streambuf) basic_streambuf<char>; #if defined(SWIG_WCHAR) %template(wstreambuf) basic_streambuf<wchar_t>; #endif }
Save
cmd:
run