Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 924959 Details for
Bug 1127840
dolphin emulator build with march=native fails on gcc 4.9.1 - internal compiler error
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Preprocessed source
ccOGSyuS.out (text/plain), 2.26 MB, created by
sheepdestroyer
on 2014-08-07 16:27:56 UTC
(
hide
)
Description:
Preprocessed source
Filename:
MIME Type:
Creator:
sheepdestroyer
Created:
2014-08-07 16:27:56 UTC
Size:
2.26 MB
patch
obsolete
>// /usr/libexec/gcc/x86_64-redhat-linux/4.9.1/cc1plus -fpreprocessed /home/sheepdestroyer/.ccache/tmp/RegisterVi.tmp.sheepora.9800.ii -march=sandybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=sandybridge -quiet -dumpbase RegisterVi.tmp.sheepora.9800.ii -msse2 -auxbase-strip /home/sheepdestroyer/.ccache/f/b/9f5898e5d65f3077f923d75fea353d-2366228.o.tmp.sheepora.9800 -O3 -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -Wmissing-declarations -Wall -std=gnu++11 -fvisibility-inlines-hidden -fvisibility=hidden -fno-strict-aliasing -fno-exceptions -fomit-frame-pointer -fopenmp -o - -frandom-seed=0 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" ># 1 "<built-in>" ># 1 "<command-line>" ># 1 "/usr/include/stdc-predef.h" 1 3 4 ># 1 "<command-line>" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chartype.h" 1 ># 17 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chartype.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/platform.h" 1 ># 179 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/platform.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/compiler.h" 1 ># 180 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/platform.h" 2 ># 189 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/platform.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/wx/setup.h" 1 > > > > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/wx/wxgtk.h" 1 ># 9 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/wx/setup.h" 2 ># 190 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/platform.h" 2 ># 603 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/platform.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chkconf.h" 1 ># 1227 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chkconf.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/chkconf.h" 1 ># 1228 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chkconf.h" 2 ># 1249 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chkconf.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/unix/chkconf.h" 1 ># 1250 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chkconf.h" 2 ># 604 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/platform.h" 2 ># 18 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chartype.h" 2 ># 68 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chartype.h" ># 1 "/usr/include/wchar.h" 1 3 4 ># 27 "/usr/include/wchar.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 364 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 385 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 386 "/usr/include/sys/cdefs.h" 2 3 4 ># 365 "/usr/include/features.h" 2 3 4 ># 388 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 10 "/usr/include/gnu/stubs.h" 3 4 ># 1 "/usr/include/gnu/stubs-64.h" 1 3 4 ># 11 "/usr/include/gnu/stubs.h" 2 3 4 ># 389 "/usr/include/features.h" 2 3 4 ># 28 "/usr/include/wchar.h" 2 3 4 ># 36 "/usr/include/wchar.h" 3 4 ># 1 "/usr/include/stdio.h" 1 3 4 ># 44 "/usr/include/stdio.h" 3 4 >struct _IO_FILE; > > > >typedef struct _IO_FILE FILE; ># 64 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 37 "/usr/include/wchar.h" 2 3 4 > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stdarg.h" 1 3 4 ># 40 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 40 "/usr/include/wchar.h" 2 3 4 > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 42 "/usr/include/wchar.h" 2 3 4 ># 51 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 212 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 353 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 3 4 >typedef unsigned int wint_t; ># 52 "/usr/include/wchar.h" 2 3 4 ># 82 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > > unsigned int __wch; > > > > char __wchb[4]; > } __value; >} __mbstate_t; ># 104 "/usr/include/wchar.h" 3 4 > > >typedef __mbstate_t mbstate_t; ># 132 "/usr/include/wchar.h" 3 4 >extern "C" { > > > > >struct tm; ># 147 "/usr/include/wchar.h" 3 4 >extern wchar_t *wcscpy (wchar_t *__restrict __dest, > const wchar_t *__restrict __src) throw (); > >extern wchar_t *wcsncpy (wchar_t *__restrict __dest, > const wchar_t *__restrict __src, size_t __n) > throw (); > > >extern wchar_t *wcscat (wchar_t *__restrict __dest, > const wchar_t *__restrict __src) throw (); > >extern wchar_t *wcsncat (wchar_t *__restrict __dest, > const wchar_t *__restrict __src, size_t __n) > throw (); > > >extern int wcscmp (const wchar_t *__s1, const wchar_t *__s2) > throw () __attribute__ ((__pure__)); > >extern int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > > > >extern int wcscasecmp (const wchar_t *__s1, const wchar_t *__s2) throw (); > > >extern int wcsncasecmp (const wchar_t *__s1, const wchar_t *__s2, > size_t __n) throw (); > > > ># 1 "/usr/include/xlocale.h" 1 3 4 ># 27 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct __locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; > > >typedef __locale_t locale_t; ># 181 "/usr/include/wchar.h" 2 3 4 > >extern int wcscasecmp_l (const wchar_t *__s1, const wchar_t *__s2, > __locale_t __loc) throw (); > >extern int wcsncasecmp_l (const wchar_t *__s1, const wchar_t *__s2, > size_t __n, __locale_t __loc) throw (); > > > > > >extern int wcscoll (const wchar_t *__s1, const wchar_t *__s2) throw (); > > > >extern size_t wcsxfrm (wchar_t *__restrict __s1, > const wchar_t *__restrict __s2, size_t __n) throw (); ># 206 "/usr/include/wchar.h" 3 4 >extern int wcscoll_l (const wchar_t *__s1, const wchar_t *__s2, > __locale_t __loc) throw (); > > > > >extern size_t wcsxfrm_l (wchar_t *__s1, const wchar_t *__s2, > size_t __n, __locale_t __loc) throw (); > > >extern wchar_t *wcsdup (const wchar_t *__s) throw () __attribute__ ((__malloc__)); > > > > > >extern "C++" wchar_t *wcschr (wchar_t *__wcs, wchar_t __wc) > throw () __asm ("wcschr") __attribute__ ((__pure__)); >extern "C++" const wchar_t *wcschr (const wchar_t *__wcs, wchar_t __wc) > throw () __asm ("wcschr") __attribute__ ((__pure__)); > > > > > > >extern "C++" wchar_t *wcsrchr (wchar_t *__wcs, wchar_t __wc) > throw () __asm ("wcsrchr") __attribute__ ((__pure__)); >extern "C++" const wchar_t *wcsrchr (const wchar_t *__wcs, wchar_t __wc) > throw () __asm ("wcsrchr") __attribute__ ((__pure__)); ># 245 "/usr/include/wchar.h" 3 4 >extern wchar_t *wcschrnul (const wchar_t *__s, wchar_t __wc) > throw () __attribute__ ((__pure__)); > > > > > >extern size_t wcscspn (const wchar_t *__wcs, const wchar_t *__reject) > throw () __attribute__ ((__pure__)); > > >extern size_t wcsspn (const wchar_t *__wcs, const wchar_t *__accept) > throw () __attribute__ ((__pure__)); > > >extern "C++" wchar_t *wcspbrk (wchar_t *__wcs, const wchar_t *__accept) > throw () __asm ("wcspbrk") __attribute__ ((__pure__)); >extern "C++" const wchar_t *wcspbrk (const wchar_t *__wcs, > const wchar_t *__accept) > throw () __asm ("wcspbrk") __attribute__ ((__pure__)); > > > > > > >extern "C++" wchar_t *wcsstr (wchar_t *__haystack, const wchar_t *__needle) > throw () __asm ("wcsstr") __attribute__ ((__pure__)); >extern "C++" const wchar_t *wcsstr (const wchar_t *__haystack, > const wchar_t *__needle) > throw () __asm ("wcsstr") __attribute__ ((__pure__)); > > > > > > >extern wchar_t *wcstok (wchar_t *__restrict __s, > const wchar_t *__restrict __delim, > wchar_t **__restrict __ptr) throw (); > > >extern size_t wcslen (const wchar_t *__s) throw () __attribute__ ((__pure__)); > > > > > >extern "C++" wchar_t *wcswcs (wchar_t *__haystack, const wchar_t *__needle) > throw () __asm ("wcswcs") __attribute__ ((__pure__)); >extern "C++" const wchar_t *wcswcs (const wchar_t *__haystack, > const wchar_t *__needle) > throw () __asm ("wcswcs") __attribute__ ((__pure__)); ># 306 "/usr/include/wchar.h" 3 4 >extern size_t wcsnlen (const wchar_t *__s, size_t __maxlen) > throw () __attribute__ ((__pure__)); > > > > > > >extern "C++" wchar_t *wmemchr (wchar_t *__s, wchar_t __c, size_t __n) > throw () __asm ("wmemchr") __attribute__ ((__pure__)); >extern "C++" const wchar_t *wmemchr (const wchar_t *__s, wchar_t __c, > size_t __n) > throw () __asm ("wmemchr") __attribute__ ((__pure__)); > > > > > > >extern int wmemcmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern wchar_t *wmemcpy (wchar_t *__restrict __s1, > const wchar_t *__restrict __s2, size_t __n) throw (); > > > >extern wchar_t *wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n) > throw (); > > >extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) throw (); > > > > > >extern wchar_t *wmempcpy (wchar_t *__restrict __s1, > const wchar_t *__restrict __s2, size_t __n) > throw (); > > > > > > >extern wint_t btowc (int __c) throw (); > > > >extern int wctob (wint_t __c) throw (); > > > >extern int mbsinit (const mbstate_t *__ps) throw () __attribute__ ((__pure__)); > > > >extern size_t mbrtowc (wchar_t *__restrict __pwc, > const char *__restrict __s, size_t __n, > mbstate_t *__restrict __p) throw (); > > >extern size_t wcrtomb (char *__restrict __s, wchar_t __wc, > mbstate_t *__restrict __ps) throw (); > > >extern size_t __mbrlen (const char *__restrict __s, size_t __n, > mbstate_t *__restrict __ps) throw (); >extern size_t mbrlen (const char *__restrict __s, size_t __n, > mbstate_t *__restrict __ps) throw (); ># 386 "/usr/include/wchar.h" 3 4 >extern wint_t __btowc_alias (int __c) __asm ("btowc"); >extern __inline __attribute__ ((__gnu_inline__)) wint_t >__attribute__ ((__leaf__)) btowc (int __c) throw () >{ return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f' > ? (wint_t) __c : __btowc_alias (__c)); } > >extern int __wctob_alias (wint_t __c) __asm ("wctob"); >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) wctob (wint_t __wc) throw () >{ return (__builtin_constant_p (__wc) && __wc >= L'\0' && __wc <= L'\x7f' > ? (int) __wc : __wctob_alias (__wc)); } > >extern __inline __attribute__ ((__gnu_inline__)) size_t >__attribute__ ((__leaf__)) mbrlen (const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) throw () > >{ return (__ps != __null > ? mbrtowc (__null, __s, __n, __ps) : __mbrlen (__s, __n, __null)); } > > > > > >extern size_t mbsrtowcs (wchar_t *__restrict __dst, > const char **__restrict __src, size_t __len, > mbstate_t *__restrict __ps) throw (); > > > >extern size_t wcsrtombs (char *__restrict __dst, > const wchar_t **__restrict __src, size_t __len, > mbstate_t *__restrict __ps) throw (); > > > > > > >extern size_t mbsnrtowcs (wchar_t *__restrict __dst, > const char **__restrict __src, size_t __nmc, > size_t __len, mbstate_t *__restrict __ps) throw (); > > > >extern size_t wcsnrtombs (char *__restrict __dst, > const wchar_t **__restrict __src, > size_t __nwc, size_t __len, > mbstate_t *__restrict __ps) throw (); > > > > > > >extern int wcwidth (wchar_t __c) throw (); > > > >extern int wcswidth (const wchar_t *__s, size_t __n) throw (); > > > > > > >extern double wcstod (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr) throw (); > > > > > >extern float wcstof (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr) throw (); >extern long double wcstold (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr) throw (); > > > > > > > >extern long int wcstol (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base) throw (); > > > >extern unsigned long int wcstoul (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base) > throw (); > > > > > > >__extension__ >extern long long int wcstoll (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base) > throw (); > > > >__extension__ >extern unsigned long long int wcstoull (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base) throw (); > > > > > > >__extension__ >extern long long int wcstoq (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base) > throw (); > > > >__extension__ >extern unsigned long long int wcstouq (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base) throw (); ># 530 "/usr/include/wchar.h" 3 4 >extern long int wcstol_l (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base, > __locale_t __loc) throw (); > >extern unsigned long int wcstoul_l (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base, __locale_t __loc) throw (); > >__extension__ >extern long long int wcstoll_l (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base, __locale_t __loc) throw (); > >__extension__ >extern unsigned long long int wcstoull_l (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > int __base, __locale_t __loc) > throw (); > >extern double wcstod_l (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, __locale_t __loc) > throw (); > >extern float wcstof_l (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, __locale_t __loc) > throw (); > >extern long double wcstold_l (const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, > __locale_t __loc) throw (); > > > > > > >extern wchar_t *wcpcpy (wchar_t *__restrict __dest, > const wchar_t *__restrict __src) throw (); > > > >extern wchar_t *wcpncpy (wchar_t *__restrict __dest, > const wchar_t *__restrict __src, size_t __n) > throw (); > > > > > > >extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) throw (); > > > > > > >extern int fwide (__FILE *__fp, int __mode) throw (); > > > > > > >extern int fwprintf (__FILE *__restrict __stream, > const wchar_t *__restrict __format, ...) > ; > > > > >extern int wprintf (const wchar_t *__restrict __format, ...) > ; > >extern int swprintf (wchar_t *__restrict __s, size_t __n, > const wchar_t *__restrict __format, ...) > throw () ; > > > > > >extern int vfwprintf (__FILE *__restrict __s, > const wchar_t *__restrict __format, > __gnuc_va_list __arg) > ; > > > > >extern int vwprintf (const wchar_t *__restrict __format, > __gnuc_va_list __arg) > ; > > >extern int vswprintf (wchar_t *__restrict __s, size_t __n, > const wchar_t *__restrict __format, > __gnuc_va_list __arg) > throw () ; > > > > > > >extern int fwscanf (__FILE *__restrict __stream, > const wchar_t *__restrict __format, ...) > ; > > > > >extern int wscanf (const wchar_t *__restrict __format, ...) > ; > >extern int swscanf (const wchar_t *__restrict __s, > const wchar_t *__restrict __format, ...) > throw () ; ># 680 "/usr/include/wchar.h" 3 4 ># 689 "/usr/include/wchar.h" 3 4 >extern int vfwscanf (__FILE *__restrict __s, > const wchar_t *__restrict __format, > __gnuc_va_list __arg) > ; > > > > >extern int vwscanf (const wchar_t *__restrict __format, > __gnuc_va_list __arg) > ; > >extern int vswscanf (const wchar_t *__restrict __s, > const wchar_t *__restrict __format, > __gnuc_va_list __arg) > throw () ; ># 736 "/usr/include/wchar.h" 3 4 ># 745 "/usr/include/wchar.h" 3 4 >extern wint_t fgetwc (__FILE *__stream); >extern wint_t getwc (__FILE *__stream); > > > > > >extern wint_t getwchar (void); > > > > > > >extern wint_t fputwc (wchar_t __wc, __FILE *__stream); >extern wint_t putwc (wchar_t __wc, __FILE *__stream); > > > > > >extern wint_t putwchar (wchar_t __wc); > > > > > > > >extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n, > __FILE *__restrict __stream); > > > > > >extern int fputws (const wchar_t *__restrict __ws, > __FILE *__restrict __stream); > > > > > > >extern wint_t ungetwc (wint_t __wc, __FILE *__stream); ># 801 "/usr/include/wchar.h" 3 4 >extern wint_t getwc_unlocked (__FILE *__stream); >extern wint_t getwchar_unlocked (void); > > > > > > > >extern wint_t fgetwc_unlocked (__FILE *__stream); > > > > > > > >extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream); ># 827 "/usr/include/wchar.h" 3 4 >extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream); >extern wint_t putwchar_unlocked (wchar_t __wc); ># 837 "/usr/include/wchar.h" 3 4 >extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n, > __FILE *__restrict __stream); > > > > > > > >extern int fputws_unlocked (const wchar_t *__restrict __ws, > __FILE *__restrict __stream); > > > > > > > >extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize, > const wchar_t *__restrict __format, > const struct tm *__restrict __tp) throw (); > > > > > > > >extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize, > const wchar_t *__restrict __format, > const struct tm *__restrict __tp, > __locale_t __loc) throw (); ># 891 "/usr/include/wchar.h" 3 4 >} ># 69 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chartype.h" 2 ># 156 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chartype.h" > typedef wchar_t wxChar; > typedef wchar_t wxSChar; > typedef wchar_t wxUChar; ># 210 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/chartype.h" > typedef char wxStringCharType; ># 6 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" 1 ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" 1 ># 193 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/version.h" 1 ># 16 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/version.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/cpp.h" 1 ># 17 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/version.h" 2 ># 194 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" 2 ># 239 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >typedef short int WXTYPE; ># 524 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dlimpexp.h" 1 ># 525 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" 2 ># 682 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 147 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 3 4 >typedef long int ptrdiff_t; ># 422 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 3 4 >typedef struct { > long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); > long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); >} max_align_t; > > > > > > > typedef decltype(nullptr) nullptr_t; ># 683 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" 2 > > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" 1 ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" ># 1 "/usr/include/assert.h" 1 3 4 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" 2 > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/limits.h" 1 3 4 ># 34 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/limits.h" 1 3 4 ># 168 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 143 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 160 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 38 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 39 "/usr/include/bits/local_lim.h" 2 3 4 ># 161 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 144 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 148 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/xopen_lim.h" 1 3 4 ># 33 "/usr/include/bits/xopen_lim.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 34 "/usr/include/bits/xopen_lim.h" 2 3 4 ># 152 "/usr/include/limits.h" 2 3 4 ># 169 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/syslimits.h" 2 3 4 ># 35 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/limits.h" 2 3 4 ># 18 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" 2 > > > > > >class wxString; >class wxCStrData; ># 78 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" >typedef void (*wxAssertHandler_t)(const wxString& file, > int line, > const wxString& func, > const wxString& cond, > const wxString& msg); > > > > > >extern wxAssertHandler_t wxTheAssertHandler; ># 114 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" >inline wxAssertHandler_t wxSetAssertHandler(wxAssertHandler_t handler) >{ > const wxAssertHandler_t old = wxTheAssertHandler; > wxTheAssertHandler = handler; > return old; >} > > > > > > > >extern void wxSetDefaultAssertHandler(); ># 145 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" >inline void wxDisableAsserts() { wxSetAssertHandler(__null); } ># 180 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" >extern void wxOnAssert(const char *file, > int line, > const char *func, > const char *cond); > >extern void wxOnAssert(const char *file, > int line, > const char *func, > const char *cond, > const char *msg); > >extern void wxOnAssert(const char *file, > int line, > const char *func, > const char *cond, > const wxChar *msg) ; > > > > > >extern void wxOnAssert(const wxChar *file, > int line, > const char *func, > const wxChar *cond, > const wxChar *msg = __null); > > > > >extern void wxOnAssert(const wxString& file, > int line, > const wxString& func, > const wxString& cond, > const wxString& msg); > >extern void wxOnAssert(const wxString& file, > int line, > const wxString& func, > const wxString& cond); > >extern void wxOnAssert(const char *file, > int line, > const char *func, > const char *cond, > const wxCStrData& msg); > >extern void wxOnAssert(const char *file, > int line, > const char *func, > const char *cond, > const wxString& msg); ># 262 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" > extern void wxTrap(); > > > > > > extern bool wxTrapInAssert; ># 332 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" >extern void wxAbort(); ># 469 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" > inline bool wxIsDebuggerRunning() { return false; } ># 479 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/debug.h" >extern bool wxAssertIsEqual(int x, int y); > > > >extern const bool wxFalse; ># 689 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" 2 > > > template <typename T> > inline void wxDELETE(T*& ptr) > { > typedef char TypeIsCompleteCheck[sizeof(T)] __attribute__ ((unused)); > > if ( ptr != __null ) > { > delete ptr; > ptr = __null; > } > } > > > template <typename T> > inline void wxDELETEA(T*& ptr) > { > typedef char TypeIsCompleteCheck[sizeof(T)] __attribute__ ((unused)); > > if ( ptr != __null ) > { > delete [] ptr; > ptr = __null; > } > } > > > template <typename T> > inline void wxSwap(T& first, T& second) > { > T tmp(first); > first = second; > second = tmp; > } ># 854 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" > template <class T> > inline void wxUnusedVar(const T& ) { } ># 881 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >typedef int wxCoord; > >enum { wxDefaultCoord = -1 }; ># 897 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >typedef signed char wxInt8; >typedef unsigned char wxUint8; >typedef wxUint8 wxByte; ># 911 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >typedef signed short wxInt16; >typedef unsigned short wxUint16; > >typedef wxUint16 wxWord; ># 1000 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" > typedef int wxInt32; > typedef unsigned int wxUint32; ># 1068 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >typedef wxUint32 wxDword; ># 1158 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" > typedef long long wxInt64; > typedef unsigned long long wxUint64; ># 1209 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" ># 1 "/usr/include/sys/types.h" 1 3 4 ># 27 "/usr/include/sys/types.h" 3 4 >extern "C" { > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 27 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > >typedef signed long int __int64_t; >typedef unsigned long int __uint64_t; > > > > > > > >typedef long int __quad_t; >typedef unsigned long int __u_quad_t; ># 121 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 122 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned long int __dev_t; >typedef unsigned int __uid_t; >typedef unsigned int __gid_t; >typedef unsigned long int __ino_t; >typedef unsigned long int __ino64_t; >typedef unsigned int __mode_t; >typedef unsigned long int __nlink_t; >typedef long int __off_t; >typedef long int __off64_t; >typedef int __pid_t; >typedef struct { int __val[2]; } __fsid_t; >typedef long int __clock_t; >typedef unsigned long int __rlim_t; >typedef unsigned long int __rlim64_t; >typedef unsigned int __id_t; >typedef long int __time_t; >typedef unsigned int __useconds_t; >typedef long int __suseconds_t; > >typedef int __daddr_t; >typedef int __key_t; > > >typedef int __clockid_t; > > >typedef void * __timer_t; > > >typedef long int __blksize_t; > > > > >typedef long int __blkcnt_t; >typedef long int __blkcnt64_t; > > >typedef unsigned long int __fsblkcnt_t; >typedef unsigned long int __fsblkcnt64_t; > > >typedef unsigned long int __fsfilcnt_t; >typedef unsigned long int __fsfilcnt64_t; > > >typedef long int __fsword_t; > >typedef long int __ssize_t; > > >typedef long int __syscall_slong_t; > >typedef unsigned long int __syscall_ulong_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >typedef long int __intptr_t; > > >typedef unsigned int __socklen_t; ># 30 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > > > >typedef __ino64_t ino_t; > > > > >typedef __ino64_t ino64_t; > > > > >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > > > >typedef __off64_t off_t; > > > > >typedef __off64_t off64_t; > > > > >typedef __pid_t pid_t; > > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 132 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 57 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; ># 73 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; ># 91 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 103 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 133 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 147 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 194 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 216 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 36 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 2 3 4 ># 60 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/byteswap.h" 1 3 4 ># 28 "/usr/include/bits/byteswap.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/byteswap.h" 2 3 4 > > > > > > ># 1 "/usr/include/bits/byteswap-16.h" 1 3 4 ># 36 "/usr/include/bits/byteswap.h" 2 3 4 ># 44 "/usr/include/bits/byteswap.h" 3 4 >static __inline unsigned int >__bswap_32 (unsigned int __bsx) >{ > return __builtin_bswap32 (__bsx); >} ># 108 "/usr/include/bits/byteswap.h" 3 4 >static __inline __uint64_t >__bswap_64 (__uint64_t __bsx) >{ > return __builtin_bswap64 (__bsx); >} ># 61 "/usr/include/endian.h" 2 3 4 ># 217 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 30 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 22 "/usr/include/bits/select.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 23 "/usr/include/bits/select.h" 2 3 4 ># 31 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 22 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 34 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 120 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > __syscall_slong_t tv_nsec; > }; ># 44 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 30 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 46 "/usr/include/sys/select.h" 2 3 4 ># 54 "/usr/include/sys/select.h" 3 4 >typedef long int __fd_mask; ># 64 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; > > > > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 96 "/usr/include/sys/select.h" 3 4 >extern "C" { ># 106 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 118 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); ># 131 "/usr/include/sys/select.h" 3 4 >} ># 220 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 24 "/usr/include/sys/sysmacros.h" 3 4 >extern "C" { > >__extension__ >extern unsigned int gnu_dev_major (unsigned long long int __dev) > throw () __attribute__ ((__const__)); >__extension__ >extern unsigned int gnu_dev_minor (unsigned long long int __dev) > throw () __attribute__ ((__const__)); >__extension__ >extern unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > throw () __attribute__ ((__const__)); > > >__extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int >__attribute__ ((__leaf__)) gnu_dev_major (unsigned long long int __dev) throw () >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int >__attribute__ ((__leaf__)) gnu_dev_minor (unsigned long long int __dev) throw () >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned long long int >__attribute__ ((__leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} > >} ># 223 "/usr/include/sys/types.h" 2 3 4 > > > > > >typedef __blksize_t blksize_t; ># 248 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt_t; > > > >typedef __fsblkcnt64_t fsblkcnt_t; > > > >typedef __fsfilcnt64_t fsfilcnt_t; > > > > > >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 21 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 22 "/usr/include/bits/pthreadtypes.h" 2 3 4 ># 60 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >union pthread_attr_t >{ > char __size[56]; > long int __align; >}; > >typedef union pthread_attr_t pthread_attr_t; > > > > > >typedef struct __pthread_internal_list >{ > struct __pthread_internal_list *__prev; > struct __pthread_internal_list *__next; >} __pthread_list_t; ># 90 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > unsigned int __nusers; > > > > int __kind; > > short __spins; > short __elision; > __pthread_list_t __list; ># 124 "/usr/include/bits/pthreadtypes.h" 3 4 > } __data; > char __size[40]; > long int __align; >} pthread_mutex_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_mutexattr_t; > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __futex; > __extension__ unsigned long long int __total_seq; > __extension__ unsigned long long int __wakeup_seq; > __extension__ unsigned long long int __woken_seq; > void *__mutex; > unsigned int __nwaiters; > unsigned int __broadcast_seq; > } __data; > char __size[48]; > __extension__ long long int __align; >} pthread_cond_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_condattr_t; > > > >typedef unsigned int pthread_key_t; > > > >typedef int pthread_once_t; > > > > > >typedef union >{ > > struct > { > int __lock; > unsigned int __nr_readers; > unsigned int __readers_wakeup; > unsigned int __writer_wakeup; > unsigned int __nr_readers_queued; > unsigned int __nr_writers_queued; > int __writer; > int __shared; > unsigned long int __pad1; > unsigned long int __pad2; > > > unsigned int __flags; > > } __data; ># 211 "/usr/include/bits/pthreadtypes.h" 3 4 > char __size[56]; > long int __align; >} pthread_rwlock_t; > >typedef union >{ > char __size[8]; > long int __align; >} pthread_rwlockattr_t; > > > > > >typedef volatile int pthread_spinlock_t; > > > > >typedef union >{ > char __size[32]; > long int __align; >} pthread_barrier_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_barrierattr_t; ># 271 "/usr/include/sys/types.h" 2 3 4 > > >} ># 1210 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" 2 ># 1245 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" > typedef long wxIntPtr; > typedef unsigned long wxUIntPtr; ># 1267 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >inline wxUIntPtr wxPtrToUInt(const void *p) >{ ># 1286 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" > return reinterpret_cast<wxUIntPtr>(p); > > > > >} > >inline void *wxUIntToPtr(wxUIntPtr p) >{ ># 1307 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" > return reinterpret_cast<void *>(p); > > > > >} ># 1324 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >typedef float wxFloat32; >typedef double wxFloat64; > >typedef double wxDouble; ># 1374 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" > typedef wxUint16 wxChar16; > > > > > typedef wchar_t wxChar32; ># 1606 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >enum wxGeometryCentre >{ > wxCENTRE = 0x0001, > wxCENTER = wxCENTRE >}; > > > > > > > >enum wxOrientation >{ > > wxHORIZONTAL = 0x0004, > wxVERTICAL = 0x0008, > > wxBOTH = wxVERTICAL | wxHORIZONTAL, > > > wxORIENTATION_MASK = wxBOTH >}; > >enum wxDirection >{ > wxLEFT = 0x0010, > wxRIGHT = 0x0020, > wxUP = 0x0040, > wxDOWN = 0x0080, > > wxTOP = wxUP, > wxBOTTOM = wxDOWN, > > wxNORTH = wxUP, > wxSOUTH = wxDOWN, > wxWEST = wxLEFT, > wxEAST = wxRIGHT, > > wxALL = (wxUP | wxDOWN | wxRIGHT | wxLEFT), > > > wxDIRECTION_MASK = wxALL >}; > >enum wxAlignment >{ > > > > > > wxALIGN_INVALID = -1, > > wxALIGN_NOT = 0x0000, > wxALIGN_CENTER_HORIZONTAL = 0x0100, > wxALIGN_CENTRE_HORIZONTAL = wxALIGN_CENTER_HORIZONTAL, > wxALIGN_LEFT = wxALIGN_NOT, > wxALIGN_TOP = wxALIGN_NOT, > wxALIGN_RIGHT = 0x0200, > wxALIGN_BOTTOM = 0x0400, > wxALIGN_CENTER_VERTICAL = 0x0800, > wxALIGN_CENTRE_VERTICAL = wxALIGN_CENTER_VERTICAL, > > wxALIGN_CENTER = (wxALIGN_CENTER_HORIZONTAL | wxALIGN_CENTER_VERTICAL), > wxALIGN_CENTRE = wxALIGN_CENTER, > > > wxALIGN_MASK = 0x0f00 >}; > > >enum wxSizerFlagBits >{ ># 1689 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" > wxFIXED_MINSIZE = 0x8000, > wxRESERVE_SPACE_EVEN_IF_HIDDEN = 0x0002, > > > wxSIZER_FLAG_BITS_MASK = 0x8002 >}; > >enum wxStretch >{ > wxSTRETCH_NOT = 0x0000, > wxSHRINK = 0x1000, > wxGROW = 0x2000, > wxEXPAND = wxGROW, > wxSHAPED = 0x4000, > wxTILE = wxSHAPED | wxFIXED_MINSIZE, > > > wxSTRETCH_MASK = 0x7000 >}; > > >enum wxBorder >{ > > > wxBORDER_DEFAULT = 0, > > wxBORDER_NONE = 0x00200000, > wxBORDER_STATIC = 0x01000000, > wxBORDER_SIMPLE = 0x02000000, > wxBORDER_RAISED = 0x04000000, > wxBORDER_SUNKEN = 0x08000000, > wxBORDER_DOUBLE = 0x10000000, > wxBORDER_THEME = wxBORDER_DOUBLE, > > > wxBORDER_MASK = 0x1f200000 >}; ># 2067 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >enum wxBackgroundStyle >{ > > > > > > wxBG_STYLE_ERASE, > > > > > > wxBG_STYLE_SYSTEM, > > > > > > > wxBG_STYLE_PAINT, > > > > wxBG_STYLE_TRANSPARENT, > > > wxBG_STYLE_COLOUR, > > > > > > wxBG_STYLE_CUSTOM = wxBG_STYLE_PAINT >}; > > > > >enum wxKeyType >{ > wxKEY_NONE, > wxKEY_INTEGER, > wxKEY_STRING >}; > > > > > > >enum wxStandardID >{ ># 2134 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" > wxID_AUTO_LOWEST = -1000000, > wxID_AUTO_HIGHEST = -2000, > > > > wxID_NONE = -3, > > > wxID_SEPARATOR = -2, > > > > wxID_ANY = -1, > > > > wxID_LOWEST = 4999, > > wxID_OPEN, > wxID_CLOSE, > wxID_NEW, > wxID_SAVE, > wxID_SAVEAS, > wxID_REVERT, > wxID_EXIT, > wxID_UNDO, > wxID_REDO, > wxID_HELP, > wxID_PRINT, > wxID_PRINT_SETUP, > wxID_PAGE_SETUP, > wxID_PREVIEW, > wxID_ABOUT, > wxID_HELP_CONTENTS, > wxID_HELP_INDEX, > wxID_HELP_SEARCH, > wxID_HELP_COMMANDS, > wxID_HELP_PROCEDURES, > wxID_HELP_CONTEXT, > wxID_CLOSE_ALL, > wxID_PREFERENCES, > > wxID_EDIT = 5030, > wxID_CUT, > wxID_COPY, > wxID_PASTE, > wxID_CLEAR, > wxID_FIND, > wxID_DUPLICATE, > wxID_SELECTALL, > wxID_DELETE, > wxID_REPLACE, > wxID_REPLACE_ALL, > wxID_PROPERTIES, > > wxID_VIEW_DETAILS, > wxID_VIEW_LARGEICONS, > wxID_VIEW_SMALLICONS, > wxID_VIEW_LIST, > wxID_VIEW_SORTDATE, > wxID_VIEW_SORTNAME, > wxID_VIEW_SORTSIZE, > wxID_VIEW_SORTTYPE, > > wxID_FILE = 5050, > wxID_FILE1, > wxID_FILE2, > wxID_FILE3, > wxID_FILE4, > wxID_FILE5, > wxID_FILE6, > wxID_FILE7, > wxID_FILE8, > wxID_FILE9, > > > wxID_OK = 5100, > wxID_CANCEL, > wxID_APPLY, > wxID_YES, > wxID_NO, > wxID_STATIC, > wxID_FORWARD, > wxID_BACKWARD, > wxID_DEFAULT, > wxID_MORE, > wxID_SETUP, > wxID_RESET, > wxID_CONTEXT_HELP, > wxID_YESTOALL, > wxID_NOTOALL, > wxID_ABORT, > wxID_RETRY, > wxID_IGNORE, > wxID_ADD, > wxID_REMOVE, > > wxID_UP, > wxID_DOWN, > wxID_HOME, > wxID_REFRESH, > wxID_STOP, > wxID_INDEX, > > wxID_BOLD, > wxID_ITALIC, > wxID_JUSTIFY_CENTER, > wxID_JUSTIFY_FILL, > wxID_JUSTIFY_RIGHT, > wxID_JUSTIFY_LEFT, > wxID_UNDERLINE, > wxID_INDENT, > wxID_UNINDENT, > wxID_ZOOM_100, > wxID_ZOOM_FIT, > wxID_ZOOM_IN, > wxID_ZOOM_OUT, > wxID_UNDELETE, > wxID_REVERT_TO_SAVED, > wxID_CDROM, > wxID_CONVERT, > wxID_EXECUTE, > wxID_FLOPPY, > wxID_HARDDISK, > wxID_BOTTOM, > wxID_FIRST, > wxID_LAST, > wxID_TOP, > wxID_INFO, > wxID_JUMP_TO, > wxID_NETWORK, > wxID_SELECT_COLOR, > wxID_SELECT_FONT, > wxID_SORT_ASCENDING, > wxID_SORT_DESCENDING, > wxID_SPELL_CHECK, > wxID_STRIKETHROUGH, > > > wxID_SYSTEM_MENU = 5200, > wxID_CLOSE_FRAME, > wxID_MOVE_FRAME, > wxID_RESIZE_FRAME, > wxID_MAXIMIZE_FRAME, > wxID_ICONIZE_FRAME, > wxID_RESTORE_FRAME, > > > wxID_MDI_WINDOW_FIRST = 5230, > wxID_MDI_WINDOW_CASCADE = wxID_MDI_WINDOW_FIRST, > wxID_MDI_WINDOW_TILE_HORZ, > wxID_MDI_WINDOW_TILE_VERT, > wxID_MDI_WINDOW_ARRANGE_ICONS, > wxID_MDI_WINDOW_PREV, > wxID_MDI_WINDOW_NEXT, > wxID_MDI_WINDOW_LAST = wxID_MDI_WINDOW_NEXT, > > > wxID_OSX_MENU_FIRST = 5250, > wxID_OSX_HIDE = wxID_OSX_MENU_FIRST, > wxID_OSX_HIDEOTHERS, > wxID_OSX_SHOWALL, > > wxID_OSX_SERVICES, > wxID_OSX_MENU_LAST = wxID_OSX_SERVICES, > > > > > > wxID_FILEDLGG = 5900, > > > wxID_FILECTRL = 5950, > > wxID_HIGHEST = 5999 >}; ># 2322 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/windowid.h" 1 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/windowid.h" >typedef int wxWindowID; ># 28 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/windowid.h" >class wxWindowIDRef >{ >public: > > wxWindowIDRef() > { > m_id = wxID_NONE; > } > > > wxWindowIDRef(int id) > { > Init(id); > } > > wxWindowIDRef(long id) > { > Init(wxWindowID(id)); > } > > wxWindowIDRef(const wxWindowIDRef& id) > { > Init(id.m_id); > } > > > ~wxWindowIDRef() > { > Assign(wxID_NONE); > } > > > wxWindowIDRef& operator=(int id) > { > Assign(id); > return *this; > } > > wxWindowIDRef& operator=(long id) > { > Assign(wxWindowID(id)); > return *this; > } > > wxWindowIDRef& operator=(const wxWindowIDRef& id) > { > if (&id != this) > Assign(id.m_id); > return *this; > } > > > wxWindowID GetValue() const > { > return m_id; > } > > operator wxWindowID() const > { > return m_id; > } > >private: ># 104 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/windowid.h" > void Init(wxWindowID id) > { > m_id = id; > } > > void Assign(wxWindowID id) > { > m_id = id; > } > > > > wxWindowID m_id; >}; > > >inline bool operator==(const wxWindowIDRef& lhs, const wxWindowIDRef& rhs) >{ > return lhs.GetValue() == rhs.GetValue(); >} > >inline bool operator==(const wxWindowIDRef& lhs, int rhs) >{ > return lhs.GetValue() == rhs; >} > >inline bool operator==(const wxWindowIDRef& lhs, long rhs) >{ > return lhs.GetValue() == rhs; >} > >inline bool operator==(int lhs, const wxWindowIDRef& rhs) >{ > return rhs == lhs; >} > >inline bool operator==(long lhs, const wxWindowIDRef& rhs) >{ > return rhs == lhs; >} > >inline bool operator!=(const wxWindowIDRef& lhs, const wxWindowIDRef& rhs) >{ > return !(lhs == rhs); >} > >inline bool operator!=(const wxWindowIDRef& lhs, int rhs) >{ > return !(lhs == rhs); >} > >inline bool operator!=(const wxWindowIDRef& lhs, long rhs) >{ > return !(lhs == rhs); >} > >inline bool operator!=(int lhs, const wxWindowIDRef& rhs) >{ > return !(lhs == rhs); >} > >inline bool operator!=(long lhs, const wxWindowIDRef& rhs) >{ > return !(lhs == rhs); >} > > > > > >class wxIdManager >{ >public: > > > > > static wxWindowID ReserveId(int count = 1); > > > > > static void UnreserveId(wxWindowID id, int count = 1); >}; ># 2323 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" 2 > > > > > > > >enum wxItemKind >{ > wxITEM_SEPARATOR = -1, > wxITEM_NORMAL, > wxITEM_CHECK, > wxITEM_RADIO, > wxITEM_DROPDOWN, > wxITEM_MAX >}; > > > > > >enum wxCheckBoxState >{ > wxCHK_UNCHECKED, > wxCHK_CHECKED, > wxCHK_UNDETERMINED >}; > > > >enum wxHitTest >{ > wxHT_NOWHERE, > > > wxHT_SCROLLBAR_FIRST = wxHT_NOWHERE, > wxHT_SCROLLBAR_ARROW_LINE_1, > wxHT_SCROLLBAR_ARROW_LINE_2, > wxHT_SCROLLBAR_ARROW_PAGE_1, > wxHT_SCROLLBAR_ARROW_PAGE_2, > wxHT_SCROLLBAR_THUMB, > wxHT_SCROLLBAR_BAR_1, > wxHT_SCROLLBAR_BAR_2, > wxHT_SCROLLBAR_LAST, > > > wxHT_WINDOW_OUTSIDE, > wxHT_WINDOW_INSIDE, > wxHT_WINDOW_VERT_SCROLLBAR, > wxHT_WINDOW_HORZ_SCROLLBAR, > wxHT_WINDOW_CORNER, > > wxHT_MAX >}; ># 2408 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >enum wxHatchStyle >{ > wxHATCHSTYLE_INVALID = -1, > > > > > > wxHATCHSTYLE_FIRST = 111, > wxHATCHSTYLE_BDIAGONAL = wxHATCHSTYLE_FIRST, > wxHATCHSTYLE_CROSSDIAG, > wxHATCHSTYLE_FDIAGONAL, > wxHATCHSTYLE_CROSS, > wxHATCHSTYLE_HORIZONTAL, > wxHATCHSTYLE_VERTICAL, > wxHATCHSTYLE_LAST = wxHATCHSTYLE_VERTICAL >}; ># 2435 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >enum wxDeprecatedGUIConstants >{ > > wxDEFAULT = 70, > wxDECORATIVE, > wxROMAN, > wxSCRIPT, > wxSWISS, > wxMODERN, > wxTELETYPE, > > > wxVARIABLE = 80, > wxFIXED, > > wxNORMAL = 90, > wxLIGHT, > wxBOLD, > > wxITALIC, > wxSLANT, > > > wxSOLID = 100, > wxDOT, > wxLONG_DASH, > wxSHORT_DASH, > wxDOT_DASH, > wxUSER_DASH, > > wxTRANSPARENT, > > > > wxSTIPPLE_MASK_OPAQUE, > wxSTIPPLE_MASK, > > wxSTIPPLE = 110, > > wxBDIAGONAL_HATCH = wxHATCHSTYLE_BDIAGONAL, > wxCROSSDIAG_HATCH = wxHATCHSTYLE_CROSSDIAG, > wxFDIAGONAL_HATCH = wxHATCHSTYLE_FDIAGONAL, > wxCROSS_HATCH = wxHATCHSTYLE_CROSS, > wxHORIZONTAL_HATCH = wxHATCHSTYLE_HORIZONTAL, > wxVERTICAL_HATCH = wxHATCHSTYLE_VERTICAL, > wxFIRST_HATCH = wxHATCHSTYLE_FIRST, > wxLAST_HATCH = wxHATCHSTYLE_LAST >}; > > > >enum >{ > wxTOOL_TOP = 1, > wxTOOL_BOTTOM, > wxTOOL_LEFT, > wxTOOL_RIGHT >}; > > > >enum wxDataFormatId >{ > wxDF_INVALID = 0, > wxDF_TEXT = 1, > wxDF_BITMAP = 2, > wxDF_METAFILE = 3, > wxDF_SYLK = 4, > wxDF_DIF = 5, > wxDF_TIFF = 6, > wxDF_OEMTEXT = 7, > wxDF_DIB = 8, > wxDF_PALETTE = 9, > wxDF_PENDATA = 10, > wxDF_RIFF = 11, > wxDF_WAVE = 12, > wxDF_UNICODETEXT = 13, > wxDF_ENHMETAFILE = 14, > wxDF_FILENAME = 15, > wxDF_LOCALE = 16, > wxDF_PRIVATE = 20, > wxDF_HTML = 30, > wxDF_MAX >}; > > >enum wxKeyCode >{ > WXK_NONE = 0, > > WXK_CONTROL_A = 1, > WXK_CONTROL_B, > WXK_CONTROL_C, > WXK_CONTROL_D, > WXK_CONTROL_E, > WXK_CONTROL_F, > WXK_CONTROL_G, > WXK_CONTROL_H, > WXK_CONTROL_I, > WXK_CONTROL_J, > WXK_CONTROL_K, > WXK_CONTROL_L, > WXK_CONTROL_M, > WXK_CONTROL_N, > WXK_CONTROL_O, > WXK_CONTROL_P, > WXK_CONTROL_Q, > WXK_CONTROL_R, > WXK_CONTROL_S, > WXK_CONTROL_T, > WXK_CONTROL_U, > WXK_CONTROL_V, > WXK_CONTROL_W, > WXK_CONTROL_X, > WXK_CONTROL_Y, > WXK_CONTROL_Z, > > WXK_BACK = 8, > WXK_TAB = 9, > WXK_RETURN = 13, > WXK_ESCAPE = 27, > > > > WXK_SPACE = 32, > WXK_DELETE = 127, ># 2569 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" > WXK_START = 300, > WXK_LBUTTON, > WXK_RBUTTON, > WXK_CANCEL, > WXK_MBUTTON, > WXK_CLEAR, > WXK_SHIFT, > WXK_ALT, > WXK_CONTROL, > WXK_MENU, > WXK_PAUSE, > WXK_CAPITAL, > WXK_END, > WXK_HOME, > WXK_LEFT, > WXK_UP, > WXK_RIGHT, > WXK_DOWN, > WXK_SELECT, > WXK_PRINT, > WXK_EXECUTE, > WXK_SNAPSHOT, > WXK_INSERT, > WXK_HELP, > WXK_NUMPAD0, > WXK_NUMPAD1, > WXK_NUMPAD2, > WXK_NUMPAD3, > WXK_NUMPAD4, > WXK_NUMPAD5, > WXK_NUMPAD6, > WXK_NUMPAD7, > WXK_NUMPAD8, > WXK_NUMPAD9, > WXK_MULTIPLY, > WXK_ADD, > WXK_SEPARATOR, > WXK_SUBTRACT, > WXK_DECIMAL, > WXK_DIVIDE, > WXK_F1, > WXK_F2, > WXK_F3, > WXK_F4, > WXK_F5, > WXK_F6, > WXK_F7, > WXK_F8, > WXK_F9, > WXK_F10, > WXK_F11, > WXK_F12, > WXK_F13, > WXK_F14, > WXK_F15, > WXK_F16, > WXK_F17, > WXK_F18, > WXK_F19, > WXK_F20, > WXK_F21, > WXK_F22, > WXK_F23, > WXK_F24, > WXK_NUMLOCK, > WXK_SCROLL, > WXK_PAGEUP, > WXK_PAGEDOWN, > > > > > > WXK_NUMPAD_SPACE, > WXK_NUMPAD_TAB, > WXK_NUMPAD_ENTER, > WXK_NUMPAD_F1, > WXK_NUMPAD_F2, > WXK_NUMPAD_F3, > WXK_NUMPAD_F4, > WXK_NUMPAD_HOME, > WXK_NUMPAD_LEFT, > WXK_NUMPAD_UP, > WXK_NUMPAD_RIGHT, > WXK_NUMPAD_DOWN, > WXK_NUMPAD_PAGEUP, > WXK_NUMPAD_PAGEDOWN, > > > > > WXK_NUMPAD_END, > WXK_NUMPAD_BEGIN, > WXK_NUMPAD_INSERT, > WXK_NUMPAD_DELETE, > WXK_NUMPAD_EQUAL, > WXK_NUMPAD_MULTIPLY, > WXK_NUMPAD_ADD, > WXK_NUMPAD_SEPARATOR, > WXK_NUMPAD_SUBTRACT, > WXK_NUMPAD_DECIMAL, > WXK_NUMPAD_DIVIDE, > > WXK_WINDOWS_LEFT, > WXK_WINDOWS_RIGHT, > WXK_WINDOWS_MENU , > > > > WXK_RAW_CONTROL = WXK_CONTROL, > > WXK_COMMAND = WXK_CONTROL, > > > WXK_SPECIAL1 = 193, > WXK_SPECIAL2, > WXK_SPECIAL3, > WXK_SPECIAL4, > WXK_SPECIAL5, > WXK_SPECIAL6, > WXK_SPECIAL7, > WXK_SPECIAL8, > WXK_SPECIAL9, > WXK_SPECIAL10, > WXK_SPECIAL11, > WXK_SPECIAL12, > WXK_SPECIAL13, > WXK_SPECIAL14, > WXK_SPECIAL15, > WXK_SPECIAL16, > WXK_SPECIAL17, > WXK_SPECIAL18, > WXK_SPECIAL19, > WXK_SPECIAL20 >}; > > >enum wxKeyModifier >{ > wxMOD_NONE = 0x0000, > wxMOD_ALT = 0x0001, > wxMOD_CONTROL = 0x0002, > wxMOD_ALTGR = wxMOD_ALT | wxMOD_CONTROL, > wxMOD_SHIFT = 0x0004, > wxMOD_META = 0x0008, > wxMOD_WIN = wxMOD_META, > > > > wxMOD_RAW_CONTROL = wxMOD_CONTROL, > > wxMOD_CMD = wxMOD_CONTROL, > wxMOD_ALL = 0xffff >}; > > > > > >typedef enum >{ > wxPAPER_NONE, > wxPAPER_LETTER, > wxPAPER_LEGAL, > wxPAPER_A4, > wxPAPER_CSHEET, > wxPAPER_DSHEET, > wxPAPER_ESHEET, > wxPAPER_LETTERSMALL, > wxPAPER_TABLOID, > wxPAPER_LEDGER, > wxPAPER_STATEMENT, > wxPAPER_EXECUTIVE, > wxPAPER_A3, > wxPAPER_A4SMALL, > wxPAPER_A5, > wxPAPER_B4, > wxPAPER_B5, > wxPAPER_FOLIO, > wxPAPER_QUARTO, > wxPAPER_10X14, > wxPAPER_11X17, > wxPAPER_NOTE, > wxPAPER_ENV_9, > wxPAPER_ENV_10, > wxPAPER_ENV_11, > wxPAPER_ENV_12, > wxPAPER_ENV_14, > wxPAPER_ENV_DL, > wxPAPER_ENV_C5, > wxPAPER_ENV_C3, > wxPAPER_ENV_C4, > wxPAPER_ENV_C6, > wxPAPER_ENV_C65, > wxPAPER_ENV_B4, > wxPAPER_ENV_B5, > wxPAPER_ENV_B6, > wxPAPER_ENV_ITALY, > wxPAPER_ENV_MONARCH, > wxPAPER_ENV_PERSONAL, > wxPAPER_FANFOLD_US, > wxPAPER_FANFOLD_STD_GERMAN, > wxPAPER_FANFOLD_LGL_GERMAN, > > wxPAPER_ISO_B4, > wxPAPER_JAPANESE_POSTCARD, > wxPAPER_9X11, > wxPAPER_10X11, > wxPAPER_15X11, > wxPAPER_ENV_INVITE, > wxPAPER_LETTER_EXTRA, > wxPAPER_LEGAL_EXTRA, > wxPAPER_TABLOID_EXTRA, > wxPAPER_A4_EXTRA, > wxPAPER_LETTER_TRANSVERSE, > wxPAPER_A4_TRANSVERSE, > wxPAPER_LETTER_EXTRA_TRANSVERSE, > wxPAPER_A_PLUS, > wxPAPER_B_PLUS, > wxPAPER_LETTER_PLUS, > wxPAPER_A4_PLUS, > wxPAPER_A5_TRANSVERSE, > wxPAPER_B5_TRANSVERSE, > wxPAPER_A3_EXTRA, > wxPAPER_A5_EXTRA, > wxPAPER_B5_EXTRA, > wxPAPER_A2, > wxPAPER_A3_TRANSVERSE, > wxPAPER_A3_EXTRA_TRANSVERSE, > > wxPAPER_DBL_JAPANESE_POSTCARD, > wxPAPER_A6, > wxPAPER_JENV_KAKU2, > wxPAPER_JENV_KAKU3, > wxPAPER_JENV_CHOU3, > wxPAPER_JENV_CHOU4, > wxPAPER_LETTER_ROTATED, > wxPAPER_A3_ROTATED, > wxPAPER_A4_ROTATED, > wxPAPER_A5_ROTATED, > wxPAPER_B4_JIS_ROTATED, > wxPAPER_B5_JIS_ROTATED, > wxPAPER_JAPANESE_POSTCARD_ROTATED, > wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED, > wxPAPER_A6_ROTATED, > wxPAPER_JENV_KAKU2_ROTATED, > wxPAPER_JENV_KAKU3_ROTATED, > wxPAPER_JENV_CHOU3_ROTATED, > wxPAPER_JENV_CHOU4_ROTATED, > wxPAPER_B6_JIS, > wxPAPER_B6_JIS_ROTATED, > wxPAPER_12X11, > wxPAPER_JENV_YOU4, > wxPAPER_JENV_YOU4_ROTATED, > wxPAPER_P16K, > wxPAPER_P32K, > wxPAPER_P32KBIG, > wxPAPER_PENV_1, > wxPAPER_PENV_2, > wxPAPER_PENV_3, > wxPAPER_PENV_4, > wxPAPER_PENV_5, > wxPAPER_PENV_6, > wxPAPER_PENV_7, > wxPAPER_PENV_8, > wxPAPER_PENV_9, > wxPAPER_PENV_10, > wxPAPER_P16K_ROTATED, > wxPAPER_P32K_ROTATED, > wxPAPER_P32KBIG_ROTATED, > wxPAPER_PENV_1_ROTATED, > wxPAPER_PENV_2_ROTATED, > wxPAPER_PENV_3_ROTATED, > wxPAPER_PENV_4_ROTATED, > wxPAPER_PENV_5_ROTATED, > wxPAPER_PENV_6_ROTATED, > wxPAPER_PENV_7_ROTATED, > wxPAPER_PENV_8_ROTATED, > wxPAPER_PENV_9_ROTATED, > wxPAPER_PENV_10_ROTATED, > wxPAPER_A0, > wxPAPER_A1 >} wxPaperSize; > > >enum wxPrintOrientation >{ > wxPORTRAIT = 1, > wxLANDSCAPE >}; > > > > >enum wxDuplexMode >{ > wxDUPLEX_SIMPLEX, > wxDUPLEX_HORIZONTAL, > wxDUPLEX_VERTICAL >}; ># 2878 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >typedef int wxPrintQuality; > > > > >enum wxPrintMode >{ > wxPRINT_MODE_NONE = 0, > wxPRINT_MODE_PREVIEW = 1, > wxPRINT_MODE_FILE = 2, > wxPRINT_MODE_PRINTER = 3, > wxPRINT_MODE_STREAM = 4 >}; > > > > > >enum wxUpdateUI >{ > wxUPDATE_UI_NONE = 0x0000, > wxUPDATE_UI_RECURSE = 0x0001, > wxUPDATE_UI_FROMIDLE = 0x0002 >}; ># 2912 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >typedef int (* wxSortCompareFunction)(const void *elem1, const void *elem2); > > >typedef int (* wxListIterateFunction)(void *current); ># 3382 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >typedef struct _GSList GSList; > > >typedef struct _GdkColor GdkColor; >typedef struct _GdkCursor GdkCursor; >typedef struct _GdkDragContext GdkDragContext; > > > typedef struct _GdkAtom* GdkAtom; > > > > > > typedef struct _GdkColormap GdkColormap; > typedef struct _GdkFont GdkFont; > typedef struct _GdkGC GdkGC; > typedef struct _GdkRegion GdkRegion; > > > > > > typedef struct _GdkDrawable GdkWindow; > typedef struct _GdkDrawable GdkPixmap; > > > > > > > >typedef struct _GtkWidget GtkWidget; >typedef struct _GtkRcStyle GtkRcStyle; >typedef struct _GtkAdjustment GtkAdjustment; >typedef struct _GtkToolbar GtkToolbar; >typedef struct _GtkNotebook GtkNotebook; >typedef struct _GtkNotebookPage GtkNotebookPage; >typedef struct _GtkAccelGroup GtkAccelGroup; >typedef struct _GtkSelectionData GtkSelectionData; >typedef struct _GtkTextBuffer GtkTextBuffer; >typedef struct _GtkRange GtkRange; >typedef struct _GtkCellRenderer GtkCellRenderer; > >typedef GtkWidget *WXWidget; ># 3443 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >typedef struct _PangoContext PangoContext; >typedef struct _PangoLayout PangoLayout; >typedef struct _PangoFontDescription PangoFontDescription; ># 3465 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/features.h" 1 ># 3466 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" 2 ># 3527 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/defs.h" >enum >{ > wxPRIORITY_MIN = 0u, > wxPRIORITY_DEFAULT = 50u, > wxPRIORITY_MAX = 100u >}; ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdiobj.h" 1 ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdiobj.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h" 1 ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/memory.h" 1 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/memory.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" 1 ># 38 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" ># 1 "/usr/include/string.h" 1 3 4 ># 27 "/usr/include/string.h" 3 4 >extern "C" { > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 33 "/usr/include/string.h" 2 3 4 ># 42 "/usr/include/string.h" 3 4 >extern void *memcpy (void *__restrict __dest, const void *__restrict __src, > size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, const void *__src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, const void *__restrict __src, > int __c, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (const void *__s1, const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern "C++" >{ >extern void *memchr (void *__s, int __c, size_t __n) > throw () __asm ("memchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); >extern const void *memchr (const void *__s, int __c, size_t __n) > throw () __asm ("memchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) void * >memchr (void *__s, int __c, size_t __n) throw () >{ > return __builtin_memchr (__s, __c, __n); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const void * >memchr (const void *__s, int __c, size_t __n) throw () >{ > return __builtin_memchr (__s, __c, __n); >} > >} ># 101 "/usr/include/string.h" 3 4 >extern "C++" void *rawmemchr (void *__s, int __c) > throw () __asm ("rawmemchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); >extern "C++" const void *rawmemchr (const void *__s, int __c) > throw () __asm ("rawmemchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >extern "C++" void *memrchr (void *__s, int __c, size_t __n) > throw () __asm ("memrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); >extern "C++" const void *memrchr (const void *__s, int __c, size_t __n) > throw () __asm ("memrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 125 "/usr/include/string.h" 3 4 >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, const char *__restrict __src, > size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (const char *__s1, const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (const char *__s1, const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (2))); ># 162 "/usr/include/string.h" 3 4 >extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, > __locale_t __l) throw () __attribute__ ((__nonnull__ (2, 4))); > > > > > >extern char *strdup (const char *__s) > throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (const char *__string, size_t __n) > throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 207 "/usr/include/string.h" 3 4 > > > >extern "C++" >{ >extern char *strchr (char *__s, int __c) > throw () __asm ("strchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); >extern const char *strchr (const char *__s, int __c) > throw () __asm ("strchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * >strchr (char *__s, int __c) throw () >{ > return __builtin_strchr (__s, __c); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * >strchr (const char *__s, int __c) throw () >{ > return __builtin_strchr (__s, __c); >} > >} > > > > > > >extern "C++" >{ >extern char *strrchr (char *__s, int __c) > throw () __asm ("strrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); >extern const char *strrchr (const char *__s, int __c) > throw () __asm ("strrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * >strrchr (char *__s, int __c) throw () >{ > return __builtin_strrchr (__s, __c); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * >strrchr (const char *__s, int __c) throw () >{ > return __builtin_strrchr (__s, __c); >} > >} ># 268 "/usr/include/string.h" 3 4 >extern "C++" char *strchrnul (char *__s, int __c) > throw () __asm ("strchrnul") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); >extern "C++" const char *strchrnul (const char *__s, int __c) > throw () __asm ("strchrnul") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 281 "/usr/include/string.h" 3 4 >extern size_t strcspn (const char *__s, const char *__reject) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (const char *__s, const char *__accept) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern "C++" >{ >extern char *strpbrk (char *__s, const char *__accept) > throw () __asm ("strpbrk") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); >extern const char *strpbrk (const char *__s, const char *__accept) > throw () __asm ("strpbrk") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * >strpbrk (char *__s, const char *__accept) throw () >{ > return __builtin_strpbrk (__s, __accept); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * >strpbrk (const char *__s, const char *__accept) throw () >{ > return __builtin_strpbrk (__s, __accept); >} > >} > > > > > > >extern "C++" >{ >extern char *strstr (char *__haystack, const char *__needle) > throw () __asm ("strstr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); >extern const char *strstr (const char *__haystack, const char *__needle) > throw () __asm ("strstr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * >strstr (char *__haystack, const char *__needle) throw () >{ > return __builtin_strstr (__haystack, __needle); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * >strstr (const char *__haystack, const char *__needle) throw () >{ > return __builtin_strstr (__haystack, __needle); >} > >} > > > > > > > >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > throw () __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > const char *__restrict __delim, > char **__restrict __save_ptr) > throw () __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, > char **__restrict __save_ptr) > throw () __attribute__ ((__nonnull__ (2, 3))); > > > > > >extern "C++" char *strcasestr (char *__haystack, const char *__needle) > throw () __asm ("strcasestr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); >extern "C++" const char *strcasestr (const char *__haystack, > const char *__needle) > throw () __asm ("strcasestr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 378 "/usr/include/string.h" 3 4 >extern void *memmem (const void *__haystack, size_t __haystacklen, > const void *__needle, size_t __needlelen) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); > > > >extern void *__mempcpy (void *__restrict __dest, > const void *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern void *mempcpy (void *__restrict __dest, > const void *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern size_t strlen (const char *__s) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (const char *__string, size_t __maxlen) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) throw (); ># 434 "/usr/include/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) > throw () __attribute__ ((__nonnull__ (2))) ; > > > > > >extern char *strerror_l (int __errnum, __locale_t __l) throw (); > > > > > >extern void __bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (const void *__src, void *__dest, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (const void *__s1, const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern "C++" >{ >extern char *index (char *__s, int __c) > throw () __asm ("index") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); >extern const char *index (const char *__s, int __c) > throw () __asm ("index") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * >index (char *__s, int __c) throw () >{ > return __builtin_index (__s, __c); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * >index (const char *__s, int __c) throw () >{ > return __builtin_index (__s, __c); >} > >} > > > > > > > >extern "C++" >{ >extern char *rindex (char *__s, int __c) > throw () __asm ("rindex") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); >extern const char *rindex (const char *__s, int __c) > throw () __asm ("rindex") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * >rindex (char *__s, int __c) throw () >{ > return __builtin_rindex (__s, __c); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * >rindex (const char *__s, int __c) throw () >{ > return __builtin_rindex (__s, __c); >} > >} > > > > > > > >extern int ffs (int __i) throw () __attribute__ ((__const__)); > > > > >extern int ffsl (long int __l) throw () __attribute__ ((__const__)); >__extension__ extern int ffsll (long long int __ll) > throw () __attribute__ ((__const__)); > > > >extern int strcasecmp (const char *__s1, const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int strcasecmp_l (const char *__s1, const char *__s2, > __locale_t __loc) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern int strncasecmp_l (const char *__s1, const char *__s2, > size_t __n, __locale_t __loc) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); > > > > > >extern char *strsep (char **__restrict __stringp, > const char *__restrict __delim) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strsignal (int __sig) throw (); > > >extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int strverscmp (const char *__s1, const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strfry (char *__string) throw () __attribute__ ((__nonnull__ (1))); > > >extern void *memfrob (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > >extern "C++" char *basename (char *__filename) > throw () __asm ("basename") __attribute__ ((__nonnull__ (1))); >extern "C++" const char *basename (const char *__filename) > throw () __asm ("basename") __attribute__ ((__nonnull__ (1))); ># 640 "/usr/include/string.h" 3 4 >} ># 39 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" 2 ># 1 "/usr/include/stdio.h" 1 3 4 ># 29 "/usr/include/stdio.h" 3 4 >extern "C" { > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdio.h" 2 3 4 ># 74 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 31 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 15 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 16 "/usr/include/_G_config.h" 2 3 4 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 21 "/usr/include/_G_config.h" 2 3 4 >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 32 "/usr/include/libio.h" 2 3 4 ># 49 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stdarg.h" 1 3 4 ># 50 "/usr/include/libio.h" 2 3 4 ># 144 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 154 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 177 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 245 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 293 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 302 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > > > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 338 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); > > > > >typedef __io_read_fn cookie_read_function_t; >typedef __io_write_fn cookie_write_function_t; >typedef __io_seek_fn cookie_seek_function_t; >typedef __io_close_fn cookie_close_function_t; > > >typedef struct >{ > __io_read_fn *read; > __io_write_fn *write; > __io_seek_fn *seek; > __io_close_fn *close; >} _IO_cookie_io_functions_t; >typedef _IO_cookie_io_functions_t cookie_io_functions_t; > >struct _IO_cookie_file; > > >extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, > void *__cookie, _IO_cookie_io_functions_t __fns); > > > > >extern "C" { > > >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); ># 434 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp); >extern int _IO_putc (int __c, _IO_FILE *__fp); >extern int _IO_feof (_IO_FILE *__fp) throw (); >extern int _IO_ferror (_IO_FILE *__fp) throw (); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) throw (); >extern void _IO_funlockfile (_IO_FILE *) throw (); >extern int _IO_ftrylockfile (_IO_FILE *) throw (); ># 464 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); > >extern void _IO_free_backup_area (_IO_FILE *) throw (); ># 526 "/usr/include/libio.h" 3 4 >} ># 75 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 108 "/usr/include/stdio.h" 3 4 > > > > >typedef _G_fpos64_t fpos_t; > > > >typedef _G_fpos64_t fpos64_t; ># 164 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 165 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > >extern int remove (const char *__filename) throw (); > >extern int rename (const char *__old, const char *__new) throw (); > > > > >extern int renameat (int __oldfd, const char *__old, int __newfd, > const char *__new) throw (); ># 198 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") ; > > > > > > >extern FILE *tmpfile64 (void) ; > > > >extern char *tmpnam (char *__s) throw () ; > > > > > >extern char *tmpnam_r (char *__s) throw () ; ># 227 "/usr/include/stdio.h" 3 4 >extern char *tempnam (const char *__dir, const char *__pfx) > throw () __attribute__ ((__malloc__)) ; ># 237 "/usr/include/stdio.h" 3 4 >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); ># 252 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 262 "/usr/include/stdio.h" 3 4 >extern int fcloseall (void); ># 283 "/usr/include/stdio.h" 3 4 >extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) __asm__ ("" "fopen64") > > ; >extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64") > > > ; > > > > > > > >extern FILE *fopen64 (const char *__restrict __filename, > const char *__restrict __modes) ; >extern FILE *freopen64 (const char *__restrict __filename, > const char *__restrict __modes, > FILE *__restrict __stream) ; > > > > >extern FILE *fdopen (int __fd, const char *__modes) throw () ; > > > > > >extern FILE *fopencookie (void *__restrict __magic_cookie, > const char *__restrict __modes, > _IO_cookie_io_functions_t __io_funcs) throw () ; > > > > >extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) > throw () ; > > > > >extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) throw () ; > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) throw (); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) throw (); > > >extern void setlinebuf (FILE *__stream) throw (); ># 356 "/usr/include/stdio.h" 3 4 >extern int fprintf (FILE *__restrict __stream, > const char *__restrict __format, ...); > > > > >extern int printf (const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > const char *__restrict __format, ...) throw (); > > > > > >extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, const char *__restrict __format, > __gnuc_va_list __arg) throw (); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 3, 0))); > > > > > > >extern int vasprintf (char **__restrict __ptr, const char *__restrict __f, > __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 2, 0))) ; >extern int __asprintf (char **__restrict __ptr, > const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))) ; >extern int asprintf (char **__restrict __ptr, > const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))) ; > > > > >extern int vdprintf (int __fd, const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); ># 425 "/usr/include/stdio.h" 3 4 >extern int fscanf (FILE *__restrict __stream, > const char *__restrict __format, ...) ; > > > > >extern int scanf (const char *__restrict __format, ...) ; > >extern int sscanf (const char *__restrict __s, > const char *__restrict __format, ...) throw (); ># 463 "/usr/include/stdio.h" 3 4 ># 471 "/usr/include/stdio.h" 3 4 >extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))) ; > > > > > >extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))) ; > > >extern int vsscanf (const char *__restrict __s, > const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__scanf__, 2, 0))); ># 522 "/usr/include/stdio.h" 3 4 ># 531 "/usr/include/stdio.h" 3 4 >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); ># 550 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 561 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); ># 573 "/usr/include/stdio.h" 3 4 >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); ># 594 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); ># 622 "/usr/include/stdio.h" 3 4 >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > ; ># 638 "/usr/include/stdio.h" 3 4 >extern char *gets (char *__s) __attribute__ ((__deprecated__)); ># 649 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream) ; ># 665 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) ; >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) ; > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream) ; ># 689 "/usr/include/stdio.h" 3 4 >extern int fputs (const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; > > > > >extern size_t fwrite (const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s); ># 726 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (const char *__restrict __s, > FILE *__restrict __stream); ># 737 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; >extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); ># 749 "/usr/include/stdio.h" 3 4 >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) ; > > > > >extern void rewind (FILE *__stream); ># 781 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64") > > ; >extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64"); ># 806 "/usr/include/stdio.h" 3 4 >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64") > ; >extern int fsetpos (FILE *__stream, const fpos_t *__pos) __asm__ ("" "fsetpos64") > ; ># 818 "/usr/include/stdio.h" 3 4 >extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); >extern __off64_t ftello64 (FILE *__stream) ; >extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); >extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos); > > > > >extern void clearerr (FILE *__stream) throw (); > >extern int feof (FILE *__stream) throw () ; > >extern int ferror (FILE *__stream) throw () ; > > > > >extern void clearerr_unlocked (FILE *__stream) throw (); >extern int feof_unlocked (FILE *__stream) throw () ; >extern int ferror_unlocked (FILE *__stream) throw () ; ># 846 "/usr/include/stdio.h" 3 4 >extern void perror (const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 26 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern const char *const sys_errlist[]; > > >extern int _sys_nerr; >extern const char *const _sys_errlist[]; ># 854 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) throw () ; > > > > >extern int fileno_unlocked (FILE *__stream) throw () ; ># 873 "/usr/include/stdio.h" 3 4 >extern FILE *popen (const char *__command, const char *__modes) ; > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) throw (); > > > > > >extern char *cuserid (char *__s); > > > > >struct obstack; > > >extern int obstack_printf (struct obstack *__restrict __obstack, > const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); >extern int obstack_vprintf (struct obstack *__restrict __obstack, > const char *__restrict __format, > __gnuc_va_list __args) > throw () __attribute__ ((__format__ (__printf__, 2, 0))); > > > > > > > >extern void flockfile (FILE *__stream) throw (); > > > >extern int ftrylockfile (FILE *__stream) throw () ; > > >extern void funlockfile (FILE *__stream) throw (); ># 934 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 35 "/usr/include/bits/stdio.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) int >vprintf (const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > > >extern __inline __attribute__ ((__gnu_inline__)) int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >fgetc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >getchar_unlocked (void) >{ > return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >putchar_unlocked (int __c) >{ > return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) __ssize_t >getline (char **__lineptr, size_t *__n, FILE *__stream) >{ > return __getdelim (__lineptr, __n, '\n', __stream); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) feof_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) ferror_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 935 "/usr/include/stdio.h" 2 3 4 ># 943 "/usr/include/stdio.h" 3 4 >} ># 40 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" 2 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stdarg.h" 1 3 4 ># 41 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" 2 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/limits.h" 1 3 4 ># 42 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" 2 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 32 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 2 3 4 > >extern "C" { > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 42 "/usr/include/stdlib.h" 2 3 4 ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 66 "/usr/include/bits/waitstatus.h" 3 4 >union wait > { > int w_status; > struct > { > > unsigned int __w_termsig:7; > unsigned int __w_coredump:1; > unsigned int __w_retcode:8; > unsigned int:16; > > > > > > > > } __wait_terminated; > struct > { > > unsigned int __w_stopval:8; > unsigned int __w_stopsig:8; > unsigned int:16; > > > > > > > } __wait_stopped; > }; ># 43 "/usr/include/stdlib.h" 2 3 4 ># 95 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; ># 139 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) throw () ; > > > > >extern double atof (const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > >extern int atoi (const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > >extern long int atol (const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >__extension__ extern long long int atoll (const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >extern double strtod (const char *__restrict __nptr, > char **__restrict __endptr) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern float strtof (const char *__restrict __nptr, > char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); > >extern long double strtold (const char *__restrict __nptr, > char **__restrict __endptr) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern long int strtol (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); > >extern unsigned long int strtoul (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); > > > > >__extension__ >extern long long int strtoq (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtouq (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ >extern long long int strtoll (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtoull (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); ># 239 "/usr/include/stdlib.h" 3 4 >extern long int strtol_l (const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); > >extern unsigned long int strtoul_l (const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))); > >__extension__ >extern long long int strtoll_l (const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))); > >__extension__ >extern unsigned long long int strtoull_l (const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))); > >extern double strtod_l (const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 3))); > >extern float strtof_l (const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 3))); > >extern long double strtold_l (const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 3))); > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) atoi (const char *__nptr) throw () >{ > return (int) strtol (__nptr, (char **) __null, 10); >} >extern __inline __attribute__ ((__gnu_inline__)) long int >__attribute__ ((__leaf__)) atol (const char *__nptr) throw () >{ > return strtol (__nptr, (char **) __null, 10); >} > > > > >__extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int >__attribute__ ((__leaf__)) atoll (const char *__nptr) throw () >{ > return strtoll (__nptr, (char **) __null, 10); >} ># 305 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) throw () ; > > >extern long int a64l (const char *__s) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; ># 321 "/usr/include/stdlib.h" 3 4 >extern long int random (void) throw (); > > >extern void srandom (unsigned int __seed) throw (); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > throw () __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > throw () __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) throw (); > >extern void srand (unsigned int __seed) throw (); > > > > >extern int rand_r (unsigned int *__seed) throw (); > > > > > > > >extern double drand48 (void) throw (); >extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) throw (); >extern long int nrand48 (unsigned short int __xsubi[3]) > throw () __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) throw (); >extern long int jrand48 (unsigned short int __xsubi[3]) > throw () __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) throw (); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > throw () __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > __extension__ unsigned long long int __a; > > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > throw () __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > throw () __attribute__ ((__nonnull__ (1, 2))); ># 466 "/usr/include/stdlib.h" 3 4 >extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; > >extern void *calloc (size_t __nmemb, size_t __size) > throw () __attribute__ ((__malloc__)) ; ># 480 "/usr/include/stdlib.h" 3 4 >extern void *realloc (void *__ptr, size_t __size) > throw () __attribute__ ((__warn_unused_result__)); > >extern void free (void *__ptr) throw (); > > > > >extern void cfree (void *__ptr) throw (); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 24 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 25 "/usr/include/alloca.h" 2 3 4 > >extern "C" { > > > > > >extern void *alloca (size_t __size) throw (); > > > > > >} ># 493 "/usr/include/stdlib.h" 2 3 4 > > > > > >extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ; > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > >extern void *aligned_alloc (size_t __alignment, size_t __size) > throw () __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ; > > > > >extern void abort (void) throw () __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); > > > > >extern "C++" int at_quick_exit (void (*__func) (void)) > throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1))); ># 535 "/usr/include/stdlib.h" 3 4 >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > >extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > > >extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; > > > > > >extern char *secure_getenv (const char *__name) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > > > >extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (const char *__name, const char *__value, int __replace) > throw () __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern int clearenv (void) throw (); ># 606 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))); ># 623 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __asm__ ("" "mkstemp64") > __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; ># 645 "/usr/include/stdlib.h" 3 4 >extern int mkstemps (char *__template, int __suffixlen) __asm__ ("" "mkstemps64") > __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int mkstemps64 (char *__template, int __suffixlen) > __attribute__ ((__nonnull__ (1))) ; ># 663 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; ># 677 "/usr/include/stdlib.h" 3 4 >extern int mkostemp (char *__template, int __flags) __asm__ ("" "mkostemp64") > __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; ># 698 "/usr/include/stdlib.h" 3 4 >extern int mkostemps (char *__template, int __suffixlen, int __flags) __asm__ ("" "mkostemps64") > > __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int mkostemps64 (char *__template, int __suffixlen, int __flags) > __attribute__ ((__nonnull__ (1))) ; ># 717 "/usr/include/stdlib.h" 3 4 >extern int system (const char *__command) ; > > > > > > >extern char *canonicalize_file_name (const char *__name) > throw () __attribute__ ((__nonnull__ (1))) ; ># 734 "/usr/include/stdlib.h" 3 4 >extern char *realpath (const char *__restrict __name, > char *__restrict __resolved) throw () ; > > > > > > >typedef int (*__compar_fn_t) (const void *, const void *); > > >typedef __compar_fn_t comparison_fn_t; > > > >typedef int (*__compar_d_fn_t) (const void *, const void *, void *); > > > > > >extern void *bsearch (const void *__key, const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) ; > > ># 1 "/usr/include/bits/stdlib-bsearch.h" 1 3 4 ># 19 "/usr/include/bits/stdlib-bsearch.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) void * >bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) >{ > size_t __l, __u, __idx; > const void *__p; > int __comparison; > > __l = 0; > __u = __nmemb; > while (__l < __u) > { > __idx = (__l + __u) / 2; > __p = (void *) (((const char *) __base) + (__idx * __size)); > __comparison = (*__compar) (__key, __p); > if (__comparison < 0) > __u = __idx; > else if (__comparison > 0) > __l = __idx + 1; > else > return (void *) __p; > } > > return __null; >} ># 761 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); > >extern void qsort_r (void *__base, size_t __nmemb, size_t __size, > __compar_d_fn_t __compar, void *__arg) > __attribute__ ((__nonnull__ (1, 4))); > > > > >extern int abs (int __x) throw () __attribute__ ((__const__)) ; >extern long int labs (long int __x) throw () __attribute__ ((__const__)) ; > > > >__extension__ extern long long int llabs (long long int __x) > throw () __attribute__ ((__const__)) ; > > > > > > > >extern div_t div (int __numer, int __denom) > throw () __attribute__ ((__const__)) ; >extern ldiv_t ldiv (long int __numer, long int __denom) > throw () __attribute__ ((__const__)) ; > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > throw () __attribute__ ((__const__)) ; ># 812 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > throw () __attribute__ ((__nonnull__ (3))) ; > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > throw () __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > throw () __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > throw () __attribute__ ((__nonnull__ (3))) ; > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > throw () __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > throw () __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > >extern int mblen (const char *__s, size_t __n) throw (); > > >extern int mbtowc (wchar_t *__restrict __pwc, > const char *__restrict __s, size_t __n) throw (); > > >extern int wctomb (char *__s, wchar_t __wchar) throw (); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > const char *__restrict __s, size_t __n) throw (); > >extern size_t wcstombs (char *__restrict __s, > const wchar_t *__restrict __pwcs, size_t __n) > throw (); ># 888 "/usr/include/stdlib.h" 3 4 >extern int rpmatch (const char *__response) throw () __attribute__ ((__nonnull__ (1))) ; ># 899 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *const *__restrict __tokens, > char **__restrict __valuep) > throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; > > > > > >extern void setkey (const char *__key) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int posix_openpt (int __oflag) ; > > > > > > > >extern int grantpt (int __fd) throw (); > > > >extern int unlockpt (int __fd) throw (); > > > > >extern char *ptsname (int __fd) throw () ; > > > > > > >extern int ptsname_r (int __fd, char *__buf, size_t __buflen) > throw () __attribute__ ((__nonnull__ (2))); > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) > throw () __attribute__ ((__nonnull__ (1))); > > ># 1 "/usr/include/bits/stdlib-float.h" 1 3 4 ># 24 "/usr/include/bits/stdlib-float.h" 3 4 > >extern __inline __attribute__ ((__gnu_inline__)) double >__attribute__ ((__leaf__)) atof (const char *__nptr) throw () >{ > return strtod (__nptr, (char **) __null); >} ># 956 "/usr/include/stdlib.h" 2 3 4 ># 968 "/usr/include/stdlib.h" 3 4 >} ># 43 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" 2 > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" 1 ># 36 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" ># 1 "/usr/include/ctype.h" 1 3 4 ># 28 "/usr/include/ctype.h" 3 4 >extern "C" { ># 46 "/usr/include/ctype.h" 3 4 >enum >{ > _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), > _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), > _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), > _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), > _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), > _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), > _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), > _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), > _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), > _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), > _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), > _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) >}; ># 79 "/usr/include/ctype.h" 3 4 >extern const unsigned short int **__ctype_b_loc (void) > throw () __attribute__ ((__const__)); >extern const __int32_t **__ctype_tolower_loc (void) > throw () __attribute__ ((__const__)); >extern const __int32_t **__ctype_toupper_loc (void) > throw () __attribute__ ((__const__)); ># 104 "/usr/include/ctype.h" 3 4 > > > > > > >extern int isalnum (int) throw (); >extern int isalpha (int) throw (); >extern int iscntrl (int) throw (); >extern int isdigit (int) throw (); >extern int islower (int) throw (); >extern int isgraph (int) throw (); >extern int isprint (int) throw (); >extern int ispunct (int) throw (); >extern int isspace (int) throw (); >extern int isupper (int) throw (); >extern int isxdigit (int) throw (); > > > >extern int tolower (int __c) throw (); > > >extern int toupper (int __c) throw (); ># 136 "/usr/include/ctype.h" 3 4 >extern int isblank (int) throw (); > > > > > > >extern int isctype (int __c, int __mask) throw (); > > > > > > >extern int isascii (int __c) throw (); > > > >extern int toascii (int __c) throw (); > > > >extern int _toupper (int) throw (); >extern int _tolower (int) throw (); ># 182 "/usr/include/ctype.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) int isalnum (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _ISalnum; } >extern __inline __attribute__ ((__gnu_inline__)) int isalpha (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _ISalpha; } >extern __inline __attribute__ ((__gnu_inline__)) int iscntrl (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _IScntrl; } >extern __inline __attribute__ ((__gnu_inline__)) int isdigit (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _ISdigit; } >extern __inline __attribute__ ((__gnu_inline__)) int islower (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _ISlower; } >extern __inline __attribute__ ((__gnu_inline__)) int isgraph (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _ISgraph; } >extern __inline __attribute__ ((__gnu_inline__)) int isprint (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _ISprint; } >extern __inline __attribute__ ((__gnu_inline__)) int ispunct (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _ISpunct; } >extern __inline __attribute__ ((__gnu_inline__)) int isspace (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _ISspace; } >extern __inline __attribute__ ((__gnu_inline__)) int isupper (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _ISupper; } >extern __inline __attribute__ ((__gnu_inline__)) int isxdigit (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _ISxdigit; } > >extern __inline __attribute__ ((__gnu_inline__)) int isblank (int __c) throw () { return (*__ctype_b_loc ())[(int) (__c)] & (unsigned short int) _ISblank; } ># 214 "/usr/include/ctype.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) tolower (int __c) throw () >{ > return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; >} > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) toupper (int __c) throw () >{ > return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; >} ># 271 "/usr/include/ctype.h" 3 4 >extern int isalnum_l (int, __locale_t) throw (); >extern int isalpha_l (int, __locale_t) throw (); >extern int iscntrl_l (int, __locale_t) throw (); >extern int isdigit_l (int, __locale_t) throw (); >extern int islower_l (int, __locale_t) throw (); >extern int isgraph_l (int, __locale_t) throw (); >extern int isprint_l (int, __locale_t) throw (); >extern int ispunct_l (int, __locale_t) throw (); >extern int isspace_l (int, __locale_t) throw (); >extern int isupper_l (int, __locale_t) throw (); >extern int isxdigit_l (int, __locale_t) throw (); > >extern int isblank_l (int, __locale_t) throw (); > > > >extern int __tolower_l (int __c, __locale_t __l) throw (); >extern int tolower_l (int __c, __locale_t __l) throw (); > > >extern int __toupper_l (int __c, __locale_t __l) throw (); >extern int toupper_l (int __c, __locale_t __l) throw (); ># 347 "/usr/include/ctype.h" 3 4 >} ># 37 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" 2 ># 1 "/usr/include/wctype.h" 1 3 4 ># 33 "/usr/include/wctype.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 34 "/usr/include/wctype.h" 2 3 4 ># 49 "/usr/include/wctype.h" 3 4 > > > >typedef unsigned long int wctype_t; ># 71 "/usr/include/wctype.h" 3 4 >enum >{ > __ISwupper = 0, > __ISwlower = 1, > __ISwalpha = 2, > __ISwdigit = 3, > __ISwxdigit = 4, > __ISwspace = 5, > __ISwprint = 6, > __ISwgraph = 7, > __ISwblank = 8, > __ISwcntrl = 9, > __ISwpunct = 10, > __ISwalnum = 11, > > _ISwupper = ((__ISwupper) < 8 ? (int) ((1UL << (__ISwupper)) << 24) : ((__ISwupper) < 16 ? (int) ((1UL << (__ISwupper)) << 8) : ((__ISwupper) < 24 ? (int) ((1UL << (__ISwupper)) >> 8) : (int) ((1UL << (__ISwupper)) >> 24)))), > _ISwlower = ((__ISwlower) < 8 ? (int) ((1UL << (__ISwlower)) << 24) : ((__ISwlower) < 16 ? (int) ((1UL << (__ISwlower)) << 8) : ((__ISwlower) < 24 ? (int) ((1UL << (__ISwlower)) >> 8) : (int) ((1UL << (__ISwlower)) >> 24)))), > _ISwalpha = ((__ISwalpha) < 8 ? (int) ((1UL << (__ISwalpha)) << 24) : ((__ISwalpha) < 16 ? (int) ((1UL << (__ISwalpha)) << 8) : ((__ISwalpha) < 24 ? (int) ((1UL << (__ISwalpha)) >> 8) : (int) ((1UL << (__ISwalpha)) >> 24)))), > _ISwdigit = ((__ISwdigit) < 8 ? (int) ((1UL << (__ISwdigit)) << 24) : ((__ISwdigit) < 16 ? (int) ((1UL << (__ISwdigit)) << 8) : ((__ISwdigit) < 24 ? (int) ((1UL << (__ISwdigit)) >> 8) : (int) ((1UL << (__ISwdigit)) >> 24)))), > _ISwxdigit = ((__ISwxdigit) < 8 ? (int) ((1UL << (__ISwxdigit)) << 24) : ((__ISwxdigit) < 16 ? (int) ((1UL << (__ISwxdigit)) << 8) : ((__ISwxdigit) < 24 ? (int) ((1UL << (__ISwxdigit)) >> 8) : (int) ((1UL << (__ISwxdigit)) >> 24)))), > _ISwspace = ((__ISwspace) < 8 ? (int) ((1UL << (__ISwspace)) << 24) : ((__ISwspace) < 16 ? (int) ((1UL << (__ISwspace)) << 8) : ((__ISwspace) < 24 ? (int) ((1UL << (__ISwspace)) >> 8) : (int) ((1UL << (__ISwspace)) >> 24)))), > _ISwprint = ((__ISwprint) < 8 ? (int) ((1UL << (__ISwprint)) << 24) : ((__ISwprint) < 16 ? (int) ((1UL << (__ISwprint)) << 8) : ((__ISwprint) < 24 ? (int) ((1UL << (__ISwprint)) >> 8) : (int) ((1UL << (__ISwprint)) >> 24)))), > _ISwgraph = ((__ISwgraph) < 8 ? (int) ((1UL << (__ISwgraph)) << 24) : ((__ISwgraph) < 16 ? (int) ((1UL << (__ISwgraph)) << 8) : ((__ISwgraph) < 24 ? (int) ((1UL << (__ISwgraph)) >> 8) : (int) ((1UL << (__ISwgraph)) >> 24)))), > _ISwblank = ((__ISwblank) < 8 ? (int) ((1UL << (__ISwblank)) << 24) : ((__ISwblank) < 16 ? (int) ((1UL << (__ISwblank)) << 8) : ((__ISwblank) < 24 ? (int) ((1UL << (__ISwblank)) >> 8) : (int) ((1UL << (__ISwblank)) >> 24)))), > _ISwcntrl = ((__ISwcntrl) < 8 ? (int) ((1UL << (__ISwcntrl)) << 24) : ((__ISwcntrl) < 16 ? (int) ((1UL << (__ISwcntrl)) << 8) : ((__ISwcntrl) < 24 ? (int) ((1UL << (__ISwcntrl)) >> 8) : (int) ((1UL << (__ISwcntrl)) >> 24)))), > _ISwpunct = ((__ISwpunct) < 8 ? (int) ((1UL << (__ISwpunct)) << 24) : ((__ISwpunct) < 16 ? (int) ((1UL << (__ISwpunct)) << 8) : ((__ISwpunct) < 24 ? (int) ((1UL << (__ISwpunct)) >> 8) : (int) ((1UL << (__ISwpunct)) >> 24)))), > _ISwalnum = ((__ISwalnum) < 8 ? (int) ((1UL << (__ISwalnum)) << 24) : ((__ISwalnum) < 16 ? (int) ((1UL << (__ISwalnum)) << 8) : ((__ISwalnum) < 24 ? (int) ((1UL << (__ISwalnum)) >> 8) : (int) ((1UL << (__ISwalnum)) >> 24)))) >}; > > > >extern "C" { ># 111 "/usr/include/wctype.h" 3 4 >extern int iswalnum (wint_t __wc) throw (); > > > > > >extern int iswalpha (wint_t __wc) throw (); > > >extern int iswcntrl (wint_t __wc) throw (); > > > >extern int iswdigit (wint_t __wc) throw (); > > > >extern int iswgraph (wint_t __wc) throw (); > > > > >extern int iswlower (wint_t __wc) throw (); > > >extern int iswprint (wint_t __wc) throw (); > > > > >extern int iswpunct (wint_t __wc) throw (); > > > > >extern int iswspace (wint_t __wc) throw (); > > > > >extern int iswupper (wint_t __wc) throw (); > > > > >extern int iswxdigit (wint_t __wc) throw (); > > > > > >extern int iswblank (wint_t __wc) throw (); ># 171 "/usr/include/wctype.h" 3 4 >extern wctype_t wctype (const char *__property) throw (); > > > >extern int iswctype (wint_t __wc, wctype_t __desc) throw (); ># 186 "/usr/include/wctype.h" 3 4 >typedef const __int32_t *wctrans_t; > > > > > > > >extern wint_t towlower (wint_t __wc) throw (); > > >extern wint_t towupper (wint_t __wc) throw (); > > >} ># 213 "/usr/include/wctype.h" 3 4 >extern "C" { > > > > >extern wctrans_t wctrans (const char *__property) throw (); > > >extern wint_t towctrans (wint_t __wc, wctrans_t __desc) throw (); ># 230 "/usr/include/wctype.h" 3 4 >extern int iswalnum_l (wint_t __wc, __locale_t __locale) throw (); > > > > > >extern int iswalpha_l (wint_t __wc, __locale_t __locale) throw (); > > >extern int iswcntrl_l (wint_t __wc, __locale_t __locale) throw (); > > > >extern int iswdigit_l (wint_t __wc, __locale_t __locale) throw (); > > > >extern int iswgraph_l (wint_t __wc, __locale_t __locale) throw (); > > > > >extern int iswlower_l (wint_t __wc, __locale_t __locale) throw (); > > >extern int iswprint_l (wint_t __wc, __locale_t __locale) throw (); > > > > >extern int iswpunct_l (wint_t __wc, __locale_t __locale) throw (); > > > > >extern int iswspace_l (wint_t __wc, __locale_t __locale) throw (); > > > > >extern int iswupper_l (wint_t __wc, __locale_t __locale) throw (); > > > > >extern int iswxdigit_l (wint_t __wc, __locale_t __locale) throw (); > > > > >extern int iswblank_l (wint_t __wc, __locale_t __locale) throw (); > > > >extern wctype_t wctype_l (const char *__property, __locale_t __locale) > throw (); > > > >extern int iswctype_l (wint_t __wc, wctype_t __desc, __locale_t __locale) > throw (); > > > > > > > >extern wint_t towlower_l (wint_t __wc, __locale_t __locale) throw (); > > >extern wint_t towupper_l (wint_t __wc, __locale_t __locale) throw (); > > > >extern wctrans_t wctrans_l (const char *__property, __locale_t __locale) > throw (); > > >extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc, > __locale_t __locale) throw (); > > > >} ># 38 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" 2 ># 1 "/usr/include/time.h" 1 3 4 ># 29 "/usr/include/time.h" 3 4 >extern "C" { > > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 38 "/usr/include/time.h" 2 3 4 > > > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 86 "/usr/include/bits/time.h" 3 4 ># 1 "/usr/include/bits/timex.h" 1 3 4 ># 25 "/usr/include/bits/timex.h" 3 4 >struct timex >{ > unsigned int modes; > __syscall_slong_t offset; > __syscall_slong_t freq; > __syscall_slong_t maxerror; > __syscall_slong_t esterror; > int status; > __syscall_slong_t constant; > __syscall_slong_t precision; > __syscall_slong_t tolerance; > struct timeval time; > __syscall_slong_t tick; > __syscall_slong_t ppsfreq; > __syscall_slong_t jitter; > int shift; > __syscall_slong_t stabil; > __syscall_slong_t jitcnt; > __syscall_slong_t calcnt; > __syscall_slong_t errcnt; > __syscall_slong_t stbcnt; > > int tai; > > > int :32; int :32; int :32; int :32; > int :32; int :32; int :32; int :32; > int :32; int :32; int :32; >}; ># 87 "/usr/include/bits/time.h" 2 3 4 > >extern "C" { > > >extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) throw (); > >} ># 42 "/usr/include/time.h" 2 3 4 ># 131 "/usr/include/time.h" 3 4 > > >struct tm >{ > int tm_sec; > int tm_min; > int tm_hour; > int tm_mday; > int tm_mon; > int tm_year; > int tm_wday; > int tm_yday; > int tm_isdst; > > > long int tm_gmtoff; > const char *tm_zone; > > > > >}; ># 161 "/usr/include/time.h" 3 4 >struct itimerspec > { > struct timespec it_interval; > struct timespec it_value; > }; > > >struct sigevent; ># 186 "/usr/include/time.h" 3 4 > > > >extern clock_t clock (void) throw (); > > >extern time_t time (time_t *__timer) throw (); > > >extern double difftime (time_t __time1, time_t __time0) > throw () __attribute__ ((__const__)); > > >extern time_t mktime (struct tm *__tp) throw (); > > > > > >extern size_t strftime (char *__restrict __s, size_t __maxsize, > const char *__restrict __format, > const struct tm *__restrict __tp) throw (); > > > > > >extern char *strptime (const char *__restrict __s, > const char *__restrict __fmt, struct tm *__tp) > throw (); > > > > > > > >extern size_t strftime_l (char *__restrict __s, size_t __maxsize, > const char *__restrict __format, > const struct tm *__restrict __tp, > __locale_t __loc) throw (); > > > >extern char *strptime_l (const char *__restrict __s, > const char *__restrict __fmt, struct tm *__tp, > __locale_t __loc) throw (); > > > > > > >extern struct tm *gmtime (const time_t *__timer) throw (); > > > >extern struct tm *localtime (const time_t *__timer) throw (); > > > > > >extern struct tm *gmtime_r (const time_t *__restrict __timer, > struct tm *__restrict __tp) throw (); > > > >extern struct tm *localtime_r (const time_t *__restrict __timer, > struct tm *__restrict __tp) throw (); > > > > > >extern char *asctime (const struct tm *__tp) throw (); > > >extern char *ctime (const time_t *__timer) throw (); > > > > > > > >extern char *asctime_r (const struct tm *__restrict __tp, > char *__restrict __buf) throw (); > > >extern char *ctime_r (const time_t *__restrict __timer, > char *__restrict __buf) throw (); > > > > >extern char *__tzname[2]; >extern int __daylight; >extern long int __timezone; > > > > >extern char *tzname[2]; > > > >extern void tzset (void) throw (); > > > >extern int daylight; >extern long int timezone; > > > > > >extern int stime (const time_t *__when) throw (); ># 319 "/usr/include/time.h" 3 4 >extern time_t timegm (struct tm *__tp) throw (); > > >extern time_t timelocal (struct tm *__tp) throw (); > > >extern int dysize (int __year) throw () __attribute__ ((__const__)); ># 334 "/usr/include/time.h" 3 4 >extern int nanosleep (const struct timespec *__requested_time, > struct timespec *__remaining); > > > >extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw (); > > >extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw (); > > >extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) > throw (); > > > > > > >extern int clock_nanosleep (clockid_t __clock_id, int __flags, > const struct timespec *__req, > struct timespec *__rem); > > >extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) throw (); > > > > >extern int timer_create (clockid_t __clock_id, > struct sigevent *__restrict __evp, > timer_t *__restrict __timerid) throw (); > > >extern int timer_delete (timer_t __timerid) throw (); > > >extern int timer_settime (timer_t __timerid, int __flags, > const struct itimerspec *__restrict __value, > struct itimerspec *__restrict __ovalue) throw (); > > >extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) > throw (); > > >extern int timer_getoverrun (timer_t __timerid) throw (); > > > > > >extern int timespec_get (struct timespec *__ts, int __base) > throw () __attribute__ ((__nonnull__ (1))); ># 403 "/usr/include/time.h" 3 4 >extern int getdate_err; ># 412 "/usr/include/time.h" 3 4 >extern struct tm *getdate (const char *__string); ># 426 "/usr/include/time.h" 3 4 >extern int getdate_r (const char *__restrict __string, > struct tm *__restrict __resbufp); > > >} ># 39 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" 2 ># 116 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" > extern bool wxLocaleIsUtf8; > > > extern void wxUpdateLocaleIsUtf8(); ># 280 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" >extern "C" { ># 292 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" >} ># 385 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" > int wxCRT_StricmpW(const wchar_t *psz1, const wchar_t *psz2); > > > > > > > > int wxCRT_StrnicmpW(const wchar_t *psz1, const wchar_t *psz2, size_t len); > > > > > > > > wchar_t *wxCRT_StrtokW(wchar_t *psz, const wchar_t *delim, wchar_t **save_ptr); ># 415 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" > long long wxCRT_StrtollW(const wchar_t* nptr, > wchar_t** endptr, > int base); > unsigned long long wxCRT_StrtoullW(const wchar_t* nptr, > wchar_t** endptr, > int base); ># 497 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" > int wxCRT_PutsW(const wchar_t *ws); > > > > > > > > int wxCRT_FputcW(wchar_t wc, FILE *stream); ># 542 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" > wchar_t * wxCRT_GetenvW(const wchar_t *name); ># 667 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" >inline size_t wxStrlen(const char *s) { return s ? strlen(s) : 0; } >inline size_t wxStrlen(const wchar_t *s) { return s ? wcslen(s) : 0; } > > size_t wxStrlen(const wxChar16 *s ); ># 679 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrtbase.h" >inline char* wxStrdup(const char *s) { return strdup(s); } >inline wchar_t* wxStrdup(const wchar_t *s) { return wcsdup(s); } > > wxChar16* wxStrdup(const wxChar16* s); ># 46 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" 1 ># 17 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h" 1 ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h" >class wxCStrData; > > > > > > > >namespace wxPrivate >{ > >struct UntypedBufferData >{ > enum Kind > { > Owned, > NonOwned > }; > > UntypedBufferData(void *str, size_t len, Kind kind = Owned) > : m_str(str), m_length(len), m_ref(1), m_owned(kind == Owned) {} > > ~UntypedBufferData() > { > if ( m_owned ) > free(m_str); > } > > void *m_str; > size_t m_length; > > > unsigned short m_ref; > > bool m_owned; >}; > > > UntypedBufferData * GetUntypedNullData(); > >} > > > > > >template <typename T> >class wxScopedCharTypeBuffer >{ >public: > typedef T CharType; > > wxScopedCharTypeBuffer() > { > m_data = GetNullData(); > } > > > > > static > const wxScopedCharTypeBuffer CreateNonOwned(const CharType *str, > size_t len = ((size_t)-1)) > { > if ( len == ((size_t)-1) ) > len = wxStrlen(str); > > wxScopedCharTypeBuffer buf; > if ( str ) > buf.m_data = new Data(const_cast<CharType*>(str), len, Data::NonOwned); > return buf; > } > > > > static > const wxScopedCharTypeBuffer CreateOwned(CharType *str, > size_t len = ((size_t)-1) ) > { > if ( len == ((size_t)-1) ) > len = wxStrlen(str); > > wxScopedCharTypeBuffer buf; > if ( str ) > buf.m_data = new Data(str, len); > return buf; > } > > wxScopedCharTypeBuffer(const wxScopedCharTypeBuffer& src) > { > m_data = src.m_data; > IncRef(); > } > > wxScopedCharTypeBuffer& operator=(const wxScopedCharTypeBuffer& src) > { > if ( &src == this ) > return *this; > > DecRef(); > m_data = src.m_data; > IncRef(); > > return *this; > } > > ~wxScopedCharTypeBuffer() > { > DecRef(); > } > > > > > CharType *release() const > { > if ( m_data == GetNullData() ) > return __null; > > do { if ( wxTheAssertHandler && !(m_data->m_owned) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h", 138, __FUNCTION__, "m_data->m_owned", L"can't release non-owned buffer"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > do { if ( wxTheAssertHandler && !(m_data->m_ref == 1) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h", 139, __FUNCTION__, "m_data->m_ref == 1", L"can't release shared buffer"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > CharType * const p = m_data->Get(); > > wxScopedCharTypeBuffer *self = const_cast<wxScopedCharTypeBuffer*>(this); > self->m_data->Set(__null, 0); > self->DecRef(); > > return p; > } > > void reset() > { > DecRef(); > } > > CharType *data() { return m_data->Get(); } > const CharType *data() const { return m_data->Get(); } > operator const CharType *() const { return data(); } > CharType operator[](size_t n) const { return data()[n]; } > > size_t length() const { return m_data->m_length; } > >protected: > > struct Data : public wxPrivate::UntypedBufferData > { > Data(CharType *str, size_t len, Kind kind = Owned) > : wxPrivate::UntypedBufferData(str, len, kind) > { > } > > CharType *Get() const { return static_cast<CharType *>(m_str); } > void Set(CharType *str, size_t len) > { > m_str = str; > m_length = len; > } > }; > > > static Data *GetNullData() > { > return static_cast<Data *>(wxPrivate::GetUntypedNullData()); > } > > void IncRef() > { > if ( m_data == GetNullData() ) > return; > m_data->m_ref++; > } > > void DecRef() > { > if ( m_data == GetNullData() ) > return; > if ( --m_data->m_ref == 0 ) > delete m_data; > m_data = GetNullData(); > } > > > > void MakeOwnedCopyOf(const wxScopedCharTypeBuffer& src) > { > this->DecRef(); > > if ( src.m_data == this->GetNullData() ) > { > this->m_data = this->GetNullData(); > } > else if ( src.m_data->m_owned ) > { > this->m_data = src.m_data; > this->IncRef(); > } > else > { > > > > this->m_data = new Data > ( > StrCopy(src.data(), src.length()), > src.length() > ); > } > } > > static CharType *StrCopy(const CharType *src, size_t len) > { > CharType *dst = (CharType*)malloc(sizeof(CharType) * (len + 1)); > if ( dst ) > memcpy(dst, src, sizeof(CharType) * (len + 1)); > return dst; > } > >protected: > Data *m_data; >}; > >typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer; >typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer; > > > >template <typename T> >class wxCharTypeBuffer : public wxScopedCharTypeBuffer<T> >{ >protected: > typedef typename wxScopedCharTypeBuffer<T>::Data Data; > >public: > typedef T CharType; > > wxCharTypeBuffer(const CharType *str = __null, size_t len = ((size_t)-1)) > { > if ( str ) > { > if ( len == ((size_t)-1) ) > len = wxStrlen(str); > this->m_data = new Data(this->StrCopy(str, len), len); > } > else > { > this->m_data = this->GetNullData(); > } > } > > wxCharTypeBuffer(size_t len) > { > CharType* const str = (CharType *)malloc((len + 1)*sizeof(CharType)); > if ( str ) > { > str[len] = (CharType)0; > > > > > > > this->m_data = new Data(str, len); > } > else > { > this->m_data = this->GetNullData(); > } > } > > wxCharTypeBuffer(const wxCharTypeBuffer& src) > : wxScopedCharTypeBuffer<T>(src) {} > > wxCharTypeBuffer& operator=(const CharType *str) > { > this->DecRef(); > > if ( str ) > this->m_data = new Data(wxStrdup(str), wxStrlen(str)); > return *this; > } > > wxCharTypeBuffer& operator=(const wxCharTypeBuffer& src) > { > wxScopedCharTypeBuffer<T>::operator=(src); > return *this; > } > > wxCharTypeBuffer(const wxScopedCharTypeBuffer<T>& src) > { > this->MakeOwnedCopyOf(src); > } > > wxCharTypeBuffer& operator=(const wxScopedCharTypeBuffer<T>& src) > { > MakeOwnedCopyOf(src); > return *this; > } > > bool extend(size_t len) > { > do { if ( wxTheAssertHandler && !(this->m_data->m_owned) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h", 320, __FUNCTION__, "this->m_data->m_owned", "cannot extend non-owned buffer"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > do { if ( wxTheAssertHandler && !(this->m_data->m_ref == 1) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h", 321, __FUNCTION__, "this->m_data->m_ref == 1", "can't extend shared buffer"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > CharType *str = > (CharType *)realloc(this->data(), (len + 1) * sizeof(CharType)); > if ( !str ) > return false; > > > > str[len] = (CharType)0; > > if ( this->m_data == this->GetNullData() ) > { > this->m_data = new Data(str, len); > } > else > { > this->m_data->Set(str, len); > this->m_data->m_owned = true; > } > > return true; > } > > void shrink(size_t len) > { > do { if ( wxTheAssertHandler && !(this->m_data->m_owned) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h", 347, __FUNCTION__, "this->m_data->m_owned", "cannot shrink non-owned buffer"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > do { if ( wxTheAssertHandler && !(this->m_data->m_ref == 1) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h", 348, __FUNCTION__, "this->m_data->m_ref == 1", "can't shrink shared buffer"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > do { if ( wxTheAssertHandler && !(len <= this->length()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h", 350, __FUNCTION__, "len <= this->length()", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > this->m_data->m_length = len; > this->data()[len] = 0; > } >}; > > > > >class wxCharBuffer : public wxCharTypeBuffer<char> >{ >public: > typedef wxCharTypeBuffer<char> wxCharTypeBufferBase; > typedef wxScopedCharTypeBuffer<char> wxScopedCharTypeBufferBase; > > wxCharBuffer(const wxCharTypeBufferBase& buf) > : wxCharTypeBufferBase(buf) {} > wxCharBuffer(const wxScopedCharTypeBufferBase& buf) > : wxCharTypeBufferBase(buf) {} > > wxCharBuffer(const CharType *str = __null) : wxCharTypeBufferBase(str) {} > wxCharBuffer(size_t len) : wxCharTypeBufferBase(len) {} > > wxCharBuffer(const wxCStrData& cstr); >}; > > > > >class wxWCharBuffer : public wxCharTypeBuffer<wchar_t> >{ >public: > typedef wxCharTypeBuffer<wchar_t> wxCharTypeBufferBase; > typedef wxScopedCharTypeBuffer<wchar_t> wxScopedCharTypeBufferBase; > > wxWCharBuffer(const wxCharTypeBufferBase& buf) > : wxCharTypeBufferBase(buf) {} > wxWCharBuffer(const wxScopedCharTypeBufferBase& buf) > : wxCharTypeBufferBase(buf) {} > > wxWCharBuffer(const CharType *str = __null) : wxCharTypeBufferBase(str) {} > wxWCharBuffer(size_t len) : wxCharTypeBufferBase(len) {} > > wxWCharBuffer(const wxCStrData& cstr); >}; > > >template <typename T> >class wxWritableCharTypeBuffer : public wxCharTypeBuffer<T> >{ >public: > typedef typename wxScopedCharTypeBuffer<T>::CharType CharType; > > wxWritableCharTypeBuffer(const wxScopedCharTypeBuffer<T>& src) > : wxCharTypeBuffer<T>(src) {} > > > > > wxWritableCharTypeBuffer(const CharType *str = __null) > : wxCharTypeBuffer<T>(str) {} > > operator CharType*() { return this->data(); } >}; > >typedef wxWritableCharTypeBuffer<char> wxWritableCharBuffer; >typedef wxWritableCharTypeBuffer<wchar_t> wxWritableWCharBuffer; ># 446 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h" >class wxMemoryBufferData >{ >public: > > enum { DefBufSize = 1024 }; > > friend class wxMemoryBuffer; > > >private: > wxMemoryBufferData(size_t size = wxMemoryBufferData::DefBufSize) > : m_data(size ? malloc(size) : __null), m_size(size), m_len(0), m_ref(0) > { > } > ~wxMemoryBufferData() { free(m_data); } > > > void ResizeIfNeeded(size_t newSize) > { > if (newSize > m_size) > { > void *dataOld = m_data; > m_data = realloc(m_data, newSize + wxMemoryBufferData::DefBufSize); > if ( !m_data ) > { > free(dataOld); > } > > m_size = newSize + wxMemoryBufferData::DefBufSize; > } > } > > void IncRef() { m_ref += 1; } > void DecRef() > { > m_ref -= 1; > if (m_ref == 0) > delete this; > } > > void *release() > { > if ( m_data == __null ) > return __null; > > do { if ( wxTheAssertHandler && !(m_ref == 1) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h", 491, __FUNCTION__, "m_ref == 1", "can't release shared buffer"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > void *p = m_data; > m_data = __null; > m_len = > m_size = 0; > > return p; > } > > > > void *m_data; > > > size_t m_size; > > > size_t m_len; > > > size_t m_ref; > > private: wxMemoryBufferData(const wxMemoryBufferData&); wxMemoryBufferData& operator=(const wxMemoryBufferData&); >}; > > >class wxMemoryBuffer >{ >public: > > wxMemoryBuffer(size_t size = wxMemoryBufferData::DefBufSize) > { > m_bufdata = new wxMemoryBufferData(size); > m_bufdata->IncRef(); > } > > ~wxMemoryBuffer() { m_bufdata->DecRef(); } > > > > wxMemoryBuffer(const wxMemoryBuffer& src) > : m_bufdata(src.m_bufdata) > { > m_bufdata->IncRef(); > } > > wxMemoryBuffer& operator=(const wxMemoryBuffer& src) > { > if (&src != this) > { > m_bufdata->DecRef(); > m_bufdata = src.m_bufdata; > m_bufdata->IncRef(); > } > return *this; > } > > > > void *GetData() const { return m_bufdata->m_data; } > size_t GetBufSize() const { return m_bufdata->m_size; } > size_t GetDataLen() const { return m_bufdata->m_len; } > > bool IsEmpty() const { return GetDataLen() == 0; } > > void SetBufSize(size_t size) { m_bufdata->ResizeIfNeeded(size); } > void SetDataLen(size_t len) > { > do { if ( wxTheAssertHandler && !(len <= m_bufdata->m_size) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h", 560, __FUNCTION__, "len <= m_bufdata->m_size", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > m_bufdata->m_len = len; > } > > void Clear() { SetDataLen(0); } > > > void *GetWriteBuf(size_t sizeNeeded) > { > m_bufdata->ResizeIfNeeded(sizeNeeded); > return m_bufdata->m_data; > } > > > void UngetWriteBuf(size_t sizeUsed) { SetDataLen(sizeUsed); } > > > void *GetAppendBuf(size_t sizeNeeded) > { > m_bufdata->ResizeIfNeeded(m_bufdata->m_len + sizeNeeded); > return (char*)m_bufdata->m_data + m_bufdata->m_len; > } > > > void UngetAppendBuf(size_t sizeUsed) > { > SetDataLen(m_bufdata->m_len + sizeUsed); > } > > > void AppendByte(char data) > { > if ( m_bufdata->m_data ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/buffer.h", 592, __FUNCTION__, "m_bufdata->m_data", L"invalid wxMemoryBuffer"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; > > m_bufdata->ResizeIfNeeded(m_bufdata->m_len + 1); > *(((char*)m_bufdata->m_data) + m_bufdata->m_len) = data; > m_bufdata->m_len += 1; > } > > void AppendData(const void *data, size_t len) > { > memcpy(GetAppendBuf(len), data, len); > UngetAppendBuf(len); > } > > operator const char *() const { return (const char*)GetData(); } > > > > void *release() > { > return m_bufdata->release(); > } > >private: > wxMemoryBufferData* m_bufdata; >}; ># 18 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" 2 ># 29 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" >class wxString; ># 47 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" >class wxMBConv >{ >public: ># 75 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" > virtual size_t ToWChar(wchar_t *dst, size_t dstLen, > const char *src, size_t srcLen = ((size_t)-1)) const; > > virtual size_t FromWChar(char *dst, size_t dstLen, > const wchar_t *src, size_t srcLen = ((size_t)-1)) const; > > > > > > const wxWCharBuffer cMB2WC(const char *in) const; > const wxCharBuffer cWC2MB(const wchar_t *in) const; ># 103 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" > const wxWCharBuffer > cMB2WC(const char *in, size_t inLen, size_t *outLen) const; > const wxCharBuffer > cWC2MB(const wchar_t *in, size_t inLen, size_t *outLen) const; > > > > > const wxWCharBuffer cMB2WC(const wxScopedCharBuffer& in) const; > const wxCharBuffer cWC2MB(const wxScopedWCharBuffer& in) const; > > > > const wxWCharBuffer cMB2WX(const char *psz) const { return cMB2WC(psz); } > const wxCharBuffer cWX2MB(const wchar_t *psz) const { return cWC2MB(psz); } > const wchar_t* cWC2WX(const wchar_t *psz) const { return psz; } > const wchar_t* cWX2WC(const wchar_t *psz) const { return psz; } ># 138 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" > virtual size_t GetMBNulLen() const { return 1; } > > > > static size_t GetMaxMBNulLen() { return 4 ; } > > > > > > virtual bool IsUTF8() const { return false; } ># 167 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" > virtual size_t MB2WC(wchar_t *out, const char *in, size_t outLen) const; > virtual size_t WC2MB(char *out, const wchar_t *in, size_t outLen) const; > > > > virtual wxMBConv *Clone() const = 0; > > > virtual ~wxMBConv(); >}; > > > > > > >class wxMBConvLibc : public wxMBConv >{ >public: > virtual size_t MB2WC(wchar_t *outputBuf, const char *psz, size_t outputSize) const; > virtual size_t WC2MB(char *outputBuf, const wchar_t *psz, size_t outputSize) const; > > virtual wxMBConv *Clone() const { return new wxMBConvLibc; } > > > virtual bool IsUTF8() const { return wxLocaleIsUtf8; } > >}; ># 205 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" >class wxConvBrokenFileNames : public wxMBConv >{ >public: > wxConvBrokenFileNames(const wxString& charset); > wxConvBrokenFileNames(const wxConvBrokenFileNames& conv) > : wxMBConv(), > m_conv(conv.m_conv ? conv.m_conv->Clone() : __null) > { > } > virtual ~wxConvBrokenFileNames() { delete m_conv; } > > virtual size_t MB2WC(wchar_t *out, const char *in, size_t outLen) const > { > return m_conv->MB2WC(out, in, outLen); > } > > virtual size_t WC2MB(char *out, const wchar_t *in, size_t outLen) const > { > return m_conv->WC2MB(out, in, outLen); > } > > virtual size_t GetMBNulLen() const > { > > return m_conv->GetMBNulLen(); > } > > > virtual bool IsUTF8() const { return m_conv->IsUTF8(); } > > > virtual wxMBConv *Clone() const { return new wxConvBrokenFileNames(*this); } > >private: > > wxMBConv *m_conv; > > private: wxConvBrokenFileNames& operator=(const wxConvBrokenFileNames&); >}; > > > > > > > >class wxMBConvUTF7 : public wxMBConv >{ >public: > wxMBConvUTF7() { } > > > > > virtual size_t ToWChar(wchar_t *dst, size_t dstLen, > const char *src, size_t srcLen = ((size_t)-1)) const; > virtual size_t FromWChar(char *dst, size_t dstLen, > const wchar_t *src, size_t srcLen = ((size_t)-1)) const; > > virtual wxMBConv *Clone() const { return new wxMBConvUTF7; } > >private: > > > struct StateMode > { > enum Mode > { > Direct, > Shifted > }; > }; > > > > > class DecoderState : private StateMode > { > private: > > > Mode mode; > > public: > > DecoderState() { mode = Direct; } > > > void ToDirect() { mode = Direct; } > void ToShifted() { mode = Shifted; accum = bit = 0; isLSB = false; } > > bool IsDirect() const { return mode == Direct; } > bool IsShifted() const { return mode == Shifted; } > > > > > unsigned int accum; > unsigned int bit; > unsigned char msb; > bool isLSB; > }; > > DecoderState m_stateDecoder; > > > > > class EncoderState : private StateMode > { > private: > Mode mode; > > public: > EncoderState() { mode = Direct; } > > void ToDirect() { mode = Direct; } > void ToShifted() { mode = Shifted; accum = bit = 0; } > > bool IsDirect() const { return mode == Direct; } > bool IsShifted() const { return mode == Shifted; } > > unsigned int accum; > unsigned int bit; > }; > > EncoderState m_stateEncoder; >}; ># 341 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" >class wxMBConvStrictUTF8 : public wxMBConv >{ >public: > > > virtual size_t ToWChar(wchar_t *dst, size_t dstLen, > const char *src, size_t srcLen = ((size_t)-1)) const; > virtual size_t FromWChar(char *dst, size_t dstLen, > const wchar_t *src, size_t srcLen = ((size_t)-1)) const; > > virtual wxMBConv *Clone() const { return new wxMBConvStrictUTF8(); } > > > > > virtual bool IsUTF8() const { return true; } > >}; > >class wxMBConvUTF8 : public wxMBConvStrictUTF8 >{ >public: > enum > { > MAP_INVALID_UTF8_NOT = 0, > MAP_INVALID_UTF8_TO_PUA = 1, > MAP_INVALID_UTF8_TO_OCTAL = 2 > }; > > wxMBConvUTF8(int options = MAP_INVALID_UTF8_NOT) : m_options(options) { } > > virtual size_t ToWChar(wchar_t *dst, size_t dstLen, > const char *src, size_t srcLen = ((size_t)-1)) const; > virtual size_t FromWChar(char *dst, size_t dstLen, > const wchar_t *src, size_t srcLen = ((size_t)-1)) const; > > virtual wxMBConv *Clone() const { return new wxMBConvUTF8(m_options); } > > > > > virtual bool IsUTF8() const { return m_options == MAP_INVALID_UTF8_NOT; } > > >private: > int m_options; >}; > > > > > >class wxMBConvUTF16Base : public wxMBConv >{ >public: > enum { BYTES_PER_CHAR = 2 }; > > virtual size_t GetMBNulLen() const { return BYTES_PER_CHAR; } > >protected: > > > > > static size_t GetLength(const char *src, size_t srcLen); >}; > > > > > >class wxMBConvUTF16LE : public wxMBConvUTF16Base >{ >public: > virtual size_t ToWChar(wchar_t *dst, size_t dstLen, > const char *src, size_t srcLen = ((size_t)-1)) const; > virtual size_t FromWChar(char *dst, size_t dstLen, > const wchar_t *src, size_t srcLen = ((size_t)-1)) const; > virtual wxMBConv *Clone() const { return new wxMBConvUTF16LE; } >}; > > > > > >class wxMBConvUTF16BE : public wxMBConvUTF16Base >{ >public: > virtual size_t ToWChar(wchar_t *dst, size_t dstLen, > const char *src, size_t srcLen = ((size_t)-1)) const; > virtual size_t FromWChar(char *dst, size_t dstLen, > const wchar_t *src, size_t srcLen = ((size_t)-1)) const; > virtual wxMBConv *Clone() const { return new wxMBConvUTF16BE; } >}; > > > > > >class wxMBConvUTF32Base : public wxMBConv >{ >public: > enum { BYTES_PER_CHAR = 4 }; > > virtual size_t GetMBNulLen() const { return BYTES_PER_CHAR; } > >protected: > > > > static size_t GetLength(const char *src, size_t srcLen); >}; > > > > > >class wxMBConvUTF32LE : public wxMBConvUTF32Base >{ >public: > virtual size_t ToWChar(wchar_t *dst, size_t dstLen, > const char *src, size_t srcLen = ((size_t)-1)) const; > virtual size_t FromWChar(char *dst, size_t dstLen, > const wchar_t *src, size_t srcLen = ((size_t)-1)) const; > virtual wxMBConv *Clone() const { return new wxMBConvUTF32LE; } >}; > > > > > >class wxMBConvUTF32BE : public wxMBConvUTF32Base >{ >public: > virtual size_t ToWChar(wchar_t *dst, size_t dstLen, > const char *src, size_t srcLen = ((size_t)-1)) const; > virtual size_t FromWChar(char *dst, size_t dstLen, > const wchar_t *src, size_t srcLen = ((size_t)-1)) const; > virtual wxMBConv *Clone() const { return new wxMBConvUTF32BE; } >}; > > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/fontenc.h" 1 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/fontenc.h" >enum wxFontEncoding >{ > wxFONTENCODING_SYSTEM = -1, > wxFONTENCODING_DEFAULT, > > > wxFONTENCODING_ISO8859_1, > wxFONTENCODING_ISO8859_2, > wxFONTENCODING_ISO8859_3, > wxFONTENCODING_ISO8859_4, > wxFONTENCODING_ISO8859_5, > wxFONTENCODING_ISO8859_6, > wxFONTENCODING_ISO8859_7, > wxFONTENCODING_ISO8859_8, > wxFONTENCODING_ISO8859_9, > wxFONTENCODING_ISO8859_10, > wxFONTENCODING_ISO8859_11, > wxFONTENCODING_ISO8859_12, > > > wxFONTENCODING_ISO8859_13, > wxFONTENCODING_ISO8859_14, > wxFONTENCODING_ISO8859_15, > wxFONTENCODING_ISO8859_MAX, > > > wxFONTENCODING_KOI8, > wxFONTENCODING_KOI8_U, > wxFONTENCODING_ALTERNATIVE, > wxFONTENCODING_BULGARIAN, > > > > wxFONTENCODING_CP437, > wxFONTENCODING_CP850, > wxFONTENCODING_CP852, > wxFONTENCODING_CP855, > wxFONTENCODING_CP866, > > wxFONTENCODING_CP874, > wxFONTENCODING_CP932, > wxFONTENCODING_CP936, > wxFONTENCODING_CP949, > wxFONTENCODING_CP950, > wxFONTENCODING_CP1250, > wxFONTENCODING_CP1251, > wxFONTENCODING_CP1252, > wxFONTENCODING_CP1253, > wxFONTENCODING_CP1254, > wxFONTENCODING_CP1255, > wxFONTENCODING_CP1256, > wxFONTENCODING_CP1257, > wxFONTENCODING_CP1258, > wxFONTENCODING_CP1361, > wxFONTENCODING_CP12_MAX, > > wxFONTENCODING_UTF7, > wxFONTENCODING_UTF8, > wxFONTENCODING_EUC_JP, > wxFONTENCODING_UTF16BE, > wxFONTENCODING_UTF16LE, > wxFONTENCODING_UTF32BE, > wxFONTENCODING_UTF32LE, > > wxFONTENCODING_MACROMAN, > wxFONTENCODING_MACJAPANESE, > wxFONTENCODING_MACCHINESETRAD, > wxFONTENCODING_MACKOREAN, > wxFONTENCODING_MACARABIC, > wxFONTENCODING_MACHEBREW, > wxFONTENCODING_MACGREEK, > wxFONTENCODING_MACCYRILLIC, > wxFONTENCODING_MACDEVANAGARI, > wxFONTENCODING_MACGURMUKHI, > wxFONTENCODING_MACGUJARATI, > wxFONTENCODING_MACORIYA, > wxFONTENCODING_MACBENGALI, > wxFONTENCODING_MACTAMIL, > wxFONTENCODING_MACTELUGU, > wxFONTENCODING_MACKANNADA, > wxFONTENCODING_MACMALAJALAM, > wxFONTENCODING_MACSINHALESE, > wxFONTENCODING_MACBURMESE, > wxFONTENCODING_MACKHMER, > wxFONTENCODING_MACTHAI, > wxFONTENCODING_MACLAOTIAN, > wxFONTENCODING_MACGEORGIAN, > wxFONTENCODING_MACARMENIAN, > wxFONTENCODING_MACCHINESESIMP, > wxFONTENCODING_MACTIBETAN, > wxFONTENCODING_MACMONGOLIAN, > wxFONTENCODING_MACETHIOPIC, > wxFONTENCODING_MACCENTRALEUR, > wxFONTENCODING_MACVIATNAMESE, > wxFONTENCODING_MACARABICEXT, > wxFONTENCODING_MACSYMBOL, > wxFONTENCODING_MACDINGBATS, > wxFONTENCODING_MACTURKISH, > wxFONTENCODING_MACCROATIAN, > wxFONTENCODING_MACICELANDIC, > wxFONTENCODING_MACROMANIAN, > wxFONTENCODING_MACCELTIC, > wxFONTENCODING_MACGAELIC, > wxFONTENCODING_MACKEYBOARD, > > > > wxFONTENCODING_ISO2022_JP, > > wxFONTENCODING_MAX, > > wxFONTENCODING_MACMIN = wxFONTENCODING_MACROMAN , > wxFONTENCODING_MACMAX = wxFONTENCODING_MACKEYBOARD , > > > > > > > wxFONTENCODING_UTF16 = wxFONTENCODING_UTF16LE, > wxFONTENCODING_UTF32 = wxFONTENCODING_UTF32LE, > > > > > > > > wxFONTENCODING_UNICODE = wxFONTENCODING_UTF32, > > > > > wxFONTENCODING_GB2312 = wxFONTENCODING_CP936, > wxFONTENCODING_BIG5 = wxFONTENCODING_CP950, > > > wxFONTENCODING_SHIFT_JIS = wxFONTENCODING_CP932, > > > wxFONTENCODING_EUC_KR = wxFONTENCODING_CP949, > wxFONTENCODING_JOHAB = wxFONTENCODING_CP1361, > > > wxFONTENCODING_VIETNAMESE = wxFONTENCODING_CP1258 >}; ># 487 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" 2 > >class wxCSConv : public wxMBConv >{ >public: > > > wxCSConv(const wxString& charset); > wxCSConv(wxFontEncoding encoding); > > wxCSConv(const wxCSConv& conv); > virtual ~wxCSConv(); > > wxCSConv& operator=(const wxCSConv& conv); > > virtual size_t ToWChar(wchar_t *dst, size_t dstLen, > const char *src, size_t srcLen = ((size_t)-1)) const; > virtual size_t FromWChar(char *dst, size_t dstLen, > const wchar_t *src, size_t srcLen = ((size_t)-1)) const; > virtual size_t GetMBNulLen() const; > > > virtual bool IsUTF8() const; > > > virtual wxMBConv *Clone() const { return new wxCSConv(*this); } > > void Clear(); > > > bool IsOk() const; > >private: > > void Init(); > > > > wxMBConv *DoCreate() const; > > > > void SetName(const char *charset); > > > > > > > void SetEncoding(wxFontEncoding encoding); ># 546 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" > char *m_name; > wxFontEncoding m_encoding; > > > > wxMBConv *m_convReal; >}; ># 576 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" >extern wxMBConv* wxConvLibcPtr; extern wxMBConv* wxGet_wxConvLibcPtr(); inline wxMBConv& wxGet_wxConvLibc() { if ( !wxConvLibcPtr ) wxConvLibcPtr = wxGet_wxConvLibcPtr(); return *wxConvLibcPtr; } > > > >extern wxCSConv* wxConvISO8859_1Ptr; extern wxCSConv* wxGet_wxConvISO8859_1Ptr(); inline wxCSConv& wxGet_wxConvISO8859_1() { if ( !wxConvISO8859_1Ptr ) wxConvISO8859_1Ptr = wxGet_wxConvISO8859_1Ptr(); return *wxConvISO8859_1Ptr; } > > >extern wxMBConvStrictUTF8* wxConvUTF8Ptr; extern wxMBConvStrictUTF8* wxGet_wxConvUTF8Ptr(); inline wxMBConvStrictUTF8& wxGet_wxConvUTF8() { if ( !wxConvUTF8Ptr ) wxConvUTF8Ptr = wxGet_wxConvUTF8Ptr(); return *wxConvUTF8Ptr; } > > >extern wxMBConvUTF7* wxConvUTF7Ptr; extern wxMBConvUTF7* wxGet_wxConvUTF7Ptr(); inline wxMBConvUTF7& wxGet_wxConvUTF7() { if ( !wxConvUTF7Ptr ) wxConvUTF7Ptr = wxGet_wxConvUTF7Ptr(); return *wxConvUTF7Ptr; } ># 596 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" >extern wxMBConv * wxConvFileName; > > > > > > >extern wxMBConv * wxConvCurrent; > > >extern wxCSConv* wxConvLocalPtr; extern wxCSConv* wxGet_wxConvLocalPtr(); inline wxCSConv& wxGet_wxConvLocal() { if ( !wxConvLocalPtr ) wxConvLocalPtr = wxGet_wxConvLocalPtr(); return *wxConvLocalPtr; } > > > > > > >extern wxMBConv * wxConvUI; ># 625 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" > typedef wxMBConvUTF16LE wxMBConvUTF16; > typedef wxMBConvUTF32LE wxMBConvUTF32; ># 661 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strconv.h" > extern wxWCharBuffer wxSafeConvertMB2WX(const char *s); > > > > extern wxCharBuffer wxSafeConvertWX2MB(const wchar_t *ws); ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/unichar.h" 1 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/unichar.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stringimpl.h" 1 ># 44 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stringimpl.h" >extern const wxChar* wxEmptyString; > > >extern const wxStringCharType* wxEmptyStringImpl; ># 65 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stringimpl.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/beforestd.h" 1 ># 66 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stringimpl.h" 2 ># 1 "/usr/include/c++/4.9.1/string" 1 3 ># 36 "/usr/include/c++/4.9.1/string" 3 ># 37 "/usr/include/c++/4.9.1/string" 3 > ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++config.h" 1 3 > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 4 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++config.h" 2 3 ># 1865 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++config.h" 3 >namespace std >{ > typedef long unsigned int size_t; > typedef long int ptrdiff_t; > > > typedef decltype(nullptr) nullptr_t; > >} ># 2109 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++config.h" 3 ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/os_defines.h" 1 3 ># 2110 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++config.h" 2 3 > > ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/cpu_defines.h" 1 3 ># 2113 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++config.h" 2 3 ># 39 "/usr/include/c++/4.9.1/string" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/stringfwd.h" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/stringfwd.h" 3 ># 38 "/usr/include/c++/4.9.1/bits/stringfwd.h" 3 > > ># 1 "/usr/include/c++/4.9.1/bits/memoryfwd.h" 1 3 ># 46 "/usr/include/c++/4.9.1/bits/memoryfwd.h" 3 ># 47 "/usr/include/c++/4.9.1/bits/memoryfwd.h" 3 > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 63 "/usr/include/c++/4.9.1/bits/memoryfwd.h" 3 > template<typename> > class allocator; > > template<> > class allocator<void>; > > > template<typename, typename> > struct uses_allocator; > > > > >} ># 41 "/usr/include/c++/4.9.1/bits/stringfwd.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 52 "/usr/include/c++/4.9.1/bits/stringfwd.h" 3 > template<class _CharT> > struct char_traits; > > template<typename _CharT, typename _Traits = char_traits<_CharT>, > typename _Alloc = allocator<_CharT> > > class basic_string; > > template<> struct char_traits<char>; > > > typedef basic_string<char> string; > > > template<> struct char_traits<wchar_t>; > > > typedef basic_string<wchar_t> wstring; > > > > > > template<> struct char_traits<char16_t>; > template<> struct char_traits<char32_t>; > > > typedef basic_string<char16_t> u16string; > > > typedef basic_string<char32_t> u32string; > > > > > >} ># 40 "/usr/include/c++/4.9.1/string" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/char_traits.h" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/char_traits.h" 3 ># 38 "/usr/include/c++/4.9.1/bits/char_traits.h" 3 > ># 1 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 1 3 ># 60 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 ># 1 "/usr/include/c++/4.9.1/bits/functexcept.h" 1 3 ># 40 "/usr/include/c++/4.9.1/bits/functexcept.h" 3 ># 1 "/usr/include/c++/4.9.1/bits/exception_defines.h" 1 3 ># 41 "/usr/include/c++/4.9.1/bits/functexcept.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > void > __throw_bad_exception(void) __attribute__((__noreturn__)); > > > void > __throw_bad_alloc(void) __attribute__((__noreturn__)); > > > void > __throw_bad_cast(void) __attribute__((__noreturn__)); > > void > __throw_bad_typeid(void) __attribute__((__noreturn__)); > > > void > __throw_logic_error(const char*) __attribute__((__noreturn__)); > > void > __throw_domain_error(const char*) __attribute__((__noreturn__)); > > void > __throw_invalid_argument(const char*) __attribute__((__noreturn__)); > > void > __throw_length_error(const char*) __attribute__((__noreturn__)); > > void > __throw_out_of_range(const char*) __attribute__((__noreturn__)); > > void > __throw_out_of_range_fmt(const char*, ...) __attribute__((__noreturn__)) > __attribute__((__format__(__printf__, 1, 2))); > > void > __throw_runtime_error(const char*) __attribute__((__noreturn__)); > > void > __throw_range_error(const char*) __attribute__((__noreturn__)); > > void > __throw_overflow_error(const char*) __attribute__((__noreturn__)); > > void > __throw_underflow_error(const char*) __attribute__((__noreturn__)); > > > void > __throw_ios_failure(const char*) __attribute__((__noreturn__)); > > void > __throw_system_error(int) __attribute__((__noreturn__)); > > void > __throw_future_error(int) __attribute__((__noreturn__)); > > > void > __throw_bad_function_call() __attribute__((__noreturn__)); > > >} ># 61 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/cpp_type_traits.h" 1 3 ># 35 "/usr/include/c++/4.9.1/bits/cpp_type_traits.h" 3 ># 36 "/usr/include/c++/4.9.1/bits/cpp_type_traits.h" 3 ># 68 "/usr/include/c++/4.9.1/bits/cpp_type_traits.h" 3 >namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _Iterator, typename _Container> > class __normal_iterator; > > >} > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > struct __true_type { }; > struct __false_type { }; > > template<bool> > struct __truth_type > { typedef __false_type __type; }; > > template<> > struct __truth_type<true> > { typedef __true_type __type; }; > > > > template<class _Sp, class _Tp> > struct __traitor > { > enum { __value = bool(_Sp::__value) || bool(_Tp::__value) }; > typedef typename __truth_type<__value>::__type __type; > }; > > > template<typename, typename> > struct __are_same > { > enum { __value = 0 }; > typedef __false_type __type; > }; > > template<typename _Tp> > struct __are_same<_Tp, _Tp> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > template<typename _Tp> > struct __is_void > { > enum { __value = 0 }; > typedef __false_type __type; > }; > > template<> > struct __is_void<void> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > > > template<typename _Tp> > struct __is_integer > { > enum { __value = 0 }; > typedef __false_type __type; > }; > > > > > template<> > struct __is_integer<bool> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_integer<char> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_integer<signed char> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_integer<unsigned char> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > template<> > struct __is_integer<wchar_t> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > > template<> > struct __is_integer<char16_t> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_integer<char32_t> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > template<> > struct __is_integer<short> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_integer<unsigned short> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_integer<int> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_integer<unsigned int> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_integer<long> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_integer<unsigned long> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_integer<long long> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_integer<unsigned long long> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > > > template<typename _Tp> > struct __is_floating > { > enum { __value = 0 }; > typedef __false_type __type; > }; > > > template<> > struct __is_floating<float> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_floating<double> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_floating<long double> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > > > template<typename _Tp> > struct __is_pointer > { > enum { __value = 0 }; > typedef __false_type __type; > }; > > template<typename _Tp> > struct __is_pointer<_Tp*> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > > > template<typename _Tp> > struct __is_normal_iterator > { > enum { __value = 0 }; > typedef __false_type __type; > }; > > template<typename _Iterator, typename _Container> > struct __is_normal_iterator< __gnu_cxx::__normal_iterator<_Iterator, > _Container> > > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > > > template<typename _Tp> > struct __is_arithmetic > : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> > > { }; > > > > > template<typename _Tp> > struct __is_scalar > : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> > > { }; > > > > > template<typename _Tp> > struct __is_char > { > enum { __value = 0 }; > typedef __false_type __type; > }; > > template<> > struct __is_char<char> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > template<> > struct __is_char<wchar_t> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > template<typename _Tp> > struct __is_byte > { > enum { __value = 0 }; > typedef __false_type __type; > }; > > template<> > struct __is_byte<char> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_byte<signed char> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > template<> > struct __is_byte<unsigned char> > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > > > template<typename _Tp> > struct __is_move_iterator > { > enum { __value = 0 }; > typedef __false_type __type; > }; > > > template<typename _Iterator> > class move_iterator; > > template<typename _Iterator> > struct __is_move_iterator< move_iterator<_Iterator> > > { > enum { __value = 1 }; > typedef __true_type __type; > }; > > > >} ># 62 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 2 3 ># 1 "/usr/include/c++/4.9.1/ext/type_traits.h" 1 3 ># 32 "/usr/include/c++/4.9.1/ext/type_traits.h" 3 ># 33 "/usr/include/c++/4.9.1/ext/type_traits.h" 3 > > > > >namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) >{ > > > > template<bool, typename> > struct __enable_if > { }; > > template<typename _Tp> > struct __enable_if<true, _Tp> > { typedef _Tp __type; }; > > > > template<bool _Cond, typename _Iftrue, typename _Iffalse> > struct __conditional_type > { typedef _Iftrue __type; }; > > template<typename _Iftrue, typename _Iffalse> > struct __conditional_type<false, _Iftrue, _Iffalse> > { typedef _Iffalse __type; }; > > > > template<typename _Tp> > struct __add_unsigned > { > private: > typedef __enable_if<std::__is_integer<_Tp>::__value, _Tp> __if_type; > > public: > typedef typename __if_type::__type __type; > }; > > template<> > struct __add_unsigned<char> > { typedef unsigned char __type; }; > > template<> > struct __add_unsigned<signed char> > { typedef unsigned char __type; }; > > template<> > struct __add_unsigned<short> > { typedef unsigned short __type; }; > > template<> > struct __add_unsigned<int> > { typedef unsigned int __type; }; > > template<> > struct __add_unsigned<long> > { typedef unsigned long __type; }; > > template<> > struct __add_unsigned<long long> > { typedef unsigned long long __type; }; > > > template<> > struct __add_unsigned<bool>; > > template<> > struct __add_unsigned<wchar_t>; > > > > template<typename _Tp> > struct __remove_unsigned > { > private: > typedef __enable_if<std::__is_integer<_Tp>::__value, _Tp> __if_type; > > public: > typedef typename __if_type::__type __type; > }; > > template<> > struct __remove_unsigned<char> > { typedef signed char __type; }; > > template<> > struct __remove_unsigned<unsigned char> > { typedef signed char __type; }; > > template<> > struct __remove_unsigned<unsigned short> > { typedef short __type; }; > > template<> > struct __remove_unsigned<unsigned int> > { typedef int __type; }; > > template<> > struct __remove_unsigned<unsigned long> > { typedef long __type; }; > > template<> > struct __remove_unsigned<unsigned long long> > { typedef long long __type; }; > > > template<> > struct __remove_unsigned<bool>; > > template<> > struct __remove_unsigned<wchar_t>; > > > > template<typename _Type> > inline bool > __is_null_pointer(_Type* __ptr) > { return __ptr == 0; } > > template<typename _Type> > inline bool > __is_null_pointer(_Type) > { return false; } > > > inline bool > __is_null_pointer(std::nullptr_t) > { return true; } > > > > template<typename _Tp, bool = std::__is_integer<_Tp>::__value> > struct __promote > { typedef double __type; }; > > > > > template<typename _Tp> > struct __promote<_Tp, false> > { }; > > template<> > struct __promote<long double> > { typedef long double __type; }; > > template<> > struct __promote<double> > { typedef double __type; }; > > template<> > struct __promote<float> > { typedef float __type; }; > > template<typename _Tp, typename _Up, > typename _Tp2 = typename __promote<_Tp>::__type, > typename _Up2 = typename __promote<_Up>::__type> > struct __promote_2 > { > typedef __typeof__(_Tp2() + _Up2()) __type; > }; > > template<typename _Tp, typename _Up, typename _Vp, > typename _Tp2 = typename __promote<_Tp>::__type, > typename _Up2 = typename __promote<_Up>::__type, > typename _Vp2 = typename __promote<_Vp>::__type> > struct __promote_3 > { > typedef __typeof__(_Tp2() + _Up2() + _Vp2()) __type; > }; > > template<typename _Tp, typename _Up, typename _Vp, typename _Wp, > typename _Tp2 = typename __promote<_Tp>::__type, > typename _Up2 = typename __promote<_Up>::__type, > typename _Vp2 = typename __promote<_Vp>::__type, > typename _Wp2 = typename __promote<_Wp>::__type> > struct __promote_4 > { > typedef __typeof__(_Tp2() + _Up2() + _Vp2() + _Wp2()) __type; > }; > > >} ># 63 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 2 3 ># 1 "/usr/include/c++/4.9.1/ext/numeric_traits.h" 1 3 ># 32 "/usr/include/c++/4.9.1/ext/numeric_traits.h" 3 ># 33 "/usr/include/c++/4.9.1/ext/numeric_traits.h" 3 > > > > >namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) >{ ># 54 "/usr/include/c++/4.9.1/ext/numeric_traits.h" 3 > template<typename _Value> > struct __numeric_traits_integer > { > > static const _Value __min = (((_Value)(-1) < 0) ? (_Value)1 << (sizeof(_Value) * 8 - ((_Value)(-1) < 0)) : (_Value)0); > static const _Value __max = (((_Value)(-1) < 0) ? (((((_Value)1 << ((sizeof(_Value) * 8 - ((_Value)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(_Value)0); > > > > static const bool __is_signed = ((_Value)(-1) < 0); > static const int __digits = (sizeof(_Value) * 8 - ((_Value)(-1) < 0)); > }; > > template<typename _Value> > const _Value __numeric_traits_integer<_Value>::__min; > > template<typename _Value> > const _Value __numeric_traits_integer<_Value>::__max; > > template<typename _Value> > const bool __numeric_traits_integer<_Value>::__is_signed; > > template<typename _Value> > const int __numeric_traits_integer<_Value>::__digits; ># 99 "/usr/include/c++/4.9.1/ext/numeric_traits.h" 3 > template<typename _Value> > struct __numeric_traits_floating > { > > static const int __max_digits10 = (2 + (std::__are_same<_Value, float>::__value ? 24 : std::__are_same<_Value, double>::__value ? 53 : 64) * 643L / 2136); > > > static const bool __is_signed = true; > static const int __digits10 = (std::__are_same<_Value, float>::__value ? 6 : std::__are_same<_Value, double>::__value ? 15 : 18); > static const int __max_exponent10 = (std::__are_same<_Value, float>::__value ? 38 : std::__are_same<_Value, double>::__value ? 308 : 4932); > }; > > template<typename _Value> > const int __numeric_traits_floating<_Value>::__max_digits10; > > template<typename _Value> > const bool __numeric_traits_floating<_Value>::__is_signed; > > template<typename _Value> > const int __numeric_traits_floating<_Value>::__digits10; > > template<typename _Value> > const int __numeric_traits_floating<_Value>::__max_exponent10; > > template<typename _Value> > struct __numeric_traits > : public __conditional_type<std::__is_integer<_Value>::__value, > __numeric_traits_integer<_Value>, > __numeric_traits_floating<_Value> >::__type > { }; > > >} ># 64 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/stl_pair.h" 1 3 ># 59 "/usr/include/c++/4.9.1/bits/stl_pair.h" 3 ># 1 "/usr/include/c++/4.9.1/bits/move.h" 1 3 ># 34 "/usr/include/c++/4.9.1/bits/move.h" 3 ># 1 "/usr/include/c++/4.9.1/bits/concept_check.h" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/concept_check.h" 3 ># 34 "/usr/include/c++/4.9.1/bits/concept_check.h" 3 ># 35 "/usr/include/c++/4.9.1/bits/move.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > > > > > template<typename _Tp> > inline _Tp* > __addressof(_Tp& __r) noexcept > { > return reinterpret_cast<_Tp*> > (&const_cast<char&>(reinterpret_cast<const volatile char&>(__r))); > } > > >} > > ># 1 "/usr/include/c++/4.9.1/type_traits" 1 3 ># 32 "/usr/include/c++/4.9.1/type_traits" 3 ># 33 "/usr/include/c++/4.9.1/type_traits" 3 ># 42 "/usr/include/c++/4.9.1/type_traits" 3 >namespace std >{ > typedef short unsigned int uint_least16_t; > typedef unsigned int uint_least32_t; >} > > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 68 "/usr/include/c++/4.9.1/type_traits" 3 > template<typename _Tp, _Tp __v> > struct integral_constant > { > static constexpr _Tp value = __v; > typedef _Tp value_type; > typedef integral_constant<_Tp, __v> type; > constexpr operator value_type() const { return value; } > > > > }; > > template<typename _Tp, _Tp __v> > constexpr _Tp integral_constant<_Tp, __v>::value; > > > typedef integral_constant<bool, true> true_type; > > > typedef integral_constant<bool, false> false_type; > > > > template<bool, typename, typename> > struct conditional; > > template<typename...> > struct __or_; > > template<> > struct __or_<> > : public false_type > { }; > > template<typename _B1> > struct __or_<_B1> > : public _B1 > { }; > > template<typename _B1, typename _B2> > struct __or_<_B1, _B2> > : public conditional<_B1::value, _B1, _B2>::type > { }; > > template<typename _B1, typename _B2, typename _B3, typename... _Bn> > struct __or_<_B1, _B2, _B3, _Bn...> > : public conditional<_B1::value, _B1, __or_<_B2, _B3, _Bn...>>::type > { }; > > template<typename...> > struct __and_; > > template<> > struct __and_<> > : public true_type > { }; > > template<typename _B1> > struct __and_<_B1> > : public _B1 > { }; > > template<typename _B1, typename _B2> > struct __and_<_B1, _B2> > : public conditional<_B1::value, _B2, _B1>::type > { }; > > template<typename _B1, typename _B2, typename _B3, typename... _Bn> > struct __and_<_B1, _B2, _B3, _Bn...> > : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type > { }; > > template<typename _Pp> > struct __not_ > : public integral_constant<bool, !_Pp::value> > { }; > > > > > > > template<typename _Tp> > struct __success_type > { typedef _Tp type; }; > > struct __failure_type > { }; > > > > template<typename> > struct remove_cv; > > template<typename> > struct __is_void_helper > : public false_type { }; > > template<> > struct __is_void_helper<void> > : public true_type { }; > > > template<typename _Tp> > struct is_void > : public __is_void_helper<typename remove_cv<_Tp>::type>::type > { }; > > template<typename> > struct __is_integral_helper > : public false_type { }; > > template<> > struct __is_integral_helper<bool> > : public true_type { }; > > template<> > struct __is_integral_helper<char> > : public true_type { }; > > template<> > struct __is_integral_helper<signed char> > : public true_type { }; > > template<> > struct __is_integral_helper<unsigned char> > : public true_type { }; > > > template<> > struct __is_integral_helper<wchar_t> > : public true_type { }; > > > template<> > struct __is_integral_helper<char16_t> > : public true_type { }; > > template<> > struct __is_integral_helper<char32_t> > : public true_type { }; > > template<> > struct __is_integral_helper<short> > : public true_type { }; > > template<> > struct __is_integral_helper<unsigned short> > : public true_type { }; > > template<> > struct __is_integral_helper<int> > : public true_type { }; > > template<> > struct __is_integral_helper<unsigned int> > : public true_type { }; > > template<> > struct __is_integral_helper<long> > : public true_type { }; > > template<> > struct __is_integral_helper<unsigned long> > : public true_type { }; > > template<> > struct __is_integral_helper<long long> > : public true_type { }; > > template<> > struct __is_integral_helper<unsigned long long> > : public true_type { }; > > > template<> > struct __is_integral_helper<__int128> > : public true_type { }; > > template<> > struct __is_integral_helper<unsigned __int128> > : public true_type { }; > > > > template<typename _Tp> > struct is_integral > : public __is_integral_helper<typename remove_cv<_Tp>::type>::type > { }; > > template<typename> > struct __is_floating_point_helper > : public false_type { }; > > template<> > struct __is_floating_point_helper<float> > : public true_type { }; > > template<> > struct __is_floating_point_helper<double> > : public true_type { }; > > template<> > struct __is_floating_point_helper<long double> > : public true_type { }; > > > template<> > struct __is_floating_point_helper<__float128> > : public true_type { }; > > > > template<typename _Tp> > struct is_floating_point > : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type > { }; > > > template<typename> > struct is_array > : public false_type { }; > > template<typename _Tp, std::size_t _Size> > struct is_array<_Tp[_Size]> > : public true_type { }; > > template<typename _Tp> > struct is_array<_Tp[]> > : public true_type { }; > > template<typename> > struct __is_pointer_helper > : public false_type { }; > > template<typename _Tp> > struct __is_pointer_helper<_Tp*> > : public true_type { }; > > > template<typename _Tp> > struct is_pointer > : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type > { }; > > > template<typename> > struct is_lvalue_reference > : public false_type { }; > > template<typename _Tp> > struct is_lvalue_reference<_Tp&> > : public true_type { }; > > > template<typename> > struct is_rvalue_reference > : public false_type { }; > > template<typename _Tp> > struct is_rvalue_reference<_Tp&&> > : public true_type { }; > > template<typename> > struct is_function; > > template<typename> > struct __is_member_object_pointer_helper > : public false_type { }; > > template<typename _Tp, typename _Cp> > struct __is_member_object_pointer_helper<_Tp _Cp::*> > : public integral_constant<bool, !is_function<_Tp>::value> { }; > > > template<typename _Tp> > struct is_member_object_pointer > : public __is_member_object_pointer_helper< > typename remove_cv<_Tp>::type>::type > { }; > > template<typename> > struct __is_member_function_pointer_helper > : public false_type { }; > > template<typename _Tp, typename _Cp> > struct __is_member_function_pointer_helper<_Tp _Cp::*> > : public integral_constant<bool, is_function<_Tp>::value> { }; > > > template<typename _Tp> > struct is_member_function_pointer > : public __is_member_function_pointer_helper< > typename remove_cv<_Tp>::type>::type > { }; > > > template<typename _Tp> > struct is_enum > : public integral_constant<bool, __is_enum(_Tp)> > { }; > > > template<typename _Tp> > struct is_union > : public integral_constant<bool, __is_union(_Tp)> > { }; > > > template<typename _Tp> > struct is_class > : public integral_constant<bool, __is_class(_Tp)> > { }; > > > template<typename> > struct is_function > : public false_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...)> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) &> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) &&> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......)> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) &> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) &&> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) const> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) const &> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) const &&> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) const> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) const &> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) const &&> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) volatile> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) volatile &> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) volatile &&> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) volatile> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) volatile &> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) volatile &&> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) const volatile> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) const volatile &> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) const volatile &&> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) const volatile> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) const volatile &> > : public true_type { }; > > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) const volatile &&> > : public true_type { }; > > template<typename> > struct __is_null_pointer_helper > : public false_type { }; > > template<> > struct __is_null_pointer_helper<std::nullptr_t> > : public true_type { }; > > > template<typename _Tp> > struct is_null_pointer > : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type > { }; > > > template<typename _Tp> > struct __is_nullptr_t > : public is_null_pointer<_Tp> > { }; > > > > > template<typename _Tp> > struct is_reference > : public __or_<is_lvalue_reference<_Tp>, > is_rvalue_reference<_Tp>>::type > { }; > > > template<typename _Tp> > struct is_arithmetic > : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type > { }; > > > template<typename _Tp> > struct is_fundamental > : public __or_<is_arithmetic<_Tp>, is_void<_Tp>, > is_null_pointer<_Tp>>::type > { }; > > > template<typename _Tp> > struct is_object > : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>, > is_void<_Tp>>>::type > { }; > > template<typename> > struct is_member_pointer; > > > template<typename _Tp> > struct is_scalar > : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>, > is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type > { }; > > > template<typename _Tp> > struct is_compound > : public integral_constant<bool, !is_fundamental<_Tp>::value> { }; > > template<typename _Tp> > struct __is_member_pointer_helper > : public false_type { }; > > template<typename _Tp, typename _Cp> > struct __is_member_pointer_helper<_Tp _Cp::*> > : public true_type { }; > > > template<typename _Tp> > struct is_member_pointer > : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type > { }; > > > > template<typename _Tp> > struct __is_referenceable > : public __or_<is_object<_Tp>, is_reference<_Tp>>::type > { }; > > template<typename _Res, typename... _Args> > struct __is_referenceable<_Res(_Args...)> > : public true_type > { }; > > template<typename _Res, typename... _Args> > struct __is_referenceable<_Res(_Args......)> > : public true_type > { }; > > > > > template<typename> > struct is_const > : public false_type { }; > > template<typename _Tp> > struct is_const<_Tp const> > : public true_type { }; > > > template<typename> > struct is_volatile > : public false_type { }; > > template<typename _Tp> > struct is_volatile<_Tp volatile> > : public true_type { }; > > > template<typename _Tp> > struct is_trivial > : public integral_constant<bool, __is_trivial(_Tp)> > { }; > > > > > template<typename _Tp> > struct is_standard_layout > : public integral_constant<bool, __is_standard_layout(_Tp)> > { }; > > > > template<typename _Tp> > struct is_pod > : public integral_constant<bool, __is_pod(_Tp)> > { }; > > > template<typename _Tp> > struct is_literal_type > : public integral_constant<bool, __is_literal_type(_Tp)> > { }; > > > template<typename _Tp> > struct is_empty > : public integral_constant<bool, __is_empty(_Tp)> > { }; > > > template<typename _Tp> > struct is_polymorphic > : public integral_constant<bool, __is_polymorphic(_Tp)> > { }; > > > template<typename _Tp> > struct is_abstract > : public integral_constant<bool, __is_abstract(_Tp)> > { }; > > template<typename _Tp, > bool = is_arithmetic<_Tp>::value> > struct __is_signed_helper > : public false_type { }; > > template<typename _Tp> > struct __is_signed_helper<_Tp, true> > : public integral_constant<bool, _Tp(-1) < _Tp(0)> > { }; > > > template<typename _Tp> > struct is_signed > : public __is_signed_helper<_Tp>::type > { }; > > > template<typename _Tp> > struct is_unsigned > : public __and_<is_arithmetic<_Tp>, __not_<is_signed<_Tp>>>::type > { }; > > > > > template<typename> > struct add_rvalue_reference; > > > > > > template<typename _Tp> > typename add_rvalue_reference<_Tp>::type declval() noexcept; > > template<typename, unsigned = 0> > struct extent; > > template<typename> > struct remove_all_extents; > > template<typename _Tp> > struct __is_array_known_bounds > : public integral_constant<bool, (extent<_Tp>::value > 0)> > { }; > > template<typename _Tp> > struct __is_array_unknown_bounds > : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>::type > { }; > > > > > > > struct __do_is_destructible_impl > { > template<typename _Tp, typename = decltype(declval<_Tp&>().~_Tp())> > static true_type __test(int); > > template<typename> > static false_type __test(...); > }; > > template<typename _Tp> > struct __is_destructible_impl > : public __do_is_destructible_impl > { > typedef decltype(__test<_Tp>(0)) type; > }; > > template<typename _Tp, > bool = __or_<is_void<_Tp>, > __is_array_unknown_bounds<_Tp>, > is_function<_Tp>>::value, > bool = __or_<is_reference<_Tp>, is_scalar<_Tp>>::value> > struct __is_destructible_safe; > > template<typename _Tp> > struct __is_destructible_safe<_Tp, false, false> > : public __is_destructible_impl<typename > remove_all_extents<_Tp>::type>::type > { }; > > template<typename _Tp> > struct __is_destructible_safe<_Tp, true, false> > : public false_type { }; > > template<typename _Tp> > struct __is_destructible_safe<_Tp, false, true> > : public true_type { }; > > > template<typename _Tp> > struct is_destructible > : public __is_destructible_safe<_Tp>::type > { }; > > > > > > struct __do_is_nt_destructible_impl > { > template<typename _Tp> > static integral_constant<bool, noexcept(declval<_Tp&>().~_Tp())> > __test(int); > > template<typename> > static false_type __test(...); > }; > > template<typename _Tp> > struct __is_nt_destructible_impl > : public __do_is_nt_destructible_impl > { > typedef decltype(__test<_Tp>(0)) type; > }; > > template<typename _Tp, > bool = __or_<is_void<_Tp>, > __is_array_unknown_bounds<_Tp>, > is_function<_Tp>>::value, > bool = __or_<is_reference<_Tp>, is_scalar<_Tp>>::value> > struct __is_nt_destructible_safe; > > template<typename _Tp> > struct __is_nt_destructible_safe<_Tp, false, false> > : public __is_nt_destructible_impl<typename > remove_all_extents<_Tp>::type>::type > { }; > > template<typename _Tp> > struct __is_nt_destructible_safe<_Tp, true, false> > : public false_type { }; > > template<typename _Tp> > struct __is_nt_destructible_safe<_Tp, false, true> > : public true_type { }; > > > template<typename _Tp> > struct is_nothrow_destructible > : public __is_nt_destructible_safe<_Tp>::type > { }; > > struct __do_is_default_constructible_impl > { > template<typename _Tp, typename = decltype(_Tp())> > static true_type __test(int); > > template<typename> > static false_type __test(...); > }; > > template<typename _Tp> > struct __is_default_constructible_impl > : public __do_is_default_constructible_impl > { > typedef decltype(__test<_Tp>(0)) type; > }; > > template<typename _Tp> > struct __is_default_constructible_atom > : public __and_<__not_<is_void<_Tp>>, > __is_default_constructible_impl<_Tp>>::type > { }; > > template<typename _Tp, bool = is_array<_Tp>::value> > struct __is_default_constructible_safe; > > > > > > > template<typename _Tp> > struct __is_default_constructible_safe<_Tp, true> > : public __and_<__is_array_known_bounds<_Tp>, > __is_default_constructible_atom<typename > remove_all_extents<_Tp>::type>>::type > { }; > > template<typename _Tp> > struct __is_default_constructible_safe<_Tp, false> > : public __is_default_constructible_atom<_Tp>::type > { }; > > > template<typename _Tp> > struct is_default_constructible > : public __is_default_constructible_safe<_Tp>::type > { }; ># 850 "/usr/include/c++/4.9.1/type_traits" 3 > struct __do_is_static_castable_impl > { > template<typename _From, typename _To, typename > = decltype(static_cast<_To>(declval<_From>()))> > static true_type __test(int); > > template<typename, typename> > static false_type __test(...); > }; > > template<typename _From, typename _To> > struct __is_static_castable_impl > : public __do_is_static_castable_impl > { > typedef decltype(__test<_From, _To>(0)) type; > }; > > template<typename _From, typename _To> > struct __is_static_castable_safe > : public __is_static_castable_impl<_From, _To>::type > { }; > > > template<typename _From, typename _To> > struct __is_static_castable > : public integral_constant<bool, (__is_static_castable_safe< > _From, _To>::value)> > { }; > > > > > > > struct __do_is_direct_constructible_impl > { > template<typename _Tp, typename _Arg, typename > = decltype(::new _Tp(declval<_Arg>()))> > static true_type __test(int); > > template<typename, typename> > static false_type __test(...); > }; > > template<typename _Tp, typename _Arg> > struct __is_direct_constructible_impl > : public __do_is_direct_constructible_impl > { > typedef decltype(__test<_Tp, _Arg>(0)) type; > }; > > template<typename _Tp, typename _Arg> > struct __is_direct_constructible_new_safe > : public __and_<is_destructible<_Tp>, > __is_direct_constructible_impl<_Tp, _Arg>>::type > { }; > > template<typename, typename> > struct is_same; > > template<typename, typename> > struct is_base_of; > > template<typename> > struct remove_reference; > > template<typename _From, typename _To, bool > = __not_<__or_<is_void<_From>, > is_function<_From>>>::value> > struct __is_base_to_derived_ref; > > > > template<typename _From, typename _To> > struct __is_base_to_derived_ref<_From, _To, true> > { > typedef typename remove_cv<typename remove_reference<_From > >::type>::type __src_t; > typedef typename remove_cv<typename remove_reference<_To > >::type>::type __dst_t; > typedef __and_<__not_<is_same<__src_t, __dst_t>>, > is_base_of<__src_t, __dst_t>> type; > static constexpr bool value = type::value; > }; > > template<typename _From, typename _To> > struct __is_base_to_derived_ref<_From, _To, false> > : public false_type > { }; > > template<typename _From, typename _To, bool > = __and_<is_lvalue_reference<_From>, > is_rvalue_reference<_To>>::value> > struct __is_lvalue_to_rvalue_ref; > > > > template<typename _From, typename _To> > struct __is_lvalue_to_rvalue_ref<_From, _To, true> > { > typedef typename remove_cv<typename remove_reference< > _From>::type>::type __src_t; > typedef typename remove_cv<typename remove_reference< > _To>::type>::type __dst_t; > typedef __and_<__not_<is_function<__src_t>>, > __or_<is_same<__src_t, __dst_t>, > is_base_of<__dst_t, __src_t>>> type; > static constexpr bool value = type::value; > }; > > template<typename _From, typename _To> > struct __is_lvalue_to_rvalue_ref<_From, _To, false> > : public false_type > { }; > > > > > > > > template<typename _Tp, typename _Arg> > struct __is_direct_constructible_ref_cast > : public __and_<__is_static_castable<_Arg, _Tp>, > __not_<__or_<__is_base_to_derived_ref<_Arg, _Tp>, > __is_lvalue_to_rvalue_ref<_Arg, _Tp> > >>>::type > { }; > > template<typename _Tp, typename _Arg> > struct __is_direct_constructible_new > : public conditional<is_reference<_Tp>::value, > __is_direct_constructible_ref_cast<_Tp, _Arg>, > __is_direct_constructible_new_safe<_Tp, _Arg> > >::type > { }; > > template<typename _Tp, typename _Arg> > struct __is_direct_constructible > : public __is_direct_constructible_new<_Tp, _Arg>::type > { }; > > > > > > > struct __do_is_nary_constructible_impl > { > template<typename _Tp, typename... _Args, typename > = decltype(_Tp(declval<_Args>()...))> > static true_type __test(int); > > template<typename, typename...> > static false_type __test(...); > }; > > template<typename _Tp, typename... _Args> > struct __is_nary_constructible_impl > : public __do_is_nary_constructible_impl > { > typedef decltype(__test<_Tp, _Args...>(0)) type; > }; > > template<typename _Tp, typename... _Args> > struct __is_nary_constructible > : public __is_nary_constructible_impl<_Tp, _Args...>::type > { > static_assert(sizeof...(_Args) > 1, > "Only useful for > 1 arguments"); > }; > > template<typename _Tp, typename... _Args> > struct __is_constructible_impl > : public __is_nary_constructible<_Tp, _Args...> > { }; > > template<typename _Tp, typename _Arg> > struct __is_constructible_impl<_Tp, _Arg> > : public __is_direct_constructible<_Tp, _Arg> > { }; > > template<typename _Tp> > struct __is_constructible_impl<_Tp> > : public is_default_constructible<_Tp> > { }; > > > template<typename _Tp, typename... _Args> > struct is_constructible > : public __is_constructible_impl<_Tp, _Args...>::type > { }; > > template<typename _Tp, bool = __is_referenceable<_Tp>::value> > struct __is_copy_constructible_impl; > > template<typename _Tp> > struct __is_copy_constructible_impl<_Tp, false> > : public false_type { }; > > template<typename _Tp> > struct __is_copy_constructible_impl<_Tp, true> > : public is_constructible<_Tp, const _Tp&> > { }; > > > template<typename _Tp> > struct is_copy_constructible > : public __is_copy_constructible_impl<_Tp> > { }; > > template<typename _Tp, bool = __is_referenceable<_Tp>::value> > struct __is_move_constructible_impl; > > template<typename _Tp> > struct __is_move_constructible_impl<_Tp, false> > : public false_type { }; > > template<typename _Tp> > struct __is_move_constructible_impl<_Tp, true> > : public is_constructible<_Tp, _Tp&&> > { }; > > > template<typename _Tp> > struct is_move_constructible > : public __is_move_constructible_impl<_Tp> > { }; > > template<typename _Tp> > struct __is_nt_default_constructible_atom > : public integral_constant<bool, noexcept(_Tp())> > { }; > > template<typename _Tp, bool = is_array<_Tp>::value> > struct __is_nt_default_constructible_impl; > > template<typename _Tp> > struct __is_nt_default_constructible_impl<_Tp, true> > : public __and_<__is_array_known_bounds<_Tp>, > __is_nt_default_constructible_atom<typename > remove_all_extents<_Tp>::type>>::type > { }; > > template<typename _Tp> > struct __is_nt_default_constructible_impl<_Tp, false> > : public __is_nt_default_constructible_atom<_Tp> > { }; > > > template<typename _Tp> > struct is_nothrow_default_constructible > : public __and_<is_default_constructible<_Tp>, > __is_nt_default_constructible_impl<_Tp>>::type > { }; > > template<typename _Tp, typename... _Args> > struct __is_nt_constructible_impl > : public integral_constant<bool, noexcept(_Tp(declval<_Args>()...))> > { }; > > template<typename _Tp, typename _Arg> > struct __is_nt_constructible_impl<_Tp, _Arg> > : public integral_constant<bool, > noexcept(static_cast<_Tp>(declval<_Arg>()))> > { }; > > template<typename _Tp> > struct __is_nt_constructible_impl<_Tp> > : public is_nothrow_default_constructible<_Tp> > { }; > > > template<typename _Tp, typename... _Args> > struct is_nothrow_constructible > : public __and_<is_constructible<_Tp, _Args...>, > __is_nt_constructible_impl<_Tp, _Args...>>::type > { }; > > template<typename _Tp, bool = __is_referenceable<_Tp>::value> > struct __is_nothrow_copy_constructible_impl; > > template<typename _Tp> > struct __is_nothrow_copy_constructible_impl<_Tp, false> > : public false_type { }; > > template<typename _Tp> > struct __is_nothrow_copy_constructible_impl<_Tp, true> > : public is_nothrow_constructible<_Tp, const _Tp&> > { }; > > > template<typename _Tp> > struct is_nothrow_copy_constructible > : public __is_nothrow_copy_constructible_impl<_Tp> > { }; > > template<typename _Tp, bool = __is_referenceable<_Tp>::value> > struct __is_nothrow_move_constructible_impl; > > template<typename _Tp> > struct __is_nothrow_move_constructible_impl<_Tp, false> > : public false_type { }; > > template<typename _Tp> > struct __is_nothrow_move_constructible_impl<_Tp, true> > : public is_nothrow_constructible<_Tp, _Tp&&> > { }; > > > template<typename _Tp> > struct is_nothrow_move_constructible > : public __is_nothrow_move_constructible_impl<_Tp> > { }; > > template<typename _Tp, typename _Up> > class __is_assignable_helper > { > template<typename _Tp1, typename _Up1, > typename = decltype(declval<_Tp1>() = declval<_Up1>())> > static true_type > __test(int); > > template<typename, typename> > static false_type > __test(...); > > public: > typedef decltype(__test<_Tp, _Up>(0)) type; > }; > > > template<typename _Tp, typename _Up> > struct is_assignable > : public __is_assignable_helper<_Tp, _Up>::type > { }; > > template<typename _Tp, bool = __is_referenceable<_Tp>::value> > struct __is_copy_assignable_impl; > > template<typename _Tp> > struct __is_copy_assignable_impl<_Tp, false> > : public false_type { }; > > template<typename _Tp> > struct __is_copy_assignable_impl<_Tp, true> > : public is_assignable<_Tp&, const _Tp&> > { }; > > > template<typename _Tp> > struct is_copy_assignable > : public __is_copy_assignable_impl<_Tp> > { }; > > template<typename _Tp, bool = __is_referenceable<_Tp>::value> > struct __is_move_assignable_impl; > > template<typename _Tp> > struct __is_move_assignable_impl<_Tp, false> > : public false_type { }; > > template<typename _Tp> > struct __is_move_assignable_impl<_Tp, true> > : public is_assignable<_Tp&, _Tp&&> > { }; > > > template<typename _Tp> > struct is_move_assignable > : public __is_move_assignable_impl<_Tp> > { }; > > template<typename _Tp, typename _Up> > struct __is_nt_assignable_impl > : public integral_constant<bool, noexcept(declval<_Tp>() = declval<_Up>())> > { }; > > > template<typename _Tp, typename _Up> > struct is_nothrow_assignable > : public __and_<is_assignable<_Tp, _Up>, > __is_nt_assignable_impl<_Tp, _Up>>::type > { }; > > template<typename _Tp, bool = __is_referenceable<_Tp>::value> > struct __is_nt_copy_assignable_impl; > > template<typename _Tp> > struct __is_nt_copy_assignable_impl<_Tp, false> > : public false_type { }; > > template<typename _Tp> > struct __is_nt_copy_assignable_impl<_Tp, true> > : public is_nothrow_assignable<_Tp&, const _Tp&> > { }; > > > template<typename _Tp> > struct is_nothrow_copy_assignable > : public __is_nt_copy_assignable_impl<_Tp> > { }; > > template<typename _Tp, bool = __is_referenceable<_Tp>::value> > struct __is_nt_move_assignable_impl; > > template<typename _Tp> > struct __is_nt_move_assignable_impl<_Tp, false> > : public false_type { }; > > template<typename _Tp> > struct __is_nt_move_assignable_impl<_Tp, true> > : public is_nothrow_assignable<_Tp&, _Tp&&> > { }; > > > template<typename _Tp> > struct is_nothrow_move_assignable > : public __is_nt_move_assignable_impl<_Tp> > { }; ># 1286 "/usr/include/c++/4.9.1/type_traits" 3 > template<typename _Tp> > struct is_trivially_destructible > : public __and_<is_destructible<_Tp>, integral_constant<bool, > __has_trivial_destructor(_Tp)>>::type > { }; > > > template<typename _Tp> > struct has_trivial_default_constructor > : public integral_constant<bool, __has_trivial_constructor(_Tp)> > { }; > > > template<typename _Tp> > struct has_trivial_copy_constructor > : public integral_constant<bool, __has_trivial_copy(_Tp)> > { }; > > > template<typename _Tp> > struct has_trivial_copy_assign > : public integral_constant<bool, __has_trivial_assign(_Tp)> > { }; > > > template<typename _Tp> > struct has_virtual_destructor > : public integral_constant<bool, __has_virtual_destructor(_Tp)> > { }; > > > > > > template<typename _Tp> > struct alignment_of > : public integral_constant<std::size_t, __alignof__(_Tp)> { }; > > > template<typename> > struct rank > : public integral_constant<std::size_t, 0> { }; > > template<typename _Tp, std::size_t _Size> > struct rank<_Tp[_Size]> > : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { }; > > template<typename _Tp> > struct rank<_Tp[]> > : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { }; > > > template<typename, unsigned _Uint> > struct extent > : public integral_constant<std::size_t, 0> { }; > > template<typename _Tp, unsigned _Uint, std::size_t _Size> > struct extent<_Tp[_Size], _Uint> > : public integral_constant<std::size_t, > _Uint == 0 ? _Size : extent<_Tp, > _Uint - 1>::value> > { }; > > template<typename _Tp, unsigned _Uint> > struct extent<_Tp[], _Uint> > : public integral_constant<std::size_t, > _Uint == 0 ? 0 : extent<_Tp, > _Uint - 1>::value> > { }; > > > > > > template<typename, typename> > struct is_same > : public false_type { }; > > template<typename _Tp> > struct is_same<_Tp, _Tp> > : public true_type { }; > > > template<typename _Base, typename _Derived> > struct is_base_of > : public integral_constant<bool, __is_base_of(_Base, _Derived)> > { }; > > template<typename _From, typename _To, > bool = __or_<is_void<_From>, is_function<_To>, > is_array<_To>>::value> > struct __is_convertible_helper > { typedef typename is_void<_To>::type type; }; > > template<typename _From, typename _To> > class __is_convertible_helper<_From, _To, false> > { > template<typename _To1> > static void __test_aux(_To1); > > template<typename _From1, typename _To1, > typename = decltype(__test_aux<_To1>(std::declval<_From1>()))> > static true_type > __test(int); > > template<typename, typename> > static false_type > __test(...); > > public: > typedef decltype(__test<_From, _To>(0)) type; > }; > > > > template<typename _From, typename _To> > struct is_convertible > : public __is_convertible_helper<_From, _To>::type > { }; > > > > > > template<typename _Tp> > struct remove_const > { typedef _Tp type; }; > > template<typename _Tp> > struct remove_const<_Tp const> > { typedef _Tp type; }; > > > template<typename _Tp> > struct remove_volatile > { typedef _Tp type; }; > > template<typename _Tp> > struct remove_volatile<_Tp volatile> > { typedef _Tp type; }; > > > template<typename _Tp> > struct remove_cv > { > typedef typename > remove_const<typename remove_volatile<_Tp>::type>::type type; > }; > > > template<typename _Tp> > struct add_const > { typedef _Tp const type; }; > > > template<typename _Tp> > struct add_volatile > { typedef _Tp volatile type; }; > > > template<typename _Tp> > struct add_cv > { > typedef typename > add_const<typename add_volatile<_Tp>::type>::type type; > }; ># 1482 "/usr/include/c++/4.9.1/type_traits" 3 > template<typename _Tp> > struct remove_reference > { typedef _Tp type; }; > > template<typename _Tp> > struct remove_reference<_Tp&> > { typedef _Tp type; }; > > template<typename _Tp> > struct remove_reference<_Tp&&> > { typedef _Tp type; }; > > template<typename _Tp, bool = __is_referenceable<_Tp>::value> > struct __add_lvalue_reference_helper > { typedef _Tp type; }; > > template<typename _Tp> > struct __add_lvalue_reference_helper<_Tp, true> > { typedef _Tp& type; }; > > > template<typename _Tp> > struct add_lvalue_reference > : public __add_lvalue_reference_helper<_Tp> > { }; > > template<typename _Tp, bool = __is_referenceable<_Tp>::value> > struct __add_rvalue_reference_helper > { typedef _Tp type; }; > > template<typename _Tp> > struct __add_rvalue_reference_helper<_Tp, true> > { typedef _Tp&& type; }; > > > template<typename _Tp> > struct add_rvalue_reference > : public __add_rvalue_reference_helper<_Tp> > { }; ># 1539 "/usr/include/c++/4.9.1/type_traits" 3 > template<typename _Unqualified, bool _IsConst, bool _IsVol> > struct __cv_selector; > > template<typename _Unqualified> > struct __cv_selector<_Unqualified, false, false> > { typedef _Unqualified __type; }; > > template<typename _Unqualified> > struct __cv_selector<_Unqualified, false, true> > { typedef volatile _Unqualified __type; }; > > template<typename _Unqualified> > struct __cv_selector<_Unqualified, true, false> > { typedef const _Unqualified __type; }; > > template<typename _Unqualified> > struct __cv_selector<_Unqualified, true, true> > { typedef const volatile _Unqualified __type; }; > > template<typename _Qualified, typename _Unqualified, > bool _IsConst = is_const<_Qualified>::value, > bool _IsVol = is_volatile<_Qualified>::value> > class __match_cv_qualifiers > { > typedef __cv_selector<_Unqualified, _IsConst, _IsVol> __match; > > public: > typedef typename __match::__type __type; > }; > > > template<typename _Tp> > struct __make_unsigned > { typedef _Tp __type; }; > > template<> > struct __make_unsigned<char> > { typedef unsigned char __type; }; > > template<> > struct __make_unsigned<signed char> > { typedef unsigned char __type; }; > > template<> > struct __make_unsigned<short> > { typedef unsigned short __type; }; > > template<> > struct __make_unsigned<int> > { typedef unsigned int __type; }; > > template<> > struct __make_unsigned<long> > { typedef unsigned long __type; }; > > template<> > struct __make_unsigned<long long> > { typedef unsigned long long __type; }; > > > template<> > struct __make_unsigned<wchar_t> : __make_unsigned<int> > { }; > > > > template<> > struct __make_unsigned<__int128> > { typedef unsigned __int128 __type; }; > > > > template<typename _Tp, > bool _IsInt = is_integral<_Tp>::value, > bool _IsEnum = is_enum<_Tp>::value> > class __make_unsigned_selector; > > template<typename _Tp> > class __make_unsigned_selector<_Tp, true, false> > { > typedef __make_unsigned<typename remove_cv<_Tp>::type> __unsignedt; > typedef typename __unsignedt::__type __unsigned_type; > typedef __match_cv_qualifiers<_Tp, __unsigned_type> __cv_unsigned; > > public: > typedef typename __cv_unsigned::__type __type; > }; > > template<typename _Tp> > class __make_unsigned_selector<_Tp, false, true> > { > > typedef unsigned char __smallest; > static const bool __b0 = sizeof(_Tp) <= sizeof(__smallest); > static const bool __b1 = sizeof(_Tp) <= sizeof(unsigned short); > static const bool __b2 = sizeof(_Tp) <= sizeof(unsigned int); > typedef conditional<__b2, unsigned int, unsigned long> __cond2; > typedef typename __cond2::type __cond2_type; > typedef conditional<__b1, unsigned short, __cond2_type> __cond1; > typedef typename __cond1::type __cond1_type; > > public: > typedef typename conditional<__b0, __smallest, __cond1_type>::type __type; > }; > > > > > > template<typename _Tp> > struct make_unsigned > { typedef typename __make_unsigned_selector<_Tp>::__type type; }; > > > template<> > struct make_unsigned<bool>; > > > > template<typename _Tp> > struct __make_signed > { typedef _Tp __type; }; > > template<> > struct __make_signed<char> > { typedef signed char __type; }; > > template<> > struct __make_signed<unsigned char> > { typedef signed char __type; }; > > template<> > struct __make_signed<unsigned short> > { typedef signed short __type; }; > > template<> > struct __make_signed<unsigned int> > { typedef signed int __type; }; > > template<> > struct __make_signed<unsigned long> > { typedef signed long __type; }; > > template<> > struct __make_signed<unsigned long long> > { typedef signed long long __type; }; ># 1693 "/usr/include/c++/4.9.1/type_traits" 3 > template<> > struct __make_signed<char16_t> : __make_signed<uint_least16_t> > { }; > template<> > struct __make_signed<char32_t> : __make_signed<uint_least32_t> > { }; > > > > template<> > struct __make_signed<unsigned __int128> > { typedef __int128 __type; }; > > > > template<typename _Tp, > bool _IsInt = is_integral<_Tp>::value, > bool _IsEnum = is_enum<_Tp>::value> > class __make_signed_selector; > > template<typename _Tp> > class __make_signed_selector<_Tp, true, false> > { > typedef __make_signed<typename remove_cv<_Tp>::type> __signedt; > typedef typename __signedt::__type __signed_type; > typedef __match_cv_qualifiers<_Tp, __signed_type> __cv_signed; > > public: > typedef typename __cv_signed::__type __type; > }; > > template<typename _Tp> > class __make_signed_selector<_Tp, false, true> > { > > typedef signed char __smallest; > static const bool __b0 = sizeof(_Tp) <= sizeof(__smallest); > static const bool __b1 = sizeof(_Tp) <= sizeof(signed short); > static const bool __b2 = sizeof(_Tp) <= sizeof(signed int); > typedef conditional<__b2, signed int, signed long> __cond2; > typedef typename __cond2::type __cond2_type; > typedef conditional<__b1, signed short, __cond2_type> __cond1; > typedef typename __cond1::type __cond1_type; > > public: > typedef typename conditional<__b0, __smallest, __cond1_type>::type __type; > }; > > > > > > template<typename _Tp> > struct make_signed > { typedef typename __make_signed_selector<_Tp>::__type type; }; > > > template<> > struct make_signed<bool>; ># 1766 "/usr/include/c++/4.9.1/type_traits" 3 > template<typename _Tp> > struct remove_extent > { typedef _Tp type; }; > > template<typename _Tp, std::size_t _Size> > struct remove_extent<_Tp[_Size]> > { typedef _Tp type; }; > > template<typename _Tp> > struct remove_extent<_Tp[]> > { typedef _Tp type; }; > > > template<typename _Tp> > struct remove_all_extents > { typedef _Tp type; }; > > template<typename _Tp, std::size_t _Size> > struct remove_all_extents<_Tp[_Size]> > { typedef typename remove_all_extents<_Tp>::type type; }; > > template<typename _Tp> > struct remove_all_extents<_Tp[]> > { typedef typename remove_all_extents<_Tp>::type type; }; ># 1803 "/usr/include/c++/4.9.1/type_traits" 3 > template<typename _Tp, typename> > struct __remove_pointer_helper > { typedef _Tp type; }; > > template<typename _Tp, typename _Up> > struct __remove_pointer_helper<_Tp, _Up*> > { typedef _Up type; }; > > > template<typename _Tp> > struct remove_pointer > : public __remove_pointer_helper<_Tp, typename remove_cv<_Tp>::type> > { }; > > > template<typename _Tp, bool = __or_<__is_referenceable<_Tp>, > is_void<_Tp>>::value> > struct __add_pointer_helper > { typedef _Tp type; }; > > template<typename _Tp> > struct __add_pointer_helper<_Tp, true> > { typedef typename remove_reference<_Tp>::type* type; }; > > template<typename _Tp> > struct add_pointer > : public __add_pointer_helper<_Tp> > { }; ># 1842 "/usr/include/c++/4.9.1/type_traits" 3 > template<std::size_t _Len> > struct __aligned_storage_msa > { > union __type > { > unsigned char __data[_Len]; > struct __attribute__((__aligned__)) { } __align; > }; > }; ># 1862 "/usr/include/c++/4.9.1/type_traits" 3 > template<std::size_t _Len, std::size_t _Align = > __alignof__(typename __aligned_storage_msa<_Len>::__type)> > struct aligned_storage > { > union type > { > unsigned char __data[_Len]; > struct __attribute__((__aligned__((_Align)))) { } __align; > }; > }; > > > > > template<typename _Up, > bool _IsArray = is_array<_Up>::value, > bool _IsFunction = is_function<_Up>::value> > struct __decay_selector; > > > template<typename _Up> > struct __decay_selector<_Up, false, false> > { typedef typename remove_cv<_Up>::type __type; }; > > template<typename _Up> > struct __decay_selector<_Up, true, false> > { typedef typename remove_extent<_Up>::type* __type; }; > > template<typename _Up> > struct __decay_selector<_Up, false, true> > { typedef typename add_pointer<_Up>::type __type; }; > > > template<typename _Tp> > class decay > { > typedef typename remove_reference<_Tp>::type __remove_type; > > public: > typedef typename __decay_selector<__remove_type>::__type type; > }; > > template<typename _Tp> > class reference_wrapper; > > > template<typename _Tp> > struct __strip_reference_wrapper > { > typedef _Tp __type; > }; > > template<typename _Tp> > struct __strip_reference_wrapper<reference_wrapper<_Tp> > > { > typedef _Tp& __type; > }; > > template<typename _Tp> > struct __decay_and_strip > { > typedef typename __strip_reference_wrapper< > typename decay<_Tp>::type>::__type __type; > }; > > > > > template<bool, typename _Tp = void> > struct enable_if > { }; > > > template<typename _Tp> > struct enable_if<true, _Tp> > { typedef _Tp type; }; > > template<typename... _Cond> > using _Require = typename enable_if<__and_<_Cond...>::value>::type; > > > > template<bool _Cond, typename _Iftrue, typename _Iffalse> > struct conditional > { typedef _Iftrue type; }; > > > template<typename _Iftrue, typename _Iffalse> > struct conditional<false, _Iftrue, _Iffalse> > { typedef _Iffalse type; }; > > > template<typename... _Tp> > struct common_type; > > > > struct __do_common_type_impl > { > template<typename _Tp, typename _Up> > static __success_type<typename decay<decltype > (true ? std::declval<_Tp>() > : std::declval<_Up>())>::type> _S_test(int); > > template<typename, typename> > static __failure_type _S_test(...); > }; > > template<typename _Tp, typename _Up> > struct __common_type_impl > : private __do_common_type_impl > { > typedef decltype(_S_test<_Tp, _Up>(0)) type; > }; > > struct __do_member_type_wrapper > { > template<typename _Tp> > static __success_type<typename _Tp::type> _S_test(int); > > template<typename> > static __failure_type _S_test(...); > }; > > template<typename _Tp> > struct __member_type_wrapper > : private __do_member_type_wrapper > { > typedef decltype(_S_test<_Tp>(0)) type; > }; > > template<typename _CTp, typename... _Args> > struct __expanded_common_type_wrapper > { > typedef common_type<typename _CTp::type, _Args...> type; > }; > > template<typename... _Args> > struct __expanded_common_type_wrapper<__failure_type, _Args...> > { typedef __failure_type type; }; > > template<typename _Tp> > struct common_type<_Tp> > { typedef typename decay<_Tp>::type type; }; > > template<typename _Tp, typename _Up> > struct common_type<_Tp, _Up> > : public __common_type_impl<_Tp, _Up>::type > { }; > > template<typename _Tp, typename _Up, typename... _Vp> > struct common_type<_Tp, _Up, _Vp...> > : public __expanded_common_type_wrapper<typename __member_type_wrapper< > common_type<_Tp, _Up>>::type, _Vp...>::type > { }; > > > template<typename _Tp> > struct underlying_type > { > typedef __underlying_type(_Tp) type; > }; > > template<typename _Tp> > struct __declval_protector > { > static const bool __stop = false; > static typename add_rvalue_reference<_Tp>::type __delegate(); > }; > > template<typename _Tp> > inline typename add_rvalue_reference<_Tp>::type > declval() noexcept > { > static_assert(__declval_protector<_Tp>::__stop, > "declval() must not be used!"); > return __declval_protector<_Tp>::__delegate(); > } > > > template<typename _Signature> > class result_of; > > > > > struct __result_of_memfun_ref_impl > { > template<typename _Fp, typename _Tp1, typename... _Args> > static __success_type<decltype( > (std::declval<_Tp1>().*std::declval<_Fp>())(std::declval<_Args>()...) > )> _S_test(int); > > template<typename...> > static __failure_type _S_test(...); > }; > > template<typename _MemPtr, typename _Arg, typename... _Args> > struct __result_of_memfun_ref > : private __result_of_memfun_ref_impl > { > typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type; > }; > > > struct __result_of_memfun_deref_impl > { > template<typename _Fp, typename _Tp1, typename... _Args> > static __success_type<decltype( > ((*std::declval<_Tp1>()).*std::declval<_Fp>())(std::declval<_Args>()...) > )> _S_test(int); > > template<typename...> > static __failure_type _S_test(...); > }; > > template<typename _MemPtr, typename _Arg, typename... _Args> > struct __result_of_memfun_deref > : private __result_of_memfun_deref_impl > { > typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type; > }; > > > struct __result_of_memobj_ref_impl > { > template<typename _Fp, typename _Tp1> > static __success_type<decltype( > std::declval<_Tp1>().*std::declval<_Fp>() > )> _S_test(int); > > template<typename, typename> > static __failure_type _S_test(...); > }; > > template<typename _MemPtr, typename _Arg> > struct __result_of_memobj_ref > : private __result_of_memobj_ref_impl > { > typedef decltype(_S_test<_MemPtr, _Arg>(0)) type; > }; > > > struct __result_of_memobj_deref_impl > { > template<typename _Fp, typename _Tp1> > static __success_type<decltype( > (*std::declval<_Tp1>()).*std::declval<_Fp>() > )> _S_test(int); > > template<typename, typename> > static __failure_type _S_test(...); > }; > > template<typename _MemPtr, typename _Arg> > struct __result_of_memobj_deref > : private __result_of_memobj_deref_impl > { > typedef decltype(_S_test<_MemPtr, _Arg>(0)) type; > }; > > template<typename _MemPtr, typename _Arg> > struct __result_of_memobj; > > template<typename _Res, typename _Class, typename _Arg> > struct __result_of_memobj<_Res _Class::*, _Arg> > { > typedef typename remove_cv<typename remove_reference< > _Arg>::type>::type _Argval; > typedef _Res _Class::* _MemPtr; > typedef typename conditional<__or_<is_same<_Argval, _Class>, > is_base_of<_Class, _Argval>>::value, > __result_of_memobj_ref<_MemPtr, _Arg>, > __result_of_memobj_deref<_MemPtr, _Arg> > >::type::type type; > }; > > template<typename _MemPtr, typename _Arg, typename... _Args> > struct __result_of_memfun; > > template<typename _Res, typename _Class, typename _Arg, typename... _Args> > struct __result_of_memfun<_Res _Class::*, _Arg, _Args...> > { > typedef typename remove_cv<typename remove_reference< > _Arg>::type>::type _Argval; > typedef _Res _Class::* _MemPtr; > typedef typename conditional<__or_<is_same<_Argval, _Class>, > is_base_of<_Class, _Argval>>::value, > __result_of_memfun_ref<_MemPtr, _Arg, _Args...>, > __result_of_memfun_deref<_MemPtr, _Arg, _Args...> > >::type::type type; > }; > > template<bool, bool, typename _Functor, typename... _ArgTypes> > struct __result_of_impl > { > typedef __failure_type type; > }; > > template<typename _MemPtr, typename _Arg> > struct __result_of_impl<true, false, _MemPtr, _Arg> > : public __result_of_memobj<typename decay<_MemPtr>::type, _Arg> > { }; > > template<typename _MemPtr, typename _Arg, typename... _Args> > struct __result_of_impl<false, true, _MemPtr, _Arg, _Args...> > : public __result_of_memfun<typename decay<_MemPtr>::type, _Arg, _Args...> > { }; > > > struct __result_of_other_impl > { > template<typename _Fn, typename... _Args> > static __success_type<decltype( > std::declval<_Fn>()(std::declval<_Args>()...) > )> _S_test(int); > > template<typename...> > static __failure_type _S_test(...); > }; > > template<typename _Functor, typename... _ArgTypes> > struct __result_of_impl<false, false, _Functor, _ArgTypes...> > : private __result_of_other_impl > { > typedef decltype(_S_test<_Functor, _ArgTypes...>(0)) type; > }; > > template<typename _Functor, typename... _ArgTypes> > struct result_of<_Functor(_ArgTypes...)> > : public __result_of_impl< > is_member_object_pointer< > typename remove_reference<_Functor>::type > >::value, > is_member_function_pointer< > typename remove_reference<_Functor>::type > >::value, > _Functor, _ArgTypes... > >::type > { }; ># 2264 "/usr/include/c++/4.9.1/type_traits" 3 > >} ># 58 "/usr/include/c++/4.9.1/bits/move.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 74 "/usr/include/c++/4.9.1/bits/move.h" 3 > template<typename _Tp> > constexpr _Tp&& > forward(typename std::remove_reference<_Tp>::type& __t) noexcept > { return static_cast<_Tp&&>(__t); } > > > > > > > > template<typename _Tp> > constexpr _Tp&& > forward(typename std::remove_reference<_Tp>::type&& __t) noexcept > { > static_assert(!std::is_lvalue_reference<_Tp>::value, "template argument" > " substituting _Tp is an lvalue reference type"); > return static_cast<_Tp&&>(__t); > } > > > > > > > template<typename _Tp> > constexpr typename std::remove_reference<_Tp>::type&& > move(_Tp&& __t) noexcept > { return static_cast<typename std::remove_reference<_Tp>::type&&>(__t); } > > > template<typename _Tp> > struct __move_if_noexcept_cond > : public __and_<__not_<is_nothrow_move_constructible<_Tp>>, > is_copy_constructible<_Tp>>::type { }; ># 118 "/usr/include/c++/4.9.1/bits/move.h" 3 > template<typename _Tp> > constexpr typename > conditional<__move_if_noexcept_cond<_Tp>::value, const _Tp&, _Tp&&>::type > move_if_noexcept(_Tp& __x) noexcept > { return std::move(__x); } ># 133 "/usr/include/c++/4.9.1/bits/move.h" 3 > template<typename _Tp> > inline _Tp* > addressof(_Tp& __r) noexcept > { return std::__addressof(__r); } > > > >} ># 149 "/usr/include/c++/4.9.1/bits/move.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 164 "/usr/include/c++/4.9.1/bits/move.h" 3 > template<typename _Tp> > inline void > swap(_Tp& __a, _Tp& __b) > > noexcept(__and_<is_nothrow_move_constructible<_Tp>, > is_nothrow_move_assignable<_Tp>>::value) > > { > > > > _Tp __tmp = std::move(__a); > __a = std::move(__b); > __b = std::move(__tmp); > } > > > > > template<typename _Tp, size_t _Nm> > inline void > swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) > > noexcept(noexcept(swap(*__a, *__b))) > > { > for (size_t __n = 0; __n < _Nm; ++__n) > swap(__a[__n], __b[__n]); > } > > > >} ># 60 "/usr/include/c++/4.9.1/bits/stl_pair.h" 2 3 > > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 76 "/usr/include/c++/4.9.1/bits/stl_pair.h" 3 > struct piecewise_construct_t { }; > > > constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t(); > > > template<typename...> > class tuple; > > template<std::size_t...> > struct _Index_tuple; ># 95 "/usr/include/c++/4.9.1/bits/stl_pair.h" 3 > template<class _T1, class _T2> > struct pair > { > typedef _T1 first_type; > typedef _T2 second_type; > > _T1 first; > _T2 second; > > > > > > constexpr pair() > : first(), second() { } > > > constexpr pair(const _T1& __a, const _T2& __b) > : first(__a), second(__b) { } > > > > > > > > template<class _U1, class _U2, class = typename > enable_if<__and_<is_convertible<const _U1&, _T1>, > is_convertible<const _U2&, _T2>>::value>::type> > constexpr pair(const pair<_U1, _U2>& __p) > : first(__p.first), second(__p.second) { } > > constexpr pair(const pair&) = default; > constexpr pair(pair&&) = default; > > > template<class _U1, class = typename > enable_if<is_convertible<_U1, _T1>::value>::type> > constexpr pair(_U1&& __x, const _T2& __y) > : first(std::forward<_U1>(__x)), second(__y) { } > > template<class _U2, class = typename > enable_if<is_convertible<_U2, _T2>::value>::type> > constexpr pair(const _T1& __x, _U2&& __y) > : first(__x), second(std::forward<_U2>(__y)) { } > > template<class _U1, class _U2, class = typename > enable_if<__and_<is_convertible<_U1, _T1>, > is_convertible<_U2, _T2>>::value>::type> > constexpr pair(_U1&& __x, _U2&& __y) > : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { } > > template<class _U1, class _U2, class = typename > enable_if<__and_<is_convertible<_U1, _T1>, > is_convertible<_U2, _T2>>::value>::type> > constexpr pair(pair<_U1, _U2>&& __p) > : first(std::forward<_U1>(__p.first)), > second(std::forward<_U2>(__p.second)) { } > > template<typename... _Args1, typename... _Args2> > pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>); > > pair& > operator=(const pair& __p) > { > first = __p.first; > second = __p.second; > return *this; > } > > pair& > operator=(pair&& __p) > noexcept(__and_<is_nothrow_move_assignable<_T1>, > is_nothrow_move_assignable<_T2>>::value) > { > first = std::forward<first_type>(__p.first); > second = std::forward<second_type>(__p.second); > return *this; > } > > template<class _U1, class _U2> > pair& > operator=(const pair<_U1, _U2>& __p) > { > first = __p.first; > second = __p.second; > return *this; > } > > template<class _U1, class _U2> > pair& > operator=(pair<_U1, _U2>&& __p) > { > first = std::forward<_U1>(__p.first); > second = std::forward<_U2>(__p.second); > return *this; > } > > void > swap(pair& __p) > noexcept(noexcept(swap(first, __p.first)) > && noexcept(swap(second, __p.second))) > { > using std::swap; > swap(first, __p.first); > swap(second, __p.second); > } > > private: > template<typename... _Args1, std::size_t... _Indexes1, > typename... _Args2, std::size_t... _Indexes2> > pair(tuple<_Args1...>&, tuple<_Args2...>&, > _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>); > > }; > > > template<class _T1, class _T2> > inline constexpr bool > operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) > { return __x.first == __y.first && __x.second == __y.second; } > > > template<class _T1, class _T2> > inline constexpr bool > operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) > { return __x.first < __y.first > || (!(__y.first < __x.first) && __x.second < __y.second); } > > > template<class _T1, class _T2> > inline constexpr bool > operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) > { return !(__x == __y); } > > > template<class _T1, class _T2> > inline constexpr bool > operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) > { return __y < __x; } > > > template<class _T1, class _T2> > inline constexpr bool > operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) > { return !(__y < __x); } > > > template<class _T1, class _T2> > inline constexpr bool > operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) > { return !(__x < __y); } > > > > > > template<class _T1, class _T2> > inline void > swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) > noexcept(noexcept(__x.swap(__y))) > { __x.swap(__y); } ># 273 "/usr/include/c++/4.9.1/bits/stl_pair.h" 3 > template<class _T1, class _T2> > constexpr pair<typename __decay_and_strip<_T1>::__type, > typename __decay_and_strip<_T2>::__type> > make_pair(_T1&& __x, _T2&& __y) > { > typedef typename __decay_and_strip<_T1>::__type __ds_type1; > typedef typename __decay_and_strip<_T2>::__type __ds_type2; > typedef pair<__ds_type1, __ds_type2> __pair_type; > return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); > } ># 292 "/usr/include/c++/4.9.1/bits/stl_pair.h" 3 > >} ># 65 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/stl_iterator_base_types.h" 1 3 ># 62 "/usr/include/c++/4.9.1/bits/stl_iterator_base_types.h" 3 ># 63 "/usr/include/c++/4.9.1/bits/stl_iterator_base_types.h" 3 > > > > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 89 "/usr/include/c++/4.9.1/bits/stl_iterator_base_types.h" 3 > struct input_iterator_tag { }; > > > struct output_iterator_tag { }; > > > struct forward_iterator_tag : public input_iterator_tag { }; > > > > struct bidirectional_iterator_tag : public forward_iterator_tag { }; > > > > struct random_access_iterator_tag : public bidirectional_iterator_tag { }; ># 116 "/usr/include/c++/4.9.1/bits/stl_iterator_base_types.h" 3 > template<typename _Category, typename _Tp, typename _Distance = ptrdiff_t, > typename _Pointer = _Tp*, typename _Reference = _Tp&> > struct iterator > { > > typedef _Category iterator_category; > > typedef _Tp value_type; > > typedef _Distance difference_type; > > typedef _Pointer pointer; > > typedef _Reference reference; > }; ># 142 "/usr/include/c++/4.9.1/bits/stl_iterator_base_types.h" 3 >template<typename _Tp> class __has_iterator_category_helper { template<typename _Up> struct _Wrap_type { }; template<typename _Up> static true_type __test(_Wrap_type<typename _Up::iterator_category>*); template<typename _Up> static false_type __test(...); public: typedef decltype(__test<_Tp>(0)) type; }; template<typename _Tp> struct __has_iterator_category : public __has_iterator_category_helper <typename remove_cv<_Tp>::type>::type { }; > > template<typename _Iterator, > bool = __has_iterator_category<_Iterator>::value> > struct __iterator_traits { }; > > template<typename _Iterator> > struct __iterator_traits<_Iterator, true> > { > typedef typename _Iterator::iterator_category iterator_category; > typedef typename _Iterator::value_type value_type; > typedef typename _Iterator::difference_type difference_type; > typedef typename _Iterator::pointer pointer; > typedef typename _Iterator::reference reference; > }; > > template<typename _Iterator> > struct iterator_traits > : public __iterator_traits<_Iterator> { }; ># 174 "/usr/include/c++/4.9.1/bits/stl_iterator_base_types.h" 3 > template<typename _Tp> > struct iterator_traits<_Tp*> > { > typedef random_access_iterator_tag iterator_category; > typedef _Tp value_type; > typedef ptrdiff_t difference_type; > typedef _Tp* pointer; > typedef _Tp& reference; > }; > > > template<typename _Tp> > struct iterator_traits<const _Tp*> > { > typedef random_access_iterator_tag iterator_category; > typedef _Tp value_type; > typedef ptrdiff_t difference_type; > typedef const _Tp* pointer; > typedef const _Tp& reference; > }; > > > > > > template<typename _Iter> > inline typename iterator_traits<_Iter>::iterator_category > __iterator_category(const _Iter&) > { return typename iterator_traits<_Iter>::iterator_category(); } > > > > > > template<typename _Iterator, bool _HasBase> > struct _Iter_base > { > typedef _Iterator iterator_type; > static iterator_type _S_base(_Iterator __it) > { return __it; } > }; > > template<typename _Iterator> > struct _Iter_base<_Iterator, true> > { > typedef typename _Iterator::iterator_type iterator_type; > static iterator_type _S_base(_Iterator __it) > { return __it.base(); } > }; > > > template<typename _InIter> > using _RequireInputIter = typename > enable_if<is_convertible<typename > iterator_traits<_InIter>::iterator_category, > input_iterator_tag>::value>::type; > > > >} ># 66 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/stl_iterator_base_funcs.h" 1 3 ># 62 "/usr/include/c++/4.9.1/bits/stl_iterator_base_funcs.h" 3 ># 63 "/usr/include/c++/4.9.1/bits/stl_iterator_base_funcs.h" 3 > > ># 1 "/usr/include/c++/4.9.1/debug/debug.h" 1 3 ># 46 "/usr/include/c++/4.9.1/debug/debug.h" 3 >namespace std >{ > namespace __debug { } >} > > > > >namespace __gnu_debug >{ > using namespace std::__debug; >} ># 66 "/usr/include/c++/4.9.1/bits/stl_iterator_base_funcs.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _InputIterator> > inline typename iterator_traits<_InputIterator>::difference_type > __distance(_InputIterator __first, _InputIterator __last, > input_iterator_tag) > { > > > > typename iterator_traits<_InputIterator>::difference_type __n = 0; > while (__first != __last) > { > ++__first; > ++__n; > } > return __n; > } > > template<typename _RandomAccessIterator> > inline typename iterator_traits<_RandomAccessIterator>::difference_type > __distance(_RandomAccessIterator __first, _RandomAccessIterator __last, > random_access_iterator_tag) > { > > > > return __last - __first; > } ># 112 "/usr/include/c++/4.9.1/bits/stl_iterator_base_funcs.h" 3 > template<typename _InputIterator> > inline typename iterator_traits<_InputIterator>::difference_type > distance(_InputIterator __first, _InputIterator __last) > { > > return std::__distance(__first, __last, > std::__iterator_category(__first)); > } > > template<typename _InputIterator, typename _Distance> > inline void > __advance(_InputIterator& __i, _Distance __n, input_iterator_tag) > { > > > ; > while (__n--) > ++__i; > } > > template<typename _BidirectionalIterator, typename _Distance> > inline void > __advance(_BidirectionalIterator& __i, _Distance __n, > bidirectional_iterator_tag) > { > > > > if (__n > 0) > while (__n--) > ++__i; > else > while (__n++) > --__i; > } > > template<typename _RandomAccessIterator, typename _Distance> > inline void > __advance(_RandomAccessIterator& __i, _Distance __n, > random_access_iterator_tag) > { > > > > __i += __n; > } ># 171 "/usr/include/c++/4.9.1/bits/stl_iterator_base_funcs.h" 3 > template<typename _InputIterator, typename _Distance> > inline void > advance(_InputIterator& __i, _Distance __n) > { > > typename iterator_traits<_InputIterator>::difference_type __d = __n; > std::__advance(__i, __d, std::__iterator_category(__i)); > } > > > > template<typename _ForwardIterator> > inline _ForwardIterator > next(_ForwardIterator __x, typename > iterator_traits<_ForwardIterator>::difference_type __n = 1) > { > std::advance(__x, __n); > return __x; > } > > template<typename _BidirectionalIterator> > inline _BidirectionalIterator > prev(_BidirectionalIterator __x, typename > iterator_traits<_BidirectionalIterator>::difference_type __n = 1) > { > std::advance(__x, -__n); > return __x; > } > > > > >} ># 67 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 1 3 ># 66 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 ># 1 "/usr/include/c++/4.9.1/bits/ptr_traits.h" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/ptr_traits.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > >template<typename _Tp> class __has_element_type_helper { template<typename _Up> struct _Wrap_type { }; template<typename _Up> static true_type __test(_Wrap_type<typename _Up::element_type>*); template<typename _Up> static false_type __test(...); public: typedef decltype(__test<_Tp>(0)) type; }; template<typename _Tp> struct __has_element_type : public __has_element_type_helper <typename remove_cv<_Tp>::type>::type { }; >template<typename _Tp> class __has_difference_type_helper { template<typename _Up> struct _Wrap_type { }; template<typename _Up> static true_type __test(_Wrap_type<typename _Up::difference_type>*); template<typename _Up> static false_type __test(...); public: typedef decltype(__test<_Tp>(0)) type; }; template<typename _Tp> struct __has_difference_type : public __has_difference_type_helper <typename remove_cv<_Tp>::type>::type { }; > > template<typename _Tp, bool = __has_element_type<_Tp>::value> > struct __ptrtr_elt_type; > > template<typename _Tp> > struct __ptrtr_elt_type<_Tp, true> > { > typedef typename _Tp::element_type __type; > }; > > template<template<typename, typename...> class _SomePtr, typename _Tp, > typename... _Args> > struct __ptrtr_elt_type<_SomePtr<_Tp, _Args...>, false> > { > typedef _Tp __type; > }; > > template<typename _Tp, bool = __has_difference_type<_Tp>::value> > struct __ptrtr_diff_type > { > typedef typename _Tp::difference_type __type; > }; > > template<typename _Tp> > struct __ptrtr_diff_type<_Tp, false> > { > typedef ptrdiff_t __type; > }; > > template<typename _Ptr, typename _Up> > class __ptrtr_rebind_helper > { > template<typename _Ptr2, typename _Up2> > static constexpr true_type > _S_chk(typename _Ptr2::template rebind<_Up2>*); > > template<typename, typename> > static constexpr false_type > _S_chk(...); > > public: > using __type = decltype(_S_chk<_Ptr, _Up>(nullptr)); > }; > > template<typename _Tp, typename _Up, > bool = __ptrtr_rebind_helper<_Tp, _Up>::__type::value> > struct __ptrtr_rebind; > > template<typename _Tp, typename _Up> > struct __ptrtr_rebind<_Tp, _Up, true> > { > typedef typename _Tp::template rebind<_Up> __type; > }; > > template<template<typename, typename...> class _SomePtr, typename _Up, > typename _Tp, typename... _Args> > struct __ptrtr_rebind<_SomePtr<_Tp, _Args...>, _Up, false> > { > typedef _SomePtr<_Up, _Args...> __type; > }; > > template<typename _Tp, typename = typename remove_cv<_Tp>::type> > struct __ptrtr_not_void > { > typedef _Tp __type; > }; > > template<typename _Tp> > struct __ptrtr_not_void<_Tp, void> > { > struct __type { }; > }; > > template<typename _Ptr> > class __ptrtr_pointer_to > { > typedef typename __ptrtr_elt_type<_Ptr>::__type __orig_type; > typedef typename __ptrtr_not_void<__orig_type>::__type __element_type; > > public: > static _Ptr pointer_to(__element_type& __e) > { return _Ptr::pointer_to(__e); } > }; > > > > > > template<typename _Ptr> > struct pointer_traits : __ptrtr_pointer_to<_Ptr> > { > > typedef _Ptr pointer; > > typedef typename __ptrtr_elt_type<_Ptr>::__type element_type; > > typedef typename __ptrtr_diff_type<_Ptr>::__type difference_type; > > template<typename _Up> > using rebind = typename __ptrtr_rebind<_Ptr, _Up>::__type; > }; > > > > > > template<typename _Tp> > struct pointer_traits<_Tp*> > { > > typedef _Tp* pointer; > > typedef _Tp element_type; > > typedef ptrdiff_t difference_type; > > template<typename _Up> > using rebind = _Up*; > > > > > > > static pointer > pointer_to(typename __ptrtr_not_void<element_type>::__type& __r) noexcept > { return std::addressof(__r); } > }; > > >} ># 67 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 96 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > template<typename _Iterator> > class reverse_iterator > : public iterator<typename iterator_traits<_Iterator>::iterator_category, > typename iterator_traits<_Iterator>::value_type, > typename iterator_traits<_Iterator>::difference_type, > typename iterator_traits<_Iterator>::pointer, > typename iterator_traits<_Iterator>::reference> > { > protected: > _Iterator current; > > typedef iterator_traits<_Iterator> __traits_type; > > public: > typedef _Iterator iterator_type; > typedef typename __traits_type::difference_type difference_type; > typedef typename __traits_type::pointer pointer; > typedef typename __traits_type::reference reference; > > > > > > > > reverse_iterator() : current() { } > > > > > explicit > reverse_iterator(iterator_type __x) : current(__x) { } > > > > > reverse_iterator(const reverse_iterator& __x) > : current(__x.current) { } > > > > > > template<typename _Iter> > reverse_iterator(const reverse_iterator<_Iter>& __x) > : current(__x.base()) { } > > > > > iterator_type > base() const > { return current; } ># 160 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > reference > operator*() const > { > _Iterator __tmp = current; > return *--__tmp; > } > > > > > > > pointer > operator->() const > { return &(operator*()); } > > > > > > > reverse_iterator& > operator++() > { > --current; > return *this; > } > > > > > > > reverse_iterator > operator++(int) > { > reverse_iterator __tmp = *this; > --current; > return __tmp; > } > > > > > > > reverse_iterator& > operator--() > { > ++current; > return *this; > } > > > > > > > reverse_iterator > operator--(int) > { > reverse_iterator __tmp = *this; > ++current; > return __tmp; > } > > > > > > > reverse_iterator > operator+(difference_type __n) const > { return reverse_iterator(current - __n); } > > > > > > > > reverse_iterator& > operator+=(difference_type __n) > { > current -= __n; > return *this; > } > > > > > > > reverse_iterator > operator-(difference_type __n) const > { return reverse_iterator(current + __n); } > > > > > > > > reverse_iterator& > operator-=(difference_type __n) > { > current += __n; > return *this; > } > > > > > > > reference > operator[](difference_type __n) const > { return *(*this + __n); } > }; ># 290 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > template<typename _Iterator> > inline bool > operator==(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return __x.base() == __y.base(); } > > template<typename _Iterator> > inline bool > operator<(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return __y.base() < __x.base(); } > > template<typename _Iterator> > inline bool > operator!=(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return !(__x == __y); } > > template<typename _Iterator> > inline bool > operator>(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return __y < __x; } > > template<typename _Iterator> > inline bool > operator<=(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return !(__y < __x); } > > template<typename _Iterator> > inline bool > operator>=(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return !(__x < __y); } > > template<typename _Iterator> > inline typename reverse_iterator<_Iterator>::difference_type > operator-(const reverse_iterator<_Iterator>& __x, > const reverse_iterator<_Iterator>& __y) > { return __y.base() - __x.base(); } > > template<typename _Iterator> > inline reverse_iterator<_Iterator> > operator+(typename reverse_iterator<_Iterator>::difference_type __n, > const reverse_iterator<_Iterator>& __x) > { return reverse_iterator<_Iterator>(__x.base() - __n); } > > > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator==(const reverse_iterator<_IteratorL>& __x, > const reverse_iterator<_IteratorR>& __y) > { return __x.base() == __y.base(); } > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator<(const reverse_iterator<_IteratorL>& __x, > const reverse_iterator<_IteratorR>& __y) > { return __y.base() < __x.base(); } > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator!=(const reverse_iterator<_IteratorL>& __x, > const reverse_iterator<_IteratorR>& __y) > { return !(__x == __y); } > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator>(const reverse_iterator<_IteratorL>& __x, > const reverse_iterator<_IteratorR>& __y) > { return __y < __x; } > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator<=(const reverse_iterator<_IteratorL>& __x, > const reverse_iterator<_IteratorR>& __y) > { return !(__y < __x); } > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator>=(const reverse_iterator<_IteratorL>& __x, > const reverse_iterator<_IteratorR>& __y) > { return !(__x < __y); } > > template<typename _IteratorL, typename _IteratorR> > > > inline auto > operator-(const reverse_iterator<_IteratorL>& __x, > const reverse_iterator<_IteratorR>& __y) > -> decltype(__y.base() - __x.base()) > > > > > > { return __y.base() - __x.base(); } ># 402 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > template<typename _Container> > class back_insert_iterator > : public iterator<output_iterator_tag, void, void, void, void> > { > protected: > _Container* container; > > public: > > typedef _Container container_type; > > > explicit > back_insert_iterator(_Container& __x) : container(&__x) { } ># 436 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > back_insert_iterator& > operator=(const typename _Container::value_type& __value) > { > container->push_back(__value); > return *this; > } > > back_insert_iterator& > operator=(typename _Container::value_type&& __value) > { > container->push_back(std::move(__value)); > return *this; > } > > > > back_insert_iterator& > operator*() > { return *this; } > > > back_insert_iterator& > operator++() > { return *this; } > > > back_insert_iterator > operator++(int) > { return *this; } > }; ># 478 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > template<typename _Container> > inline back_insert_iterator<_Container> > back_inserter(_Container& __x) > { return back_insert_iterator<_Container>(__x); } ># 493 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > template<typename _Container> > class front_insert_iterator > : public iterator<output_iterator_tag, void, void, void, void> > { > protected: > _Container* container; > > public: > > typedef _Container container_type; > > > explicit front_insert_iterator(_Container& __x) : container(&__x) { } ># 526 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > front_insert_iterator& > operator=(const typename _Container::value_type& __value) > { > container->push_front(__value); > return *this; > } > > front_insert_iterator& > operator=(typename _Container::value_type&& __value) > { > container->push_front(std::move(__value)); > return *this; > } > > > > front_insert_iterator& > operator*() > { return *this; } > > > front_insert_iterator& > operator++() > { return *this; } > > > front_insert_iterator > operator++(int) > { return *this; } > }; ># 568 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > template<typename _Container> > inline front_insert_iterator<_Container> > front_inserter(_Container& __x) > { return front_insert_iterator<_Container>(__x); } ># 587 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > template<typename _Container> > class insert_iterator > : public iterator<output_iterator_tag, void, void, void, void> > { > protected: > _Container* container; > typename _Container::iterator iter; > > public: > > typedef _Container container_type; > > > > > > insert_iterator(_Container& __x, typename _Container::iterator __i) > : container(&__x), iter(__i) {} ># 638 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > insert_iterator& > operator=(const typename _Container::value_type& __value) > { > iter = container->insert(iter, __value); > ++iter; > return *this; > } > > insert_iterator& > operator=(typename _Container::value_type&& __value) > { > iter = container->insert(iter, std::move(__value)); > ++iter; > return *this; > } > > > > insert_iterator& > operator*() > { return *this; } > > > insert_iterator& > operator++() > { return *this; } > > > insert_iterator& > operator++(int) > { return *this; } > }; ># 682 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > template<typename _Container, typename _Iterator> > inline insert_iterator<_Container> > inserter(_Container& __x, _Iterator __i) > { > return insert_iterator<_Container>(__x, > typename _Container::iterator(__i)); > } > > > > >} > >namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) >{ ># 706 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > using std::iterator_traits; > using std::iterator; > template<typename _Iterator, typename _Container> > class __normal_iterator > { > protected: > _Iterator _M_current; > > typedef iterator_traits<_Iterator> __traits_type; > > public: > typedef _Iterator iterator_type; > typedef typename __traits_type::iterator_category iterator_category; > typedef typename __traits_type::value_type value_type; > typedef typename __traits_type::difference_type difference_type; > typedef typename __traits_type::reference reference; > typedef typename __traits_type::pointer pointer; > > constexpr __normal_iterator() noexcept > : _M_current(_Iterator()) { } > > explicit > __normal_iterator(const _Iterator& __i) noexcept > : _M_current(__i) { } > > > template<typename _Iter> > __normal_iterator(const __normal_iterator<_Iter, > typename __enable_if< > (std::__are_same<_Iter, typename _Container::pointer>::__value), > _Container>::__type>& __i) noexcept > : _M_current(__i.base()) { } > > > reference > operator*() const noexcept > { return *_M_current; } > > pointer > operator->() const noexcept > { return _M_current; } > > __normal_iterator& > operator++() noexcept > { > ++_M_current; > return *this; > } > > __normal_iterator > operator++(int) noexcept > { return __normal_iterator(_M_current++); } > > > __normal_iterator& > operator--() noexcept > { > --_M_current; > return *this; > } > > __normal_iterator > operator--(int) noexcept > { return __normal_iterator(_M_current--); } > > > reference > operator[](difference_type __n) const noexcept > { return _M_current[__n]; } > > __normal_iterator& > operator+=(difference_type __n) noexcept > { _M_current += __n; return *this; } > > __normal_iterator > operator+(difference_type __n) const noexcept > { return __normal_iterator(_M_current + __n); } > > __normal_iterator& > operator-=(difference_type __n) noexcept > { _M_current -= __n; return *this; } > > __normal_iterator > operator-(difference_type __n) const noexcept > { return __normal_iterator(_M_current - __n); } > > const _Iterator& > base() const noexcept > { return _M_current; } > }; ># 806 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator==(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > noexcept > { return __lhs.base() == __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator==(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > noexcept > { return __lhs.base() == __rhs.base(); } > > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator!=(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > noexcept > { return __lhs.base() != __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator!=(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > noexcept > { return __lhs.base() != __rhs.base(); } > > > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator<(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > noexcept > { return __lhs.base() < __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator<(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > noexcept > { return __lhs.base() < __rhs.base(); } > > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator>(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > noexcept > { return __lhs.base() > __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator>(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > noexcept > { return __lhs.base() > __rhs.base(); } > > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator<=(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > noexcept > { return __lhs.base() <= __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator<=(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > noexcept > { return __lhs.base() <= __rhs.base(); } > > template<typename _IteratorL, typename _IteratorR, typename _Container> > inline bool > operator>=(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) > noexcept > { return __lhs.base() >= __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline bool > operator>=(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > noexcept > { return __lhs.base() >= __rhs.base(); } > > > > > > template<typename _IteratorL, typename _IteratorR, typename _Container> > > > inline auto > operator-(const __normal_iterator<_IteratorL, _Container>& __lhs, > const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept > -> decltype(__lhs.base() - __rhs.base()) > > > > > > { return __lhs.base() - __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline typename __normal_iterator<_Iterator, _Container>::difference_type > operator-(const __normal_iterator<_Iterator, _Container>& __lhs, > const __normal_iterator<_Iterator, _Container>& __rhs) > noexcept > { return __lhs.base() - __rhs.base(); } > > template<typename _Iterator, typename _Container> > inline __normal_iterator<_Iterator, _Container> > operator+(typename __normal_iterator<_Iterator, _Container>::difference_type > __n, const __normal_iterator<_Iterator, _Container>& __i) > noexcept > { return __normal_iterator<_Iterator, _Container>(__i.base() + __n); } > > >} > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 946 "/usr/include/c++/4.9.1/bits/stl_iterator.h" 3 > template<typename _Iterator> > class move_iterator > { > protected: > _Iterator _M_current; > > typedef iterator_traits<_Iterator> __traits_type; > > public: > typedef _Iterator iterator_type; > typedef typename __traits_type::iterator_category iterator_category; > typedef typename __traits_type::value_type value_type; > typedef typename __traits_type::difference_type difference_type; > > typedef _Iterator pointer; > typedef value_type&& reference; > > move_iterator() > : _M_current() { } > > explicit > move_iterator(iterator_type __i) > : _M_current(__i) { } > > template<typename _Iter> > move_iterator(const move_iterator<_Iter>& __i) > : _M_current(__i.base()) { } > > iterator_type > base() const > { return _M_current; } > > reference > operator*() const > { return std::move(*_M_current); } > > pointer > operator->() const > { return _M_current; } > > move_iterator& > operator++() > { > ++_M_current; > return *this; > } > > move_iterator > operator++(int) > { > move_iterator __tmp = *this; > ++_M_current; > return __tmp; > } > > move_iterator& > operator--() > { > --_M_current; > return *this; > } > > move_iterator > operator--(int) > { > move_iterator __tmp = *this; > --_M_current; > return __tmp; > } > > move_iterator > operator+(difference_type __n) const > { return move_iterator(_M_current + __n); } > > move_iterator& > operator+=(difference_type __n) > { > _M_current += __n; > return *this; > } > > move_iterator > operator-(difference_type __n) const > { return move_iterator(_M_current - __n); } > > move_iterator& > operator-=(difference_type __n) > { > _M_current -= __n; > return *this; > } > > reference > operator[](difference_type __n) const > { return std::move(_M_current[__n]); } > }; > > > > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator==(const move_iterator<_IteratorL>& __x, > const move_iterator<_IteratorR>& __y) > { return __x.base() == __y.base(); } > > template<typename _Iterator> > inline bool > operator==(const move_iterator<_Iterator>& __x, > const move_iterator<_Iterator>& __y) > { return __x.base() == __y.base(); } > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator!=(const move_iterator<_IteratorL>& __x, > const move_iterator<_IteratorR>& __y) > { return !(__x == __y); } > > template<typename _Iterator> > inline bool > operator!=(const move_iterator<_Iterator>& __x, > const move_iterator<_Iterator>& __y) > { return !(__x == __y); } > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator<(const move_iterator<_IteratorL>& __x, > const move_iterator<_IteratorR>& __y) > { return __x.base() < __y.base(); } > > template<typename _Iterator> > inline bool > operator<(const move_iterator<_Iterator>& __x, > const move_iterator<_Iterator>& __y) > { return __x.base() < __y.base(); } > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator<=(const move_iterator<_IteratorL>& __x, > const move_iterator<_IteratorR>& __y) > { return !(__y < __x); } > > template<typename _Iterator> > inline bool > operator<=(const move_iterator<_Iterator>& __x, > const move_iterator<_Iterator>& __y) > { return !(__y < __x); } > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator>(const move_iterator<_IteratorL>& __x, > const move_iterator<_IteratorR>& __y) > { return __y < __x; } > > template<typename _Iterator> > inline bool > operator>(const move_iterator<_Iterator>& __x, > const move_iterator<_Iterator>& __y) > { return __y < __x; } > > template<typename _IteratorL, typename _IteratorR> > inline bool > operator>=(const move_iterator<_IteratorL>& __x, > const move_iterator<_IteratorR>& __y) > { return !(__x < __y); } > > template<typename _Iterator> > inline bool > operator>=(const move_iterator<_Iterator>& __x, > const move_iterator<_Iterator>& __y) > { return !(__x < __y); } > > > template<typename _IteratorL, typename _IteratorR> > inline auto > operator-(const move_iterator<_IteratorL>& __x, > const move_iterator<_IteratorR>& __y) > -> decltype(__x.base() - __y.base()) > { return __x.base() - __y.base(); } > > template<typename _Iterator> > inline auto > operator-(const move_iterator<_Iterator>& __x, > const move_iterator<_Iterator>& __y) > -> decltype(__x.base() - __y.base()) > { return __x.base() - __y.base(); } > > template<typename _Iterator> > inline move_iterator<_Iterator> > operator+(typename move_iterator<_Iterator>::difference_type __n, > const move_iterator<_Iterator>& __x) > { return __x + __n; } > > template<typename _Iterator> > inline move_iterator<_Iterator> > make_move_iterator(_Iterator __i) > { return move_iterator<_Iterator>(__i); } > > template<typename _Iterator, typename _ReturnType > = typename conditional<__move_if_noexcept_cond > <typename iterator_traits<_Iterator>::value_type>::value, > _Iterator, move_iterator<_Iterator>>::type> > inline _ReturnType > __make_move_if_noexcept_iterator(_Iterator __i) > { return _ReturnType(__i); } > > > > >} ># 68 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 2 3 > > > ># 1 "/usr/include/c++/4.9.1/bits/predefined_ops.h" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/predefined_ops.h" 3 >namespace __gnu_cxx >{ >namespace __ops >{ > struct _Iter_less_iter > { > template<typename _Iterator1, typename _Iterator2> > bool > operator()(_Iterator1 __it1, _Iterator2 __it2) const > { return *__it1 < *__it2; } > }; > > inline _Iter_less_iter > __iter_less_iter() > { return _Iter_less_iter(); } > > struct _Iter_less_val > { > template<typename _Iterator, typename _Value> > bool > operator()(_Iterator __it, _Value& __val) const > { return *__it < __val; } > }; > > inline _Iter_less_val > __iter_less_val() > { return _Iter_less_val(); } > > inline _Iter_less_val > __iter_comp_val(_Iter_less_iter) > { return _Iter_less_val(); } > > struct _Val_less_iter > { > template<typename _Value, typename _Iterator> > bool > operator()(_Value& __val, _Iterator __it) const > { return __val < *__it; } > }; > > inline _Val_less_iter > __val_less_iter() > { return _Val_less_iter(); } > > inline _Val_less_iter > __val_comp_iter(_Iter_less_iter) > { return _Val_less_iter(); } > > struct _Iter_equal_to_iter > { > template<typename _Iterator1, typename _Iterator2> > bool > operator()(_Iterator1 __it1, _Iterator2 __it2) const > { return *__it1 == *__it2; } > }; > > inline _Iter_equal_to_iter > __iter_equal_to_iter() > { return _Iter_equal_to_iter(); } > > struct _Iter_equal_to_val > { > template<typename _Iterator, typename _Value> > bool > operator()(_Iterator __it, _Value& __val) const > { return *__it == __val; } > }; > > inline _Iter_equal_to_val > __iter_equal_to_val() > { return _Iter_equal_to_val(); } > > inline _Iter_equal_to_val > __iter_comp_val(_Iter_equal_to_iter) > { return _Iter_equal_to_val(); } > > template<typename _Compare> > struct _Iter_comp_iter > { > _Compare _M_comp; > > _Iter_comp_iter(_Compare __comp) > : _M_comp(__comp) > { } > > template<typename _Iterator1, typename _Iterator2> > bool > operator()(_Iterator1 __it1, _Iterator2 __it2) > { return bool(_M_comp(*__it1, *__it2)); } > }; > > template<typename _Compare> > inline _Iter_comp_iter<_Compare> > __iter_comp_iter(_Compare __comp) > { return _Iter_comp_iter<_Compare>(__comp); } > > template<typename _Compare> > struct _Iter_comp_val > { > _Compare _M_comp; > > _Iter_comp_val(_Compare __comp) > : _M_comp(__comp) > { } > > template<typename _Iterator, typename _Value> > bool > operator()(_Iterator __it, _Value& __val) > { return bool(_M_comp(*__it, __val)); } > }; > > template<typename _Compare> > inline _Iter_comp_val<_Compare> > __iter_comp_val(_Compare __comp) > { return _Iter_comp_val<_Compare>(__comp); } > > template<typename _Compare> > inline _Iter_comp_val<_Compare> > __iter_comp_val(_Iter_comp_iter<_Compare> __comp) > { return _Iter_comp_val<_Compare>(__comp._M_comp); } > > template<typename _Compare> > struct _Val_comp_iter > { > _Compare _M_comp; > > _Val_comp_iter(_Compare __comp) > : _M_comp(__comp) > { } > > template<typename _Value, typename _Iterator> > bool > operator()(_Value& __val, _Iterator __it) > { return bool(_M_comp(__val, *__it)); } > }; > > template<typename _Compare> > inline _Val_comp_iter<_Compare> > __val_comp_iter(_Compare __comp) > { return _Val_comp_iter<_Compare>(__comp); } > > template<typename _Compare> > inline _Val_comp_iter<_Compare> > __val_comp_iter(_Iter_comp_iter<_Compare> __comp) > { return _Val_comp_iter<_Compare>(__comp._M_comp); } > > template<typename _Value> > struct _Iter_equals_val > { > _Value& _M_value; > > _Iter_equals_val(_Value& __value) > : _M_value(__value) > { } > > template<typename _Iterator> > bool > operator()(_Iterator __it) > { return *__it == _M_value; } > }; > > template<typename _Value> > inline _Iter_equals_val<_Value> > __iter_equals_val(_Value& __val) > { return _Iter_equals_val<_Value>(__val); } > > template<typename _Iterator1> > struct _Iter_equals_iter > { > typename std::iterator_traits<_Iterator1>::reference _M_ref; > > _Iter_equals_iter(_Iterator1 __it1) > : _M_ref(*__it1) > { } > > template<typename _Iterator2> > bool > operator()(_Iterator2 __it2) > { return *__it2 == _M_ref; } > }; > > template<typename _Iterator> > inline _Iter_equals_iter<_Iterator> > __iter_comp_iter(_Iter_equal_to_iter, _Iterator __it) > { return _Iter_equals_iter<_Iterator>(__it); } > > template<typename _Predicate> > struct _Iter_pred > { > _Predicate _M_pred; > > _Iter_pred(_Predicate __pred) > : _M_pred(__pred) > { } > > template<typename _Iterator> > bool > operator()(_Iterator __it) > { return bool(_M_pred(*__it)); } > }; > > template<typename _Predicate> > inline _Iter_pred<_Predicate> > __pred_iter(_Predicate __pred) > { return _Iter_pred<_Predicate>(__pred); } > > template<typename _Compare, typename _Value> > struct _Iter_comp_to_val > { > _Compare _M_comp; > _Value& _M_value; > > _Iter_comp_to_val(_Compare __comp, _Value& __value) > : _M_comp(__comp), _M_value(__value) > { } > > template<typename _Iterator> > bool > operator()(_Iterator __it) > { return bool(_M_comp(*__it, _M_value)); } > }; > > template<typename _Compare, typename _Value> > _Iter_comp_to_val<_Compare, _Value> > __iter_comp_val(_Compare __comp, _Value &__val) > { return _Iter_comp_to_val<_Compare, _Value>(__comp, __val); } > > template<typename _Compare, typename _Iterator1> > struct _Iter_comp_to_iter > { > _Compare _M_comp; > typename std::iterator_traits<_Iterator1>::reference _M_ref; > > _Iter_comp_to_iter(_Compare __comp, _Iterator1 __it1) > : _M_comp(__comp), _M_ref(*__it1) > { } > > template<typename _Iterator2> > bool > operator()(_Iterator2 __it2) > { return bool(_M_comp(*__it2, _M_ref)); } > }; > > template<typename _Compare, typename _Iterator> > inline _Iter_comp_to_iter<_Compare, _Iterator> > __iter_comp_iter(_Iter_comp_iter<_Compare> __comp, _Iterator __it) > { return _Iter_comp_to_iter<_Compare, _Iterator>(__comp._M_comp, __it); } > > template<typename _Predicate> > struct _Iter_negate > { > _Predicate _M_pred; > > _Iter_negate(_Predicate __pred) > : _M_pred(__pred) > { } > > template<typename _Iterator> > bool > operator()(_Iterator __it) > { return !bool(_M_pred(*__it)); } > }; > > template<typename _Predicate> > inline _Iter_negate<_Predicate> > __negate(_Iter_pred<_Predicate> __pred) > { return _Iter_negate<_Predicate>(__pred._M_pred); } > >} >} ># 72 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 118 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _ForwardIterator1, typename _ForwardIterator2> > inline void > iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b) > { ># 148 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > swap(*__a, *__b); > > } ># 164 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _ForwardIterator1, typename _ForwardIterator2> > _ForwardIterator2 > swap_ranges(_ForwardIterator1 __first1, _ForwardIterator1 __last1, > _ForwardIterator2 __first2) > { > > > > > > ; > > for (; __first1 != __last1; ++__first1, ++__first2) > std::iter_swap(__first1, __first2); > return __first2; > } ># 192 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _Tp> > inline const _Tp& > min(const _Tp& __a, const _Tp& __b) > { > > > > if (__b < __a) > return __b; > return __a; > } ># 215 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _Tp> > inline const _Tp& > max(const _Tp& __a, const _Tp& __b) > { > > > > if (__a < __b) > return __b; > return __a; > } ># 238 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _Tp, typename _Compare> > inline const _Tp& > min(const _Tp& __a, const _Tp& __b, _Compare __comp) > { > > if (__comp(__b, __a)) > return __b; > return __a; > } ># 259 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _Tp, typename _Compare> > inline const _Tp& > max(const _Tp& __a, const _Tp& __b, _Compare __comp) > { > > if (__comp(__a, __b)) > return __b; > return __a; > } > > > > template<typename _Iterator> > struct _Niter_base > : _Iter_base<_Iterator, __is_normal_iterator<_Iterator>::__value> > { }; > > template<typename _Iterator> > inline typename _Niter_base<_Iterator>::iterator_type > __niter_base(_Iterator __it) > { return std::_Niter_base<_Iterator>::_S_base(__it); } > > > template<typename _Iterator> > struct _Miter_base > : _Iter_base<_Iterator, __is_move_iterator<_Iterator>::__value> > { }; > > template<typename _Iterator> > inline typename _Miter_base<_Iterator>::iterator_type > __miter_base(_Iterator __it) > { return std::_Miter_base<_Iterator>::_S_base(__it); } > > > > > > > > template<bool, bool, typename> > struct __copy_move > { > template<typename _II, typename _OI> > static _OI > __copy_m(_II __first, _II __last, _OI __result) > { > for (; __first != __last; ++__result, ++__first) > *__result = *__first; > return __result; > } > }; > > > template<typename _Category> > struct __copy_move<true, false, _Category> > { > template<typename _II, typename _OI> > static _OI > __copy_m(_II __first, _II __last, _OI __result) > { > for (; __first != __last; ++__result, ++__first) > *__result = std::move(*__first); > return __result; > } > }; > > > template<> > struct __copy_move<false, false, random_access_iterator_tag> > { > template<typename _II, typename _OI> > static _OI > __copy_m(_II __first, _II __last, _OI __result) > { > typedef typename iterator_traits<_II>::difference_type _Distance; > for(_Distance __n = __last - __first; __n > 0; --__n) > { > *__result = *__first; > ++__first; > ++__result; > } > return __result; > } > }; > > > template<> > struct __copy_move<true, false, random_access_iterator_tag> > { > template<typename _II, typename _OI> > static _OI > __copy_m(_II __first, _II __last, _OI __result) > { > typedef typename iterator_traits<_II>::difference_type _Distance; > for(_Distance __n = __last - __first; __n > 0; --__n) > { > *__result = std::move(*__first); > ++__first; > ++__result; > } > return __result; > } > }; > > > template<bool _IsMove> > struct __copy_move<_IsMove, true, random_access_iterator_tag> > { > template<typename _Tp> > static _Tp* > __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result) > { > > > static_assert( is_copy_assignable<_Tp>::value, > "type is not assignable" ); > > const ptrdiff_t _Num = __last - __first; > if (_Num) > __builtin_memmove(__result, __first, sizeof(_Tp) * _Num); > return __result + _Num; > } > }; > > template<bool _IsMove, typename _II, typename _OI> > inline _OI > __copy_move_a(_II __first, _II __last, _OI __result) > { > typedef typename iterator_traits<_II>::value_type _ValueTypeI; > typedef typename iterator_traits<_OI>::value_type _ValueTypeO; > typedef typename iterator_traits<_II>::iterator_category _Category; > const bool __simple = (__is_trivial(_ValueTypeI) > && __is_pointer<_II>::__value > && __is_pointer<_OI>::__value > && __are_same<_ValueTypeI, _ValueTypeO>::__value); > > return std::__copy_move<_IsMove, __simple, > _Category>::__copy_m(__first, __last, __result); > } > > > > template<typename _CharT> > struct char_traits; > > template<typename _CharT, typename _Traits> > class istreambuf_iterator; > > template<typename _CharT, typename _Traits> > class ostreambuf_iterator; > > template<bool _IsMove, typename _CharT> > typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, > ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type > __copy_move_a2(_CharT*, _CharT*, > ostreambuf_iterator<_CharT, char_traits<_CharT> >); > > template<bool _IsMove, typename _CharT> > typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, > ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type > __copy_move_a2(const _CharT*, const _CharT*, > ostreambuf_iterator<_CharT, char_traits<_CharT> >); > > template<bool _IsMove, typename _CharT> > typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, > _CharT*>::__type > __copy_move_a2(istreambuf_iterator<_CharT, char_traits<_CharT> >, > istreambuf_iterator<_CharT, char_traits<_CharT> >, _CharT*); > > template<bool _IsMove, typename _II, typename _OI> > inline _OI > __copy_move_a2(_II __first, _II __last, _OI __result) > { > return _OI(std::__copy_move_a<_IsMove>(std::__niter_base(__first), > std::__niter_base(__last), > std::__niter_base(__result))); > } ># 454 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _II, typename _OI> > inline _OI > copy(_II __first, _II __last, _OI __result) > { > > > > > ; > > return (std::__copy_move_a2<__is_move_iterator<_II>::__value> > (std::__miter_base(__first), std::__miter_base(__last), > __result)); > } ># 487 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _II, typename _OI> > inline _OI > move(_II __first, _II __last, _OI __result) > { > > > > > ; > > return std::__copy_move_a2<true>(std::__miter_base(__first), > std::__miter_base(__last), __result); > } > > > > > > > template<bool, bool, typename> > struct __copy_move_backward > { > template<typename _BI1, typename _BI2> > static _BI2 > __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) > { > while (__first != __last) > *--__result = *--__last; > return __result; > } > }; > > > template<typename _Category> > struct __copy_move_backward<true, false, _Category> > { > template<typename _BI1, typename _BI2> > static _BI2 > __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) > { > while (__first != __last) > *--__result = std::move(*--__last); > return __result; > } > }; > > > template<> > struct __copy_move_backward<false, false, random_access_iterator_tag> > { > template<typename _BI1, typename _BI2> > static _BI2 > __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) > { > typename iterator_traits<_BI1>::difference_type __n; > for (__n = __last - __first; __n > 0; --__n) > *--__result = *--__last; > return __result; > } > }; > > > template<> > struct __copy_move_backward<true, false, random_access_iterator_tag> > { > template<typename _BI1, typename _BI2> > static _BI2 > __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) > { > typename iterator_traits<_BI1>::difference_type __n; > for (__n = __last - __first; __n > 0; --__n) > *--__result = std::move(*--__last); > return __result; > } > }; > > > template<bool _IsMove> > struct __copy_move_backward<_IsMove, true, random_access_iterator_tag> > { > template<typename _Tp> > static _Tp* > __copy_move_b(const _Tp* __first, const _Tp* __last, _Tp* __result) > { > > > static_assert( is_copy_assignable<_Tp>::value, > "type is not assignable" ); > > const ptrdiff_t _Num = __last - __first; > if (_Num) > __builtin_memmove(__result - _Num, __first, sizeof(_Tp) * _Num); > return __result - _Num; > } > }; > > template<bool _IsMove, typename _BI1, typename _BI2> > inline _BI2 > __copy_move_backward_a(_BI1 __first, _BI1 __last, _BI2 __result) > { > typedef typename iterator_traits<_BI1>::value_type _ValueType1; > typedef typename iterator_traits<_BI2>::value_type _ValueType2; > typedef typename iterator_traits<_BI1>::iterator_category _Category; > const bool __simple = (__is_trivial(_ValueType1) > && __is_pointer<_BI1>::__value > && __is_pointer<_BI2>::__value > && __are_same<_ValueType1, _ValueType2>::__value); > > return std::__copy_move_backward<_IsMove, __simple, > _Category>::__copy_move_b(__first, > __last, > __result); > } > > template<bool _IsMove, typename _BI1, typename _BI2> > inline _BI2 > __copy_move_backward_a2(_BI1 __first, _BI1 __last, _BI2 __result) > { > return _BI2(std::__copy_move_backward_a<_IsMove> > (std::__niter_base(__first), std::__niter_base(__last), > std::__niter_base(__result))); > } ># 628 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _BI1, typename _BI2> > inline _BI2 > copy_backward(_BI1 __first, _BI1 __last, _BI2 __result) > { > > > > > > > ; > > return (std::__copy_move_backward_a2<__is_move_iterator<_BI1>::__value> > (std::__miter_base(__first), std::__miter_base(__last), > __result)); > } ># 664 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _BI1, typename _BI2> > inline _BI2 > move_backward(_BI1 __first, _BI1 __last, _BI2 __result) > { > > > > > > > ; > > return std::__copy_move_backward_a2<true>(std::__miter_base(__first), > std::__miter_base(__last), > __result); > } > > > > > > > template<typename _ForwardIterator, typename _Tp> > inline typename > __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type > __fill_a(_ForwardIterator __first, _ForwardIterator __last, > const _Tp& __value) > { > for (; __first != __last; ++__first) > *__first = __value; > } > > template<typename _ForwardIterator, typename _Tp> > inline typename > __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type > __fill_a(_ForwardIterator __first, _ForwardIterator __last, > const _Tp& __value) > { > const _Tp __tmp = __value; > for (; __first != __last; ++__first) > *__first = __tmp; > } > > > template<typename _Tp> > inline typename > __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type > __fill_a(_Tp* __first, _Tp* __last, const _Tp& __c) > { > const _Tp __tmp = __c; > __builtin_memset(__first, static_cast<unsigned char>(__tmp), > __last - __first); > } ># 730 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _ForwardIterator, typename _Tp> > inline void > fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) > { > > > > ; > > std::__fill_a(std::__niter_base(__first), std::__niter_base(__last), > __value); > } > > template<typename _OutputIterator, typename _Size, typename _Tp> > inline typename > __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type > __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value) > { > for (__decltype(__n + 0) __niter = __n; > __niter > 0; --__niter, ++__first) > *__first = __value; > return __first; > } > > template<typename _OutputIterator, typename _Size, typename _Tp> > inline typename > __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type > __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value) > { > const _Tp __tmp = __value; > for (__decltype(__n + 0) __niter = __n; > __niter > 0; --__niter, ++__first) > *__first = __tmp; > return __first; > } > > template<typename _Size, typename _Tp> > inline typename > __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, _Tp*>::__type > __fill_n_a(_Tp* __first, _Size __n, const _Tp& __c) > { > std::__fill_a(__first, __first + __n, __c); > return __first + __n; > } ># 790 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _OI, typename _Size, typename _Tp> > inline _OI > fill_n(_OI __first, _Size __n, const _Tp& __value) > { > > > > return _OI(std::__fill_n_a(std::__niter_base(__first), __n, __value)); > } > > template<bool _BoolType> > struct __equal > { > template<typename _II1, typename _II2> > static bool > equal(_II1 __first1, _II1 __last1, _II2 __first2) > { > for (; __first1 != __last1; ++__first1, ++__first2) > if (!(*__first1 == *__first2)) > return false; > return true; > } > }; > > template<> > struct __equal<true> > { > template<typename _Tp> > static bool > equal(const _Tp* __first1, const _Tp* __last1, const _Tp* __first2) > { > return !__builtin_memcmp(__first1, __first2, sizeof(_Tp) > * (__last1 - __first1)); > } > }; > > template<typename _II1, typename _II2> > inline bool > __equal_aux(_II1 __first1, _II1 __last1, _II2 __first2) > { > typedef typename iterator_traits<_II1>::value_type _ValueType1; > typedef typename iterator_traits<_II2>::value_type _ValueType2; > const bool __simple = ((__is_integer<_ValueType1>::__value > || __is_pointer<_ValueType1>::__value) > && __is_pointer<_II1>::__value > && __is_pointer<_II2>::__value > && __are_same<_ValueType1, _ValueType2>::__value); > > return std::__equal<__simple>::equal(__first1, __last1, __first2); > } > > template<typename, typename> > struct __lc_rai > { > template<typename _II1, typename _II2> > static _II1 > __newlast1(_II1, _II1 __last1, _II2, _II2) > { return __last1; } > > template<typename _II> > static bool > __cnd2(_II __first, _II __last) > { return __first != __last; } > }; > > template<> > struct __lc_rai<random_access_iterator_tag, random_access_iterator_tag> > { > template<typename _RAI1, typename _RAI2> > static _RAI1 > __newlast1(_RAI1 __first1, _RAI1 __last1, > _RAI2 __first2, _RAI2 __last2) > { > const typename iterator_traits<_RAI1>::difference_type > __diff1 = __last1 - __first1; > const typename iterator_traits<_RAI2>::difference_type > __diff2 = __last2 - __first2; > return __diff2 < __diff1 ? __first1 + __diff2 : __last1; > } > > template<typename _RAI> > static bool > __cnd2(_RAI, _RAI) > { return true; } > }; > > template<typename _II1, typename _II2, typename _Compare> > bool > __lexicographical_compare_impl(_II1 __first1, _II1 __last1, > _II2 __first2, _II2 __last2, > _Compare __comp) > { > typedef typename iterator_traits<_II1>::iterator_category _Category1; > typedef typename iterator_traits<_II2>::iterator_category _Category2; > typedef std::__lc_rai<_Category1, _Category2> __rai_type; > > __last1 = __rai_type::__newlast1(__first1, __last1, __first2, __last2); > for (; __first1 != __last1 && __rai_type::__cnd2(__first2, __last2); > ++__first1, ++__first2) > { > if (__comp(__first1, __first2)) > return true; > if (__comp(__first2, __first1)) > return false; > } > return __first1 == __last1 && __first2 != __last2; > } > > template<bool _BoolType> > struct __lexicographical_compare > { > template<typename _II1, typename _II2> > static bool __lc(_II1, _II1, _II2, _II2); > }; > > template<bool _BoolType> > template<typename _II1, typename _II2> > bool > __lexicographical_compare<_BoolType>:: > __lc(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) > { > return std::__lexicographical_compare_impl(__first1, __last1, > __first2, __last2, > __gnu_cxx::__ops::__iter_less_iter()); > } > > template<> > struct __lexicographical_compare<true> > { > template<typename _Tp, typename _Up> > static bool > __lc(const _Tp* __first1, const _Tp* __last1, > const _Up* __first2, const _Up* __last2) > { > const size_t __len1 = __last1 - __first1; > const size_t __len2 = __last2 - __first2; > const int __result = __builtin_memcmp(__first1, __first2, > std::min(__len1, __len2)); > return __result != 0 ? __result < 0 : __len1 < __len2; > } > }; > > template<typename _II1, typename _II2> > inline bool > __lexicographical_compare_aux(_II1 __first1, _II1 __last1, > _II2 __first2, _II2 __last2) > { > typedef typename iterator_traits<_II1>::value_type _ValueType1; > typedef typename iterator_traits<_II2>::value_type _ValueType2; > const bool __simple = > (__is_byte<_ValueType1>::__value && __is_byte<_ValueType2>::__value > && !__gnu_cxx::__numeric_traits<_ValueType1>::__is_signed > && !__gnu_cxx::__numeric_traits<_ValueType2>::__is_signed > && __is_pointer<_II1>::__value > && __is_pointer<_II2>::__value); > > return std::__lexicographical_compare<__simple>::__lc(__first1, __last1, > __first2, __last2); > } > > template<typename _ForwardIterator, typename _Tp, typename _Compare> > _ForwardIterator > __lower_bound(_ForwardIterator __first, _ForwardIterator __last, > const _Tp& __val, _Compare __comp) > { > typedef typename iterator_traits<_ForwardIterator>::difference_type > _DistanceType; > > _DistanceType __len = std::distance(__first, __last); > > while (__len > 0) > { > _DistanceType __half = __len >> 1; > _ForwardIterator __middle = __first; > std::advance(__middle, __half); > if (__comp(__middle, __val)) > { > __first = __middle; > ++__first; > __len = __len - __half - 1; > } > else > __len = __half; > } > return __first; > } ># 988 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _ForwardIterator, typename _Tp> > inline _ForwardIterator > lower_bound(_ForwardIterator __first, _ForwardIterator __last, > const _Tp& __val) > { > > > > > ; > > return std::__lower_bound(__first, __last, __val, > __gnu_cxx::__ops::__iter_less_val()); > } > > > > inline constexpr int > __lg(int __n) > { return sizeof(int) * 8 - 1 - __builtin_clz(__n); } > > inline constexpr unsigned > __lg(unsigned __n) > { return sizeof(int) * 8 - 1 - __builtin_clz(__n); } > > inline constexpr long > __lg(long __n) > { return sizeof(long) * 8 - 1 - __builtin_clzl(__n); } > > inline constexpr unsigned long > __lg(unsigned long __n) > { return sizeof(long) * 8 - 1 - __builtin_clzl(__n); } > > inline constexpr long long > __lg(long long __n) > { return sizeof(long long) * 8 - 1 - __builtin_clzll(__n); } > > inline constexpr unsigned long long > __lg(unsigned long long __n) > { return sizeof(long long) * 8 - 1 - __builtin_clzll(__n); } ># 1045 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _II1, typename _II2> > inline bool > equal(_II1 __first1, _II1 __last1, _II2 __first2) > { > > > > > > > ; > > return std::__equal_aux(std::__niter_base(__first1), > std::__niter_base(__last1), > std::__niter_base(__first2)); > } ># 1077 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _IIter1, typename _IIter2, typename _BinaryPredicate> > inline bool > equal(_IIter1 __first1, _IIter1 __last1, > _IIter2 __first2, _BinaryPredicate __binary_pred) > { > > > > ; > > for (; __first1 != __last1; ++__first1, ++__first2) > if (!bool(__binary_pred(*__first1, *__first2))) > return false; > return true; > } ># 1202 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _II1, typename _II2> > inline bool > lexicographical_compare(_II1 __first1, _II1 __last1, > _II2 __first2, _II2 __last2) > { ># 1216 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > ; > ; > > return std::__lexicographical_compare_aux(std::__niter_base(__first1), > std::__niter_base(__last1), > std::__niter_base(__first2), > std::__niter_base(__last2)); > } ># 1238 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _II1, typename _II2, typename _Compare> > inline bool > lexicographical_compare(_II1 __first1, _II1 __last1, > _II2 __first2, _II2 __last2, _Compare __comp) > { > > > > ; > ; > > return std::__lexicographical_compare_impl > (__first1, __last1, __first2, __last2, > __gnu_cxx::__ops::__iter_comp_iter(__comp)); > } > > template<typename _InputIterator1, typename _InputIterator2, > typename _BinaryPredicate> > pair<_InputIterator1, _InputIterator2> > __mismatch(_InputIterator1 __first1, _InputIterator1 __last1, > _InputIterator2 __first2, _BinaryPredicate __binary_pred) > { > while (__first1 != __last1 && __binary_pred(__first1, __first2)) > { > ++__first1; > ++__first2; > } > return pair<_InputIterator1, _InputIterator2>(__first1, __first2); > } ># 1281 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _InputIterator1, typename _InputIterator2> > inline pair<_InputIterator1, _InputIterator2> > mismatch(_InputIterator1 __first1, _InputIterator1 __last1, > _InputIterator2 __first2) > { > > > > > > > ; > > return std::__mismatch(__first1, __last1, __first2, > __gnu_cxx::__ops::__iter_equal_to_iter()); > } ># 1314 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > template<typename _InputIterator1, typename _InputIterator2, > typename _BinaryPredicate> > inline pair<_InputIterator1, _InputIterator2> > mismatch(_InputIterator1 __first1, _InputIterator1 __last1, > _InputIterator2 __first2, _BinaryPredicate __binary_pred) > { > > > > ; > > return std::__mismatch(__first1, __last1, __first2, > __gnu_cxx::__ops::__iter_comp_iter(__binary_pred)); > } ># 1414 "/usr/include/c++/4.9.1/bits/stl_algobase.h" 3 > >} ># 40 "/usr/include/c++/4.9.1/bits/char_traits.h" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/postypes.h" 1 3 ># 38 "/usr/include/c++/4.9.1/bits/postypes.h" 3 ># 39 "/usr/include/c++/4.9.1/bits/postypes.h" 3 > ># 1 "/usr/include/c++/4.9.1/cwchar" 1 3 ># 39 "/usr/include/c++/4.9.1/cwchar" 3 ># 40 "/usr/include/c++/4.9.1/cwchar" 3 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 45 "/usr/include/c++/4.9.1/cwchar" 2 3 ># 62 "/usr/include/c++/4.9.1/cwchar" 3 >namespace std >{ > using ::mbstate_t; >} ># 135 "/usr/include/c++/4.9.1/cwchar" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > using ::wint_t; > > using ::btowc; > using ::fgetwc; > using ::fgetws; > using ::fputwc; > using ::fputws; > using ::fwide; > using ::fwprintf; > using ::fwscanf; > using ::getwc; > using ::getwchar; > using ::mbrlen; > using ::mbrtowc; > using ::mbsinit; > using ::mbsrtowcs; > using ::putwc; > using ::putwchar; > > using ::swprintf; > > using ::swscanf; > using ::ungetwc; > using ::vfwprintf; > > using ::vfwscanf; > > > using ::vswprintf; > > > using ::vswscanf; > > using ::vwprintf; > > using ::vwscanf; > > using ::wcrtomb; > using ::wcscat; > using ::wcscmp; > using ::wcscoll; > using ::wcscpy; > using ::wcscspn; > using ::wcsftime; > using ::wcslen; > using ::wcsncat; > using ::wcsncmp; > using ::wcsncpy; > using ::wcsrtombs; > using ::wcsspn; > using ::wcstod; > > using ::wcstof; > > using ::wcstok; > using ::wcstol; > using ::wcstoul; > using ::wcsxfrm; > using ::wctob; > using ::wmemcmp; > using ::wmemcpy; > using ::wmemmove; > using ::wmemset; > using ::wprintf; > using ::wscanf; > using ::wcschr; > using ::wcspbrk; > using ::wcsrchr; > using ::wcsstr; > using ::wmemchr; ># 232 "/usr/include/c++/4.9.1/cwchar" 3 > >} > > > > > > > >namespace __gnu_cxx >{ > > > > > > using ::wcstold; ># 257 "/usr/include/c++/4.9.1/cwchar" 3 > using ::wcstoll; > using ::wcstoull; > >} > >namespace std >{ > using ::__gnu_cxx::wcstold; > using ::__gnu_cxx::wcstoll; > using ::__gnu_cxx::wcstoull; >} ># 277 "/usr/include/c++/4.9.1/cwchar" 3 >namespace std >{ > > using std::wcstof; > > > using std::vfwscanf; > > > using std::vswscanf; > > > using std::vwscanf; > > > > using std::wcstold; > using std::wcstoll; > using std::wcstoull; > >} ># 41 "/usr/include/c++/4.9.1/bits/postypes.h" 2 3 ># 68 "/usr/include/c++/4.9.1/bits/postypes.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 88 "/usr/include/c++/4.9.1/bits/postypes.h" 3 > typedef long streamoff; ># 98 "/usr/include/c++/4.9.1/bits/postypes.h" 3 > typedef ptrdiff_t streamsize; ># 111 "/usr/include/c++/4.9.1/bits/postypes.h" 3 > template<typename _StateT> > class fpos > { > private: > streamoff _M_off; > _StateT _M_state; > > public: > > > > > fpos() > : _M_off(0), _M_state() { } ># 133 "/usr/include/c++/4.9.1/bits/postypes.h" 3 > fpos(streamoff __off) > : _M_off(__off), _M_state() { } > > > operator streamoff() const { return _M_off; } > > > void > state(_StateT __st) > { _M_state = __st; } > > > _StateT > state() const > { return _M_state; } > > > > > > fpos& > operator+=(streamoff __off) > { > _M_off += __off; > return *this; > } > > > > > > fpos& > operator-=(streamoff __off) > { > _M_off -= __off; > return *this; > } > > > > > > > > fpos > operator+(streamoff __off) const > { > fpos __pos(*this); > __pos += __off; > return __pos; > } > > > > > > > > fpos > operator-(streamoff __off) const > { > fpos __pos(*this); > __pos -= __off; > return __pos; > } > > > > > > > streamoff > operator-(const fpos& __other) const > { return _M_off - __other._M_off; } > }; > > > > > > > template<typename _StateT> > inline bool > operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) > { return streamoff(__lhs) == streamoff(__rhs); } > > template<typename _StateT> > inline bool > operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) > { return streamoff(__lhs) != streamoff(__rhs); } > > > > > > typedef fpos<mbstate_t> streampos; > > typedef fpos<mbstate_t> wstreampos; > > > > typedef fpos<mbstate_t> u16streampos; > > typedef fpos<mbstate_t> u32streampos; > > > >} ># 41 "/usr/include/c++/4.9.1/bits/char_traits.h" 2 3 ># 1 "/usr/include/c++/4.9.1/cwchar" 1 3 ># 39 "/usr/include/c++/4.9.1/cwchar" 3 ># 40 "/usr/include/c++/4.9.1/cwchar" 3 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 45 "/usr/include/c++/4.9.1/cwchar" 2 3 ># 42 "/usr/include/c++/4.9.1/bits/char_traits.h" 2 3 > >namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) >{ ># 57 "/usr/include/c++/4.9.1/bits/char_traits.h" 3 > template<typename _CharT> > struct _Char_types > { > typedef unsigned long int_type; > typedef std::streampos pos_type; > typedef std::streamoff off_type; > typedef std::mbstate_t state_type; > }; ># 82 "/usr/include/c++/4.9.1/bits/char_traits.h" 3 > template<typename _CharT> > struct char_traits > { > typedef _CharT char_type; > typedef typename _Char_types<_CharT>::int_type int_type; > typedef typename _Char_types<_CharT>::pos_type pos_type; > typedef typename _Char_types<_CharT>::off_type off_type; > typedef typename _Char_types<_CharT>::state_type state_type; > > static void > assign(char_type& __c1, const char_type& __c2) > { __c1 = __c2; } > > static constexpr bool > eq(const char_type& __c1, const char_type& __c2) > { return __c1 == __c2; } > > static constexpr bool > lt(const char_type& __c1, const char_type& __c2) > { return __c1 < __c2; } > > static int > compare(const char_type* __s1, const char_type* __s2, std::size_t __n); > > static std::size_t > length(const char_type* __s); > > static const char_type* > find(const char_type* __s, std::size_t __n, const char_type& __a); > > static char_type* > move(char_type* __s1, const char_type* __s2, std::size_t __n); > > static char_type* > copy(char_type* __s1, const char_type* __s2, std::size_t __n); > > static char_type* > assign(char_type* __s, std::size_t __n, char_type __a); > > static constexpr char_type > to_char_type(const int_type& __c) > { return static_cast<char_type>(__c); } > > static constexpr int_type > to_int_type(const char_type& __c) > { return static_cast<int_type>(__c); } > > static constexpr bool > eq_int_type(const int_type& __c1, const int_type& __c2) > { return __c1 == __c2; } > > static constexpr int_type > eof() > { return static_cast<int_type>(-1); } > > static constexpr int_type > not_eof(const int_type& __c) > { return !eq_int_type(__c, eof()) ? __c : to_int_type(char_type()); } > }; > > template<typename _CharT> > int > char_traits<_CharT>:: > compare(const char_type* __s1, const char_type* __s2, std::size_t __n) > { > for (std::size_t __i = 0; __i < __n; ++__i) > if (lt(__s1[__i], __s2[__i])) > return -1; > else if (lt(__s2[__i], __s1[__i])) > return 1; > return 0; > } > > template<typename _CharT> > std::size_t > char_traits<_CharT>:: > length(const char_type* __p) > { > std::size_t __i = 0; > while (!eq(__p[__i], char_type())) > ++__i; > return __i; > } > > template<typename _CharT> > const typename char_traits<_CharT>::char_type* > char_traits<_CharT>:: > find(const char_type* __s, std::size_t __n, const char_type& __a) > { > for (std::size_t __i = 0; __i < __n; ++__i) > if (eq(__s[__i], __a)) > return __s + __i; > return 0; > } > > template<typename _CharT> > typename char_traits<_CharT>::char_type* > char_traits<_CharT>:: > move(char_type* __s1, const char_type* __s2, std::size_t __n) > { > return static_cast<_CharT*>(__builtin_memmove(__s1, __s2, > __n * sizeof(char_type))); > } > > template<typename _CharT> > typename char_traits<_CharT>::char_type* > char_traits<_CharT>:: > copy(char_type* __s1, const char_type* __s2, std::size_t __n) > { > > std::copy(__s2, __s2 + __n, __s1); > return __s1; > } > > template<typename _CharT> > typename char_traits<_CharT>::char_type* > char_traits<_CharT>:: > assign(char_type* __s, std::size_t __n, char_type __a) > { > > std::fill_n(__s, __n, __a); > return __s; > } > > >} > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 226 "/usr/include/c++/4.9.1/bits/char_traits.h" 3 > template<class _CharT> > struct char_traits : public __gnu_cxx::char_traits<_CharT> > { }; > > > > template<> > struct char_traits<char> > { > typedef char char_type; > typedef int int_type; > typedef streampos pos_type; > typedef streamoff off_type; > typedef mbstate_t state_type; > > static void > assign(char_type& __c1, const char_type& __c2) noexcept > { __c1 = __c2; } > > static constexpr bool > eq(const char_type& __c1, const char_type& __c2) noexcept > { return __c1 == __c2; } > > static constexpr bool > lt(const char_type& __c1, const char_type& __c2) noexcept > { > > return (static_cast<unsigned char>(__c1) > < static_cast<unsigned char>(__c2)); > } > > static int > compare(const char_type* __s1, const char_type* __s2, size_t __n) > { return __builtin_memcmp(__s1, __s2, __n); } > > static size_t > length(const char_type* __s) > { return __builtin_strlen(__s); } > > static const char_type* > find(const char_type* __s, size_t __n, const char_type& __a) > { return static_cast<const char_type*>(__builtin_memchr(__s, __a, __n)); } > > static char_type* > move(char_type* __s1, const char_type* __s2, size_t __n) > { return static_cast<char_type*>(__builtin_memmove(__s1, __s2, __n)); } > > static char_type* > copy(char_type* __s1, const char_type* __s2, size_t __n) > { return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); } > > static char_type* > assign(char_type* __s, size_t __n, char_type __a) > { return static_cast<char_type*>(__builtin_memset(__s, __a, __n)); } > > static constexpr char_type > to_char_type(const int_type& __c) noexcept > { return static_cast<char_type>(__c); } > > > > static constexpr int_type > to_int_type(const char_type& __c) noexcept > { return static_cast<int_type>(static_cast<unsigned char>(__c)); } > > static constexpr bool > eq_int_type(const int_type& __c1, const int_type& __c2) noexcept > { return __c1 == __c2; } > > static constexpr int_type > eof() noexcept > { return static_cast<int_type>(-1); } > > static constexpr int_type > not_eof(const int_type& __c) noexcept > { return (__c == eof()) ? 0 : __c; } > }; > > > > > template<> > struct char_traits<wchar_t> > { > typedef wchar_t char_type; > typedef wint_t int_type; > typedef streamoff off_type; > typedef wstreampos pos_type; > typedef mbstate_t state_type; > > static void > assign(char_type& __c1, const char_type& __c2) noexcept > { __c1 = __c2; } > > static constexpr bool > eq(const char_type& __c1, const char_type& __c2) noexcept > { return __c1 == __c2; } > > static constexpr bool > lt(const char_type& __c1, const char_type& __c2) noexcept > { return __c1 < __c2; } > > static int > compare(const char_type* __s1, const char_type* __s2, size_t __n) > { return wmemcmp(__s1, __s2, __n); } > > static size_t > length(const char_type* __s) > { return wcslen(__s); } > > static const char_type* > find(const char_type* __s, size_t __n, const char_type& __a) > { return wmemchr(__s, __a, __n); } > > static char_type* > move(char_type* __s1, const char_type* __s2, size_t __n) > { return wmemmove(__s1, __s2, __n); } > > static char_type* > copy(char_type* __s1, const char_type* __s2, size_t __n) > { return wmemcpy(__s1, __s2, __n); } > > static char_type* > assign(char_type* __s, size_t __n, char_type __a) > { return wmemset(__s, __a, __n); } > > static constexpr char_type > to_char_type(const int_type& __c) noexcept > { return char_type(__c); } > > static constexpr int_type > to_int_type(const char_type& __c) noexcept > { return int_type(__c); } > > static constexpr bool > eq_int_type(const int_type& __c1, const int_type& __c2) noexcept > { return __c1 == __c2; } > > static constexpr int_type > eof() noexcept > { return static_cast<int_type>((0xffffffffu)); } > > static constexpr int_type > not_eof(const int_type& __c) noexcept > { return eq_int_type(__c, eof()) ? 0 : __c; } > }; > > > >} > > > > ># 1 "/usr/include/c++/4.9.1/cstdint" 1 3 ># 32 "/usr/include/c++/4.9.1/cstdint" 3 ># 33 "/usr/include/c++/4.9.1/cstdint" 3 ># 41 "/usr/include/c++/4.9.1/cstdint" 3 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stdint.h" 1 3 4 ># 9 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stdint.h" 3 4 ># 1 "/usr/include/stdint.h" 1 3 4 ># 27 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 28 "/usr/include/stdint.h" 2 3 4 ># 48 "/usr/include/stdint.h" 3 4 >typedef unsigned char uint8_t; >typedef unsigned short int uint16_t; > >typedef unsigned int uint32_t; > > > >typedef unsigned long int uint64_t; ># 65 "/usr/include/stdint.h" 3 4 >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; > >typedef long int int_least64_t; > > > > > > >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; > >typedef unsigned long int uint_least64_t; ># 90 "/usr/include/stdint.h" 3 4 >typedef signed char int_fast8_t; > >typedef long int int_fast16_t; >typedef long int int_fast32_t; >typedef long int int_fast64_t; ># 103 "/usr/include/stdint.h" 3 4 >typedef unsigned char uint_fast8_t; > >typedef unsigned long int uint_fast16_t; >typedef unsigned long int uint_fast32_t; >typedef unsigned long int uint_fast64_t; ># 119 "/usr/include/stdint.h" 3 4 >typedef long int intptr_t; > > >typedef unsigned long int uintptr_t; ># 134 "/usr/include/stdint.h" 3 4 >typedef long int intmax_t; >typedef unsigned long int uintmax_t; ># 10 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stdint.h" 2 3 4 ># 42 "/usr/include/c++/4.9.1/cstdint" 2 3 > > > > >namespace std >{ > using ::int8_t; > using ::int16_t; > using ::int32_t; > using ::int64_t; > > using ::int_fast8_t; > using ::int_fast16_t; > using ::int_fast32_t; > using ::int_fast64_t; > > using ::int_least8_t; > using ::int_least16_t; > using ::int_least32_t; > using ::int_least64_t; > > using ::intmax_t; > using ::intptr_t; > > using ::uint8_t; > using ::uint16_t; > using ::uint32_t; > using ::uint64_t; > > using ::uint_fast8_t; > using ::uint_fast16_t; > using ::uint_fast32_t; > using ::uint_fast64_t; > > using ::uint_least8_t; > using ::uint_least16_t; > using ::uint_least32_t; > using ::uint_least64_t; > > using ::uintmax_t; > using ::uintptr_t; >} ># 381 "/usr/include/c++/4.9.1/bits/char_traits.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<> > struct char_traits<char16_t> > { > typedef char16_t char_type; > typedef uint_least16_t int_type; > typedef streamoff off_type; > typedef u16streampos pos_type; > typedef mbstate_t state_type; > > static void > assign(char_type& __c1, const char_type& __c2) noexcept > { __c1 = __c2; } > > static constexpr bool > eq(const char_type& __c1, const char_type& __c2) noexcept > { return __c1 == __c2; } > > static constexpr bool > lt(const char_type& __c1, const char_type& __c2) noexcept > { return __c1 < __c2; } > > static int > compare(const char_type* __s1, const char_type* __s2, size_t __n) > { > for (size_t __i = 0; __i < __n; ++__i) > if (lt(__s1[__i], __s2[__i])) > return -1; > else if (lt(__s2[__i], __s1[__i])) > return 1; > return 0; > } > > static size_t > length(const char_type* __s) > { > size_t __i = 0; > while (!eq(__s[__i], char_type())) > ++__i; > return __i; > } > > static const char_type* > find(const char_type* __s, size_t __n, const char_type& __a) > { > for (size_t __i = 0; __i < __n; ++__i) > if (eq(__s[__i], __a)) > return __s + __i; > return 0; > } > > static char_type* > move(char_type* __s1, const char_type* __s2, size_t __n) > { > return (static_cast<char_type*> > (__builtin_memmove(__s1, __s2, __n * sizeof(char_type)))); > } > > static char_type* > copy(char_type* __s1, const char_type* __s2, size_t __n) > { > return (static_cast<char_type*> > (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type)))); > } > > static char_type* > assign(char_type* __s, size_t __n, char_type __a) > { > for (size_t __i = 0; __i < __n; ++__i) > assign(__s[__i], __a); > return __s; > } > > static constexpr char_type > to_char_type(const int_type& __c) noexcept > { return char_type(__c); } > > static constexpr int_type > to_int_type(const char_type& __c) noexcept > { return int_type(__c); } > > static constexpr bool > eq_int_type(const int_type& __c1, const int_type& __c2) noexcept > { return __c1 == __c2; } > > static constexpr int_type > eof() noexcept > { return static_cast<int_type>(-1); } > > static constexpr int_type > not_eof(const int_type& __c) noexcept > { return eq_int_type(__c, eof()) ? 0 : __c; } > }; > > template<> > struct char_traits<char32_t> > { > typedef char32_t char_type; > typedef uint_least32_t int_type; > typedef streamoff off_type; > typedef u32streampos pos_type; > typedef mbstate_t state_type; > > static void > assign(char_type& __c1, const char_type& __c2) noexcept > { __c1 = __c2; } > > static constexpr bool > eq(const char_type& __c1, const char_type& __c2) noexcept > { return __c1 == __c2; } > > static constexpr bool > lt(const char_type& __c1, const char_type& __c2) noexcept > { return __c1 < __c2; } > > static int > compare(const char_type* __s1, const char_type* __s2, size_t __n) > { > for (size_t __i = 0; __i < __n; ++__i) > if (lt(__s1[__i], __s2[__i])) > return -1; > else if (lt(__s2[__i], __s1[__i])) > return 1; > return 0; > } > > static size_t > length(const char_type* __s) > { > size_t __i = 0; > while (!eq(__s[__i], char_type())) > ++__i; > return __i; > } > > static const char_type* > find(const char_type* __s, size_t __n, const char_type& __a) > { > for (size_t __i = 0; __i < __n; ++__i) > if (eq(__s[__i], __a)) > return __s + __i; > return 0; > } > > static char_type* > move(char_type* __s1, const char_type* __s2, size_t __n) > { > return (static_cast<char_type*> > (__builtin_memmove(__s1, __s2, __n * sizeof(char_type)))); > } > > static char_type* > copy(char_type* __s1, const char_type* __s2, size_t __n) > { > return (static_cast<char_type*> > (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type)))); > } > > static char_type* > assign(char_type* __s, size_t __n, char_type __a) > { > for (size_t __i = 0; __i < __n; ++__i) > assign(__s[__i], __a); > return __s; > } > > static constexpr char_type > to_char_type(const int_type& __c) noexcept > { return char_type(__c); } > > static constexpr int_type > to_int_type(const char_type& __c) noexcept > { return int_type(__c); } > > static constexpr bool > eq_int_type(const int_type& __c1, const int_type& __c2) noexcept > { return __c1 == __c2; } > > static constexpr int_type > eof() noexcept > { return static_cast<int_type>(-1); } > > static constexpr int_type > not_eof(const int_type& __c) noexcept > { return eq_int_type(__c, eof()) ? 0 : __c; } > }; > > >} ># 41 "/usr/include/c++/4.9.1/string" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/allocator.h" 1 3 ># 46 "/usr/include/c++/4.9.1/bits/allocator.h" 3 ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++allocator.h" 1 3 ># 33 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++allocator.h" 3 ># 1 "/usr/include/c++/4.9.1/ext/new_allocator.h" 1 3 ># 33 "/usr/include/c++/4.9.1/ext/new_allocator.h" 3 ># 1 "/usr/include/c++/4.9.1/new" 1 3 ># 37 "/usr/include/c++/4.9.1/new" 3 ># 38 "/usr/include/c++/4.9.1/new" 3 > > ># 1 "/usr/include/c++/4.9.1/exception" 1 3 ># 33 "/usr/include/c++/4.9.1/exception" 3 ># 34 "/usr/include/c++/4.9.1/exception" 3 > >#pragma GCC visibility push(default) > > ># 1 "/usr/include/c++/4.9.1/bits/atomic_lockfree_defines.h" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/atomic_lockfree_defines.h" 3 ># 34 "/usr/include/c++/4.9.1/bits/atomic_lockfree_defines.h" 3 ># 39 "/usr/include/c++/4.9.1/exception" 2 3 > >extern "C++" { > >namespace std >{ ># 60 "/usr/include/c++/4.9.1/exception" 3 > class exception > { > public: > exception() noexcept { } > virtual ~exception() noexcept; > > > > virtual const char* what() const noexcept; > }; > > > > class bad_exception : public exception > { > public: > bad_exception() noexcept { } > > > > virtual ~bad_exception() noexcept; > > > virtual const char* what() const noexcept; > }; > > > typedef void (*terminate_handler) (); > > > typedef void (*unexpected_handler) (); > > > terminate_handler set_terminate(terminate_handler) noexcept; > > > > terminate_handler get_terminate() noexcept; > > > > > void terminate() noexcept __attribute__ ((__noreturn__)); > > > unexpected_handler set_unexpected(unexpected_handler) noexcept; > > > > unexpected_handler get_unexpected() noexcept; > > > > > void unexpected() __attribute__ ((__noreturn__)); ># 127 "/usr/include/c++/4.9.1/exception" 3 > bool uncaught_exception() noexcept __attribute__ ((__pure__)); > > >} > >namespace __gnu_cxx >{ ># 152 "/usr/include/c++/4.9.1/exception" 3 > void __verbose_terminate_handler(); > > >} > >} > >#pragma GCC visibility pop > > ># 1 "/usr/include/c++/4.9.1/bits/exception_ptr.h" 1 3 ># 34 "/usr/include/c++/4.9.1/bits/exception_ptr.h" 3 >#pragma GCC visibility push(default) ># 43 "/usr/include/c++/4.9.1/bits/exception_ptr.h" 3 >extern "C++" { > >namespace std >{ > class type_info; > > > > > > namespace __exception_ptr > { > class exception_ptr; > } > > using __exception_ptr::exception_ptr; > > > > > > exception_ptr current_exception() noexcept; > > > void rethrow_exception(exception_ptr) __attribute__ ((__noreturn__)); > > namespace __exception_ptr > { > > > > > class exception_ptr > { > void* _M_exception_object; > > explicit exception_ptr(void* __e) noexcept; > > void _M_addref() noexcept; > void _M_release() noexcept; > > void *_M_get() const noexcept __attribute__ ((__pure__)); > > friend exception_ptr std::current_exception() noexcept; > friend void std::rethrow_exception(exception_ptr); > > public: > exception_ptr() noexcept; > > exception_ptr(const exception_ptr&) noexcept; > > > exception_ptr(nullptr_t) noexcept > : _M_exception_object(0) > { } > > exception_ptr(exception_ptr&& __o) noexcept > : _M_exception_object(__o._M_exception_object) > { __o._M_exception_object = 0; } ># 111 "/usr/include/c++/4.9.1/bits/exception_ptr.h" 3 > exception_ptr& > operator=(const exception_ptr&) noexcept; > > > exception_ptr& > operator=(exception_ptr&& __o) noexcept > { > exception_ptr(static_cast<exception_ptr&&>(__o)).swap(*this); > return *this; > } > > > ~exception_ptr() noexcept; > > void > swap(exception_ptr&) noexcept; ># 138 "/usr/include/c++/4.9.1/bits/exception_ptr.h" 3 > explicit operator bool() const > { return _M_exception_object; } > > > friend bool > operator==(const exception_ptr&, const exception_ptr&) > noexcept __attribute__ ((__pure__)); > > const class std::type_info* > __cxa_exception_type() const noexcept > __attribute__ ((__pure__)); > }; > > bool > operator==(const exception_ptr&, const exception_ptr&) > noexcept __attribute__ ((__pure__)); > > bool > operator!=(const exception_ptr&, const exception_ptr&) > noexcept __attribute__ ((__pure__)); > > inline void > swap(exception_ptr& __lhs, exception_ptr& __rhs) > { __lhs.swap(__rhs); } > > } > > > > template<typename _Ex> > exception_ptr > make_exception_ptr(_Ex __ex) noexcept > { > if (true) > { > > > > } > if (false) > { > return current_exception(); > } > } > > > > > > template<typename _Ex> > exception_ptr > copy_exception(_Ex __ex) noexcept __attribute__ ((__deprecated__)); > > template<typename _Ex> > exception_ptr > copy_exception(_Ex __ex) noexcept > { return std::make_exception_ptr<_Ex>(__ex); } > > >} > >} > >#pragma GCC visibility pop ># 163 "/usr/include/c++/4.9.1/exception" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/nested_exception.h" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/nested_exception.h" 3 >#pragma GCC visibility push(default) ># 45 "/usr/include/c++/4.9.1/bits/nested_exception.h" 3 >extern "C++" { > >namespace std >{ > > > > > > > class nested_exception > { > exception_ptr _M_ptr; > > public: > nested_exception() noexcept : _M_ptr(current_exception()) { } > > nested_exception(const nested_exception&) = default; > > nested_exception& operator=(const nested_exception&) = default; > > virtual ~nested_exception() noexcept; > > void > rethrow_nested() const __attribute__ ((__noreturn__)) > { rethrow_exception(_M_ptr); } > > exception_ptr > nested_ptr() const > { return _M_ptr; } > }; > > template<typename _Except> > struct _Nested_exception : public _Except, public nested_exception > { > explicit _Nested_exception(_Except&& __ex) > : _Except(static_cast<_Except&&>(__ex)) > { } > }; > > template<typename _Ex> > struct __get_nested_helper > { > static const nested_exception* > _S_get(const _Ex& __ex) > { return dynamic_cast<const nested_exception*>(&__ex); } > }; > > template<typename _Ex> > struct __get_nested_helper<_Ex*> > { > static const nested_exception* > _S_get(const _Ex* __ex) > { return dynamic_cast<const nested_exception*>(__ex); } > }; > > template<typename _Ex> > inline const nested_exception* > __get_nested_exception(const _Ex& __ex) > { return __get_nested_helper<_Ex>::_S_get(__ex); } > > template<typename _Ex> > void > __throw_with_nested(_Ex&&, const nested_exception* = 0) > __attribute__ ((__noreturn__)); > > template<typename _Ex> > void > __throw_with_nested(_Ex&&, ...) __attribute__ ((__noreturn__)); > > > > > template<typename _Ex> > inline void > __throw_with_nested(_Ex&& __ex, const nested_exception*) > { throw __ex; } > > template<typename _Ex> > inline void > __throw_with_nested(_Ex&& __ex, ...) > { throw _Nested_exception<_Ex>(static_cast<_Ex&&>(__ex)); } > > template<typename _Ex> > void > throw_with_nested(_Ex __ex) __attribute__ ((__noreturn__)); > > > > template<typename _Ex> > inline void > throw_with_nested(_Ex __ex) > { > if (__get_nested_exception(__ex)) > throw __ex; > __throw_with_nested(static_cast<_Ex&&>(__ex), &__ex); > } > > > template<typename _Ex> > inline void > rethrow_if_nested(const _Ex& __ex) > { > if (const nested_exception* __nested = __get_nested_exception(__ex)) > __nested->rethrow_nested(); > } > > > inline void > rethrow_if_nested(const nested_exception& __ex) > { __ex.rethrow_nested(); } > > >} > >} > > > >#pragma GCC visibility pop ># 164 "/usr/include/c++/4.9.1/exception" 2 3 ># 41 "/usr/include/c++/4.9.1/new" 2 3 > >#pragma GCC visibility push(default) > >extern "C++" { > >namespace std >{ > > > > > > > class bad_alloc : public exception > { > public: > bad_alloc() throw() { } > > > > virtual ~bad_alloc() throw(); > > > virtual const char* what() const throw(); > }; > > > class bad_array_new_length : public bad_alloc > { > public: > bad_array_new_length() throw() { }; > > > > virtual ~bad_array_new_length() throw(); > > > virtual const char* what() const throw(); > }; > > > > > > class bad_array_length : public bad_alloc > { > public: > bad_array_length() throw() { }; > > > > virtual ~bad_array_length() throw(); > > > virtual const char* what() const throw(); > }; > > > struct nothrow_t { }; > > extern const nothrow_t nothrow; > > > > typedef void (*new_handler)(); > > > > new_handler set_new_handler(new_handler) throw(); > > > > new_handler get_new_handler() noexcept; > >} ># 128 "/usr/include/c++/4.9.1/new" 3 >void* operator new(std::size_t) > __attribute__((__externally_visible__)); >void* operator new[](std::size_t) > __attribute__((__externally_visible__)); >void operator delete(void*) noexcept > __attribute__((__externally_visible__)); >void operator delete[](void*) noexcept > __attribute__((__externally_visible__)); >void* operator new(std::size_t, const std::nothrow_t&) noexcept > __attribute__((__externally_visible__)); >void* operator new[](std::size_t, const std::nothrow_t&) noexcept > __attribute__((__externally_visible__)); >void operator delete(void*, const std::nothrow_t&) noexcept > __attribute__((__externally_visible__)); >void operator delete[](void*, const std::nothrow_t&) noexcept > __attribute__((__externally_visible__)); > > >inline void* operator new(std::size_t, void* __p) noexcept >{ return __p; } >inline void* operator new[](std::size_t, void* __p) noexcept >{ return __p; } > > >inline void operator delete (void*, void*) noexcept { } >inline void operator delete[](void*, void*) noexcept { } > >} > >#pragma GCC visibility pop ># 34 "/usr/include/c++/4.9.1/ext/new_allocator.h" 2 3 > > > > > > >namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) >{ > > > using std::size_t; > using std::ptrdiff_t; ># 57 "/usr/include/c++/4.9.1/ext/new_allocator.h" 3 > template<typename _Tp> > class new_allocator > { > public: > typedef size_t size_type; > typedef ptrdiff_t difference_type; > typedef _Tp* pointer; > typedef const _Tp* const_pointer; > typedef _Tp& reference; > typedef const _Tp& const_reference; > typedef _Tp value_type; > > template<typename _Tp1> > struct rebind > { typedef new_allocator<_Tp1> other; }; > > > > > typedef std::true_type propagate_on_container_move_assignment; > > > new_allocator() noexcept { } > > new_allocator(const new_allocator&) noexcept { } > > template<typename _Tp1> > new_allocator(const new_allocator<_Tp1>&) noexcept { } > > ~new_allocator() noexcept { } > > pointer > address(reference __x) const noexcept > { return std::__addressof(__x); } > > const_pointer > address(const_reference __x) const noexcept > { return std::__addressof(__x); } > > > > pointer > allocate(size_type __n, const void* = 0) > { > if (__n > this->max_size()) > std::__throw_bad_alloc(); > > return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp))); > } > > > void > deallocate(pointer __p, size_type) > { ::operator delete(__p); } > > size_type > max_size() const noexcept > { return size_t(-1) / sizeof(_Tp); } > > > template<typename _Up, typename... _Args> > void > construct(_Up* __p, _Args&&... __args) > { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } > > template<typename _Up> > void > destroy(_Up* __p) { __p->~_Up(); } ># 135 "/usr/include/c++/4.9.1/ext/new_allocator.h" 3 > }; > > template<typename _Tp> > inline bool > operator==(const new_allocator<_Tp>&, const new_allocator<_Tp>&) > { return true; } > > template<typename _Tp> > inline bool > operator!=(const new_allocator<_Tp>&, const new_allocator<_Tp>&) > { return false; } > > >} ># 34 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++allocator.h" 2 3 > > >namespace std >{ ># 47 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++allocator.h" 3 > template<typename _Tp> > using __allocator_base = __gnu_cxx::new_allocator<_Tp>; >} ># 47 "/usr/include/c++/4.9.1/bits/allocator.h" 2 3 > > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 62 "/usr/include/c++/4.9.1/bits/allocator.h" 3 > template<> > class allocator<void> > { > public: > typedef size_t size_type; > typedef ptrdiff_t difference_type; > typedef void* pointer; > typedef const void* const_pointer; > typedef void value_type; > > template<typename _Tp1> > struct rebind > { typedef allocator<_Tp1> other; }; > > > > > typedef true_type propagate_on_container_move_assignment; > > }; ># 91 "/usr/include/c++/4.9.1/bits/allocator.h" 3 > template<typename _Tp> > class allocator: public __allocator_base<_Tp> > { > public: > typedef size_t size_type; > typedef ptrdiff_t difference_type; > typedef _Tp* pointer; > typedef const _Tp* const_pointer; > typedef _Tp& reference; > typedef const _Tp& const_reference; > typedef _Tp value_type; > > template<typename _Tp1> > struct rebind > { typedef allocator<_Tp1> other; }; > > > > > typedef true_type propagate_on_container_move_assignment; > > > allocator() throw() { } > > allocator(const allocator& __a) throw() > : __allocator_base<_Tp>(__a) { } > > template<typename _Tp1> > allocator(const allocator<_Tp1>&) throw() { } > > ~allocator() throw() { } > > > }; > > template<typename _T1, typename _T2> > inline bool > operator==(const allocator<_T1>&, const allocator<_T2>&) > { return true; } > > template<typename _Tp> > inline bool > operator==(const allocator<_Tp>&, const allocator<_Tp>&) > { return true; } > > template<typename _T1, typename _T2> > inline bool > operator!=(const allocator<_T1>&, const allocator<_T2>&) > { return false; } > > template<typename _Tp> > inline bool > operator!=(const allocator<_Tp>&, const allocator<_Tp>&) > { return false; } > > > > > > > extern template class allocator<char>; > extern template class allocator<wchar_t>; > > > > > > > template<typename _Alloc, bool = __is_empty(_Alloc)> > struct __alloc_swap > { static void _S_do_it(_Alloc&, _Alloc&) noexcept { } }; > > template<typename _Alloc> > struct __alloc_swap<_Alloc, false> > { > static void > _S_do_it(_Alloc& __one, _Alloc& __two) noexcept > { > > if (__one != __two) > swap(__one, __two); > } > }; > > > template<typename _Alloc, bool = __is_empty(_Alloc)> > struct __alloc_neq > { > static bool > _S_do_it(const _Alloc&, const _Alloc&) > { return false; } > }; > > template<typename _Alloc> > struct __alloc_neq<_Alloc, false> > { > static bool > _S_do_it(const _Alloc& __one, const _Alloc& __two) > { return __one != __two; } > }; > > > template<typename _Tp, bool > = __or_<is_copy_constructible<typename _Tp::value_type>, > is_nothrow_move_constructible<typename _Tp::value_type>>::value> > struct __shrink_to_fit_aux > { static bool _S_do_it(_Tp&) noexcept { return false; } }; > > template<typename _Tp> > struct __shrink_to_fit_aux<_Tp, true> > { > static bool > _S_do_it(_Tp& __c) noexcept > { > if (true) > { > _Tp(__make_move_if_noexcept_iterator(__c.begin()), > __make_move_if_noexcept_iterator(__c.end()), > __c.get_allocator()).swap(__c); > return true; > } > if (false) > { return false; } > } > }; > > > >} ># 42 "/usr/include/c++/4.9.1/string" 2 3 > ># 1 "/usr/include/c++/4.9.1/bits/localefwd.h" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/localefwd.h" 3 ># 38 "/usr/include/c++/4.9.1/bits/localefwd.h" 3 > > ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++locale.h" 1 3 ># 39 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++locale.h" 3 ># 40 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++locale.h" 3 > ># 1 "/usr/include/c++/4.9.1/clocale" 1 3 ># 39 "/usr/include/c++/4.9.1/clocale" 3 ># 40 "/usr/include/c++/4.9.1/clocale" 3 > > ># 1 "/usr/include/locale.h" 1 3 4 ># 28 "/usr/include/locale.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 29 "/usr/include/locale.h" 2 3 4 ># 1 "/usr/include/bits/locale.h" 1 3 4 ># 30 "/usr/include/locale.h" 2 3 4 > >extern "C" { ># 50 "/usr/include/locale.h" 3 4 > > > >struct lconv >{ > > > char *decimal_point; > char *thousands_sep; > > > > > > char *grouping; > > > > > > char *int_curr_symbol; > char *currency_symbol; > char *mon_decimal_point; > char *mon_thousands_sep; > char *mon_grouping; > char *positive_sign; > char *negative_sign; > char int_frac_digits; > char frac_digits; > > char p_cs_precedes; > > char p_sep_by_space; > > char n_cs_precedes; > > char n_sep_by_space; > > > > > > > char p_sign_posn; > char n_sign_posn; > > > char int_p_cs_precedes; > > char int_p_sep_by_space; > > char int_n_cs_precedes; > > char int_n_sep_by_space; > > > > > > > char int_p_sign_posn; > char int_n_sign_posn; ># 120 "/usr/include/locale.h" 3 4 >}; > > > >extern char *setlocale (int __category, const char *__locale) throw (); > > >extern struct lconv *localeconv (void) throw (); ># 151 "/usr/include/locale.h" 3 4 >extern __locale_t newlocale (int __category_mask, const char *__locale, > __locale_t __base) throw (); ># 186 "/usr/include/locale.h" 3 4 >extern __locale_t duplocale (__locale_t __dataset) throw (); > > > >extern void freelocale (__locale_t __dataset) throw (); > > > > > > >extern __locale_t uselocale (__locale_t __dataset) throw (); > > > > > > > >} ># 43 "/usr/include/c++/4.9.1/clocale" 2 3 ># 51 "/usr/include/c++/4.9.1/clocale" 3 >namespace std >{ > using ::lconv; > using ::setlocale; > using ::localeconv; >} ># 42 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++locale.h" 2 3 > > > > > > >namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) >{ > > > extern "C" __typeof(uselocale) __uselocale; > > >} > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > typedef __locale_t __c_locale; > > > > > > inline int > __convert_from_v(const __c_locale& __cloc __attribute__ ((__unused__)), > char* __out, > const int __size __attribute__ ((__unused__)), > const char* __fmt, ...) > { > > __c_locale __old = __gnu_cxx::__uselocale(__cloc); ># 88 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/c++locale.h" 3 > __builtin_va_list __args; > __builtin_va_start(__args, __fmt); > > > const int __ret = __builtin_vsnprintf(__out, __size, __fmt, __args); > > > > > __builtin_va_end(__args); > > > __gnu_cxx::__uselocale(__old); > > > > > > > > return __ret; > } > > >} ># 41 "/usr/include/c++/4.9.1/bits/localefwd.h" 2 3 ># 1 "/usr/include/c++/4.9.1/iosfwd" 1 3 ># 36 "/usr/include/c++/4.9.1/iosfwd" 3 ># 37 "/usr/include/c++/4.9.1/iosfwd" 3 > > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 74 "/usr/include/c++/4.9.1/iosfwd" 3 > class ios_base; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_ios; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_streambuf; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_istream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_ostream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_iostream; > > template<typename _CharT, typename _Traits = char_traits<_CharT>, > typename _Alloc = allocator<_CharT> > > class basic_stringbuf; > > template<typename _CharT, typename _Traits = char_traits<_CharT>, > typename _Alloc = allocator<_CharT> > > class basic_istringstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT>, > typename _Alloc = allocator<_CharT> > > class basic_ostringstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT>, > typename _Alloc = allocator<_CharT> > > class basic_stringstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_filebuf; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_ifstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_ofstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class basic_fstream; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class istreambuf_iterator; > > template<typename _CharT, typename _Traits = char_traits<_CharT> > > class ostreambuf_iterator; > > > > typedef basic_ios<char> ios; > > > typedef basic_streambuf<char> streambuf; > > > typedef basic_istream<char> istream; > > > typedef basic_ostream<char> ostream; > > > typedef basic_iostream<char> iostream; > > > typedef basic_stringbuf<char> stringbuf; > > > typedef basic_istringstream<char> istringstream; > > > typedef basic_ostringstream<char> ostringstream; > > > typedef basic_stringstream<char> stringstream; > > > typedef basic_filebuf<char> filebuf; > > > typedef basic_ifstream<char> ifstream; > > > typedef basic_ofstream<char> ofstream; > > > typedef basic_fstream<char> fstream; > > > > typedef basic_ios<wchar_t> wios; > > > typedef basic_streambuf<wchar_t> wstreambuf; > > > typedef basic_istream<wchar_t> wistream; > > > typedef basic_ostream<wchar_t> wostream; > > > typedef basic_iostream<wchar_t> wiostream; > > > typedef basic_stringbuf<wchar_t> wstringbuf; > > > typedef basic_istringstream<wchar_t> wistringstream; > > > typedef basic_ostringstream<wchar_t> wostringstream; > > > typedef basic_stringstream<wchar_t> wstringstream; > > > typedef basic_filebuf<wchar_t> wfilebuf; > > > typedef basic_ifstream<wchar_t> wifstream; > > > typedef basic_ofstream<wchar_t> wofstream; > > > typedef basic_fstream<wchar_t> wfstream; > > > > >} ># 42 "/usr/include/c++/4.9.1/bits/localefwd.h" 2 3 ># 1 "/usr/include/c++/4.9.1/cctype" 1 3 ># 39 "/usr/include/c++/4.9.1/cctype" 3 ># 40 "/usr/include/c++/4.9.1/cctype" 3 ># 62 "/usr/include/c++/4.9.1/cctype" 3 >namespace std >{ > using ::isalnum; > using ::isalpha; > using ::iscntrl; > using ::isdigit; > using ::isgraph; > using ::islower; > using ::isprint; > using ::ispunct; > using ::isspace; > using ::isupper; > using ::isxdigit; > using ::tolower; > using ::toupper; >} > > > > > > > >namespace std >{ > using ::isblank; >} ># 43 "/usr/include/c++/4.9.1/bits/localefwd.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 55 "/usr/include/c++/4.9.1/bits/localefwd.h" 3 > class locale; > > template<typename _Facet> > bool > has_facet(const locale&) throw(); > > template<typename _Facet> > const _Facet& > use_facet(const locale&); > > > template<typename _CharT> > bool > isspace(_CharT, const locale&); > > template<typename _CharT> > bool > isprint(_CharT, const locale&); > > template<typename _CharT> > bool > iscntrl(_CharT, const locale&); > > template<typename _CharT> > bool > isupper(_CharT, const locale&); > > template<typename _CharT> > bool > islower(_CharT, const locale&); > > template<typename _CharT> > bool > isalpha(_CharT, const locale&); > > template<typename _CharT> > bool > isdigit(_CharT, const locale&); > > template<typename _CharT> > bool > ispunct(_CharT, const locale&); > > template<typename _CharT> > bool > isxdigit(_CharT, const locale&); > > template<typename _CharT> > bool > isalnum(_CharT, const locale&); > > template<typename _CharT> > bool > isgraph(_CharT, const locale&); > > template<typename _CharT> > _CharT > toupper(_CharT, const locale&); > > template<typename _CharT> > _CharT > tolower(_CharT, const locale&); > > > class ctype_base; > template<typename _CharT> > class ctype; > template<> class ctype<char>; > > template<> class ctype<wchar_t>; > > template<typename _CharT> > class ctype_byname; > > > class codecvt_base; > template<typename _InternT, typename _ExternT, typename _StateT> > class codecvt; > template<> class codecvt<char, char, mbstate_t>; > > template<> class codecvt<wchar_t, char, mbstate_t>; > > template<typename _InternT, typename _ExternT, typename _StateT> > class codecvt_byname; > > > > template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> > > class num_get; > template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> > > class num_put; > > template<typename _CharT> class numpunct; > template<typename _CharT> class numpunct_byname; > > > template<typename _CharT> > class collate; > template<typename _CharT> class > collate_byname; > > > class time_base; > template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> > > class time_get; > template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> > > class time_get_byname; > template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> > > class time_put; > template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> > > class time_put_byname; > > > class money_base; > > template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> > > class money_get; > template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> > > class money_put; > > template<typename _CharT, bool _Intl = false> > class moneypunct; > template<typename _CharT, bool _Intl = false> > class moneypunct_byname; > > > class messages_base; > template<typename _CharT> > class messages; > template<typename _CharT> > class messages_byname; > > >} ># 44 "/usr/include/c++/4.9.1/string" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/ostream_insert.h" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/ostream_insert.h" 3 ># 34 "/usr/include/c++/4.9.1/bits/ostream_insert.h" 3 > > ># 1 "/usr/include/c++/4.9.1/bits/cxxabi_forced.h" 1 3 ># 34 "/usr/include/c++/4.9.1/bits/cxxabi_forced.h" 3 ># 35 "/usr/include/c++/4.9.1/bits/cxxabi_forced.h" 3 > >#pragma GCC visibility push(default) > > >namespace __cxxabiv1 >{ > > > > > > > > class __forced_unwind > { > virtual ~__forced_unwind() throw(); > > > virtual void __pure_dummy() = 0; > }; >} > > >#pragma GCC visibility pop ># 37 "/usr/include/c++/4.9.1/bits/ostream_insert.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _CharT, typename _Traits> > inline void > __ostream_write(basic_ostream<_CharT, _Traits>& __out, > const _CharT* __s, streamsize __n) > { > typedef basic_ostream<_CharT, _Traits> __ostream_type; > typedef typename __ostream_type::ios_base __ios_base; > > const streamsize __put = __out.rdbuf()->sputn(__s, __n); > if (__put != __n) > __out.setstate(__ios_base::badbit); > } > > template<typename _CharT, typename _Traits> > inline void > __ostream_fill(basic_ostream<_CharT, _Traits>& __out, streamsize __n) > { > typedef basic_ostream<_CharT, _Traits> __ostream_type; > typedef typename __ostream_type::ios_base __ios_base; > > const _CharT __c = __out.fill(); > for (; __n > 0; --__n) > { > const typename _Traits::int_type __put = __out.rdbuf()->sputc(__c); > if (_Traits::eq_int_type(__put, _Traits::eof())) > { > __out.setstate(__ios_base::badbit); > break; > } > } > } > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits>& > __ostream_insert(basic_ostream<_CharT, _Traits>& __out, > const _CharT* __s, streamsize __n) > { > typedef basic_ostream<_CharT, _Traits> __ostream_type; > typedef typename __ostream_type::ios_base __ios_base; > > typename __ostream_type::sentry __cerb(__out); > if (__cerb) > { > if (true) > { > const streamsize __w = __out.width(); > if (__w > __n) > { > const bool __left = ((__out.flags() > & __ios_base::adjustfield) > == __ios_base::left); > if (!__left) > __ostream_fill(__out, __w - __n); > if (__out.good()) > __ostream_write(__out, __s, __n); > if (__left && __out.good()) > __ostream_fill(__out, __w - __n); > } > else > __ostream_write(__out, __s, __n); > __out.width(0); > } > if (false) > { > __out._M_setstate(__ios_base::badbit); > ; > } > if (false) > { __out._M_setstate(__ios_base::badbit); } > } > return __out; > } > > > > > extern template ostream& __ostream_insert(ostream&, const char*, streamsize); > > > extern template wostream& __ostream_insert(wostream&, const wchar_t*, > streamsize); > > > > >} ># 45 "/usr/include/c++/4.9.1/string" 2 3 > > > ># 1 "/usr/include/c++/4.9.1/bits/stl_function.h" 1 3 ># 63 "/usr/include/c++/4.9.1/bits/stl_function.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 104 "/usr/include/c++/4.9.1/bits/stl_function.h" 3 > template<typename _Arg, typename _Result> > struct unary_function > { > > typedef _Arg argument_type; > > > typedef _Result result_type; > }; > > > > > template<typename _Arg1, typename _Arg2, typename _Result> > struct binary_function > { > > typedef _Arg1 first_argument_type; > > > typedef _Arg2 second_argument_type; > > > typedef _Result result_type; > }; ># 166 "/usr/include/c++/4.9.1/bits/stl_function.h" 3 > template<typename _Tp> > struct plus : public binary_function<_Tp, _Tp, _Tp> > { > _Tp > operator()(const _Tp& __x, const _Tp& __y) const > { return __x + __y; } > }; > > > template<typename _Tp> > struct minus : public binary_function<_Tp, _Tp, _Tp> > { > _Tp > operator()(const _Tp& __x, const _Tp& __y) const > { return __x - __y; } > }; > > > template<typename _Tp> > struct multiplies : public binary_function<_Tp, _Tp, _Tp> > { > _Tp > operator()(const _Tp& __x, const _Tp& __y) const > { return __x * __y; } > }; > > > template<typename _Tp> > struct divides : public binary_function<_Tp, _Tp, _Tp> > { > _Tp > operator()(const _Tp& __x, const _Tp& __y) const > { return __x / __y; } > }; > > > template<typename _Tp> > struct modulus : public binary_function<_Tp, _Tp, _Tp> > { > _Tp > operator()(const _Tp& __x, const _Tp& __y) const > { return __x % __y; } > }; > > > template<typename _Tp> > struct negate : public unary_function<_Tp, _Tp> > { > _Tp > operator()(const _Tp& __x) const > { return -__x; } > }; ># 335 "/usr/include/c++/4.9.1/bits/stl_function.h" 3 > template<typename _Tp> > struct equal_to : public binary_function<_Tp, _Tp, bool> > { > bool > operator()(const _Tp& __x, const _Tp& __y) const > { return __x == __y; } > }; > > > template<typename _Tp> > struct not_equal_to : public binary_function<_Tp, _Tp, bool> > { > bool > operator()(const _Tp& __x, const _Tp& __y) const > { return __x != __y; } > }; > > > template<typename _Tp> > struct greater : public binary_function<_Tp, _Tp, bool> > { > bool > operator()(const _Tp& __x, const _Tp& __y) const > { return __x > __y; } > }; > > > template<typename _Tp> > struct less : public binary_function<_Tp, _Tp, bool> > { > bool > operator()(const _Tp& __x, const _Tp& __y) const > { return __x < __y; } > }; > > > template<typename _Tp> > struct greater_equal : public binary_function<_Tp, _Tp, bool> > { > bool > operator()(const _Tp& __x, const _Tp& __y) const > { return __x >= __y; } > }; > > > template<typename _Tp> > struct less_equal : public binary_function<_Tp, _Tp, bool> > { > bool > operator()(const _Tp& __x, const _Tp& __y) const > { return __x <= __y; } > }; ># 496 "/usr/include/c++/4.9.1/bits/stl_function.h" 3 > template<typename _Tp> > struct logical_and : public binary_function<_Tp, _Tp, bool> > { > bool > operator()(const _Tp& __x, const _Tp& __y) const > { return __x && __y; } > }; > > > template<typename _Tp> > struct logical_or : public binary_function<_Tp, _Tp, bool> > { > bool > operator()(const _Tp& __x, const _Tp& __y) const > { return __x || __y; } > }; > > > template<typename _Tp> > struct logical_not : public unary_function<_Tp, bool> > { > bool > operator()(const _Tp& __x) const > { return !__x; } > }; ># 583 "/usr/include/c++/4.9.1/bits/stl_function.h" 3 > template<typename _Tp> > struct bit_and : public binary_function<_Tp, _Tp, _Tp> > { > _Tp > operator()(const _Tp& __x, const _Tp& __y) const > { return __x & __y; } > }; > > template<typename _Tp> > struct bit_or : public binary_function<_Tp, _Tp, _Tp> > { > _Tp > operator()(const _Tp& __x, const _Tp& __y) const > { return __x | __y; } > }; > > template<typename _Tp> > struct bit_xor : public binary_function<_Tp, _Tp, _Tp> > { > _Tp > operator()(const _Tp& __x, const _Tp& __y) const > { return __x ^ __y; } > }; > > template<typename _Tp> > struct bit_not : public unary_function<_Tp, _Tp> > { > _Tp > operator()(const _Tp& __x) const > { return ~__x; } > }; ># 699 "/usr/include/c++/4.9.1/bits/stl_function.h" 3 > template<typename _Predicate> > class unary_negate > : public unary_function<typename _Predicate::argument_type, bool> > { > protected: > _Predicate _M_pred; > > public: > explicit > unary_negate(const _Predicate& __x) : _M_pred(__x) { } > > bool > operator()(const typename _Predicate::argument_type& __x) const > { return !_M_pred(__x); } > }; > > > template<typename _Predicate> > inline unary_negate<_Predicate> > not1(const _Predicate& __pred) > { return unary_negate<_Predicate>(__pred); } > > > template<typename _Predicate> > class binary_negate > : public binary_function<typename _Predicate::first_argument_type, > typename _Predicate::second_argument_type, bool> > { > protected: > _Predicate _M_pred; > > public: > explicit > binary_negate(const _Predicate& __x) : _M_pred(__x) { } > > bool > operator()(const typename _Predicate::first_argument_type& __x, > const typename _Predicate::second_argument_type& __y) const > { return !_M_pred(__x, __y); } > }; > > > template<typename _Predicate> > inline binary_negate<_Predicate> > not2(const _Predicate& __pred) > { return binary_negate<_Predicate>(__pred); } ># 770 "/usr/include/c++/4.9.1/bits/stl_function.h" 3 > template<typename _Arg, typename _Result> > class pointer_to_unary_function : public unary_function<_Arg, _Result> > { > protected: > _Result (*_M_ptr)(_Arg); > > public: > pointer_to_unary_function() { } > > explicit > pointer_to_unary_function(_Result (*__x)(_Arg)) > : _M_ptr(__x) { } > > _Result > operator()(_Arg __x) const > { return _M_ptr(__x); } > }; > > > template<typename _Arg, typename _Result> > inline pointer_to_unary_function<_Arg, _Result> > ptr_fun(_Result (*__x)(_Arg)) > { return pointer_to_unary_function<_Arg, _Result>(__x); } > > > template<typename _Arg1, typename _Arg2, typename _Result> > class pointer_to_binary_function > : public binary_function<_Arg1, _Arg2, _Result> > { > protected: > _Result (*_M_ptr)(_Arg1, _Arg2); > > public: > pointer_to_binary_function() { } > > explicit > pointer_to_binary_function(_Result (*__x)(_Arg1, _Arg2)) > : _M_ptr(__x) { } > > _Result > operator()(_Arg1 __x, _Arg2 __y) const > { return _M_ptr(__x, __y); } > }; > > > template<typename _Arg1, typename _Arg2, typename _Result> > inline pointer_to_binary_function<_Arg1, _Arg2, _Result> > ptr_fun(_Result (*__x)(_Arg1, _Arg2)) > { return pointer_to_binary_function<_Arg1, _Arg2, _Result>(__x); } > > > template<typename _Tp> > struct _Identity > : public unary_function<_Tp,_Tp> > { > _Tp& > operator()(_Tp& __x) const > { return __x; } > > const _Tp& > operator()(const _Tp& __x) const > { return __x; } > }; > > template<typename _Pair> > struct _Select1st > : public unary_function<_Pair, typename _Pair::first_type> > { > typename _Pair::first_type& > operator()(_Pair& __x) const > { return __x.first; } > > const typename _Pair::first_type& > operator()(const _Pair& __x) const > { return __x.first; } > > > template<typename _Pair2> > typename _Pair2::first_type& > operator()(_Pair2& __x) const > { return __x.first; } > > template<typename _Pair2> > const typename _Pair2::first_type& > operator()(const _Pair2& __x) const > { return __x.first; } > > }; > > template<typename _Pair> > struct _Select2nd > : public unary_function<_Pair, typename _Pair::second_type> > { > typename _Pair::second_type& > operator()(_Pair& __x) const > { return __x.second; } > > const typename _Pair::second_type& > operator()(const _Pair& __x) const > { return __x.second; } > }; ># 890 "/usr/include/c++/4.9.1/bits/stl_function.h" 3 > template<typename _Ret, typename _Tp> > class mem_fun_t : public unary_function<_Tp*, _Ret> > { > public: > explicit > mem_fun_t(_Ret (_Tp::*__pf)()) > : _M_f(__pf) { } > > _Ret > operator()(_Tp* __p) const > { return (__p->*_M_f)(); } > > private: > _Ret (_Tp::*_M_f)(); > }; > > > > template<typename _Ret, typename _Tp> > class const_mem_fun_t : public unary_function<const _Tp*, _Ret> > { > public: > explicit > const_mem_fun_t(_Ret (_Tp::*__pf)() const) > : _M_f(__pf) { } > > _Ret > operator()(const _Tp* __p) const > { return (__p->*_M_f)(); } > > private: > _Ret (_Tp::*_M_f)() const; > }; > > > > template<typename _Ret, typename _Tp> > class mem_fun_ref_t : public unary_function<_Tp, _Ret> > { > public: > explicit > mem_fun_ref_t(_Ret (_Tp::*__pf)()) > : _M_f(__pf) { } > > _Ret > operator()(_Tp& __r) const > { return (__r.*_M_f)(); } > > private: > _Ret (_Tp::*_M_f)(); > }; > > > > template<typename _Ret, typename _Tp> > class const_mem_fun_ref_t : public unary_function<_Tp, _Ret> > { > public: > explicit > const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const) > : _M_f(__pf) { } > > _Ret > operator()(const _Tp& __r) const > { return (__r.*_M_f)(); } > > private: > _Ret (_Tp::*_M_f)() const; > }; > > > > template<typename _Ret, typename _Tp, typename _Arg> > class mem_fun1_t : public binary_function<_Tp*, _Arg, _Ret> > { > public: > explicit > mem_fun1_t(_Ret (_Tp::*__pf)(_Arg)) > : _M_f(__pf) { } > > _Ret > operator()(_Tp* __p, _Arg __x) const > { return (__p->*_M_f)(__x); } > > private: > _Ret (_Tp::*_M_f)(_Arg); > }; > > > > template<typename _Ret, typename _Tp, typename _Arg> > class const_mem_fun1_t : public binary_function<const _Tp*, _Arg, _Ret> > { > public: > explicit > const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const) > : _M_f(__pf) { } > > _Ret > operator()(const _Tp* __p, _Arg __x) const > { return (__p->*_M_f)(__x); } > > private: > _Ret (_Tp::*_M_f)(_Arg) const; > }; > > > > template<typename _Ret, typename _Tp, typename _Arg> > class mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret> > { > public: > explicit > mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg)) > : _M_f(__pf) { } > > _Ret > operator()(_Tp& __r, _Arg __x) const > { return (__r.*_M_f)(__x); } > > private: > _Ret (_Tp::*_M_f)(_Arg); > }; > > > > template<typename _Ret, typename _Tp, typename _Arg> > class const_mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret> > { > public: > explicit > const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const) > : _M_f(__pf) { } > > _Ret > operator()(const _Tp& __r, _Arg __x) const > { return (__r.*_M_f)(__x); } > > private: > _Ret (_Tp::*_M_f)(_Arg) const; > }; > > > > template<typename _Ret, typename _Tp> > inline mem_fun_t<_Ret, _Tp> > mem_fun(_Ret (_Tp::*__f)()) > { return mem_fun_t<_Ret, _Tp>(__f); } > > template<typename _Ret, typename _Tp> > inline const_mem_fun_t<_Ret, _Tp> > mem_fun(_Ret (_Tp::*__f)() const) > { return const_mem_fun_t<_Ret, _Tp>(__f); } > > template<typename _Ret, typename _Tp> > inline mem_fun_ref_t<_Ret, _Tp> > mem_fun_ref(_Ret (_Tp::*__f)()) > { return mem_fun_ref_t<_Ret, _Tp>(__f); } > > template<typename _Ret, typename _Tp> > inline const_mem_fun_ref_t<_Ret, _Tp> > mem_fun_ref(_Ret (_Tp::*__f)() const) > { return const_mem_fun_ref_t<_Ret, _Tp>(__f); } > > template<typename _Ret, typename _Tp, typename _Arg> > inline mem_fun1_t<_Ret, _Tp, _Arg> > mem_fun(_Ret (_Tp::*__f)(_Arg)) > { return mem_fun1_t<_Ret, _Tp, _Arg>(__f); } > > template<typename _Ret, typename _Tp, typename _Arg> > inline const_mem_fun1_t<_Ret, _Tp, _Arg> > mem_fun(_Ret (_Tp::*__f)(_Arg) const) > { return const_mem_fun1_t<_Ret, _Tp, _Arg>(__f); } > > template<typename _Ret, typename _Tp, typename _Arg> > inline mem_fun1_ref_t<_Ret, _Tp, _Arg> > mem_fun_ref(_Ret (_Tp::*__f)(_Arg)) > { return mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); } > > template<typename _Ret, typename _Tp, typename _Arg> > inline const_mem_fun1_ref_t<_Ret, _Tp, _Arg> > mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) > { return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); } > > > > >} > > ># 1 "/usr/include/c++/4.9.1/backward/binders.h" 1 3 ># 59 "/usr/include/c++/4.9.1/backward/binders.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 103 "/usr/include/c++/4.9.1/backward/binders.h" 3 > template<typename _Operation> > class binder1st > : public unary_function<typename _Operation::second_argument_type, > typename _Operation::result_type> > { > protected: > _Operation op; > typename _Operation::first_argument_type value; > > public: > binder1st(const _Operation& __x, > const typename _Operation::first_argument_type& __y) > : op(__x), value(__y) { } > > typename _Operation::result_type > operator()(const typename _Operation::second_argument_type& __x) const > { return op(value, __x); } > > > > typename _Operation::result_type > operator()(typename _Operation::second_argument_type& __x) const > { return op(value, __x); } > } __attribute__ ((__deprecated__)); > > > template<typename _Operation, typename _Tp> > inline binder1st<_Operation> > bind1st(const _Operation& __fn, const _Tp& __x) > { > typedef typename _Operation::first_argument_type _Arg1_type; > return binder1st<_Operation>(__fn, _Arg1_type(__x)); > } > > > template<typename _Operation> > class binder2nd > : public unary_function<typename _Operation::first_argument_type, > typename _Operation::result_type> > { > protected: > _Operation op; > typename _Operation::second_argument_type value; > > public: > binder2nd(const _Operation& __x, > const typename _Operation::second_argument_type& __y) > : op(__x), value(__y) { } > > typename _Operation::result_type > operator()(const typename _Operation::first_argument_type& __x) const > { return op(__x, value); } > > > > typename _Operation::result_type > operator()(typename _Operation::first_argument_type& __x) const > { return op(__x, value); } > } __attribute__ ((__deprecated__)); > > > template<typename _Operation, typename _Tp> > inline binder2nd<_Operation> > bind2nd(const _Operation& __fn, const _Tp& __x) > { > typedef typename _Operation::second_argument_type _Arg2_type; > return binder2nd<_Operation>(__fn, _Arg2_type(__x)); > } > > > >} ># 1081 "/usr/include/c++/4.9.1/bits/stl_function.h" 2 3 ># 49 "/usr/include/c++/4.9.1/string" 2 3 > > ># 1 "/usr/include/c++/4.9.1/bits/range_access.h" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/range_access.h" 3 ># 34 "/usr/include/c++/4.9.1/bits/range_access.h" 3 > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > > > > > template<class _Container> > inline auto > begin(_Container& __cont) -> decltype(__cont.begin()) > { return __cont.begin(); } > > > > > > > template<class _Container> > inline auto > begin(const _Container& __cont) -> decltype(__cont.begin()) > { return __cont.begin(); } > > > > > > > template<class _Container> > inline auto > end(_Container& __cont) -> decltype(__cont.end()) > { return __cont.end(); } > > > > > > > template<class _Container> > inline auto > end(const _Container& __cont) -> decltype(__cont.end()) > { return __cont.end(); } > > > > > > template<class _Tp, size_t _Nm> > inline _Tp* > begin(_Tp (&__arr)[_Nm]) > { return __arr; } > > > > > > > template<class _Tp, size_t _Nm> > inline _Tp* > end(_Tp (&__arr)[_Nm]) > { return __arr + _Nm; } > > >} ># 52 "/usr/include/c++/4.9.1/string" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/basic_string.h" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 ># 38 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > ># 1 "/usr/include/c++/4.9.1/ext/atomicity.h" 1 3 ># 32 "/usr/include/c++/4.9.1/ext/atomicity.h" 3 ># 33 "/usr/include/c++/4.9.1/ext/atomicity.h" 3 > > ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr.h" 1 3 ># 30 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr.h" 3 >#pragma GCC visibility push(default) ># 148 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr.h" 3 ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr-default.h" 1 3 ># 35 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr-default.h" 3 ># 1 "/usr/include/pthread.h" 1 3 4 ># 23 "/usr/include/pthread.h" 3 4 ># 1 "/usr/include/sched.h" 1 3 4 ># 28 "/usr/include/sched.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 29 "/usr/include/sched.h" 2 3 4 ># 41 "/usr/include/sched.h" 3 4 ># 1 "/usr/include/bits/sched.h" 1 3 4 ># 72 "/usr/include/bits/sched.h" 3 4 >struct sched_param > { > int __sched_priority; > }; > >extern "C" { > > > >extern int clone (int (*__fn) (void *__arg), void *__child_stack, > int __flags, void *__arg, ...) throw (); > > >extern int unshare (int __flags) throw (); > > >extern int sched_getcpu (void) throw (); > > >extern int setns (int __fd, int __nstype) throw (); > > > >} > > > > > > > >struct __sched_param > { > int __sched_priority; > }; ># 118 "/usr/include/bits/sched.h" 3 4 >typedef unsigned long int __cpu_mask; > > > > > > >typedef struct >{ > __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; >} cpu_set_t; ># 201 "/usr/include/bits/sched.h" 3 4 >extern "C" { > >extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) > throw (); >extern cpu_set_t *__sched_cpualloc (size_t __count) throw () ; >extern void __sched_cpufree (cpu_set_t *__set) throw (); > >} ># 42 "/usr/include/sched.h" 2 3 4 > > > > >extern "C" { > > >extern int sched_setparam (__pid_t __pid, const struct sched_param *__param) > throw (); > > >extern int sched_getparam (__pid_t __pid, struct sched_param *__param) throw (); > > >extern int sched_setscheduler (__pid_t __pid, int __policy, > const struct sched_param *__param) throw (); > > >extern int sched_getscheduler (__pid_t __pid) throw (); > > >extern int sched_yield (void) throw (); > > >extern int sched_get_priority_max (int __algorithm) throw (); > > >extern int sched_get_priority_min (int __algorithm) throw (); > > >extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) throw (); ># 116 "/usr/include/sched.h" 3 4 >extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, > const cpu_set_t *__cpuset) throw (); > > >extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, > cpu_set_t *__cpuset) throw (); > > >} ># 24 "/usr/include/pthread.h" 2 3 4 > > > ># 1 "/usr/include/bits/setjmp.h" 1 3 4 ># 26 "/usr/include/bits/setjmp.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 27 "/usr/include/bits/setjmp.h" 2 3 4 > > > > >typedef long int __jmp_buf[8]; ># 28 "/usr/include/pthread.h" 2 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/pthread.h" 2 3 4 > > > >enum >{ > PTHREAD_CREATE_JOINABLE, > > PTHREAD_CREATE_DETACHED > >}; > > > >enum >{ > PTHREAD_MUTEX_TIMED_NP, > PTHREAD_MUTEX_RECURSIVE_NP, > PTHREAD_MUTEX_ERRORCHECK_NP, > PTHREAD_MUTEX_ADAPTIVE_NP > > , > PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, > PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, > PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, > PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL > > > > , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP > >}; > > > > >enum >{ > PTHREAD_MUTEX_STALLED, > PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, > PTHREAD_MUTEX_ROBUST, > PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST >}; > > > > > >enum >{ > PTHREAD_PRIO_NONE, > PTHREAD_PRIO_INHERIT, > PTHREAD_PRIO_PROTECT >}; ># 125 "/usr/include/pthread.h" 3 4 >enum >{ > PTHREAD_RWLOCK_PREFER_READER_NP, > PTHREAD_RWLOCK_PREFER_WRITER_NP, > PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, > PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP >}; ># 166 "/usr/include/pthread.h" 3 4 >enum >{ > PTHREAD_INHERIT_SCHED, > > PTHREAD_EXPLICIT_SCHED > >}; > > > >enum >{ > PTHREAD_SCOPE_SYSTEM, > > PTHREAD_SCOPE_PROCESS > >}; > > > >enum >{ > PTHREAD_PROCESS_PRIVATE, > > PTHREAD_PROCESS_SHARED > >}; ># 201 "/usr/include/pthread.h" 3 4 >struct _pthread_cleanup_buffer >{ > void (*__routine) (void *); > void *__arg; > int __canceltype; > struct _pthread_cleanup_buffer *__prev; >}; > > >enum >{ > PTHREAD_CANCEL_ENABLE, > > PTHREAD_CANCEL_DISABLE > >}; >enum >{ > PTHREAD_CANCEL_DEFERRED, > > PTHREAD_CANCEL_ASYNCHRONOUS > >}; ># 239 "/usr/include/pthread.h" 3 4 >extern "C" { > > > > >extern int pthread_create (pthread_t *__restrict __newthread, > const pthread_attr_t *__restrict __attr, > void *(*__start_routine) (void *), > void *__restrict __arg) throw () __attribute__ ((__nonnull__ (1, 3))); > > > > > >extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); > > > > > > > >extern int pthread_join (pthread_t __th, void **__thread_return); > > > > >extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) throw (); > > > > > > > >extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, > const struct timespec *__abstime); > > > > > > >extern int pthread_detach (pthread_t __th) throw (); > > > >extern pthread_t pthread_self (void) throw () __attribute__ ((__const__)); > > >extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) > throw () __attribute__ ((__const__)); > > > > > > > >extern int pthread_attr_init (pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_attr_destroy (pthread_attr_t *__attr) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr, > int *__detachstate) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, > int __detachstate) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_attr_getguardsize (const pthread_attr_t *__attr, > size_t *__guardsize) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_attr_setguardsize (pthread_attr_t *__attr, > size_t __guardsize) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr, > struct sched_param *__restrict __param) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, > const struct sched_param *__restrict > __param) throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict > __attr, int *__restrict __policy) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict > __attr, int *__restrict __inherit) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, > int __inherit) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr, > int *__restrict __scope) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict > __attr, void **__restrict __stackaddr) > throw () __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); > > > > > >extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, > void *__stackaddr) > throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); > > >extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict > __attr, size_t *__restrict __stacksize) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int pthread_attr_setstacksize (pthread_attr_t *__attr, > size_t __stacksize) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr, > void **__restrict __stackaddr, > size_t *__restrict __stacksize) > throw () __attribute__ ((__nonnull__ (1, 2, 3))); > > > > >extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, > size_t __stacksize) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr, > size_t __cpusetsize, > const cpu_set_t *__cpuset) > throw () __attribute__ ((__nonnull__ (1, 3))); > > > >extern int pthread_attr_getaffinity_np (const pthread_attr_t *__attr, > size_t __cpusetsize, > cpu_set_t *__cpuset) > throw () __attribute__ ((__nonnull__ (1, 3))); > > >extern int pthread_getattr_default_np (pthread_attr_t *__attr) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_setattr_default_np (const pthread_attr_t *__attr) > throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) > throw () __attribute__ ((__nonnull__ (2))); > > > > > > > >extern int pthread_setschedparam (pthread_t __target_thread, int __policy, > const struct sched_param *__param) > throw () __attribute__ ((__nonnull__ (3))); > > >extern int pthread_getschedparam (pthread_t __target_thread, > int *__restrict __policy, > struct sched_param *__restrict __param) > throw () __attribute__ ((__nonnull__ (2, 3))); > > >extern int pthread_setschedprio (pthread_t __target_thread, int __prio) > throw (); > > > > >extern int pthread_getname_np (pthread_t __target_thread, char *__buf, > size_t __buflen) > throw () __attribute__ ((__nonnull__ (2))); > > >extern int pthread_setname_np (pthread_t __target_thread, const char *__name) > throw () __attribute__ ((__nonnull__ (2))); > > > > > >extern int pthread_getconcurrency (void) throw (); > > >extern int pthread_setconcurrency (int __level) throw (); > > > > > > > >extern int pthread_yield (void) throw (); > > > > >extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize, > const cpu_set_t *__cpuset) > throw () __attribute__ ((__nonnull__ (3))); > > >extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize, > cpu_set_t *__cpuset) > throw () __attribute__ ((__nonnull__ (3))); ># 505 "/usr/include/pthread.h" 3 4 >extern int pthread_once (pthread_once_t *__once_control, > void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); ># 517 "/usr/include/pthread.h" 3 4 >extern int pthread_setcancelstate (int __state, int *__oldstate); > > > >extern int pthread_setcanceltype (int __type, int *__oldtype); > > >extern int pthread_cancel (pthread_t __th); > > > > >extern void pthread_testcancel (void); > > > > >typedef struct >{ > struct > { > __jmp_buf __cancel_jmp_buf; > int __mask_was_saved; > } __cancel_jmp_buf[1]; > void *__pad[4]; >} __pthread_unwind_buf_t __attribute__ ((__aligned__)); ># 551 "/usr/include/pthread.h" 3 4 >struct __pthread_cleanup_frame >{ > void (*__cancel_routine) (void *); > void *__cancel_arg; > int __do_it; > int __cancel_type; >}; ># 691 "/usr/include/pthread.h" 3 4 >extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) > ; ># 703 "/usr/include/pthread.h" 3 4 >extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) > ; ># 726 "/usr/include/pthread.h" 3 4 >extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf) > ; ># 739 "/usr/include/pthread.h" 3 4 >extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf) > ; > > > >extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) > __attribute__ ((__noreturn__)) > > __attribute__ ((__weak__)) > > ; > > > >struct __jmp_buf_tag; >extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) throw (); > > > > > >extern int pthread_mutex_init (pthread_mutex_t *__mutex, > const pthread_mutexattr_t *__mutexattr) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_mutex_lock (pthread_mutex_t *__mutex) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, > const struct timespec *__restrict > __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_mutex_getprioceiling (const pthread_mutex_t * > __restrict __mutex, > int *__restrict __prioceiling) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, > int __prioceiling, > int *__restrict __old_ceiling) > throw () __attribute__ ((__nonnull__ (1, 3))); > > > > >extern int pthread_mutex_consistent (pthread_mutex_t *__mutex) > throw () __attribute__ ((__nonnull__ (1))); > >extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex) > throw () __attribute__ ((__nonnull__ (1))); ># 817 "/usr/include/pthread.h" 3 4 >extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t * > __restrict __attr, > int *__restrict __pshared) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, > int __pshared) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict > __attr, int *__restrict __kind) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t * > __restrict __attr, > int *__restrict __protocol) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, > int __protocol) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t * > __restrict __attr, > int *__restrict __prioceiling) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, > int __prioceiling) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr, > int *__robustness) > throw () __attribute__ ((__nonnull__ (1, 2))); > >extern int pthread_mutexattr_getrobust_np (const pthread_mutexattr_t *__attr, > int *__robustness) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, > int __robustness) > throw () __attribute__ ((__nonnull__ (1))); > >extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr, > int __robustness) > throw () __attribute__ ((__nonnull__ (1))); ># 899 "/usr/include/pthread.h" 3 4 >extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, > const pthread_rwlockattr_t *__restrict > __attr) throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, > const struct timespec *__restrict > __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, > const struct timespec *__restrict > __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * > __restrict __attr, > int *__restrict __pshared) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, > int __pshared) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t * > __restrict __attr, > int *__restrict __pref) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, > int __pref) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int pthread_cond_init (pthread_cond_t *__restrict __cond, > const pthread_condattr_t *__restrict __cond_attr) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_cond_destroy (pthread_cond_t *__cond) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_cond_signal (pthread_cond_t *__cond) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_cond_broadcast (pthread_cond_t *__cond) > throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, > pthread_mutex_t *__restrict __mutex) > __attribute__ ((__nonnull__ (1, 2))); ># 1011 "/usr/include/pthread.h" 3 4 >extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, > pthread_mutex_t *__restrict __mutex, > const struct timespec *__restrict __abstime) > __attribute__ ((__nonnull__ (1, 2, 3))); > > > > >extern int pthread_condattr_init (pthread_condattr_t *__attr) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_condattr_destroy (pthread_condattr_t *__attr) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_condattr_getpshared (const pthread_condattr_t * > __restrict __attr, > int *__restrict __pshared) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, > int __pshared) throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_condattr_getclock (const pthread_condattr_t * > __restrict __attr, > __clockid_t *__restrict __clock_id) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_condattr_setclock (pthread_condattr_t *__attr, > __clockid_t __clock_id) > throw () __attribute__ ((__nonnull__ (1))); ># 1055 "/usr/include/pthread.h" 3 4 >extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_spin_destroy (pthread_spinlock_t *__lock) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_spin_lock (pthread_spinlock_t *__lock) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_spin_trylock (pthread_spinlock_t *__lock) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_spin_unlock (pthread_spinlock_t *__lock) > throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, > const pthread_barrierattr_t *__restrict > __attr, unsigned int __count) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_barrier_wait (pthread_barrier_t *__barrier) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t * > __restrict __attr, > int *__restrict __pshared) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, > int __pshared) > throw () __attribute__ ((__nonnull__ (1))); ># 1122 "/usr/include/pthread.h" 3 4 >extern int pthread_key_create (pthread_key_t *__key, > void (*__destr_function) (void *)) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int pthread_key_delete (pthread_key_t __key) throw (); > > >extern void *pthread_getspecific (pthread_key_t __key) throw (); > > >extern int pthread_setspecific (pthread_key_t __key, > const void *__pointer) throw () ; > > > > >extern int pthread_getcpuclockid (pthread_t __thread_id, > __clockid_t *__clock_id) > throw () __attribute__ ((__nonnull__ (2))); ># 1156 "/usr/include/pthread.h" 3 4 >extern int pthread_atfork (void (*__prepare) (void), > void (*__parent) (void), > void (*__child) (void)) throw (); > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) pthread_equal (pthread_t __thread1, pthread_t __thread2) throw () >{ > return __thread1 == __thread2; >} > > >} ># 36 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr-default.h" 2 3 ># 47 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr-default.h" 3 >typedef pthread_t __gthread_t; >typedef pthread_key_t __gthread_key_t; >typedef pthread_once_t __gthread_once_t; >typedef pthread_mutex_t __gthread_mutex_t; >typedef pthread_mutex_t __gthread_recursive_mutex_t; >typedef pthread_cond_t __gthread_cond_t; >typedef struct timespec __gthread_time_t; ># 101 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr-default.h" 3 >static __typeof(pthread_once) __gthrw_pthread_once __attribute__ ((__weakref__("pthread_once"))); >static __typeof(pthread_getspecific) __gthrw_pthread_getspecific __attribute__ ((__weakref__("pthread_getspecific"))); >static __typeof(pthread_setspecific) __gthrw_pthread_setspecific __attribute__ ((__weakref__("pthread_setspecific"))); > >static __typeof(pthread_create) __gthrw_pthread_create __attribute__ ((__weakref__("pthread_create"))); >static __typeof(pthread_join) __gthrw_pthread_join __attribute__ ((__weakref__("pthread_join"))); >static __typeof(pthread_equal) __gthrw_pthread_equal __attribute__ ((__weakref__("pthread_equal"))); >static __typeof(pthread_self) __gthrw_pthread_self __attribute__ ((__weakref__("pthread_self"))); >static __typeof(pthread_detach) __gthrw_pthread_detach __attribute__ ((__weakref__("pthread_detach"))); > >static __typeof(pthread_cancel) __gthrw_pthread_cancel __attribute__ ((__weakref__("pthread_cancel"))); > >static __typeof(sched_yield) __gthrw_sched_yield __attribute__ ((__weakref__("sched_yield"))); > >static __typeof(pthread_mutex_lock) __gthrw_pthread_mutex_lock __attribute__ ((__weakref__("pthread_mutex_lock"))); >static __typeof(pthread_mutex_trylock) __gthrw_pthread_mutex_trylock __attribute__ ((__weakref__("pthread_mutex_trylock"))); > >static __typeof(pthread_mutex_timedlock) __gthrw_pthread_mutex_timedlock __attribute__ ((__weakref__("pthread_mutex_timedlock"))); > >static __typeof(pthread_mutex_unlock) __gthrw_pthread_mutex_unlock __attribute__ ((__weakref__("pthread_mutex_unlock"))); >static __typeof(pthread_mutex_init) __gthrw_pthread_mutex_init __attribute__ ((__weakref__("pthread_mutex_init"))); >static __typeof(pthread_mutex_destroy) __gthrw_pthread_mutex_destroy __attribute__ ((__weakref__("pthread_mutex_destroy"))); > >static __typeof(pthread_cond_init) __gthrw_pthread_cond_init __attribute__ ((__weakref__("pthread_cond_init"))); >static __typeof(pthread_cond_broadcast) __gthrw_pthread_cond_broadcast __attribute__ ((__weakref__("pthread_cond_broadcast"))); >static __typeof(pthread_cond_signal) __gthrw_pthread_cond_signal __attribute__ ((__weakref__("pthread_cond_signal"))); >static __typeof(pthread_cond_wait) __gthrw_pthread_cond_wait __attribute__ ((__weakref__("pthread_cond_wait"))); >static __typeof(pthread_cond_timedwait) __gthrw_pthread_cond_timedwait __attribute__ ((__weakref__("pthread_cond_timedwait"))); >static __typeof(pthread_cond_destroy) __gthrw_pthread_cond_destroy __attribute__ ((__weakref__("pthread_cond_destroy"))); > >static __typeof(pthread_key_create) __gthrw_pthread_key_create __attribute__ ((__weakref__("pthread_key_create"))); >static __typeof(pthread_key_delete) __gthrw_pthread_key_delete __attribute__ ((__weakref__("pthread_key_delete"))); >static __typeof(pthread_mutexattr_init) __gthrw_pthread_mutexattr_init __attribute__ ((__weakref__("pthread_mutexattr_init"))); >static __typeof(pthread_mutexattr_settype) __gthrw_pthread_mutexattr_settype __attribute__ ((__weakref__("pthread_mutexattr_settype"))); >static __typeof(pthread_mutexattr_destroy) __gthrw_pthread_mutexattr_destroy __attribute__ ((__weakref__("pthread_mutexattr_destroy"))); ># 236 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr-default.h" 3 >static __typeof(pthread_key_create) __gthrw___pthread_key_create __attribute__ ((__weakref__("__pthread_key_create"))); ># 246 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr-default.h" 3 >static inline int >__gthread_active_p (void) >{ > static void *const __gthread_active_ptr > = __extension__ (void *) &__gthrw___pthread_key_create; > return __gthread_active_ptr != 0; >} ># 658 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr-default.h" 3 >static inline int >__gthread_create (__gthread_t *__threadid, void *(*__func) (void*), > void *__args) >{ > return __gthrw_pthread_create (__threadid, __null, __func, __args); >} > >static inline int >__gthread_join (__gthread_t __threadid, void **__value_ptr) >{ > return __gthrw_pthread_join (__threadid, __value_ptr); >} > >static inline int >__gthread_detach (__gthread_t __threadid) >{ > return __gthrw_pthread_detach (__threadid); >} > >static inline int >__gthread_equal (__gthread_t __t1, __gthread_t __t2) >{ > return __gthrw_pthread_equal (__t1, __t2); >} > >static inline __gthread_t >__gthread_self (void) >{ > return __gthrw_pthread_self (); >} > >static inline int >__gthread_yield (void) >{ > return __gthrw_sched_yield (); >} > >static inline int >__gthread_once (__gthread_once_t *__once, void (*__func) (void)) >{ > if (__gthread_active_p ()) > return __gthrw_pthread_once (__once, __func); > else > return -1; >} > >static inline int >__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) >{ > return __gthrw_pthread_key_create (__key, __dtor); >} > >static inline int >__gthread_key_delete (__gthread_key_t __key) >{ > return __gthrw_pthread_key_delete (__key); >} > >static inline void * >__gthread_getspecific (__gthread_key_t __key) >{ > return __gthrw_pthread_getspecific (__key); >} > >static inline int >__gthread_setspecific (__gthread_key_t __key, const void *__ptr) >{ > return __gthrw_pthread_setspecific (__key, __ptr); >} > >static inline void >__gthread_mutex_init_function (__gthread_mutex_t *__mutex) >{ > if (__gthread_active_p ()) > __gthrw_pthread_mutex_init (__mutex, __null); >} > >static inline int >__gthread_mutex_destroy (__gthread_mutex_t *__mutex) >{ > if (__gthread_active_p ()) > return __gthrw_pthread_mutex_destroy (__mutex); > else > return 0; >} > >static inline int >__gthread_mutex_lock (__gthread_mutex_t *__mutex) >{ > if (__gthread_active_p ()) > return __gthrw_pthread_mutex_lock (__mutex); > else > return 0; >} > >static inline int >__gthread_mutex_trylock (__gthread_mutex_t *__mutex) >{ > if (__gthread_active_p ()) > return __gthrw_pthread_mutex_trylock (__mutex); > else > return 0; >} > > >static inline int >__gthread_mutex_timedlock (__gthread_mutex_t *__mutex, > const __gthread_time_t *__abs_timeout) >{ > if (__gthread_active_p ()) > return __gthrw_pthread_mutex_timedlock (__mutex, __abs_timeout); > else > return 0; >} > > >static inline int >__gthread_mutex_unlock (__gthread_mutex_t *__mutex) >{ > if (__gthread_active_p ()) > return __gthrw_pthread_mutex_unlock (__mutex); > else > return 0; >} ># 807 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr-default.h" 3 >static inline int >__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) >{ > return __gthread_mutex_lock (__mutex); >} > >static inline int >__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) >{ > return __gthread_mutex_trylock (__mutex); >} > > >static inline int >__gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, > const __gthread_time_t *__abs_timeout) >{ > return __gthread_mutex_timedlock (__mutex, __abs_timeout); >} > > >static inline int >__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) >{ > return __gthread_mutex_unlock (__mutex); >} > >static inline int >__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) >{ > return __gthread_mutex_destroy (__mutex); >} ># 849 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr-default.h" 3 >static inline int >__gthread_cond_broadcast (__gthread_cond_t *__cond) >{ > return __gthrw_pthread_cond_broadcast (__cond); >} > >static inline int >__gthread_cond_signal (__gthread_cond_t *__cond) >{ > return __gthrw_pthread_cond_signal (__cond); >} > >static inline int >__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) >{ > return __gthrw_pthread_cond_wait (__cond, __mutex); >} > >static inline int >__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, > const __gthread_time_t *__abs_timeout) >{ > return __gthrw_pthread_cond_timedwait (__cond, __mutex, __abs_timeout); >} > >static inline int >__gthread_cond_wait_recursive (__gthread_cond_t *__cond, > __gthread_recursive_mutex_t *__mutex) >{ > return __gthread_cond_wait (__cond, __mutex); >} > >static inline int >__gthread_cond_destroy (__gthread_cond_t* __cond) >{ > return __gthrw_pthread_cond_destroy (__cond); >} ># 149 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/gthr.h" 2 3 > > >#pragma GCC visibility pop ># 36 "/usr/include/c++/4.9.1/ext/atomicity.h" 2 3 ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/atomic_word.h" 1 3 ># 32 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/atomic_word.h" 3 >typedef int _Atomic_word; ># 37 "/usr/include/c++/4.9.1/ext/atomicity.h" 2 3 > >namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) >{ > > > > > > > > static inline _Atomic_word > __exchange_and_add(volatile _Atomic_word* __mem, int __val) > { return __atomic_fetch_add(__mem, __val, 4); } > > static inline void > __atomic_add(volatile _Atomic_word* __mem, int __val) > { __atomic_fetch_add(__mem, __val, 4); } ># 64 "/usr/include/c++/4.9.1/ext/atomicity.h" 3 > static inline _Atomic_word > __exchange_and_add_single(_Atomic_word* __mem, int __val) > { > _Atomic_word __result = *__mem; > *__mem += __val; > return __result; > } > > static inline void > __atomic_add_single(_Atomic_word* __mem, int __val) > { *__mem += __val; } > > static inline _Atomic_word > __attribute__ ((__unused__)) > __exchange_and_add_dispatch(_Atomic_word* __mem, int __val) > { > > if (__gthread_active_p()) > return __exchange_and_add(__mem, __val); > else > return __exchange_and_add_single(__mem, __val); > > > > } > > static inline void > __attribute__ ((__unused__)) > __atomic_add_dispatch(_Atomic_word* __mem, int __val) > { > > if (__gthread_active_p()) > __atomic_add(__mem, __val); > else > __atomic_add_single(__mem, __val); > > > > } > > >} ># 40 "/usr/include/c++/4.9.1/bits/basic_string.h" 2 3 > > ># 1 "/usr/include/c++/4.9.1/initializer_list" 1 3 ># 33 "/usr/include/c++/4.9.1/initializer_list" 3 ># 34 "/usr/include/c++/4.9.1/initializer_list" 3 > > > > > >#pragma GCC visibility push(default) > > > >namespace std >{ > > template<class _E> > class initializer_list > { > public: > typedef _E value_type; > typedef const _E& reference; > typedef const _E& const_reference; > typedef size_t size_type; > typedef const _E* iterator; > typedef const _E* const_iterator; > > private: > iterator _M_array; > size_type _M_len; > > > constexpr initializer_list(const_iterator __a, size_type __l) > : _M_array(__a), _M_len(__l) { } > > public: > constexpr initializer_list() noexcept > : _M_array(0), _M_len(0) { } > > > constexpr size_type > size() const noexcept { return _M_len; } > > > constexpr const_iterator > begin() const noexcept { return _M_array; } > > > constexpr const_iterator > end() const noexcept { return begin() + size(); } > }; > > > > > > > template<class _Tp> > constexpr const _Tp* > begin(initializer_list<_Tp> __ils) noexcept > { return __ils.begin(); } > > > > > > > template<class _Tp> > constexpr const _Tp* > end(initializer_list<_Tp> __ils) noexcept > { return __ils.end(); } >} > >#pragma GCC visibility pop ># 43 "/usr/include/c++/4.9.1/bits/basic_string.h" 2 3 > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 111 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > class basic_string > { > typedef typename _Alloc::template rebind<_CharT>::other _CharT_alloc_type; > > > public: > typedef _Traits traits_type; > typedef typename _Traits::char_type value_type; > typedef _Alloc allocator_type; > typedef typename _CharT_alloc_type::size_type size_type; > typedef typename _CharT_alloc_type::difference_type difference_type; > typedef typename _CharT_alloc_type::reference reference; > typedef typename _CharT_alloc_type::const_reference const_reference; > typedef typename _CharT_alloc_type::pointer pointer; > typedef typename _CharT_alloc_type::const_pointer const_pointer; > typedef __gnu_cxx::__normal_iterator<pointer, basic_string> iterator; > typedef __gnu_cxx::__normal_iterator<const_pointer, basic_string> > const_iterator; > typedef std::reverse_iterator<const_iterator> const_reverse_iterator; > typedef std::reverse_iterator<iterator> reverse_iterator; > > private: ># 148 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > struct _Rep_base > { > size_type _M_length; > size_type _M_capacity; > _Atomic_word _M_refcount; > }; > > struct _Rep : _Rep_base > { > > typedef typename _Alloc::template rebind<char>::other _Raw_bytes_alloc; ># 173 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > static const size_type _S_max_size; > static const _CharT _S_terminal; > > > > static size_type _S_empty_rep_storage[]; > > static _Rep& > _S_empty_rep() noexcept > { > > > > void* __p = reinterpret_cast<void*>(&_S_empty_rep_storage); > return *reinterpret_cast<_Rep*>(__p); > } > > bool > _M_is_leaked() const noexcept > { return this->_M_refcount < 0; } > > bool > _M_is_shared() const noexcept > { return this->_M_refcount > 0; } > > void > _M_set_leaked() noexcept > { this->_M_refcount = -1; } > > void > _M_set_sharable() noexcept > { this->_M_refcount = 0; } > > void > _M_set_length_and_sharable(size_type __n) noexcept > { > > if (__builtin_expect(this != &_S_empty_rep(), false)) > > { > this->_M_set_sharable(); > this->_M_length = __n; > traits_type::assign(this->_M_refdata()[__n], _S_terminal); > > > } > } > > _CharT* > _M_refdata() throw() > { return reinterpret_cast<_CharT*>(this + 1); } > > _CharT* > _M_grab(const _Alloc& __alloc1, const _Alloc& __alloc2) > { > return (!_M_is_leaked() && __alloc1 == __alloc2) > ? _M_refcopy() : _M_clone(__alloc1); > } > > > static _Rep* > _S_create(size_type, size_type, const _Alloc&); > > void > _M_dispose(const _Alloc& __a) noexcept > { > > if (__builtin_expect(this != &_S_empty_rep(), false)) > > { > > ; > if (__gnu_cxx::__exchange_and_add_dispatch(&this->_M_refcount, > -1) <= 0) > { > ; > _M_destroy(__a); > } > } > } > > void > _M_destroy(const _Alloc&) throw(); > > _CharT* > _M_refcopy() throw() > { > > if (__builtin_expect(this != &_S_empty_rep(), false)) > > __gnu_cxx::__atomic_add_dispatch(&this->_M_refcount, 1); > return _M_refdata(); > } > > _CharT* > _M_clone(const _Alloc&, size_type __res = 0); > }; > > > struct _Alloc_hider : _Alloc > { > _Alloc_hider(_CharT* __dat, const _Alloc& __a) noexcept > : _Alloc(__a), _M_p(__dat) { } > > _CharT* _M_p; > }; > > public: > > > > > static const size_type npos = static_cast<size_type>(-1); > > private: > > mutable _Alloc_hider _M_dataplus; > > _CharT* > _M_data() const noexcept > { return _M_dataplus._M_p; } > > _CharT* > _M_data(_CharT* __p) noexcept > { return (_M_dataplus._M_p = __p); } > > _Rep* > _M_rep() const noexcept > { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); } > > > > iterator > _M_ibegin() const noexcept > { return iterator(_M_data()); } > > iterator > _M_iend() const noexcept > { return iterator(_M_data() + this->size()); } > > void > _M_leak() > { > if (!_M_rep()->_M_is_leaked()) > _M_leak_hard(); > } > > size_type > _M_check(size_type __pos, const char* __s) const > { > if (__pos > this->size()) > __throw_out_of_range_fmt(("%s: __pos (which is %zu) > " "this->size() (which is %zu)") > , > __s, __pos, this->size()); > return __pos; > } > > void > _M_check_length(size_type __n1, size_type __n2, const char* __s) const > { > if (this->max_size() - (this->size() - __n1) < __n2) > __throw_length_error((__s)); > } > > > size_type > _M_limit(size_type __pos, size_type __off) const noexcept > { > const bool __testoff = __off < this->size() - __pos; > return __testoff ? __off : this->size() - __pos; > } > > > bool > _M_disjunct(const _CharT* __s) const noexcept > { > return (less<const _CharT*>()(__s, _M_data()) > || less<const _CharT*>()(_M_data() + this->size(), __s)); > } > > > > static void > _M_copy(_CharT* __d, const _CharT* __s, size_type __n) noexcept > { > if (__n == 1) > traits_type::assign(*__d, *__s); > else > traits_type::copy(__d, __s, __n); > } > > static void > _M_move(_CharT* __d, const _CharT* __s, size_type __n) noexcept > { > if (__n == 1) > traits_type::assign(*__d, *__s); > else > traits_type::move(__d, __s, __n); > } > > static void > _M_assign(_CharT* __d, size_type __n, _CharT __c) noexcept > { > if (__n == 1) > traits_type::assign(*__d, __c); > else > traits_type::assign(__d, __n, __c); > } > > > > template<class _Iterator> > static void > _S_copy_chars(_CharT* __p, _Iterator __k1, _Iterator __k2) > noexcept > { > for (; __k1 != __k2; ++__k1, ++__p) > traits_type::assign(*__p, *__k1); > } > > static void > _S_copy_chars(_CharT* __p, iterator __k1, iterator __k2) noexcept > { _S_copy_chars(__p, __k1.base(), __k2.base()); } > > static void > _S_copy_chars(_CharT* __p, const_iterator __k1, const_iterator __k2) > noexcept > { _S_copy_chars(__p, __k1.base(), __k2.base()); } > > static void > _S_copy_chars(_CharT* __p, _CharT* __k1, _CharT* __k2) noexcept > { _M_copy(__p, __k1, __k2 - __k1); } > > static void > _S_copy_chars(_CharT* __p, const _CharT* __k1, const _CharT* __k2) > noexcept > { _M_copy(__p, __k1, __k2 - __k1); } > > static int > _S_compare(size_type __n1, size_type __n2) noexcept > { > const difference_type __d = difference_type(__n1 - __n2); > > if (__d > __gnu_cxx::__numeric_traits<int>::__max) > return __gnu_cxx::__numeric_traits<int>::__max; > else if (__d < __gnu_cxx::__numeric_traits<int>::__min) > return __gnu_cxx::__numeric_traits<int>::__min; > else > return int(__d); > } > > void > _M_mutate(size_type __pos, size_type __len1, size_type __len2); > > void > _M_leak_hard(); > > static _Rep& > _S_empty_rep() noexcept > { return _Rep::_S_empty_rep(); } > > public: > > > > > > > > basic_string() > > : _M_dataplus(_S_empty_rep()._M_refdata(), _Alloc()) { } > > > > > > > > explicit > basic_string(const _Alloc& __a); > > > > > > > basic_string(const basic_string& __str); > > > > > > > basic_string(const basic_string& __str, size_type __pos, > size_type __n = npos); > > > > > > > > basic_string(const basic_string& __str, size_type __pos, > size_type __n, const _Alloc& __a); ># 488 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string(const _CharT* __s, size_type __n, > const _Alloc& __a = _Alloc()); > > > > > > basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()); > > > > > > > basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()); ># 512 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string(basic_string&& __str) > > noexcept > > : _M_dataplus(__str._M_dataplus) > { > > __str._M_data(_S_empty_rep()._M_refdata()); > > > > } > > > > > > > basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()); ># 539 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<class _InputIterator> > basic_string(_InputIterator __beg, _InputIterator __end, > const _Alloc& __a = _Alloc()); > > > > > ~basic_string() noexcept > { _M_rep()->_M_dispose(this->get_allocator()); } > > > > > > basic_string& > operator=(const basic_string& __str) > { return this->assign(__str); } > > > > > > basic_string& > operator=(const _CharT* __s) > { return this->assign(__s); } ># 572 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > operator=(_CharT __c) > { > this->assign(1, __c); > return *this; > } ># 588 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > operator=(basic_string&& __str) > { > > this->swap(__str); > return *this; > } > > > > > > basic_string& > operator=(initializer_list<_CharT> __l) > { > this->assign(__l.begin(), __l.size()); > return *this; > } > > > > > > > > iterator > begin() > { > _M_leak(); > return iterator(_M_data()); > } > > > > > > const_iterator > begin() const noexcept > { return const_iterator(_M_data()); } > > > > > > iterator > end() > { > _M_leak(); > return iterator(_M_data() + this->size()); > } > > > > > > const_iterator > end() const noexcept > { return const_iterator(_M_data() + this->size()); } > > > > > > > reverse_iterator > rbegin() > { return reverse_iterator(this->end()); } > > > > > > > const_reverse_iterator > rbegin() const noexcept > { return const_reverse_iterator(this->end()); } > > > > > > > reverse_iterator > rend() > { return reverse_iterator(this->begin()); } > > > > > > > const_reverse_iterator > rend() const noexcept > { return const_reverse_iterator(this->begin()); } > > > > > > > const_iterator > cbegin() const noexcept > { return const_iterator(this->_M_data()); } > > > > > > const_iterator > cend() const noexcept > { return const_iterator(this->_M_data() + this->size()); } > > > > > > > const_reverse_iterator > crbegin() const noexcept > { return const_reverse_iterator(this->end()); } > > > > > > > const_reverse_iterator > crend() const noexcept > { return const_reverse_iterator(this->begin()); } > > > public: > > > > size_type > size() const noexcept > { return _M_rep()->_M_length; } > > > > size_type > length() const noexcept > { return _M_rep()->_M_length; } > > > size_type > max_size() const noexcept > { return _Rep::_S_max_size; } ># 748 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > void > resize(size_type __n, _CharT __c); ># 761 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > void > resize(size_type __n) > { this->resize(__n, _CharT()); } > > > > void > shrink_to_fit() noexcept > { > if (capacity() > size()) > { > if (true) > { reserve(0); } > if (false) > { } > } > } > > > > > > > size_type > capacity() const noexcept > { return _M_rep()->_M_capacity; } ># 805 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > void > reserve(size_type __res_arg = 0); > > > > > > void > clear() > { _M_mutate(0, this->size(), 0); } > > > > > > bool > empty() const noexcept > { return this->size() == 0; } ># 835 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > const_reference > operator[] (size_type __pos) const noexcept > { > ; > return _M_data()[__pos]; > } ># 852 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > reference > operator[](size_type __pos) > { > > > ; > > ; > _M_leak(); > return _M_data()[__pos]; > } ># 874 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > const_reference > at(size_type __n) const > { > if (__n >= this->size()) > __throw_out_of_range_fmt(("basic_string::at: __n " "(which is %zu) >= this->size() " "(which is %zu)") > > , > __n, this->size()); > return _M_data()[__n]; > } ># 896 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > reference > at(size_type __n) > { > if (__n >= size()) > __throw_out_of_range_fmt(("basic_string::at: __n " "(which is %zu) >= this->size() " "(which is %zu)") > > , > __n, this->size()); > _M_leak(); > return _M_data()[__n]; > } > > > > > > > reference > front() > { return operator[](0); } > > > > > > const_reference > front() const noexcept > { return operator[](0); } > > > > > > reference > back() > { return operator[](this->size() - 1); } > > > > > > const_reference > back() const noexcept > { return operator[](this->size() - 1); } ># 948 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > operator+=(const basic_string& __str) > { return this->append(__str); } > > > > > > > basic_string& > operator+=(const _CharT* __s) > { return this->append(__s); } > > > > > > > basic_string& > operator+=(_CharT __c) > { > this->push_back(__c); > return *this; > } > > > > > > > > basic_string& > operator+=(initializer_list<_CharT> __l) > { return this->append(__l.begin(), __l.size()); } > > > > > > > > basic_string& > append(const basic_string& __str); ># 1005 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > append(const basic_string& __str, size_type __pos, size_type __n); > > > > > > > > basic_string& > append(const _CharT* __s, size_type __n); > > > > > > > basic_string& > append(const _CharT* __s) > { > ; > return this->append(__s, traits_type::length(__s)); > } ># 1037 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > append(size_type __n, _CharT __c); > > > > > > > > basic_string& > append(initializer_list<_CharT> __l) > { return this->append(__l.begin(), __l.size()); } ># 1059 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<class _InputIterator> > basic_string& > append(_InputIterator __first, _InputIterator __last) > { return this->replace(_M_iend(), _M_iend(), __first, __last); } > > > > > > void > push_back(_CharT __c) > { > const size_type __len = 1 + this->size(); > if (__len > this->capacity() || _M_rep()->_M_is_shared()) > this->reserve(__len); > traits_type::assign(_M_data()[this->size()], __c); > _M_rep()->_M_set_length_and_sharable(__len); > } > > > > > > > basic_string& > assign(const basic_string& __str); ># 1096 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > assign(basic_string&& __str) > { > this->swap(__str); > return *this; > } ># 1117 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > assign(const basic_string& __str, size_type __pos, size_type __n) > { return this->assign(__str._M_data() > + __str._M_check(__pos, "basic_string::assign"), > __str._M_limit(__pos, __n)); } ># 1133 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > assign(const _CharT* __s, size_type __n); ># 1145 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > assign(const _CharT* __s) > { > ; > return this->assign(__s, traits_type::length(__s)); > } ># 1161 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > assign(size_type __n, _CharT __c) > { return _M_replace_aux(size_type(0), this->size(), __n, __c); } ># 1173 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<class _InputIterator> > basic_string& > assign(_InputIterator __first, _InputIterator __last) > { return this->replace(_M_ibegin(), _M_iend(), __first, __last); } > > > > > > > > basic_string& > assign(initializer_list<_CharT> __l) > { return this->assign(__l.begin(), __l.size()); } ># 1202 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > void > insert(iterator __p, size_type __n, _CharT __c) > { this->replace(__p, __p, __n, __c); } ># 1218 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<class _InputIterator> > void > insert(iterator __p, _InputIterator __beg, _InputIterator __end) > { this->replace(__p, __p, __beg, __end); } ># 1230 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > void > insert(iterator __p, initializer_list<_CharT> __l) > { > ; > this->insert(__p - _M_ibegin(), __l.begin(), __l.size()); > } ># 1250 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > insert(size_type __pos1, const basic_string& __str) > { return this->insert(__pos1, __str, size_type(0), __str.size()); } ># 1272 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > insert(size_type __pos1, const basic_string& __str, > size_type __pos2, size_type __n) > { return this->insert(__pos1, __str._M_data() > + __str._M_check(__pos2, "basic_string::insert"), > __str._M_limit(__pos2, __n)); } ># 1295 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > insert(size_type __pos, const _CharT* __s, size_type __n); ># 1313 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > insert(size_type __pos, const _CharT* __s) > { > ; > return this->insert(__pos, __s, traits_type::length(__s)); > } ># 1336 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > insert(size_type __pos, size_type __n, _CharT __c) > { return _M_replace_aux(_M_check(__pos, "basic_string::insert"), > size_type(0), __n, __c); } ># 1354 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > iterator > insert(iterator __p, _CharT __c) > { > ; > const size_type __pos = __p - _M_ibegin(); > _M_replace_aux(__pos, size_type(0), size_type(1), __c); > _M_rep()->_M_set_leaked(); > return iterator(_M_data() + __pos); > } ># 1379 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > erase(size_type __pos = 0, size_type __n = npos) > { > _M_mutate(_M_check(__pos, "basic_string::erase"), > _M_limit(__pos, __n), size_type(0)); > return *this; > } ># 1395 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > iterator > erase(iterator __position) > { > > ; > const size_type __pos = __position - _M_ibegin(); > _M_mutate(__pos, size_type(1), size_type(0)); > _M_rep()->_M_set_leaked(); > return iterator(_M_data() + __pos); > } ># 1415 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > iterator > erase(iterator __first, iterator __last); > > > > > > > > void > pop_back() > { erase(size()-1, 1); } ># 1446 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > replace(size_type __pos, size_type __n, const basic_string& __str) > { return this->replace(__pos, __n, __str._M_data(), __str.size()); } ># 1468 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > replace(size_type __pos1, size_type __n1, const basic_string& __str, > size_type __pos2, size_type __n2) > { return this->replace(__pos1, __n1, __str._M_data() > + __str._M_check(__pos2, "basic_string::replace"), > __str._M_limit(__pos2, __n2)); } ># 1493 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > replace(size_type __pos, size_type __n1, const _CharT* __s, > size_type __n2); ># 1513 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > replace(size_type __pos, size_type __n1, const _CharT* __s) > { > ; > return this->replace(__pos, __n1, __s, traits_type::length(__s)); > } ># 1537 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) > { return _M_replace_aux(_M_check(__pos, "basic_string::replace"), > _M_limit(__pos, __n1), __n2, __c); } ># 1555 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > replace(iterator __i1, iterator __i2, const basic_string& __str) > { return this->replace(__i1, __i2, __str._M_data(), __str.size()); } ># 1574 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > replace(iterator __i1, iterator __i2, const _CharT* __s, size_type __n) > { > > ; > return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __s, __n); > } ># 1595 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > replace(iterator __i1, iterator __i2, const _CharT* __s) > { > ; > return this->replace(__i1, __i2, __s, traits_type::length(__s)); > } ># 1616 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& > replace(iterator __i1, iterator __i2, size_type __n, _CharT __c) > { > > ; > return _M_replace_aux(__i1 - _M_ibegin(), __i2 - __i1, __n, __c); > } ># 1639 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<class _InputIterator> > basic_string& > replace(iterator __i1, iterator __i2, > _InputIterator __k1, _InputIterator __k2) > { > > ; > ; > typedef typename std::__is_integer<_InputIterator>::__type _Integral; > return _M_replace_dispatch(__i1, __i2, __k1, __k2, _Integral()); > } > > > > basic_string& > replace(iterator __i1, iterator __i2, _CharT* __k1, _CharT* __k2) > { > > ; > ; > return this->replace(__i1 - _M_ibegin(), __i2 - __i1, > __k1, __k2 - __k1); > } > > basic_string& > replace(iterator __i1, iterator __i2, > const _CharT* __k1, const _CharT* __k2) > { > > ; > ; > return this->replace(__i1 - _M_ibegin(), __i2 - __i1, > __k1, __k2 - __k1); > } > > basic_string& > replace(iterator __i1, iterator __i2, iterator __k1, iterator __k2) > { > > ; > ; > return this->replace(__i1 - _M_ibegin(), __i2 - __i1, > __k1.base(), __k2 - __k1); > } > > basic_string& > replace(iterator __i1, iterator __i2, > const_iterator __k1, const_iterator __k2) > { > > ; > ; > return this->replace(__i1 - _M_ibegin(), __i2 - __i1, > __k1.base(), __k2 - __k1); > } ># 1710 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string& replace(iterator __i1, iterator __i2, > initializer_list<_CharT> __l) > { return this->replace(__i1, __i2, __l.begin(), __l.end()); } > > > private: > template<class _Integer> > basic_string& > _M_replace_dispatch(iterator __i1, iterator __i2, _Integer __n, > _Integer __val, __true_type) > { return _M_replace_aux(__i1 - _M_ibegin(), __i2 - __i1, __n, __val); } > > template<class _InputIterator> > basic_string& > _M_replace_dispatch(iterator __i1, iterator __i2, _InputIterator __k1, > _InputIterator __k2, __false_type); > > basic_string& > _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, > _CharT __c); > > basic_string& > _M_replace_safe(size_type __pos1, size_type __n1, const _CharT* __s, > size_type __n2); > > > > template<class _InIterator> > static _CharT* > _S_construct_aux(_InIterator __beg, _InIterator __end, > const _Alloc& __a, __false_type) > { > typedef typename iterator_traits<_InIterator>::iterator_category _Tag; > return _S_construct(__beg, __end, __a, _Tag()); > } > > > > template<class _Integer> > static _CharT* > _S_construct_aux(_Integer __beg, _Integer __end, > const _Alloc& __a, __true_type) > { return _S_construct_aux_2(static_cast<size_type>(__beg), > __end, __a); } > > static _CharT* > _S_construct_aux_2(size_type __req, _CharT __c, const _Alloc& __a) > { return _S_construct(__req, __c, __a); } > > template<class _InIterator> > static _CharT* > _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a) > { > typedef typename std::__is_integer<_InIterator>::__type _Integral; > return _S_construct_aux(__beg, __end, __a, _Integral()); > } > > > template<class _InIterator> > static _CharT* > _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a, > input_iterator_tag); > > > > template<class _FwdIterator> > static _CharT* > _S_construct(_FwdIterator __beg, _FwdIterator __end, const _Alloc& __a, > forward_iterator_tag); > > static _CharT* > _S_construct(size_type __req, _CharT __c, const _Alloc& __a); > > public: ># 1797 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > copy(_CharT* __s, size_type __n, size_type __pos = 0) const; ># 1808 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > void > swap(basic_string& __s); ># 1818 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > const _CharT* > c_str() const noexcept > { return _M_data(); } > > > > > > > > const _CharT* > data() const noexcept > { return _M_data(); } > > > > > allocator_type > get_allocator() const noexcept > { return _M_dataplus; } ># 1851 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find(const _CharT* __s, size_type __pos, size_type __n) const; ># 1864 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find(const basic_string& __str, size_type __pos = 0) const > noexcept > { return this->find(__str.data(), __pos, __str.size()); } ># 1879 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find(const _CharT* __s, size_type __pos = 0) const > { > ; > return this->find(__s, __pos, traits_type::length(__s)); > } ># 1896 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find(_CharT __c, size_type __pos = 0) const noexcept; ># 1909 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > rfind(const basic_string& __str, size_type __pos = npos) const > noexcept > { return this->rfind(__str.data(), __pos, __str.size()); } ># 1926 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > rfind(const _CharT* __s, size_type __pos, size_type __n) const; ># 1939 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > rfind(const _CharT* __s, size_type __pos = npos) const > { > ; > return this->rfind(__s, __pos, traits_type::length(__s)); > } ># 1956 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > rfind(_CharT __c, size_type __pos = npos) const noexcept; ># 1970 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_first_of(const basic_string& __str, size_type __pos = 0) const > noexcept > { return this->find_first_of(__str.data(), __pos, __str.size()); } ># 1987 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_first_of(const _CharT* __s, size_type __pos, size_type __n) const; ># 2000 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_first_of(const _CharT* __s, size_type __pos = 0) const > { > ; > return this->find_first_of(__s, __pos, traits_type::length(__s)); > } ># 2019 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_first_of(_CharT __c, size_type __pos = 0) const noexcept > { return this->find(__c, __pos); } ># 2034 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_last_of(const basic_string& __str, size_type __pos = npos) const > noexcept > { return this->find_last_of(__str.data(), __pos, __str.size()); } ># 2051 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_last_of(const _CharT* __s, size_type __pos, size_type __n) const; ># 2064 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_last_of(const _CharT* __s, size_type __pos = npos) const > { > ; > return this->find_last_of(__s, __pos, traits_type::length(__s)); > } ># 2083 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_last_of(_CharT __c, size_type __pos = npos) const noexcept > { return this->rfind(__c, __pos); } ># 2097 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_first_not_of(const basic_string& __str, size_type __pos = 0) const > noexcept > { return this->find_first_not_of(__str.data(), __pos, __str.size()); } ># 2114 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_first_not_of(const _CharT* __s, size_type __pos, > size_type __n) const; ># 2128 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_first_not_of(const _CharT* __s, size_type __pos = 0) const > { > ; > return this->find_first_not_of(__s, __pos, traits_type::length(__s)); > } ># 2145 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_first_not_of(_CharT __c, size_type __pos = 0) const > noexcept; ># 2160 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_last_not_of(const basic_string& __str, size_type __pos = npos) const > noexcept > { return this->find_last_not_of(__str.data(), __pos, __str.size()); } ># 2177 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_last_not_of(const _CharT* __s, size_type __pos, > size_type __n) const; ># 2191 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_last_not_of(const _CharT* __s, size_type __pos = npos) const > { > ; > return this->find_last_not_of(__s, __pos, traits_type::length(__s)); > } ># 2208 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > size_type > find_last_not_of(_CharT __c, size_type __pos = npos) const > noexcept; ># 2224 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > basic_string > substr(size_type __pos = 0, size_type __n = npos) const > { return basic_string(*this, > _M_check(__pos, "basic_string::substr"), __n); } ># 2243 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > int > compare(const basic_string& __str) const > { > const size_type __size = this->size(); > const size_type __osize = __str.size(); > const size_type __len = std::min(__size, __osize); > > int __r = traits_type::compare(_M_data(), __str.data(), __len); > if (!__r) > __r = _S_compare(__size, __osize); > return __r; > } ># 2275 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > int > compare(size_type __pos, size_type __n, const basic_string& __str) const; ># 2301 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > int > compare(size_type __pos1, size_type __n1, const basic_string& __str, > size_type __pos2, size_type __n2) const; ># 2319 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > int > compare(const _CharT* __s) const; ># 2343 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > int > compare(size_type __pos, size_type __n1, const _CharT* __s) const; ># 2370 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > int > compare(size_type __pos, size_type __n1, const _CharT* __s, > size_type __n2) const; > }; ># 2382 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc> > operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { > basic_string<_CharT, _Traits, _Alloc> __str(__lhs); > __str.append(__rhs); > return __str; > } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT,_Traits,_Alloc> > operator+(const _CharT* __lhs, > const basic_string<_CharT,_Traits,_Alloc>& __rhs); > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT,_Traits,_Alloc> > operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs); > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc> > operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { > basic_string<_CharT, _Traits, _Alloc> __str(__lhs); > __str.append(__rhs); > return __str; > } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc> > operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs) > { > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > typedef typename __string_type::size_type __size_type; > __string_type __str(__lhs); > __str.append(__size_type(1), __rhs); > return __str; > } > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc> > operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return std::move(__lhs.append(__rhs)); } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc> > operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > basic_string<_CharT, _Traits, _Alloc>&& __rhs) > { return std::move(__rhs.insert(0, __lhs)); } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc> > operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, > basic_string<_CharT, _Traits, _Alloc>&& __rhs) > { > const auto __size = __lhs.size() + __rhs.size(); > const bool __cond = (__size > __lhs.capacity() > && __size <= __rhs.capacity()); > return __cond ? std::move(__rhs.insert(0, __lhs)) > : std::move(__lhs.append(__rhs)); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc> > operator+(const _CharT* __lhs, > basic_string<_CharT, _Traits, _Alloc>&& __rhs) > { return std::move(__rhs.insert(0, __lhs)); } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc> > operator+(_CharT __lhs, > basic_string<_CharT, _Traits, _Alloc>&& __rhs) > { return std::move(__rhs.insert(0, 1, __lhs)); } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc> > operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, > const _CharT* __rhs) > { return std::move(__lhs.append(__rhs)); } > > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_string<_CharT, _Traits, _Alloc> > operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, > _CharT __rhs) > { return std::move(__lhs.append(1, __rhs)); } ># 2503 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __lhs.compare(__rhs) == 0; } > > template<typename _CharT> > inline > typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, bool>::__type > operator==(const basic_string<_CharT>& __lhs, > const basic_string<_CharT>& __rhs) > { return (__lhs.size() == __rhs.size() > && !std::char_traits<_CharT>::compare(__lhs.data(), __rhs.data(), > __lhs.size())); } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator==(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) == 0; } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return __lhs.compare(__rhs) == 0; } ># 2549 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return !(__lhs == __rhs); } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator!=(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return !(__lhs == __rhs); } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return !(__lhs == __rhs); } ># 2586 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __lhs.compare(__rhs) < 0; } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return __lhs.compare(__rhs) < 0; } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) > 0; } ># 2623 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __lhs.compare(__rhs) > 0; } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return __lhs.compare(__rhs) > 0; } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) < 0; } ># 2660 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __lhs.compare(__rhs) <= 0; } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return __lhs.compare(__rhs) <= 0; } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator<=(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) >= 0; } ># 2697 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __lhs.compare(__rhs) >= 0; } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, > const _CharT* __rhs) > { return __lhs.compare(__rhs) >= 0; } > > > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > inline bool > operator>=(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { return __rhs.compare(__lhs) <= 0; } ># 2734 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > inline void > swap(basic_string<_CharT, _Traits, _Alloc>& __lhs, > basic_string<_CharT, _Traits, _Alloc>& __rhs) > { __lhs.swap(__rhs); } ># 2752 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __is, > basic_string<_CharT, _Traits, _Alloc>& __str); > > template<> > basic_istream<char>& > operator>>(basic_istream<char>& __is, basic_string<char>& __str); ># 2770 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __os, > const basic_string<_CharT, _Traits, _Alloc>& __str) > { > > > return __ostream_insert(__os, __str.data(), __str.size()); > } ># 2793 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > basic_istream<_CharT, _Traits>& > getline(basic_istream<_CharT, _Traits>& __is, > basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim); ># 2810 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > inline basic_istream<_CharT, _Traits>& > getline(basic_istream<_CharT, _Traits>& __is, > basic_string<_CharT, _Traits, _Alloc>& __str) > { return getline(__is, __str, __is.widen('\n')); } > > template<> > basic_istream<char>& > getline(basic_istream<char>& __in, basic_string<char>& __str, > char __delim); > > > template<> > basic_istream<wchar_t>& > getline(basic_istream<wchar_t>& __in, basic_string<wchar_t>& __str, > wchar_t __delim); > > > >} > > > > ># 1 "/usr/include/c++/4.9.1/ext/string_conversions.h" 1 3 ># 32 "/usr/include/c++/4.9.1/ext/string_conversions.h" 3 ># 33 "/usr/include/c++/4.9.1/ext/string_conversions.h" 3 ># 41 "/usr/include/c++/4.9.1/ext/string_conversions.h" 3 ># 1 "/usr/include/c++/4.9.1/cstdlib" 1 3 ># 39 "/usr/include/c++/4.9.1/cstdlib" 3 ># 40 "/usr/include/c++/4.9.1/cstdlib" 3 ># 114 "/usr/include/c++/4.9.1/cstdlib" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > using ::div_t; > using ::ldiv_t; > > using ::abort; > using ::abs; > using ::atexit; > > > using ::at_quick_exit; > > > using ::atof; > using ::atoi; > using ::atol; > using ::bsearch; > using ::calloc; > using ::div; > using ::exit; > using ::free; > using ::getenv; > using ::labs; > using ::ldiv; > using ::malloc; > > using ::mblen; > using ::mbstowcs; > using ::mbtowc; > > using ::qsort; > > > using ::quick_exit; > > > using ::rand; > using ::realloc; > using ::srand; > using ::strtod; > using ::strtol; > using ::strtoul; > using ::system; > > using ::wcstombs; > using ::wctomb; > > > > inline long > abs(long __i) { return __builtin_labs(__i); } > > inline ldiv_t > div(long __i, long __j) { return ldiv(__i, __j); } > > > > inline long long > abs(long long __x) { return __builtin_llabs (__x); } > > > > inline __int128 > abs(__int128 __x) { return __x >= 0 ? __x : -__x; } > > > >} ># 196 "/usr/include/c++/4.9.1/cstdlib" 3 >namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) >{ > > > > using ::lldiv_t; > > > > > > using ::_Exit; > > > > using ::llabs; > > inline lldiv_t > div(long long __n, long long __d) > { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } > > using ::lldiv; ># 228 "/usr/include/c++/4.9.1/cstdlib" 3 > using ::atoll; > using ::strtoll; > using ::strtoull; > > using ::strtof; > using ::strtold; > > >} > >namespace std >{ > > using ::__gnu_cxx::lldiv_t; > > using ::__gnu_cxx::_Exit; > > using ::__gnu_cxx::llabs; > using ::__gnu_cxx::div; > using ::__gnu_cxx::lldiv; > > using ::__gnu_cxx::atoll; > using ::__gnu_cxx::strtof; > using ::__gnu_cxx::strtoll; > using ::__gnu_cxx::strtoull; > using ::__gnu_cxx::strtold; >} ># 42 "/usr/include/c++/4.9.1/ext/string_conversions.h" 2 3 ># 1 "/usr/include/c++/4.9.1/cwchar" 1 3 ># 39 "/usr/include/c++/4.9.1/cwchar" 3 ># 40 "/usr/include/c++/4.9.1/cwchar" 3 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 45 "/usr/include/c++/4.9.1/cwchar" 2 3 ># 43 "/usr/include/c++/4.9.1/ext/string_conversions.h" 2 3 ># 1 "/usr/include/c++/4.9.1/cstdio" 1 3 ># 39 "/usr/include/c++/4.9.1/cstdio" 3 ># 40 "/usr/include/c++/4.9.1/cstdio" 3 ># 96 "/usr/include/c++/4.9.1/cstdio" 3 >namespace std >{ > using ::FILE; > using ::fpos_t; > > using ::clearerr; > using ::fclose; > using ::feof; > using ::ferror; > using ::fflush; > using ::fgetc; > using ::fgetpos; > using ::fgets; > using ::fopen; > using ::fprintf; > using ::fputc; > using ::fputs; > using ::fread; > using ::freopen; > using ::fscanf; > using ::fseek; > using ::fsetpos; > using ::ftell; > using ::fwrite; > using ::getc; > using ::getchar; > > > using ::gets; > > using ::perror; > using ::printf; > using ::putc; > using ::putchar; > using ::puts; > using ::remove; > using ::rename; > using ::rewind; > using ::scanf; > using ::setbuf; > using ::setvbuf; > using ::sprintf; > using ::sscanf; > using ::tmpfile; > > using ::tmpnam; > > using ::ungetc; > using ::vfprintf; > using ::vprintf; > using ::vsprintf; >} ># 157 "/usr/include/c++/4.9.1/cstdio" 3 >namespace __gnu_cxx >{ ># 175 "/usr/include/c++/4.9.1/cstdio" 3 > using ::snprintf; > using ::vfscanf; > using ::vscanf; > using ::vsnprintf; > using ::vsscanf; > >} > >namespace std >{ > using ::__gnu_cxx::snprintf; > using ::__gnu_cxx::vfscanf; > using ::__gnu_cxx::vscanf; > using ::__gnu_cxx::vsnprintf; > using ::__gnu_cxx::vsscanf; >} ># 44 "/usr/include/c++/4.9.1/ext/string_conversions.h" 2 3 ># 1 "/usr/include/c++/4.9.1/cerrno" 1 3 ># 39 "/usr/include/c++/4.9.1/cerrno" 3 ># 40 "/usr/include/c++/4.9.1/cerrno" 3 > ># 1 "/usr/include/errno.h" 1 3 4 ># 31 "/usr/include/errno.h" 3 4 >extern "C" { > > > ># 1 "/usr/include/bits/errno.h" 1 3 4 ># 24 "/usr/include/bits/errno.h" 3 4 ># 1 "/usr/include/linux/errno.h" 1 3 4 ># 1 "/usr/include/asm/errno.h" 1 3 4 ># 1 "/usr/include/asm-generic/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 ># 5 "/usr/include/asm-generic/errno.h" 2 3 4 ># 1 "/usr/include/asm/errno.h" 2 3 4 ># 1 "/usr/include/linux/errno.h" 2 3 4 ># 25 "/usr/include/bits/errno.h" 2 3 4 ># 50 "/usr/include/bits/errno.h" 3 4 >extern int *__errno_location (void) throw () __attribute__ ((__const__)); ># 36 "/usr/include/errno.h" 2 3 4 ># 54 "/usr/include/errno.h" 3 4 >extern char *program_invocation_name, *program_invocation_short_name; > > > >} ># 68 "/usr/include/errno.h" 3 4 >typedef int error_t; ># 42 "/usr/include/c++/4.9.1/cerrno" 2 3 ># 45 "/usr/include/c++/4.9.1/ext/string_conversions.h" 2 3 > >namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) >{ > > > > template<typename _TRet, typename _Ret = _TRet, typename _CharT, > typename... _Base> > _Ret > __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), > const char* __name, const _CharT* __str, std::size_t* __idx, > _Base... __base) > { > _Ret __ret; > > _CharT* __endptr; > (*__errno_location ()) = 0; > const _TRet __tmp = __convf(__str, &__endptr, __base...); > > if (__endptr == __str) > std::__throw_invalid_argument(__name); > else if ((*__errno_location ()) == 34 > || (std::__are_same<_Ret, int>::__value > && (__tmp < __numeric_traits<int>::__min > || __tmp > __numeric_traits<int>::__max))) > std::__throw_out_of_range(__name); > else > __ret = __tmp; > > if (__idx) > *__idx = __endptr - __str; > > return __ret; > } > > > template<typename _String, typename _CharT = typename _String::value_type> > _String > __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, > __builtin_va_list), std::size_t __n, > const _CharT* __fmt, ...) > { > > > _CharT* __s = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) > * __n)); > > __builtin_va_list __args; > __builtin_va_start(__args, __fmt); > > const int __len = __convf(__s, __n, __fmt, __args); > > __builtin_va_end(__args); > > return _String(__s, __s + __len); > } > > >} ># 2835 "/usr/include/c++/4.9.1/bits/basic_string.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > inline int > stoi(const string& __str, size_t* __idx = 0, int __base = 10) > { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), > __idx, __base); } > > inline long > stol(const string& __str, size_t* __idx = 0, int __base = 10) > { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(), > __idx, __base); } > > inline unsigned long > stoul(const string& __str, size_t* __idx = 0, int __base = 10) > { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(), > __idx, __base); } > > inline long long > stoll(const string& __str, size_t* __idx = 0, int __base = 10) > { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(), > __idx, __base); } > > inline unsigned long long > stoull(const string& __str, size_t* __idx = 0, int __base = 10) > { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(), > __idx, __base); } > > > inline float > stof(const string& __str, size_t* __idx = 0) > { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); } > > inline double > stod(const string& __str, size_t* __idx = 0) > { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); } > > inline long double > stold(const string& __str, size_t* __idx = 0) > { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); } > > > > > inline string > to_string(int __val) > { return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, 4 * sizeof(int), > "%d", __val); } > > inline string > to_string(unsigned __val) > { return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, > 4 * sizeof(unsigned), > "%u", __val); } > > inline string > to_string(long __val) > { return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, 4 * sizeof(long), > "%ld", __val); } > > inline string > to_string(unsigned long __val) > { return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, > 4 * sizeof(unsigned long), > "%lu", __val); } > > inline string > to_string(long long __val) > { return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, > 4 * sizeof(long long), > "%lld", __val); } > > inline string > to_string(unsigned long long __val) > { return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, > 4 * sizeof(unsigned long long), > "%llu", __val); } > > inline string > to_string(float __val) > { > const int __n = > __gnu_cxx::__numeric_traits<float>::__max_exponent10 + 20; > return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n, > "%f", __val); > } > > inline string > to_string(double __val) > { > const int __n = > __gnu_cxx::__numeric_traits<double>::__max_exponent10 + 20; > return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n, > "%f", __val); > } > > inline string > to_string(long double __val) > { > const int __n = > __gnu_cxx::__numeric_traits<long double>::__max_exponent10 + 20; > return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n, > "%Lf", __val); > } > > > inline int > stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) > { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(), > __idx, __base); } > > inline long > stol(const wstring& __str, size_t* __idx = 0, int __base = 10) > { return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(), > __idx, __base); } > > inline unsigned long > stoul(const wstring& __str, size_t* __idx = 0, int __base = 10) > { return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(), > __idx, __base); } > > inline long long > stoll(const wstring& __str, size_t* __idx = 0, int __base = 10) > { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(), > __idx, __base); } > > inline unsigned long long > stoull(const wstring& __str, size_t* __idx = 0, int __base = 10) > { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(), > __idx, __base); } > > > inline float > stof(const wstring& __str, size_t* __idx = 0) > { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); } > > inline double > stod(const wstring& __str, size_t* __idx = 0) > { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); } > > inline long double > stold(const wstring& __str, size_t* __idx = 0) > { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); } > > > inline wstring > to_wstring(int __val) > { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(int), > L"%d", __val); } > > inline wstring > to_wstring(unsigned __val) > { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, > 4 * sizeof(unsigned), > L"%u", __val); } > > inline wstring > to_wstring(long __val) > { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(long), > L"%ld", __val); } > > inline wstring > to_wstring(unsigned long __val) > { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, > 4 * sizeof(unsigned long), > L"%lu", __val); } > > inline wstring > to_wstring(long long __val) > { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, > 4 * sizeof(long long), > L"%lld", __val); } > > inline wstring > to_wstring(unsigned long long __val) > { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, > 4 * sizeof(unsigned long long), > L"%llu", __val); } > > inline wstring > to_wstring(float __val) > { > const int __n = > __gnu_cxx::__numeric_traits<float>::__max_exponent10 + 20; > return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n, > L"%f", __val); > } > > inline wstring > to_wstring(double __val) > { > const int __n = > __gnu_cxx::__numeric_traits<double>::__max_exponent10 + 20; > return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n, > L"%f", __val); > } > > inline wstring > to_wstring(long double __val) > { > const int __n = > __gnu_cxx::__numeric_traits<long double>::__max_exponent10 + 20; > return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, __n, > L"%Lf", __val); > } > > > >} > > > > > ># 1 "/usr/include/c++/4.9.1/bits/functional_hash.h" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/functional_hash.h" 3 ># 34 "/usr/include/c++/4.9.1/bits/functional_hash.h" 3 > ># 1 "/usr/include/c++/4.9.1/bits/hash_bytes.h" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/hash_bytes.h" 3 ># 34 "/usr/include/c++/4.9.1/bits/hash_bytes.h" 3 > > > >namespace std >{ > > > > > > > > size_t > _Hash_bytes(const void* __ptr, size_t __len, size_t __seed); > > > > > > size_t > _Fnv_hash_bytes(const void* __ptr, size_t __len, size_t __seed); > > >} ># 36 "/usr/include/c++/4.9.1/bits/functional_hash.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 49 "/usr/include/c++/4.9.1/bits/functional_hash.h" 3 > template<typename _Result, typename _Arg> > struct __hash_base > { > typedef _Result result_type; > typedef _Arg argument_type; > }; > > > template<typename _Tp> > struct hash; > > > template<typename _Tp> > struct hash<_Tp*> : public __hash_base<size_t, _Tp*> > { > size_t > operator()(_Tp* __p) const noexcept > { return reinterpret_cast<size_t>(__p); } > }; ># 80 "/usr/include/c++/4.9.1/bits/functional_hash.h" 3 > template<> struct hash<bool> : public __hash_base<size_t, bool> { size_t operator()(bool __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<char> : public __hash_base<size_t, char> { size_t operator()(char __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<signed char> : public __hash_base<size_t, signed char> { size_t operator()(signed char __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<unsigned char> : public __hash_base<size_t, unsigned char> { size_t operator()(unsigned char __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<wchar_t> : public __hash_base<size_t, wchar_t> { size_t operator()(wchar_t __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<char16_t> : public __hash_base<size_t, char16_t> { size_t operator()(char16_t __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<char32_t> : public __hash_base<size_t, char32_t> { size_t operator()(char32_t __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<short> : public __hash_base<size_t, short> { size_t operator()(short __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<int> : public __hash_base<size_t, int> { size_t operator()(int __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<long> : public __hash_base<size_t, long> { size_t operator()(long __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<long long> : public __hash_base<size_t, long long> { size_t operator()(long long __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<unsigned short> : public __hash_base<size_t, unsigned short> { size_t operator()(unsigned short __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<unsigned int> : public __hash_base<size_t, unsigned int> { size_t operator()(unsigned int __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<unsigned long> : public __hash_base<size_t, unsigned long> { size_t operator()(unsigned long __val) const noexcept { return static_cast<size_t>(__val); } }; > > > template<> struct hash<unsigned long long> : public __hash_base<size_t, unsigned long long> { size_t operator()(unsigned long long __val) const noexcept { return static_cast<size_t>(__val); } }; > > > > struct _Hash_impl > { > static size_t > hash(const void* __ptr, size_t __clength, > size_t __seed = static_cast<size_t>(0xc70f6907UL)) > { return _Hash_bytes(__ptr, __clength, __seed); } > > template<typename _Tp> > static size_t > hash(const _Tp& __val) > { return hash(&__val, sizeof(__val)); } > > template<typename _Tp> > static size_t > __hash_combine(const _Tp& __val, size_t __hash) > { return hash(&__val, sizeof(__val), __hash); } > }; > > struct _Fnv_hash_impl > { > static size_t > hash(const void* __ptr, size_t __clength, > size_t __seed = static_cast<size_t>(2166136261UL)) > { return _Fnv_hash_bytes(__ptr, __clength, __seed); } > > template<typename _Tp> > static size_t > hash(const _Tp& __val) > { return hash(&__val, sizeof(__val)); } > > template<typename _Tp> > static size_t > __hash_combine(const _Tp& __val, size_t __hash) > { return hash(&__val, sizeof(__val), __hash); } > }; > > > template<> > struct hash<float> : public __hash_base<size_t, float> > { > size_t > operator()(float __val) const noexcept > { > > return __val != 0.0f ? std::_Hash_impl::hash(__val) : 0; > } > }; > > > template<> > struct hash<double> : public __hash_base<size_t, double> > { > size_t > operator()(double __val) const noexcept > { > > return __val != 0.0 ? std::_Hash_impl::hash(__val) : 0; > } > }; > > > template<> > struct hash<long double> > : public __hash_base<size_t, long double> > { > __attribute__ ((__pure__)) size_t > operator()(long double __val) const noexcept; > }; > > > > > > > > template<typename _Hash> > struct __is_fast_hash : public std::true_type > { }; > > template<> > struct __is_fast_hash<hash<long double>> : public std::false_type > { }; > > >} ># 3053 "/usr/include/c++/4.9.1/bits/basic_string.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > > > > template<> > struct hash<string> > : public __hash_base<size_t, string> > { > size_t > operator()(const string& __s) const noexcept > { return std::_Hash_impl::hash(__s.data(), __s.length()); } > }; > > template<> > struct __is_fast_hash<hash<string>> : std::false_type > { }; > > > > template<> > struct hash<wstring> > : public __hash_base<size_t, wstring> > { > size_t > operator()(const wstring& __s) const noexcept > { return std::_Hash_impl::hash(__s.data(), > __s.length() * sizeof(wchar_t)); } > }; > > template<> > struct __is_fast_hash<hash<wstring>> : std::false_type > { }; > > > > > > template<> > struct hash<u16string> > : public __hash_base<size_t, u16string> > { > size_t > operator()(const u16string& __s) const noexcept > { return std::_Hash_impl::hash(__s.data(), > __s.length() * sizeof(char16_t)); } > }; > > template<> > struct __is_fast_hash<hash<u16string>> : std::false_type > { }; > > > template<> > struct hash<u32string> > : public __hash_base<size_t, u32string> > { > size_t > operator()(const u32string& __s) const noexcept > { return std::_Hash_impl::hash(__s.data(), > __s.length() * sizeof(char32_t)); } > }; > > template<> > struct __is_fast_hash<hash<u32string>> : std::false_type > { }; ># 3157 "/usr/include/c++/4.9.1/bits/basic_string.h" 3 > >} ># 53 "/usr/include/c++/4.9.1/string" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/basic_string.tcc" 1 3 ># 40 "/usr/include/c++/4.9.1/bits/basic_string.tcc" 3 ># 41 "/usr/include/c++/4.9.1/bits/basic_string.tcc" 3 > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _CharT, typename _Traits, typename _Alloc> > const typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > _Rep::_S_max_size = (((npos - sizeof(_Rep_base))/sizeof(_CharT)) - 1) / 4; > > template<typename _CharT, typename _Traits, typename _Alloc> > const _CharT > basic_string<_CharT, _Traits, _Alloc>:: > _Rep::_S_terminal = _CharT(); > > template<typename _CharT, typename _Traits, typename _Alloc> > const typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>::npos; > > > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_empty_rep_storage[ > (sizeof(_Rep_base) + sizeof(_CharT) + sizeof(size_type) - 1) / > sizeof(size_type)]; > > > > > > template<typename _CharT, typename _Traits, typename _Alloc> > template<typename _InIterator> > _CharT* > basic_string<_CharT, _Traits, _Alloc>:: > _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a, > input_iterator_tag) > { > > if (__beg == __end && __a == _Alloc()) > return _S_empty_rep()._M_refdata(); > > > _CharT __buf[128]; > size_type __len = 0; > while (__beg != __end && __len < sizeof(__buf) / sizeof(_CharT)) > { > __buf[__len++] = *__beg; > ++__beg; > } > _Rep* __r = _Rep::_S_create(__len, size_type(0), __a); > _M_copy(__r->_M_refdata(), __buf, __len); > if (true) > { > while (__beg != __end) > { > if (__len == __r->_M_capacity) > { > > _Rep* __another = _Rep::_S_create(__len + 1, __len, __a); > _M_copy(__another->_M_refdata(), __r->_M_refdata(), __len); > __r->_M_destroy(__a); > __r = __another; > } > __r->_M_refdata()[__len++] = *__beg; > ++__beg; > } > } > if (false) > { > __r->_M_destroy(__a); > ; > } > __r->_M_set_length_and_sharable(__len); > return __r->_M_refdata(); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > template <typename _InIterator> > _CharT* > basic_string<_CharT, _Traits, _Alloc>:: > _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a, > forward_iterator_tag) > { > > if (__beg == __end && __a == _Alloc()) > return _S_empty_rep()._M_refdata(); > > > if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end) > __throw_logic_error(("basic_string::_S_construct null not valid")); > > const size_type __dnew = static_cast<size_type>(std::distance(__beg, > __end)); > > _Rep* __r = _Rep::_S_create(__dnew, size_type(0), __a); > if (true) > { _S_copy_chars(__r->_M_refdata(), __beg, __end); } > if (false) > { > __r->_M_destroy(__a); > ; > } > __r->_M_set_length_and_sharable(__dnew); > return __r->_M_refdata(); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > _CharT* > basic_string<_CharT, _Traits, _Alloc>:: > _S_construct(size_type __n, _CharT __c, const _Alloc& __a) > { > > if (__n == 0 && __a == _Alloc()) > return _S_empty_rep()._M_refdata(); > > > _Rep* __r = _Rep::_S_create(__n, size_type(0), __a); > if (__n) > _M_assign(__r->_M_refdata(), __n, __c); > > __r->_M_set_length_and_sharable(__n); > return __r->_M_refdata(); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const basic_string& __str) > : _M_dataplus(__str._M_rep()->_M_grab(_Alloc(__str.get_allocator()), > __str.get_allocator()), > __str.get_allocator()) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const _Alloc& __a) > : _M_dataplus(_S_construct(size_type(), _CharT(), __a), __a) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const basic_string& __str, size_type __pos, size_type __n) > : _M_dataplus(_S_construct(__str._M_data() > + __str._M_check(__pos, > "basic_string::basic_string"), > __str._M_data() + __str._M_limit(__pos, __n) > + __pos, _Alloc()), _Alloc()) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const basic_string& __str, size_type __pos, > size_type __n, const _Alloc& __a) > : _M_dataplus(_S_construct(__str._M_data() > + __str._M_check(__pos, > "basic_string::basic_string"), > __str._M_data() + __str._M_limit(__pos, __n) > + __pos, __a), __a) > { } > > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const _CharT* __s, size_type __n, const _Alloc& __a) > : _M_dataplus(_S_construct(__s, __s + __n, __a), __a) > { } > > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const _CharT* __s, const _Alloc& __a) > : _M_dataplus(_S_construct(__s, __s ? __s + traits_type::length(__s) : > __s + npos, __a), __a) > { } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(size_type __n, _CharT __c, const _Alloc& __a) > : _M_dataplus(_S_construct(__n, __c, __a), __a) > { } > > > template<typename _CharT, typename _Traits, typename _Alloc> > template<typename _InputIterator> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(_InputIterator __beg, _InputIterator __end, const _Alloc& __a) > : _M_dataplus(_S_construct(__beg, __end, __a), __a) > { } > > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(initializer_list<_CharT> __l, const _Alloc& __a) > : _M_dataplus(_S_construct(__l.begin(), __l.end(), __a), __a) > { } > > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > assign(const basic_string& __str) > { > if (_M_rep() != __str._M_rep()) > { > > const allocator_type __a = this->get_allocator(); > _CharT* __tmp = __str._M_rep()->_M_grab(__a, __str.get_allocator()); > _M_rep()->_M_dispose(__a); > _M_data(__tmp); > } > return *this; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > assign(const _CharT* __s, size_type __n) > { > ; > _M_check_length(this->size(), __n, "basic_string::assign"); > if (_M_disjunct(__s) || _M_rep()->_M_is_shared()) > return _M_replace_safe(size_type(0), this->size(), __s, __n); > else > { > > const size_type __pos = __s - _M_data(); > if (__pos >= __n) > _M_copy(_M_data(), __s, __n); > else if (__pos) > _M_move(_M_data(), __s, __n); > _M_rep()->_M_set_length_and_sharable(__n); > return *this; > } > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > append(size_type __n, _CharT __c) > { > if (__n) > { > _M_check_length(size_type(0), __n, "basic_string::append"); > const size_type __len = __n + this->size(); > if (__len > this->capacity() || _M_rep()->_M_is_shared()) > this->reserve(__len); > _M_assign(_M_data() + this->size(), __n, __c); > _M_rep()->_M_set_length_and_sharable(__len); > } > return *this; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > append(const _CharT* __s, size_type __n) > { > ; > if (__n) > { > _M_check_length(size_type(0), __n, "basic_string::append"); > const size_type __len = __n + this->size(); > if (__len > this->capacity() || _M_rep()->_M_is_shared()) > { > if (_M_disjunct(__s)) > this->reserve(__len); > else > { > const size_type __off = __s - _M_data(); > this->reserve(__len); > __s = _M_data() + __off; > } > } > _M_copy(_M_data() + this->size(), __s, __n); > _M_rep()->_M_set_length_and_sharable(__len); > } > return *this; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > append(const basic_string& __str) > { > const size_type __size = __str.size(); > if (__size) > { > const size_type __len = __size + this->size(); > if (__len > this->capacity() || _M_rep()->_M_is_shared()) > this->reserve(__len); > _M_copy(_M_data() + this->size(), __str._M_data(), __size); > _M_rep()->_M_set_length_and_sharable(__len); > } > return *this; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > append(const basic_string& __str, size_type __pos, size_type __n) > { > __str._M_check(__pos, "basic_string::append"); > __n = __str._M_limit(__pos, __n); > if (__n) > { > const size_type __len = __n + this->size(); > if (__len > this->capacity() || _M_rep()->_M_is_shared()) > this->reserve(__len); > _M_copy(_M_data() + this->size(), __str._M_data() + __pos, __n); > _M_rep()->_M_set_length_and_sharable(__len); > } > return *this; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > insert(size_type __pos, const _CharT* __s, size_type __n) > { > ; > _M_check(__pos, "basic_string::insert"); > _M_check_length(size_type(0), __n, "basic_string::insert"); > if (_M_disjunct(__s) || _M_rep()->_M_is_shared()) > return _M_replace_safe(__pos, size_type(0), __s, __n); > else > { > > const size_type __off = __s - _M_data(); > _M_mutate(__pos, 0, __n); > __s = _M_data() + __off; > _CharT* __p = _M_data() + __pos; > if (__s + __n <= __p) > _M_copy(__p, __s, __n); > else if (__s >= __p) > _M_copy(__p, __s + __n, __n); > else > { > const size_type __nleft = __p - __s; > _M_copy(__p, __s, __nleft); > _M_copy(__p + __nleft, __p + __n, __n - __nleft); > } > return *this; > } > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::iterator > basic_string<_CharT, _Traits, _Alloc>:: > erase(iterator __first, iterator __last) > { > > ; > > > > > const size_type __size = __last - __first; > if (__size) > { > const size_type __pos = __first - _M_ibegin(); > _M_mutate(__pos, __size, size_type(0)); > _M_rep()->_M_set_leaked(); > return iterator(_M_data() + __pos); > } > else > return __first; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > replace(size_type __pos, size_type __n1, const _CharT* __s, > size_type __n2) > { > ; > _M_check(__pos, "basic_string::replace"); > __n1 = _M_limit(__pos, __n1); > _M_check_length(__n1, __n2, "basic_string::replace"); > bool __left; > if (_M_disjunct(__s) || _M_rep()->_M_is_shared()) > return _M_replace_safe(__pos, __n1, __s, __n2); > else if ((__left = __s + __n2 <= _M_data() + __pos) > || _M_data() + __pos + __n1 <= __s) > { > > size_type __off = __s - _M_data(); > __left ? __off : (__off += __n2 - __n1); > _M_mutate(__pos, __n1, __n2); > _M_copy(_M_data() + __pos, _M_data() + __off, __n2); > return *this; > } > else > { > > const basic_string __tmp(__s, __n2); > return _M_replace_safe(__pos, __n1, __tmp._M_data(), __n2); > } > } > > template<typename _CharT, typename _Traits, typename _Alloc> > void > basic_string<_CharT, _Traits, _Alloc>::_Rep:: > _M_destroy(const _Alloc& __a) throw () > { > const size_type __size = sizeof(_Rep_base) + > (this->_M_capacity + 1) * sizeof(_CharT); > _Raw_bytes_alloc(__a).deallocate(reinterpret_cast<char*>(this), __size); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > void > basic_string<_CharT, _Traits, _Alloc>:: > _M_leak_hard() > { > > if (_M_rep() == &_S_empty_rep()) > return; > > if (_M_rep()->_M_is_shared()) > _M_mutate(0, 0, 0); > _M_rep()->_M_set_leaked(); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > void > basic_string<_CharT, _Traits, _Alloc>:: > _M_mutate(size_type __pos, size_type __len1, size_type __len2) > { > const size_type __old_size = this->size(); > const size_type __new_size = __old_size + __len2 - __len1; > const size_type __how_much = __old_size - __pos - __len1; > > if (__new_size > this->capacity() || _M_rep()->_M_is_shared()) > { > > const allocator_type __a = get_allocator(); > _Rep* __r = _Rep::_S_create(__new_size, this->capacity(), __a); > > if (__pos) > _M_copy(__r->_M_refdata(), _M_data(), __pos); > if (__how_much) > _M_copy(__r->_M_refdata() + __pos + __len2, > _M_data() + __pos + __len1, __how_much); > > _M_rep()->_M_dispose(__a); > _M_data(__r->_M_refdata()); > } > else if (__how_much && __len1 != __len2) > { > > _M_move(_M_data() + __pos + __len2, > _M_data() + __pos + __len1, __how_much); > } > _M_rep()->_M_set_length_and_sharable(__new_size); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > void > basic_string<_CharT, _Traits, _Alloc>:: > reserve(size_type __res) > { > if (__res != this->capacity() || _M_rep()->_M_is_shared()) > { > > if (__res < this->size()) > __res = this->size(); > const allocator_type __a = get_allocator(); > _CharT* __tmp = _M_rep()->_M_clone(__a, __res - this->size()); > _M_rep()->_M_dispose(__a); > _M_data(__tmp); > } > } > > template<typename _CharT, typename _Traits, typename _Alloc> > void > basic_string<_CharT, _Traits, _Alloc>:: > swap(basic_string& __s) > { > if (_M_rep()->_M_is_leaked()) > _M_rep()->_M_set_sharable(); > if (__s._M_rep()->_M_is_leaked()) > __s._M_rep()->_M_set_sharable(); > if (this->get_allocator() == __s.get_allocator()) > { > _CharT* __tmp = _M_data(); > _M_data(__s._M_data()); > __s._M_data(__tmp); > } > > else > { > const basic_string __tmp1(_M_ibegin(), _M_iend(), > __s.get_allocator()); > const basic_string __tmp2(__s._M_ibegin(), __s._M_iend(), > this->get_allocator()); > *this = __tmp2; > __s = __tmp1; > } > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::_Rep* > basic_string<_CharT, _Traits, _Alloc>::_Rep:: > _S_create(size_type __capacity, size_type __old_capacity, > const _Alloc& __alloc) > { > > > if (__capacity > _S_max_size) > __throw_length_error(("basic_string::_S_create")); ># 577 "/usr/include/c++/4.9.1/bits/basic_string.tcc" 3 > const size_type __pagesize = 4096; > const size_type __malloc_header_size = 4 * sizeof(void*); > > > > > > > > if (__capacity > __old_capacity && __capacity < 2 * __old_capacity) > __capacity = 2 * __old_capacity; > > > > > size_type __size = (__capacity + 1) * sizeof(_CharT) + sizeof(_Rep); > > const size_type __adj_size = __size + __malloc_header_size; > if (__adj_size > __pagesize && __capacity > __old_capacity) > { > const size_type __extra = __pagesize - __adj_size % __pagesize; > __capacity += __extra / sizeof(_CharT); > > if (__capacity > _S_max_size) > __capacity = _S_max_size; > __size = (__capacity + 1) * sizeof(_CharT) + sizeof(_Rep); > } > > > > void* __place = _Raw_bytes_alloc(__alloc).allocate(__size); > _Rep *__p = new (__place) _Rep; > __p->_M_capacity = __capacity; > > > > > > > > __p->_M_set_sharable(); > return __p; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > _CharT* > basic_string<_CharT, _Traits, _Alloc>::_Rep:: > _M_clone(const _Alloc& __alloc, size_type __res) > { > > const size_type __requested_cap = this->_M_length + __res; > _Rep* __r = _Rep::_S_create(__requested_cap, this->_M_capacity, > __alloc); > if (this->_M_length) > _M_copy(__r->_M_refdata(), _M_refdata(), this->_M_length); > > __r->_M_set_length_and_sharable(this->_M_length); > return __r->_M_refdata(); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > void > basic_string<_CharT, _Traits, _Alloc>:: > resize(size_type __n, _CharT __c) > { > const size_type __size = this->size(); > _M_check_length(__size, __n, "basic_string::resize"); > if (__size < __n) > this->append(__n - __size, __c); > else if (__n < __size) > this->erase(__n); > > } > > template<typename _CharT, typename _Traits, typename _Alloc> > template<typename _InputIterator> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > _M_replace_dispatch(iterator __i1, iterator __i2, _InputIterator __k1, > _InputIterator __k2, __false_type) > { > const basic_string __s(__k1, __k2); > const size_type __n1 = __i2 - __i1; > _M_check_length(__n1, __s.size(), "basic_string::_M_replace_dispatch"); > return _M_replace_safe(__i1 - _M_ibegin(), __n1, __s._M_data(), > __s.size()); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, > _CharT __c) > { > _M_check_length(__n1, __n2, "basic_string::_M_replace_aux"); > _M_mutate(__pos1, __n1, __n2); > if (__n2) > _M_assign(_M_data() + __pos1, __n2, __c); > return *this; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>& > basic_string<_CharT, _Traits, _Alloc>:: > _M_replace_safe(size_type __pos1, size_type __n1, const _CharT* __s, > size_type __n2) > { > _M_mutate(__pos1, __n1, __n2); > if (__n2) > _M_copy(_M_data() + __pos1, __s, __n2); > return *this; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc> > operator+(const _CharT* __lhs, > const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { > ; > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > typedef typename __string_type::size_type __size_type; > const __size_type __len = _Traits::length(__lhs); > __string_type __str; > __str.reserve(__len + __rhs.size()); > __str.append(__lhs, __len); > __str.append(__rhs); > return __str; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc> > operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) > { > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > typedef typename __string_type::size_type __size_type; > __string_type __str; > const __size_type __len = __rhs.size(); > __str.reserve(__len + 1); > __str.append(__size_type(1), __lhs); > __str.append(__rhs); > return __str; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > copy(_CharT* __s, size_type __n, size_type __pos) const > { > _M_check(__pos, "basic_string::copy"); > __n = _M_limit(__pos, __n); > ; > if (__n) > _M_copy(__s, _M_data() + __pos, __n); > > return __n; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find(const _CharT* __s, size_type __pos, size_type __n) const > { > ; > const size_type __size = this->size(); > const _CharT* __data = _M_data(); > > if (__n == 0) > return __pos <= __size ? __pos : npos; > > if (__n <= __size) > { > for (; __pos <= __size - __n; ++__pos) > if (traits_type::eq(__data[__pos], __s[0]) > && traits_type::compare(__data + __pos + 1, > __s + 1, __n - 1) == 0) > return __pos; > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find(_CharT __c, size_type __pos) const noexcept > { > size_type __ret = npos; > const size_type __size = this->size(); > if (__pos < __size) > { > const _CharT* __data = _M_data(); > const size_type __n = __size - __pos; > const _CharT* __p = traits_type::find(__data + __pos, __n, __c); > if (__p) > __ret = __p - __data; > } > return __ret; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > rfind(const _CharT* __s, size_type __pos, size_type __n) const > { > ; > const size_type __size = this->size(); > if (__n <= __size) > { > __pos = std::min(size_type(__size - __n), __pos); > const _CharT* __data = _M_data(); > do > { > if (traits_type::compare(__data + __pos, __s, __n) == 0) > return __pos; > } > while (__pos-- > 0); > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > rfind(_CharT __c, size_type __pos) const noexcept > { > size_type __size = this->size(); > if (__size) > { > if (--__size > __pos) > __size = __pos; > for (++__size; __size-- > 0; ) > if (traits_type::eq(_M_data()[__size], __c)) > return __size; > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_first_of(const _CharT* __s, size_type __pos, size_type __n) const > { > ; > for (; __n && __pos < this->size(); ++__pos) > { > const _CharT* __p = traits_type::find(__s, __n, _M_data()[__pos]); > if (__p) > return __pos; > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_last_of(const _CharT* __s, size_type __pos, size_type __n) const > { > ; > size_type __size = this->size(); > if (__size && __n) > { > if (--__size > __pos) > __size = __pos; > do > { > if (traits_type::find(__s, __n, _M_data()[__size])) > return __size; > } > while (__size-- != 0); > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const > { > ; > for (; __pos < this->size(); ++__pos) > if (!traits_type::find(__s, __n, _M_data()[__pos])) > return __pos; > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_first_not_of(_CharT __c, size_type __pos) const noexcept > { > for (; __pos < this->size(); ++__pos) > if (!traits_type::eq(_M_data()[__pos], __c)) > return __pos; > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const > { > ; > size_type __size = this->size(); > if (__size) > { > if (--__size > __pos) > __size = __pos; > do > { > if (!traits_type::find(__s, __n, _M_data()[__size])) > return __size; > } > while (__size--); > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > typename basic_string<_CharT, _Traits, _Alloc>::size_type > basic_string<_CharT, _Traits, _Alloc>:: > find_last_not_of(_CharT __c, size_type __pos) const noexcept > { > size_type __size = this->size(); > if (__size) > { > if (--__size > __pos) > __size = __pos; > do > { > if (!traits_type::eq(_M_data()[__size], __c)) > return __size; > } > while (__size--); > } > return npos; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > int > basic_string<_CharT, _Traits, _Alloc>:: > compare(size_type __pos, size_type __n, const basic_string& __str) const > { > _M_check(__pos, "basic_string::compare"); > __n = _M_limit(__pos, __n); > const size_type __osize = __str.size(); > const size_type __len = std::min(__n, __osize); > int __r = traits_type::compare(_M_data() + __pos, __str.data(), __len); > if (!__r) > __r = _S_compare(__n, __osize); > return __r; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > int > basic_string<_CharT, _Traits, _Alloc>:: > compare(size_type __pos1, size_type __n1, const basic_string& __str, > size_type __pos2, size_type __n2) const > { > _M_check(__pos1, "basic_string::compare"); > __str._M_check(__pos2, "basic_string::compare"); > __n1 = _M_limit(__pos1, __n1); > __n2 = __str._M_limit(__pos2, __n2); > const size_type __len = std::min(__n1, __n2); > int __r = traits_type::compare(_M_data() + __pos1, > __str.data() + __pos2, __len); > if (!__r) > __r = _S_compare(__n1, __n2); > return __r; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > int > basic_string<_CharT, _Traits, _Alloc>:: > compare(const _CharT* __s) const > { > ; > const size_type __size = this->size(); > const size_type __osize = traits_type::length(__s); > const size_type __len = std::min(__size, __osize); > int __r = traits_type::compare(_M_data(), __s, __len); > if (!__r) > __r = _S_compare(__size, __osize); > return __r; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > int > basic_string <_CharT, _Traits, _Alloc>:: > compare(size_type __pos, size_type __n1, const _CharT* __s) const > { > ; > _M_check(__pos, "basic_string::compare"); > __n1 = _M_limit(__pos, __n1); > const size_type __osize = traits_type::length(__s); > const size_type __len = std::min(__n1, __osize); > int __r = traits_type::compare(_M_data() + __pos, __s, __len); > if (!__r) > __r = _S_compare(__n1, __osize); > return __r; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > int > basic_string <_CharT, _Traits, _Alloc>:: > compare(size_type __pos, size_type __n1, const _CharT* __s, > size_type __n2) const > { > ; > _M_check(__pos, "basic_string::compare"); > __n1 = _M_limit(__pos, __n1); > const size_type __len = std::min(__n1, __n2); > int __r = traits_type::compare(_M_data() + __pos, __s, __len); > if (!__r) > __r = _S_compare(__n1, __n2); > return __r; > } > > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __in, > basic_string<_CharT, _Traits, _Alloc>& __str) > { > typedef basic_istream<_CharT, _Traits> __istream_type; > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > typedef typename __istream_type::ios_base __ios_base; > typedef typename __istream_type::int_type __int_type; > typedef typename __string_type::size_type __size_type; > typedef ctype<_CharT> __ctype_type; > typedef typename __ctype_type::ctype_base __ctype_base; > > __size_type __extracted = 0; > typename __ios_base::iostate __err = __ios_base::goodbit; > typename __istream_type::sentry __cerb(__in, false); > if (__cerb) > { > if (true) > { > > __str.erase(); > _CharT __buf[128]; > __size_type __len = 0; > const streamsize __w = __in.width(); > const __size_type __n = __w > 0 ? static_cast<__size_type>(__w) > : __str.max_size(); > const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); > const __int_type __eof = _Traits::eof(); > __int_type __c = __in.rdbuf()->sgetc(); > > while (__extracted < __n > && !_Traits::eq_int_type(__c, __eof) > && !__ct.is(__ctype_base::space, > _Traits::to_char_type(__c))) > { > if (__len == sizeof(__buf) / sizeof(_CharT)) > { > __str.append(__buf, sizeof(__buf) / sizeof(_CharT)); > __len = 0; > } > __buf[__len++] = _Traits::to_char_type(__c); > ++__extracted; > __c = __in.rdbuf()->snextc(); > } > __str.append(__buf, __len); > > if (_Traits::eq_int_type(__c, __eof)) > __err |= __ios_base::eofbit; > __in.width(0); > } > if (false) > { > __in._M_setstate(__ios_base::badbit); > ; > } > if (false) > { > > > > __in._M_setstate(__ios_base::badbit); > } > } > > if (!__extracted) > __err |= __ios_base::failbit; > if (__err) > __in.setstate(__err); > return __in; > } > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_istream<_CharT, _Traits>& > getline(basic_istream<_CharT, _Traits>& __in, > basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim) > { > typedef basic_istream<_CharT, _Traits> __istream_type; > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > typedef typename __istream_type::ios_base __ios_base; > typedef typename __istream_type::int_type __int_type; > typedef typename __string_type::size_type __size_type; > > __size_type __extracted = 0; > const __size_type __n = __str.max_size(); > typename __ios_base::iostate __err = __ios_base::goodbit; > typename __istream_type::sentry __cerb(__in, true); > if (__cerb) > { > if (true) > { > __str.erase(); > const __int_type __idelim = _Traits::to_int_type(__delim); > const __int_type __eof = _Traits::eof(); > __int_type __c = __in.rdbuf()->sgetc(); > > while (__extracted < __n > && !_Traits::eq_int_type(__c, __eof) > && !_Traits::eq_int_type(__c, __idelim)) > { > __str += _Traits::to_char_type(__c); > ++__extracted; > __c = __in.rdbuf()->snextc(); > } > > if (_Traits::eq_int_type(__c, __eof)) > __err |= __ios_base::eofbit; > else if (_Traits::eq_int_type(__c, __idelim)) > { > ++__extracted; > __in.rdbuf()->sbumpc(); > } > else > __err |= __ios_base::failbit; > } > if (false) > { > __in._M_setstate(__ios_base::badbit); > ; > } > if (false) > { > > > > __in._M_setstate(__ios_base::badbit); > } > } > if (!__extracted) > __err |= __ios_base::failbit; > if (__err) > __in.setstate(__err); > return __in; > } > > > > > extern template class basic_string<char>; > extern template > basic_istream<char>& > operator>>(basic_istream<char>&, string&); > extern template > basic_ostream<char>& > operator<<(basic_ostream<char>&, const string&); > extern template > basic_istream<char>& > getline(basic_istream<char>&, string&, char); > extern template > basic_istream<char>& > getline(basic_istream<char>&, string&); > > > extern template class basic_string<wchar_t>; > extern template > basic_istream<wchar_t>& > operator>>(basic_istream<wchar_t>&, wstring&); > extern template > basic_ostream<wchar_t>& > operator<<(basic_ostream<wchar_t>&, const wstring&); > extern template > basic_istream<wchar_t>& > getline(basic_istream<wchar_t>&, wstring&, wchar_t); > extern template > basic_istream<wchar_t>& > getline(basic_istream<wchar_t>&, wstring&); > > > > >} ># 54 "/usr/include/c++/4.9.1/string" 2 3 ># 67 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stringimpl.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/afterstd.h" 1 ># 68 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stringimpl.h" 2 > > > typedef std::wstring wxStdWideString; > > > > > > > > typedef std::string wxStdString; ># 97 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stringimpl.h" > typedef wxStdString wxStringImpl; ># 16 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/unichar.h" 2 > >class wxUniCharRef; >class wxString; > > > >class wxUniChar >{ >public: > > > > typedef wxUint32 value_type; > > wxUniChar() : m_value(0) {} > > > > wxUniChar(char c) { m_value = From8bit(c); } > wxUniChar(unsigned char c) { m_value = From8bit((char)c); } > > > > wxUniChar(short c) { m_value = (value_type)c; } wxUniChar(unsigned short c) { m_value = (value_type)c; } wxUniChar(int c) { m_value = (value_type)c; } wxUniChar(unsigned int c) { m_value = (value_type)c; } wxUniChar(long c) { m_value = (value_type)c; } wxUniChar(unsigned long c) { m_value = (value_type)c; } wxUniChar(long long c) { m_value = (value_type)c; } wxUniChar(unsigned long long c) { m_value = (value_type)c; } wxUniChar(wchar_t c) { m_value = (value_type)c; } > > > wxUniChar(const wxUniCharRef& c); > > > value_type GetValue() const { return m_value; } > > > > struct Utf8CharBuffer > { > char data[5]; > operator const char*() const { return data; } > }; > > > > Utf8CharBuffer AsUTF8() const; > > > > bool IsAscii() const { return m_value < 0x80; } > > > > > bool GetAsChar(char *c) const > { > > if ( !IsAscii() ) > { > > if ( GetAsHi8bit(m_value, c) ) > return true; > > > return false; > } > > > *c = ((char)(m_value)); > return true; > } > > > > > operator char() const { return To8bit(m_value); } > operator unsigned char() const { return (unsigned char)To8bit(m_value); } > > > > operator short() const { return (short)m_value; } operator unsigned short() const { return (unsigned short)m_value; } operator int() const { return (int)m_value; } operator unsigned int() const { return (unsigned int)m_value; } operator long() const { return (long)m_value; } operator unsigned long() const { return (unsigned long)m_value; } operator long long() const { return (long long)m_value; } operator unsigned long long() const { return (unsigned long long)m_value; } operator wchar_t() const { return (wchar_t)m_value; } > > > > > > > > operator bool() const { return m_value != 0; } > bool operator!() const { return !((bool)*this); } > > > > bool operator&&(bool v) const { return (bool)*this && v; } > > > wxUniChar& operator=(const wxUniChar& c) { if (&c != this) m_value = c.m_value; return *this; } > wxUniChar& operator=(const wxUniCharRef& c); > wxUniChar& operator=(char c) { m_value = From8bit(c); return *this; } > wxUniChar& operator=(unsigned char c) { m_value = From8bit((char)c); return *this; } > > > > wxUniChar& operator=(short c) { m_value = (value_type)c; return *this; } wxUniChar& operator=(unsigned short c) { m_value = (value_type)c; return *this; } wxUniChar& operator=(int c) { m_value = (value_type)c; return *this; } wxUniChar& operator=(unsigned int c) { m_value = (value_type)c; return *this; } wxUniChar& operator=(long c) { m_value = (value_type)c; return *this; } wxUniChar& operator=(unsigned long c) { m_value = (value_type)c; return *this; } wxUniChar& operator=(long long c) { m_value = (value_type)c; return *this; } wxUniChar& operator=(unsigned long long c) { m_value = (value_type)c; return *this; } wxUniChar& operator=(wchar_t c) { m_value = (value_type)c; return *this; } ># 129 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/unichar.h" > bool operator ==(const wxUniChar& c) const { return m_value == c.m_value; } bool operator ==(char c) const { return m_value == From8bit(c); } bool operator ==(unsigned char c) const { return m_value == From8bit((char)c); } bool operator ==(short c) const { return m_value == (value_type)c; } bool operator ==(unsigned short c) const { return m_value == (value_type)c; } bool operator ==(int c) const { return m_value == (value_type)c; } bool operator ==(unsigned int c) const { return m_value == (value_type)c; } bool operator ==(long c) const { return m_value == (value_type)c; } bool operator ==(unsigned long c) const { return m_value == (value_type)c; } bool operator ==(long long c) const { return m_value == (value_type)c; } bool operator ==(unsigned long long c) const { return m_value == (value_type)c; } bool operator ==(wchar_t c) const { return m_value == (value_type)c; } bool operator !=(const wxUniChar& c) const { return m_value != c.m_value; } bool operator !=(char c) const { return m_value != From8bit(c); } bool operator !=(unsigned char c) const { return m_value != From8bit((char)c); } bool operator !=(short c) const { return m_value != (value_type)c; } bool operator !=(unsigned short c) const { return m_value != (value_type)c; } bool operator !=(int c) const { return m_value != (value_type)c; } bool operator !=(unsigned int c) const { return m_value != (value_type)c; } bool operator !=(long c) const { return m_value != (value_type)c; } bool operator !=(unsigned long c) const { return m_value != (value_type)c; } bool operator !=(long long c) const { return m_value != (value_type)c; } bool operator !=(unsigned long long c) const { return m_value != (value_type)c; } bool operator !=(wchar_t c) const { return m_value != (value_type)c; } bool operator >=(const wxUniChar& c) const { return m_value >= c.m_value; } bool operator >=(char c) const { return m_value >= From8bit(c); } bool operator >=(unsigned char c) const { return m_value >= From8bit((char)c); } bool operator >=(short c) const { return m_value >= (value_type)c; } bool operator >=(unsigned short c) const { return m_value >= (value_type)c; } bool operator >=(int c) const { return m_value >= (value_type)c; } bool operator >=(unsigned int c) const { return m_value >= (value_type)c; } bool operator >=(long c) const { return m_value >= (value_type)c; } bool operator >=(unsigned long c) const { return m_value >= (value_type)c; } bool operator >=(long long c) const { return m_value >= (value_type)c; } bool operator >=(unsigned long long c) const { return m_value >= (value_type)c; } bool operator >=(wchar_t c) const { return m_value >= (value_type)c; } bool operator <=(const wxUniChar& c) const { return m_value <= c.m_value; } bool operator <=(char c) const { return m_value <= From8bit(c); } bool operator <=(unsigned char c) const { return m_value <= From8bit((char)c); } bool operator <=(short c) const { return m_value <= (value_type)c; } bool operator <=(unsigned short c) const { return m_value <= (value_type)c; } bool operator <=(int c) const { return m_value <= (value_type)c; } bool operator <=(unsigned int c) const { return m_value <= (value_type)c; } bool operator <=(long c) const { return m_value <= (value_type)c; } bool operator <=(unsigned long c) const { return m_value <= (value_type)c; } bool operator <=(long long c) const { return m_value <= (value_type)c; } bool operator <=(unsigned long long c) const { return m_value <= (value_type)c; } bool operator <=(wchar_t c) const { return m_value <= (value_type)c; } bool operator >(const wxUniChar& c) const { return m_value > c.m_value; } bool operator >(char c) const { return m_value > From8bit(c); } bool operator >(unsigned char c) const { return m_value > From8bit((char)c); } bool operator >(short c) const { return m_value > (value_type)c; } bool operator >(unsigned short c) const { return m_value > (value_type)c; } bool operator >(int c) const { return m_value > (value_type)c; } bool operator >(unsigned int c) const { return m_value > (value_type)c; } bool operator >(long c) const { return m_value > (value_type)c; } bool operator >(unsigned long c) const { return m_value > (value_type)c; } bool operator >(long long c) const { return m_value > (value_type)c; } bool operator >(unsigned long long c) const { return m_value > (value_type)c; } bool operator >(wchar_t c) const { return m_value > (value_type)c; } bool operator <(const wxUniChar& c) const { return m_value < c.m_value; } bool operator <(char c) const { return m_value < From8bit(c); } bool operator <(unsigned char c) const { return m_value < From8bit((char)c); } bool operator <(short c) const { return m_value < (value_type)c; } bool operator <(unsigned short c) const { return m_value < (value_type)c; } bool operator <(int c) const { return m_value < (value_type)c; } bool operator <(unsigned int c) const { return m_value < (value_type)c; } bool operator <(long c) const { return m_value < (value_type)c; } bool operator <(unsigned long c) const { return m_value < (value_type)c; } bool operator <(long long c) const { return m_value < (value_type)c; } bool operator <(unsigned long long c) const { return m_value < (value_type)c; } bool operator <(wchar_t c) const { return m_value < (value_type)c; } > > > > > > int operator-(const wxUniChar& c) const { return m_value - c.m_value; } > int operator-(char c) const { return m_value - From8bit(c); } > int operator-(unsigned char c) const { return m_value - From8bit((char)c); } > int operator-(wchar_t c) const { return m_value - (value_type)c; } > > >private: > > > static value_type From8bit(char c) > { > > if ( (unsigned char)c < 0x80 ) > return c; > > return FromHi8bit(c); > > > > } > > static char To8bit(value_type c) > { > > if ( c < 0x80 ) > return ((char)(c)); > > return ToHi8bit(c); > > > > } > > > static value_type FromHi8bit(char c); > static char ToHi8bit(value_type v); > static bool GetAsHi8bit(value_type v, char *c); > >private: > value_type m_value; >}; > > > > > > >class wxUniCharRef >{ >private: > typedef wxStringImpl::iterator iterator; > > > > wxUniCharRef(wxString& str, iterator pos) : m_str(str), m_pos(pos) {} > > > > >public: > > > > > > > static wxUniCharRef CreateForString(wxString& str, iterator pos) > { return wxUniCharRef(str, pos); } > > > > > > wxUniChar::value_type GetValue() const { return UniChar().GetValue(); } > > > wxUniChar::Utf8CharBuffer AsUTF8() const { return UniChar().AsUTF8(); } > > > bool IsAscii() const { return UniChar().IsAscii(); } > bool GetAsChar(char *c) const { return UniChar().GetAsChar(c); } > > > > wxUniCharRef& operator=(const wxUniChar& c); > > > > > wxUniCharRef& operator=(const wxUniCharRef& c) > { if (&c != this) *this = c.UniChar(); return *this; } > > > > wxUniCharRef& operator=(char c) { return *this = wxUniChar(c); } wxUniCharRef& operator=(unsigned char c) { return *this = wxUniChar(c); } wxUniCharRef& operator=(short c) { return *this = wxUniChar(c); } wxUniCharRef& operator=(unsigned short c) { return *this = wxUniChar(c); } wxUniCharRef& operator=(int c) { return *this = wxUniChar(c); } wxUniCharRef& operator=(unsigned int c) { return *this = wxUniChar(c); } wxUniCharRef& operator=(long c) { return *this = wxUniChar(c); } wxUniCharRef& operator=(unsigned long c) { return *this = wxUniChar(c); } wxUniCharRef& operator=(long long c) { return *this = wxUniChar(c); } wxUniCharRef& operator=(unsigned long long c) { return *this = wxUniChar(c); } wxUniCharRef& operator=(wchar_t c) { return *this = wxUniChar(c); } > > > > > > operator char() const { return UniChar(); } operator unsigned char() const { return UniChar(); } operator short() const { return UniChar(); } operator unsigned short() const { return UniChar(); } operator int() const { return UniChar(); } operator unsigned int() const { return UniChar(); } operator long() const { return UniChar(); } operator unsigned long() const { return UniChar(); } operator long long() const { return UniChar(); } operator unsigned long long() const { return UniChar(); } operator wchar_t() const { return UniChar(); } > > > > operator bool() const { return (bool)UniChar(); } > bool operator!() const { return !UniChar(); } > bool operator&&(bool v) const { return UniChar() && v; } ># 252 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/unichar.h" > bool operator ==(const wxUniCharRef& c) const { return UniChar() == c.UniChar(); } bool operator ==(const wxUniChar& c) const { return UniChar() == c; } bool operator ==(char c) const { return UniChar() == c; } bool operator ==(unsigned char c) const { return UniChar() == c; } bool operator ==(short c) const { return UniChar() == c; } bool operator ==(unsigned short c) const { return UniChar() == c; } bool operator ==(int c) const { return UniChar() == c; } bool operator ==(unsigned int c) const { return UniChar() == c; } bool operator ==(long c) const { return UniChar() == c; } bool operator ==(unsigned long c) const { return UniChar() == c; } bool operator ==(long long c) const { return UniChar() == c; } bool operator ==(unsigned long long c) const { return UniChar() == c; } bool operator ==(wchar_t c) const { return UniChar() == c; } bool operator !=(const wxUniCharRef& c) const { return UniChar() != c.UniChar(); } bool operator !=(const wxUniChar& c) const { return UniChar() != c; } bool operator !=(char c) const { return UniChar() != c; } bool operator !=(unsigned char c) const { return UniChar() != c; } bool operator !=(short c) const { return UniChar() != c; } bool operator !=(unsigned short c) const { return UniChar() != c; } bool operator !=(int c) const { return UniChar() != c; } bool operator !=(unsigned int c) const { return UniChar() != c; } bool operator !=(long c) const { return UniChar() != c; } bool operator !=(unsigned long c) const { return UniChar() != c; } bool operator !=(long long c) const { return UniChar() != c; } bool operator !=(unsigned long long c) const { return UniChar() != c; } bool operator !=(wchar_t c) const { return UniChar() != c; } bool operator >=(const wxUniCharRef& c) const { return UniChar() >= c.UniChar(); } bool operator >=(const wxUniChar& c) const { return UniChar() >= c; } bool operator >=(char c) const { return UniChar() >= c; } bool operator >=(unsigned char c) const { return UniChar() >= c; } bool operator >=(short c) const { return UniChar() >= c; } bool operator >=(unsigned short c) const { return UniChar() >= c; } bool operator >=(int c) const { return UniChar() >= c; } bool operator >=(unsigned int c) const { return UniChar() >= c; } bool operator >=(long c) const { return UniChar() >= c; } bool operator >=(unsigned long c) const { return UniChar() >= c; } bool operator >=(long long c) const { return UniChar() >= c; } bool operator >=(unsigned long long c) const { return UniChar() >= c; } bool operator >=(wchar_t c) const { return UniChar() >= c; } bool operator <=(const wxUniCharRef& c) const { return UniChar() <= c.UniChar(); } bool operator <=(const wxUniChar& c) const { return UniChar() <= c; } bool operator <=(char c) const { return UniChar() <= c; } bool operator <=(unsigned char c) const { return UniChar() <= c; } bool operator <=(short c) const { return UniChar() <= c; } bool operator <=(unsigned short c) const { return UniChar() <= c; } bool operator <=(int c) const { return UniChar() <= c; } bool operator <=(unsigned int c) const { return UniChar() <= c; } bool operator <=(long c) const { return UniChar() <= c; } bool operator <=(unsigned long c) const { return UniChar() <= c; } bool operator <=(long long c) const { return UniChar() <= c; } bool operator <=(unsigned long long c) const { return UniChar() <= c; } bool operator <=(wchar_t c) const { return UniChar() <= c; } bool operator >(const wxUniCharRef& c) const { return UniChar() > c.UniChar(); } bool operator >(const wxUniChar& c) const { return UniChar() > c; } bool operator >(char c) const { return UniChar() > c; } bool operator >(unsigned char c) const { return UniChar() > c; } bool operator >(short c) const { return UniChar() > c; } bool operator >(unsigned short c) const { return UniChar() > c; } bool operator >(int c) const { return UniChar() > c; } bool operator >(unsigned int c) const { return UniChar() > c; } bool operator >(long c) const { return UniChar() > c; } bool operator >(unsigned long c) const { return UniChar() > c; } bool operator >(long long c) const { return UniChar() > c; } bool operator >(unsigned long long c) const { return UniChar() > c; } bool operator >(wchar_t c) const { return UniChar() > c; } bool operator <(const wxUniCharRef& c) const { return UniChar() < c.UniChar(); } bool operator <(const wxUniChar& c) const { return UniChar() < c; } bool operator <(char c) const { return UniChar() < c; } bool operator <(unsigned char c) const { return UniChar() < c; } bool operator <(short c) const { return UniChar() < c; } bool operator <(unsigned short c) const { return UniChar() < c; } bool operator <(int c) const { return UniChar() < c; } bool operator <(unsigned int c) const { return UniChar() < c; } bool operator <(long c) const { return UniChar() < c; } bool operator <(unsigned long c) const { return UniChar() < c; } bool operator <(long long c) const { return UniChar() < c; } bool operator <(unsigned long long c) const { return UniChar() < c; } bool operator <(wchar_t c) const { return UniChar() < c; } > > > > > > int operator-(const wxUniCharRef& c) const { return UniChar() - c.UniChar(); } > int operator-(const wxUniChar& c) const { return UniChar() - c; } > int operator-(char c) const { return UniChar() - c; } > int operator-(unsigned char c) const { return UniChar() - c; } > int operator-(wchar_t c) const { return UniChar() - c; } > >private: > > wxUniChar UniChar() const; > > > > > friend class wxUniChar; > >private: > > > wxString& m_str; > > iterator m_pos; >}; > >inline wxUniChar::wxUniChar(const wxUniCharRef& c) >{ > m_value = c.UniChar().m_value; >} > >inline wxUniChar& wxUniChar::operator=(const wxUniCharRef& c) >{ > m_value = c.UniChar().m_value; > return *this; >} > > > > >inline bool operator ==(char x, const wxUniChar& y) { return y == x; } inline bool operator !=(char x, const wxUniChar& y) { return y != x; } inline bool operator >=(char x, const wxUniChar& y) { return y <= x; } inline bool operator <=(char x, const wxUniChar& y) { return y >= x; } inline bool operator >(char x, const wxUniChar& y) { return y < x; } inline bool operator <(char x, const wxUniChar& y) { return y > x; } >inline bool operator ==(char x, const wxUniCharRef& y) { return y == x; } inline bool operator !=(char x, const wxUniCharRef& y) { return y != x; } inline bool operator >=(char x, const wxUniCharRef& y) { return y <= x; } inline bool operator <=(char x, const wxUniCharRef& y) { return y >= x; } inline bool operator >(char x, const wxUniCharRef& y) { return y < x; } inline bool operator <(char x, const wxUniCharRef& y) { return y > x; } > >inline bool operator ==(wchar_t x, const wxUniChar& y) { return y == x; } inline bool operator !=(wchar_t x, const wxUniChar& y) { return y != x; } inline bool operator >=(wchar_t x, const wxUniChar& y) { return y <= x; } inline bool operator <=(wchar_t x, const wxUniChar& y) { return y >= x; } inline bool operator >(wchar_t x, const wxUniChar& y) { return y < x; } inline bool operator <(wchar_t x, const wxUniChar& y) { return y > x; } >inline bool operator ==(wchar_t x, const wxUniCharRef& y) { return y == x; } inline bool operator !=(wchar_t x, const wxUniCharRef& y) { return y != x; } inline bool operator >=(wchar_t x, const wxUniCharRef& y) { return y <= x; } inline bool operator <=(wchar_t x, const wxUniCharRef& y) { return y >= x; } inline bool operator >(wchar_t x, const wxUniCharRef& y) { return y < x; } inline bool operator <(wchar_t x, const wxUniCharRef& y) { return y > x; } > >inline bool operator ==(const wxUniChar& x, const wxUniCharRef& y) { return y == x; } inline bool operator !=(const wxUniChar& x, const wxUniCharRef& y) { return y != x; } inline bool operator >=(const wxUniChar& x, const wxUniCharRef& y) { return y <= x; } inline bool operator <=(const wxUniChar& x, const wxUniCharRef& y) { return y >= x; } inline bool operator >(const wxUniChar& x, const wxUniCharRef& y) { return y < x; } inline bool operator <(const wxUniChar& x, const wxUniCharRef& y) { return y > x; } > > >inline int operator-(char c1, const wxUniCharRef& c2) { return -(c2 - c1); } >inline int operator-(const wxUniChar& c1, const wxUniCharRef& c2) { return -(c2 - c1); } >inline int operator-(wchar_t c1, const wxUniCharRef& c2) { return -(c2 - c1); } ># 23 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" 2 > > > > > > > ># 1 "/usr/include/c++/4.9.1/tr1/type_traits" 1 3 ># 32 "/usr/include/c++/4.9.1/tr1/type_traits" 3 ># 33 "/usr/include/c++/4.9.1/tr1/type_traits" 3 > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ >namespace tr1 >{ > > > > > > > > struct __sfinae_types > { > typedef char __one; > typedef struct { char __arr[2]; } __two; > }; ># 70 "/usr/include/c++/4.9.1/tr1/type_traits" 3 > template<typename _Tp, _Tp __v> > struct integral_constant > { > static const _Tp value = __v; > typedef _Tp value_type; > typedef integral_constant<_Tp, __v> type; > }; > > > typedef integral_constant<bool, true> true_type; > > > typedef integral_constant<bool, false> false_type; > > template<typename _Tp, _Tp __v> > const _Tp integral_constant<_Tp, __v>::value; > > > template<typename> > struct remove_cv; > > template<typename> > struct __is_void_helper > : public false_type { }; > template<> struct __is_void_helper<void> : public integral_constant<bool, true> { }; > > > > > template<typename _Tp> > struct is_void > : public integral_constant<bool, (__is_void_helper<typename > remove_cv<_Tp>::type>::value)> > { }; > > template<typename> > struct __is_integral_helper > : public false_type { }; > template<> struct __is_integral_helper<bool> : public integral_constant<bool, true> { }; > template<> struct __is_integral_helper<char> : public integral_constant<bool, true> { }; > template<> struct __is_integral_helper<signed char> : public integral_constant<bool, true> { }; > template<> struct __is_integral_helper<unsigned char> : public integral_constant<bool, true> { }; > > template<> struct __is_integral_helper<wchar_t> : public integral_constant<bool, true> { }; > > template<> struct __is_integral_helper<short> : public integral_constant<bool, true> { }; > template<> struct __is_integral_helper<unsigned short> : public integral_constant<bool, true> { }; > template<> struct __is_integral_helper<int> : public integral_constant<bool, true> { }; > template<> struct __is_integral_helper<unsigned int> : public integral_constant<bool, true> { }; > template<> struct __is_integral_helper<long> : public integral_constant<bool, true> { }; > template<> struct __is_integral_helper<unsigned long> : public integral_constant<bool, true> { }; > template<> struct __is_integral_helper<long long> : public integral_constant<bool, true> { }; > template<> struct __is_integral_helper<unsigned long long> : public integral_constant<bool, true> { }; > > > template<typename _Tp> > struct is_integral > : public integral_constant<bool, (__is_integral_helper<typename > remove_cv<_Tp>::type>::value)> > { }; > > template<typename> > struct __is_floating_point_helper > : public false_type { }; > template<> struct __is_floating_point_helper<float> : public integral_constant<bool, true> { }; > template<> struct __is_floating_point_helper<double> : public integral_constant<bool, true> { }; > template<> struct __is_floating_point_helper<long double> : public integral_constant<bool, true> { }; > > > template<typename _Tp> > struct is_floating_point > : public integral_constant<bool, (__is_floating_point_helper<typename > remove_cv<_Tp>::type>::value)> > { }; > > > template<typename> > struct is_array > : public false_type { }; > > template<typename _Tp, std::size_t _Size> > struct is_array<_Tp[_Size]> > : public true_type { }; > > template<typename _Tp> > struct is_array<_Tp[]> > : public true_type { }; > > template<typename> > struct __is_pointer_helper > : public false_type { }; > template<typename _Tp> struct __is_pointer_helper<_Tp*> : public integral_constant<bool, true> { }; > > > template<typename _Tp> > struct is_pointer > : public integral_constant<bool, (__is_pointer_helper<typename > remove_cv<_Tp>::type>::value)> > { }; > > > template<typename _Tp> > struct is_reference; > > > template<typename _Tp> > struct is_function; > > template<typename> > struct __is_member_object_pointer_helper > : public false_type { }; > template<typename _Tp, typename _Cp> struct __is_member_object_pointer_helper<_Tp _Cp::*> : public integral_constant<bool, !is_function<_Tp>::value> { }; > > > > template<typename _Tp> > struct is_member_object_pointer > : public integral_constant<bool, (__is_member_object_pointer_helper< > typename remove_cv<_Tp>::type>::value)> > { }; > > template<typename> > struct __is_member_function_pointer_helper > : public false_type { }; > template<typename _Tp, typename _Cp> struct __is_member_function_pointer_helper<_Tp _Cp::*> : public integral_constant<bool, is_function<_Tp>::value> { }; > > > > template<typename _Tp> > struct is_member_function_pointer > : public integral_constant<bool, (__is_member_function_pointer_helper< > typename remove_cv<_Tp>::type>::value)> > { }; > > > template<typename _Tp> > struct is_enum > : public integral_constant<bool, __is_enum(_Tp)> > { }; > > > template<typename _Tp> > struct is_union > : public integral_constant<bool, __is_union(_Tp)> > { }; > > > template<typename _Tp> > struct is_class > : public integral_constant<bool, __is_class(_Tp)> > { }; > > > template<typename> > struct is_function > : public false_type { }; > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...)> > : public true_type { }; > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......)> > : public true_type { }; > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) const> > : public true_type { }; > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) const> > : public true_type { }; > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) volatile> > : public true_type { }; > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) volatile> > : public true_type { }; > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes...) const volatile> > : public true_type { }; > template<typename _Res, typename... _ArgTypes> > struct is_function<_Res(_ArgTypes......) const volatile> > : public true_type { }; > > > > > template<typename _Tp> > struct is_arithmetic > : public integral_constant<bool, (is_integral<_Tp>::value > || is_floating_point<_Tp>::value)> > { }; > > > template<typename _Tp> > struct is_fundamental > : public integral_constant<bool, (is_arithmetic<_Tp>::value > || is_void<_Tp>::value)> > { }; > > > template<typename _Tp> > struct is_object > : public integral_constant<bool, !(is_function<_Tp>::value > || is_reference<_Tp>::value > || is_void<_Tp>::value)> > { }; > > > template<typename _Tp> > struct is_member_pointer; > > > template<typename _Tp> > struct is_scalar > : public integral_constant<bool, (is_arithmetic<_Tp>::value > || is_enum<_Tp>::value > || is_pointer<_Tp>::value > || is_member_pointer<_Tp>::value)> > { }; > > > template<typename _Tp> > struct is_compound > : public integral_constant<bool, !is_fundamental<_Tp>::value> { }; > > > template<typename _Tp> > struct __is_member_pointer_helper > : public false_type { }; > template<typename _Tp, typename _Cp> struct __is_member_pointer_helper<_Tp _Cp::*> : public integral_constant<bool, true> { }; > > template<typename _Tp> > struct is_member_pointer > : public integral_constant<bool, (__is_member_pointer_helper< > typename remove_cv<_Tp>::type>::value)> > { }; > > > > template<typename> > struct is_const > : public false_type { }; > > template<typename _Tp> > struct is_const<_Tp const> > : public true_type { }; > > > template<typename> > struct is_volatile > : public false_type { }; > > template<typename _Tp> > struct is_volatile<_Tp volatile> > : public true_type { }; > > > template<typename _Tp> > struct is_empty > : public integral_constant<bool, __is_empty(_Tp)> > { }; > > > template<typename _Tp> > struct is_polymorphic > : public integral_constant<bool, __is_polymorphic(_Tp)> > { }; > > > template<typename _Tp> > struct is_abstract > : public integral_constant<bool, __is_abstract(_Tp)> > { }; > > > template<typename _Tp> > struct has_virtual_destructor > : public integral_constant<bool, __has_virtual_destructor(_Tp)> > { }; > > > template<typename _Tp> > struct alignment_of > : public integral_constant<std::size_t, __alignof__(_Tp)> { }; > > > template<typename> > struct rank > : public integral_constant<std::size_t, 0> { }; > > template<typename _Tp, std::size_t _Size> > struct rank<_Tp[_Size]> > : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { }; > > template<typename _Tp> > struct rank<_Tp[]> > : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { }; > > > template<typename, unsigned _Uint = 0> > struct extent > : public integral_constant<std::size_t, 0> { }; > > template<typename _Tp, unsigned _Uint, std::size_t _Size> > struct extent<_Tp[_Size], _Uint> > : public integral_constant<std::size_t, > _Uint == 0 ? _Size : extent<_Tp, > _Uint - 1>::value> > { }; > > template<typename _Tp, unsigned _Uint> > struct extent<_Tp[], _Uint> > : public integral_constant<std::size_t, > _Uint == 0 ? 0 : extent<_Tp, > _Uint - 1>::value> > { }; > > > > > template<typename, typename> > struct is_same > : public false_type { }; > > template<typename _Tp> > struct is_same<_Tp, _Tp> > : public true_type { }; > > > > > template<typename _Tp> > struct remove_const > { typedef _Tp type; }; > > template<typename _Tp> > struct remove_const<_Tp const> > { typedef _Tp type; }; > > > template<typename _Tp> > struct remove_volatile > { typedef _Tp type; }; > > template<typename _Tp> > struct remove_volatile<_Tp volatile> > { typedef _Tp type; }; > > > template<typename _Tp> > struct remove_cv > { > typedef typename > remove_const<typename remove_volatile<_Tp>::type>::type type; > }; > > > template<typename _Tp> > struct add_const > { typedef _Tp const type; }; > > > template<typename _Tp> > struct add_volatile > { typedef _Tp volatile type; }; > > > template<typename _Tp> > struct add_cv > { > typedef typename > add_const<typename add_volatile<_Tp>::type>::type type; > }; > > > > > template<typename _Tp> > struct remove_extent > { typedef _Tp type; }; > > template<typename _Tp, std::size_t _Size> > struct remove_extent<_Tp[_Size]> > { typedef _Tp type; }; > > template<typename _Tp> > struct remove_extent<_Tp[]> > { typedef _Tp type; }; > > > template<typename _Tp> > struct remove_all_extents > { typedef _Tp type; }; > > template<typename _Tp, std::size_t _Size> > struct remove_all_extents<_Tp[_Size]> > { typedef typename remove_all_extents<_Tp>::type type; }; > > template<typename _Tp> > struct remove_all_extents<_Tp[]> > { typedef typename remove_all_extents<_Tp>::type type; }; > > > > template<typename _Tp, typename> > struct __remove_pointer_helper > { typedef _Tp type; }; > > template<typename _Tp, typename _Up> > struct __remove_pointer_helper<_Tp, _Up*> > { typedef _Up type; }; > > > template<typename _Tp> > struct remove_pointer > : public __remove_pointer_helper<_Tp, typename remove_cv<_Tp>::type> > { }; > > template<typename> > struct remove_reference; > > > template<typename _Tp> > struct add_pointer > { typedef typename remove_reference<_Tp>::type* type; }; > > template<typename> > struct is_reference > : public false_type { }; > > template<typename _Tp> > struct is_reference<_Tp&> > : public true_type { }; > > template<typename _Tp> > struct is_pod > : public integral_constant<bool, __is_pod(_Tp) || is_void<_Tp>::value> > { }; > > template<typename _Tp> > struct has_trivial_constructor > : public integral_constant<bool, is_pod<_Tp>::value> > { }; > > template<typename _Tp> > struct has_trivial_copy > : public integral_constant<bool, is_pod<_Tp>::value> > { }; > > template<typename _Tp> > struct has_trivial_assign > : public integral_constant<bool, is_pod<_Tp>::value> > { }; > > template<typename _Tp> > struct has_trivial_destructor > : public integral_constant<bool, is_pod<_Tp>::value> > { }; > > template<typename _Tp> > struct has_nothrow_constructor > : public integral_constant<bool, is_pod<_Tp>::value> > { }; > > template<typename _Tp> > struct has_nothrow_copy > : public integral_constant<bool, is_pod<_Tp>::value> > { }; > > template<typename _Tp> > struct has_nothrow_assign > : public integral_constant<bool, is_pod<_Tp>::value> > { }; > > template<typename> > struct __is_signed_helper > : public false_type { }; > template<> struct __is_signed_helper<signed char> : public integral_constant<bool, true> { }; > template<> struct __is_signed_helper<short> : public integral_constant<bool, true> { }; > template<> struct __is_signed_helper<int> : public integral_constant<bool, true> { }; > template<> struct __is_signed_helper<long> : public integral_constant<bool, true> { }; > template<> struct __is_signed_helper<long long> : public integral_constant<bool, true> { }; > > template<typename _Tp> > struct is_signed > : public integral_constant<bool, (__is_signed_helper<typename > remove_cv<_Tp>::type>::value)> > { }; > > template<typename> > struct __is_unsigned_helper > : public false_type { }; > template<> struct __is_unsigned_helper<unsigned char> : public integral_constant<bool, true> { }; > template<> struct __is_unsigned_helper<unsigned short> : public integral_constant<bool, true> { }; > template<> struct __is_unsigned_helper<unsigned int> : public integral_constant<bool, true> { }; > template<> struct __is_unsigned_helper<unsigned long> : public integral_constant<bool, true> { }; > template<> struct __is_unsigned_helper<unsigned long long> : public integral_constant<bool, true> { }; > > template<typename _Tp> > struct is_unsigned > : public integral_constant<bool, (__is_unsigned_helper<typename > remove_cv<_Tp>::type>::value)> > { }; > > template<typename _Base, typename _Derived> > struct __is_base_of_helper > { > typedef typename remove_cv<_Base>::type _NoCv_Base; > typedef typename remove_cv<_Derived>::type _NoCv_Derived; > static const bool __value = (is_same<_Base, _Derived>::value > || (__is_base_of(_Base, _Derived) > && !is_same<_NoCv_Base, > _NoCv_Derived>::value)); > }; > > template<typename _Base, typename _Derived> > struct is_base_of > : public integral_constant<bool, > __is_base_of_helper<_Base, _Derived>::__value> > { }; > > template<typename _From, typename _To> > struct __is_convertible_simple > : public __sfinae_types > { > private: > static __one __test(_To); > static __two __test(...); > static _From __makeFrom(); > > public: > static const bool __value = sizeof(__test(__makeFrom())) == 1; > }; > > template<typename _Tp> > struct add_reference; > > template<typename _Tp> > struct __is_int_or_cref > { > typedef typename remove_reference<_Tp>::type __rr_Tp; > static const bool __value = (is_integral<_Tp>::value > || (is_integral<__rr_Tp>::value > && is_const<__rr_Tp>::value > && !is_volatile<__rr_Tp>::value)); > }; > > template<typename _From, typename _To, > bool = (is_void<_From>::value || is_void<_To>::value > || is_function<_To>::value || is_array<_To>::value > > || (is_floating_point<typename > remove_reference<_From>::type>::value > && __is_int_or_cref<_To>::__value))> > struct __is_convertible_helper > { > > static const bool __value = (__is_convertible_simple<typename > add_reference<_From>::type, _To>::__value); > }; > > template<typename _From, typename _To> > struct __is_convertible_helper<_From, _To, true> > { static const bool __value = (is_void<_To>::value > || (__is_int_or_cref<_To>::__value > && !is_void<_From>::value)); }; > > template<typename _From, typename _To> > struct is_convertible > : public integral_constant<bool, > __is_convertible_helper<_From, _To>::__value> > { }; > > > template<typename _Tp> > struct remove_reference > { typedef _Tp type; }; > > template<typename _Tp> > struct remove_reference<_Tp&> > { typedef _Tp type; }; > > > template<typename _Tp, bool = (is_void<_Tp>::value > || is_reference<_Tp>::value)> > struct __add_reference_helper > { typedef _Tp& type; }; > > template<typename _Tp> > struct __add_reference_helper<_Tp, true> > { typedef _Tp type; }; > > template<typename _Tp> > struct add_reference > : public __add_reference_helper<_Tp> > { }; > > > template<std::size_t _Len, std::size_t _Align> > struct aligned_storage > { > union type > { > unsigned char __data[_Len]; > struct __attribute__((__aligned__((_Align)))) { } __align; > }; > }; ># 683 "/usr/include/c++/4.9.1/tr1/type_traits" 3 > >} >} ># 31 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" 2 > > > >class wxCStrData; >class wxString; ># 136 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" >class wxFormatString >{ >public: > wxFormatString(const char *str) > : m_char(wxScopedCharBuffer::CreateNonOwned(str)), m_str(__null), m_cstr(__null) {} > wxFormatString(const wchar_t *str) > : m_wchar(wxScopedWCharBuffer::CreateNonOwned(str)), m_str(__null), m_cstr(__null) {} > wxFormatString(const wxString& str) > : m_str(&str), m_cstr(__null) {} > wxFormatString(const wxCStrData& str) > : m_str(__null), m_cstr(&str) {} > wxFormatString(const wxScopedCharBuffer& str) > : m_char(str), m_str(__null), m_cstr(__null) {} > wxFormatString(const wxScopedWCharBuffer& str) > : m_wchar(str), m_str(__null), m_cstr(__null) {} > > > > > > enum ArgumentType > { > Arg_Char = 0x0001, > Arg_Pointer = 0x0002, > Arg_String = 0x0004 | Arg_Pointer, > > Arg_Int = 0x0008 | Arg_Char, > > Arg_LongInt = Arg_Int, > > > > > > > Arg_LongLongInt = 0x0020, > > > Arg_Double = 0x0040, > Arg_LongDouble = 0x0080, > > > > > Arg_Size_t = Arg_LongInt, > > > > > > > Arg_IntPtr = 0x0200, > Arg_ShortIntPtr = 0x0400, > Arg_LongIntPtr = 0x0800, > > Arg_Unknown = 0x8000 > }; > > > > > > ArgumentType GetArgumentType(unsigned n) const; > > > > wxString InputAsString() const; > > > operator const char*() const > { return const_cast<wxFormatString*>(this)->AsChar(); } >private: > > > > > const char* InputAsChar(); > const char* AsChar(); > wxScopedCharBuffer m_convertedChar; > > > >public: > operator const wchar_t*() const > { return const_cast<wxFormatString*>(this)->AsWChar(); } >private: > const wchar_t* InputAsWChar(); > const wchar_t* AsWChar(); > wxScopedWCharBuffer m_convertedWChar; > > >private: > wxScopedCharBuffer m_char; > wxScopedWCharBuffer m_wchar; > > > > > const wxString * const m_str; > const wxCStrData * const m_cstr; > > private: wxFormatString& operator=(const wxFormatString&); >}; > > > >struct wxFormatStringArgument >{ > wxFormatStringArgument(const wxFormatString *s = __null) : m_str(s) {} > const wxFormatString *m_str; > > > wxFormatStringArgument operator,(const wxFormatStringArgument& a) const > { > do { if ( wxTheAssertHandler && !(m_str == __null || a.m_str == __null) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" ># 250 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" > , > 251 ># 250 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" > , __FUNCTION__, "m_str == NULL || a.m_str == NULL", "can't have two format strings in vararg function"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > ; > return wxFormatStringArgument(m_str ? m_str : a.m_str); > } > > operator const wxFormatString*() const { return m_str; } >}; > >template<typename T> >struct wxFormatStringArgumentFinder >{ > static wxFormatStringArgument find(T) > { > > return wxFormatStringArgument(); > } >}; > >template<> >struct wxFormatStringArgumentFinder<const wxFormatString&> >{ > static wxFormatStringArgument find(const wxFormatString& arg) > { return wxFormatStringArgument(&arg); } >}; > >template<> >struct wxFormatStringArgumentFinder<wxFormatString> > : public wxFormatStringArgumentFinder<const wxFormatString&> {}; > > > >template<> >struct wxFormatStringArgumentFinder<wxString> > : public wxFormatStringArgumentFinder<const wxString&> {}; > >template<> >struct wxFormatStringArgumentFinder<wxScopedCharBuffer> > : public wxFormatStringArgumentFinder<const wxScopedCharBuffer&> {}; > >template<> >struct wxFormatStringArgumentFinder<wxScopedWCharBuffer> > : public wxFormatStringArgumentFinder<const wxScopedWCharBuffer&> {}; > >template<> >struct wxFormatStringArgumentFinder<wxCharBuffer> > : public wxFormatStringArgumentFinder<const wxCharBuffer&> {}; > >template<> >struct wxFormatStringArgumentFinder<wxWCharBuffer> > : public wxFormatStringArgumentFinder<const wxWCharBuffer&> {}; ># 332 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" >template<bool IsEnum> >struct wxFormatStringSpecifierNonPodType {}; > >template<> >struct wxFormatStringSpecifierNonPodType<true> >{ > enum { value = wxFormatString::Arg_Int }; >}; > >template<typename T> >struct wxFormatStringSpecifier >{ > > > > typedef std::tr1::is_enum<T> is_enum; > > enum { value = wxFormatStringSpecifierNonPodType<is_enum::value>::value }; >}; ># 376 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" >template<typename T> >struct wxFormatStringSpecifier<T*> >{ > enum { value = wxFormatString::Arg_Pointer }; >}; > >template<typename T> >struct wxFormatStringSpecifier<const T*> >{ > enum { value = wxFormatString::Arg_Pointer }; >}; ># 396 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" >template<> struct wxFormatStringSpecifier<bool> { enum { value = wxFormatString::Arg_Int }; }; >template<> struct wxFormatStringSpecifier<int> { enum { value = wxFormatString::Arg_Int }; }; >template<> struct wxFormatStringSpecifier<unsigned int> { enum { value = wxFormatString::Arg_Int }; }; >template<> struct wxFormatStringSpecifier<short int> { enum { value = wxFormatString::Arg_Int }; }; >template<> struct wxFormatStringSpecifier<short unsigned int> { enum { value = wxFormatString::Arg_Int }; }; >template<> struct wxFormatStringSpecifier<long int> { enum { value = wxFormatString::Arg_LongInt }; }; >template<> struct wxFormatStringSpecifier<long unsigned int> { enum { value = wxFormatString::Arg_LongInt }; }; > >template<> struct wxFormatStringSpecifier<long long> { enum { value = wxFormatString::Arg_LongLongInt }; }; >template<> struct wxFormatStringSpecifier<unsigned long long> { enum { value = wxFormatString::Arg_LongLongInt }; }; > >template<> struct wxFormatStringSpecifier<float> { enum { value = wxFormatString::Arg_Double }; }; >template<> struct wxFormatStringSpecifier<double> { enum { value = wxFormatString::Arg_Double }; }; >template<> struct wxFormatStringSpecifier<long double> { enum { value = wxFormatString::Arg_LongDouble }; }; > > >template<> struct wxFormatStringSpecifier<wchar_t> { enum { value = wxFormatString::Arg_Char | wxFormatString::Arg_Int }; }; ># 421 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" >template<> struct wxFormatStringSpecifier<char*> { enum { value = wxFormatString::Arg_String }; }; >template<> struct wxFormatStringSpecifier<unsigned char*> { enum { value = wxFormatString::Arg_String }; }; >template<> struct wxFormatStringSpecifier<signed char*> { enum { value = wxFormatString::Arg_String }; }; >template<> struct wxFormatStringSpecifier<const char*> { enum { value = wxFormatString::Arg_String }; }; >template<> struct wxFormatStringSpecifier<const unsigned char*> { enum { value = wxFormatString::Arg_String }; }; >template<> struct wxFormatStringSpecifier<const signed char*> { enum { value = wxFormatString::Arg_String }; }; >template<> struct wxFormatStringSpecifier<wchar_t*> { enum { value = wxFormatString::Arg_String }; }; >template<> struct wxFormatStringSpecifier<const wchar_t*> { enum { value = wxFormatString::Arg_String }; }; > >template<> struct wxFormatStringSpecifier<int*> { enum { value = wxFormatString::Arg_IntPtr | wxFormatString::Arg_Pointer }; }; >template<> struct wxFormatStringSpecifier<short int*> { enum { value = wxFormatString::Arg_ShortIntPtr | wxFormatString::Arg_Pointer }; }; >template<> struct wxFormatStringSpecifier<long int*> { enum { value = wxFormatString::Arg_LongIntPtr | wxFormatString::Arg_Pointer }; }; > > > > > > > >template<typename T> >struct wxArgNormalizer >{ > > > > > wxArgNormalizer(T value, > const wxFormatString *fmt, unsigned index) > : m_value(value) > { > do { if ( !fmt ) break; const int argtype = fmt->GetArgumentType(index); do { if ( wxTheAssertHandler && !((argtype & (wxFormatStringSpecifier<T>::value)) == argtype) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h", 451, __FUNCTION__, "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype", "format specifier doesn't match argument type"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); } while ( (void)0, 0 ); > } > > > > > T get() const { return m_value; } > > T m_value; >}; > > > > > >template<typename T> >struct wxArgNormalizerWchar : public wxArgNormalizer<T> >{ > wxArgNormalizerWchar(T value, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizer<T>(value, fmt, index) {} >}; > > > > > > template<typename T> > struct wxArgNormalizerUtf8 : public wxArgNormalizer<T> > { > wxArgNormalizerUtf8(T value, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizer<T>(value, fmt, index) {} > }; ># 499 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" >template<typename CharType> >struct wxArgNormalizerWithBuffer >{ > typedef wxScopedCharTypeBuffer<CharType> CharBuffer; > > wxArgNormalizerWithBuffer() {} > wxArgNormalizerWithBuffer(const CharBuffer& buf, > const wxFormatString *fmt, > unsigned index) > : m_value(buf) > { > do { if ( !fmt ) break; const int argtype = fmt->GetArgumentType(index); do { if ( wxTheAssertHandler && !((argtype & (wxFormatString::Arg_String)) == argtype) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h", 510, __FUNCTION__, "(argtype & (wxFormatString::Arg_String)) == argtype", "format specifier doesn't match argument type"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); } while ( (void)0, 0 ); > } > > const CharType *get() const { return m_value; } > > CharBuffer m_value; >}; > > >template<> >struct wxArgNormalizerUtf8<const wxString&> >{ > wxArgNormalizerUtf8(const wxString& s, > const wxFormatString *fmt, > unsigned index) > : m_value(s) > { > do { if ( !fmt ) break; const int argtype = fmt->GetArgumentType(index); do { if ( wxTheAssertHandler && !((argtype & (wxFormatString::Arg_String)) == argtype) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h", 527, __FUNCTION__, "(argtype & (wxFormatString::Arg_String)) == argtype", "format specifier doesn't match argument type"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); } while ( (void)0, 0 ); > } > > const wxStringCharType *get() const; > > const wxString& m_value; >}; > > >template<> >struct wxArgNormalizerUtf8<const wxCStrData&> >{ > wxArgNormalizerUtf8(const wxCStrData& value, > const wxFormatString *fmt, > unsigned index) > : m_value(value) > { > do { if ( !fmt ) break; const int argtype = fmt->GetArgumentType(index); do { if ( wxTheAssertHandler && !((argtype & (wxFormatString::Arg_String)) == argtype) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h", 544, __FUNCTION__, "(argtype & (wxFormatString::Arg_String)) == argtype", "format specifier doesn't match argument type"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); } while ( (void)0, 0 ); > } > > const wxStringCharType *get() const; > > const wxCStrData& m_value; >}; > > > >template<> >struct wxArgNormalizerWchar<const wxString&> > : public wxArgNormalizerWithBuffer<wchar_t> >{ > wxArgNormalizerWchar(const wxString& s, > const wxFormatString *fmt, unsigned index); >}; > >template<> >struct wxArgNormalizerWchar<const wxCStrData&> > : public wxArgNormalizerWithBuffer<wchar_t> >{ > wxArgNormalizerWchar(const wxCStrData& s, > const wxFormatString *fmt, unsigned index); >}; ># 587 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" >template<> >struct wxArgNormalizerUtf8<const wchar_t*> > : public wxArgNormalizerWithBuffer<char> >{ > wxArgNormalizerUtf8(const wchar_t* s, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizerWithBuffer<char>(wxGet_wxConvUTF8().cWC2MB(s), fmt, index) {} >}; > >template<> >struct wxArgNormalizerUtf8<const char*> > : public wxArgNormalizerWithBuffer<char> >{ > wxArgNormalizerUtf8(const char* s, > const wxFormatString *fmt, > unsigned index) > { > do { if ( !fmt ) break; const int argtype = fmt->GetArgumentType(index); do { if ( wxTheAssertHandler && !((argtype & (wxFormatString::Arg_String)) == argtype) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h", 604, __FUNCTION__, "(argtype & (wxFormatString::Arg_String)) == argtype", "format specifier doesn't match argument type"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); } while ( (void)0, 0 ); > > if ( wxLocaleIsUtf8 ) > { > m_value = wxScopedCharBuffer::CreateNonOwned(s); > } > else > { > > wxScopedWCharBuffer buf(wxGet_wxConvLibc().cMB2WC(s)); > > > if ( buf ) > m_value = wxGet_wxConvUTF8().cWC2MB(buf); > } > } >}; > > > >template<> >struct wxArgNormalizerWchar<const char*> > : public wxArgNormalizerWithBuffer<wchar_t> >{ > wxArgNormalizerWchar(const char* s, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizerWithBuffer<wchar_t>(wxGet_wxConvLibc().cMB2WC(s), fmt, index) {} >}; ># 676 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" >template<> struct wxArgNormalizerWchar<wxString> : public wxArgNormalizerWchar<const wxString&> { wxArgNormalizerWchar(const wxString& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const wxString&>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<wxString> : public wxArgNormalizerUtf8<const wxString&> { wxArgNormalizerUtf8(const wxString& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const wxString&>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<wxCStrData> : public wxArgNormalizerWchar<const wxCStrData&> { wxArgNormalizerWchar(const wxCStrData& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const wxCStrData&>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<wxCStrData> : public wxArgNormalizerUtf8<const wxCStrData&> { wxArgNormalizerUtf8(const wxCStrData& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const wxCStrData&>(value, fmt, index) {} }; > > >template<> struct wxArgNormalizerWchar<char*> : public wxArgNormalizerWchar<const char*> { wxArgNormalizerWchar(const char* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const char*>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<char*> : public wxArgNormalizerUtf8<const char*> { wxArgNormalizerUtf8(const char* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const char*>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<wchar_t*> : public wxArgNormalizerWchar<const wchar_t*> { wxArgNormalizerWchar(const wchar_t* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const wchar_t*>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<wchar_t*> : public wxArgNormalizerUtf8<const wchar_t*> { wxArgNormalizerUtf8(const wchar_t* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const wchar_t*>(value, fmt, index) {} }; > > >template<> struct wxArgNormalizerWchar<wxScopedCharBuffer> : public wxArgNormalizerWchar<const char*> { wxArgNormalizerWchar(const char* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const char*>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<wxScopedCharBuffer> : public wxArgNormalizerUtf8<const char*> { wxArgNormalizerUtf8(const char* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const char*>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<const wxScopedCharBuffer&> : public wxArgNormalizerWchar<const char*> { wxArgNormalizerWchar(const char* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const char*>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<const wxScopedCharBuffer&> : public wxArgNormalizerUtf8<const char*> { wxArgNormalizerUtf8(const char* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const char*>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<wxScopedWCharBuffer> : public wxArgNormalizerWchar<const wchar_t*> { wxArgNormalizerWchar(const wchar_t* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const wchar_t*>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<wxScopedWCharBuffer> : public wxArgNormalizerUtf8<const wchar_t*> { wxArgNormalizerUtf8(const wchar_t* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const wchar_t*>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<const wxScopedWCharBuffer&> : public wxArgNormalizerWchar<const wchar_t*> { wxArgNormalizerWchar(const wchar_t* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const wchar_t*>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<const wxScopedWCharBuffer&> : public wxArgNormalizerUtf8<const wchar_t*> { wxArgNormalizerUtf8(const wchar_t* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const wchar_t*>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<wxCharBuffer> : public wxArgNormalizerWchar<const char*> { wxArgNormalizerWchar(const char* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const char*>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<wxCharBuffer> : public wxArgNormalizerUtf8<const char*> { wxArgNormalizerUtf8(const char* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const char*>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<const wxCharBuffer&> : public wxArgNormalizerWchar<const char*> { wxArgNormalizerWchar(const char* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const char*>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<const wxCharBuffer&> : public wxArgNormalizerUtf8<const char*> { wxArgNormalizerUtf8(const char* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const char*>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<wxWCharBuffer> : public wxArgNormalizerWchar<const wchar_t*> { wxArgNormalizerWchar(const wchar_t* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const wchar_t*>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<wxWCharBuffer> : public wxArgNormalizerUtf8<const wchar_t*> { wxArgNormalizerUtf8(const wchar_t* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const wchar_t*>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<const wxWCharBuffer&> : public wxArgNormalizerWchar<const wchar_t*> { wxArgNormalizerWchar(const wchar_t* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const wchar_t*>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<const wxWCharBuffer&> : public wxArgNormalizerUtf8<const wchar_t*> { wxArgNormalizerUtf8(const wchar_t* value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const wchar_t*>(value, fmt, index) {} }; > > > > > > > >template<> >struct wxArgNormalizerWchar<const std::string&> > : public wxArgNormalizerWchar<const char*> >{ > wxArgNormalizerWchar(const std::string& s, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizerWchar<const char*>(s.c_str(), fmt, index) {} >}; > >template<> >struct wxArgNormalizerWchar<const wxStdWideString&> > : public wxArgNormalizerWchar<const wchar_t*> >{ > wxArgNormalizerWchar(const wxStdWideString& s, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizerWchar<const wchar_t*>(s.c_str(), fmt, index) {} >}; > > > >template<> >struct wxArgNormalizerUtf8<const std::string&> > : public wxArgNormalizerUtf8<const char*> >{ > wxArgNormalizerUtf8(const std::string& s, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizerUtf8<const char*>(s.c_str(), fmt, index) {} >}; > >template<> >struct wxArgNormalizerUtf8<const wxStdWideString&> > : public wxArgNormalizerUtf8<const wchar_t*> >{ > wxArgNormalizerUtf8(const wxStdWideString& s, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizerUtf8<const wchar_t*>(s.c_str(), fmt, index) {} >}; > > >template<> struct wxArgNormalizerWchar<std::string> : public wxArgNormalizerWchar<const std::string&> { wxArgNormalizerWchar(const std::string& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const std::string&>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<std::string> : public wxArgNormalizerUtf8<const std::string&> { wxArgNormalizerUtf8(const std::string& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const std::string&>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<wxStdWideString> : public wxArgNormalizerWchar<const wxStdWideString&> { wxArgNormalizerWchar(const wxStdWideString& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const wxStdWideString&>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<wxStdWideString> : public wxArgNormalizerUtf8<const wxStdWideString&> { wxArgNormalizerUtf8(const wxStdWideString& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const wxStdWideString&>(value, fmt, index) {} }; > > > > > > >template<> >struct wxArgNormalizer<const wxUniChar&> : public wxArgNormalizer<wchar_t> >{ > wxArgNormalizer(const wxUniChar& s, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizer<wchar_t>(((wchar_t)(s.GetValue())), fmt, index) {} >}; ># 762 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" >template<typename T> >struct wxArgNormalizerNarrowChar >{ > wxArgNormalizerNarrowChar(T value, > const wxFormatString *fmt, unsigned index) > { > do { if ( !fmt ) break; const int argtype = fmt->GetArgumentType(index); do { if ( wxTheAssertHandler && !((argtype & (wxFormatString::Arg_Char | wxFormatString::Arg_Int)) == argtype) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" ># 768 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" > , > 769 ># 768 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" > , __FUNCTION__, "(argtype & (wxFormatString::Arg_Char | wxFormatString::Arg_Int)) == argtype", "format specifier doesn't match argument type"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); } while ( (void)0, 0 ) > ; > > > > if ( !fmt || fmt->GetArgumentType(index) == wxFormatString::Arg_Char ) > m_value = ((T)(wxUniChar(value).GetValue())); > else > m_value = value; > } > > int get() const { return m_value; } > > T m_value; >}; > >template<> >struct wxArgNormalizer<char> : public wxArgNormalizerNarrowChar<char> >{ > wxArgNormalizer(char value, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizerNarrowChar<char>(value, fmt, index) {} >}; > >template<> >struct wxArgNormalizer<unsigned char> > : public wxArgNormalizerNarrowChar<unsigned char> >{ > wxArgNormalizer(unsigned char value, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizerNarrowChar<unsigned char>(value, fmt, index) {} >}; > >template<> >struct wxArgNormalizer<signed char> > : public wxArgNormalizerNarrowChar<signed char> >{ > wxArgNormalizer(signed char value, > const wxFormatString *fmt, unsigned index) > : wxArgNormalizerNarrowChar<signed char>(value, fmt, index) {} >}; > > > > >template<> struct wxArgNormalizerWchar<wxUniChar> : public wxArgNormalizerWchar<const wxUniChar&> { wxArgNormalizerWchar(const wxUniChar& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const wxUniChar&>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<wxUniChar> : public wxArgNormalizerUtf8<const wxUniChar&> { wxArgNormalizerUtf8(const wxUniChar& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const wxUniChar&>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<const wxUniCharRef&> : public wxArgNormalizerWchar<const wxUniChar&> { wxArgNormalizerWchar(const wxUniChar& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const wxUniChar&>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<const wxUniCharRef&> : public wxArgNormalizerUtf8<const wxUniChar&> { wxArgNormalizerUtf8(const wxUniChar& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const wxUniChar&>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<wxUniCharRef> : public wxArgNormalizerWchar<const wxUniChar&> { wxArgNormalizerWchar(const wxUniChar& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<const wxUniChar&>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<wxUniCharRef> : public wxArgNormalizerUtf8<const wxUniChar&> { wxArgNormalizerUtf8(const wxUniChar& value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<const wxUniChar&>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<const wchar_t&> : public wxArgNormalizerWchar<wchar_t> { wxArgNormalizerWchar(wchar_t value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<wchar_t>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<const wchar_t&> : public wxArgNormalizerUtf8<wchar_t> { wxArgNormalizerUtf8(wchar_t value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<wchar_t>(value, fmt, index) {} }; > >template<> struct wxArgNormalizerWchar<const char&> : public wxArgNormalizerWchar<char> { wxArgNormalizerWchar(char value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<char>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<const char&> : public wxArgNormalizerUtf8<char> { wxArgNormalizerUtf8(char value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<char>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<const unsigned char&> : public wxArgNormalizerWchar<unsigned char> { wxArgNormalizerWchar(unsigned char value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<unsigned char>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<const unsigned char&> : public wxArgNormalizerUtf8<unsigned char> { wxArgNormalizerUtf8(unsigned char value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<unsigned char>(value, fmt, index) {} }; >template<> struct wxArgNormalizerWchar<const signed char&> : public wxArgNormalizerWchar<signed char> { wxArgNormalizerWchar(signed char value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerWchar<signed char>(value, fmt, index) {} }; template<> struct wxArgNormalizerUtf8<const signed char&> : public wxArgNormalizerUtf8<signed char> { wxArgNormalizerUtf8(signed char value, const wxFormatString *fmt, unsigned index) : wxArgNormalizerUtf8<signed char>(value, fmt, index) {} }; ># 835 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/strvararg.h" >struct wxArgNormalizedString >{ > wxArgNormalizedString(const void* ptr) : m_ptr(ptr) {} > > > bool IsValid() const { return m_ptr != __null; } > operator bool() const { return IsValid(); } > > > wxString GetString() const; > operator wxString() const; > >private: > const void *m_ptr; >}; ># 47 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" 2 > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stringops.h" 1 ># 58 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stringops.h" >struct wxStringOperationsUtf8 >{ > > static bool IsValidUtf8String(const char *c, > size_t len = wxStringImpl::npos); > static bool IsValidUtf8LeadByte(unsigned char c) > { > return (c <= 0x7F) || (c >= 0xC2 && c <= 0xF4); > } > > > static const unsigned char ms_utf8IterTable[256]; > > > template<typename Iterator> > static void IncIter(Iterator& i) > { > do { if ( wxTheAssertHandler && !(IsValidUtf8LeadByte(*i)) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stringops.h", 75, __FUNCTION__, "IsValidUtf8LeadByte(*i)", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > i += ms_utf8IterTable[(unsigned char)*i]; > } > > template<typename Iterator> > static void DecIter(Iterator& i) > { > > > > > > > --i; > while ( ((*i) & 0xC0) == 0x80 ) > --i; > } > > template<typename Iterator> > static Iterator AddToIter(const Iterator& i, ptrdiff_t n) > { > Iterator out(i); > > if ( n > 0 ) > { > for ( ptrdiff_t j = 0; j < n; ++j ) > IncIter(out); > } > else if ( n < 0 ) > { > for ( ptrdiff_t j = 0; j > n; --j ) > DecIter(out); > } > > return out; > } > > template<typename Iterator> > static ptrdiff_t DiffIters(Iterator i1, Iterator i2) > { > ptrdiff_t dist = 0; > > if ( i1 < i2 ) > { > while ( i1 != i2 ) > { > IncIter(i1); > dist--; > } > } > else if ( i2 < i1 ) > { > while ( i2 != i1 ) > { > IncIter(i2); > dist++; > } > } > > return dist; > } > > > typedef wxUniChar::Utf8CharBuffer Utf8CharBuffer; > static Utf8CharBuffer EncodeChar(const wxUniChar& ch) > { return ch.AsUTF8(); } > > > static wxCharBuffer EncodeNChars(size_t n, const wxUniChar& ch); > > > static size_t GetUtf8CharLength(char c) > { > do { if ( wxTheAssertHandler && !(IsValidUtf8LeadByte(c)) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stringops.h", 148, __FUNCTION__, "IsValidUtf8LeadByte(c)", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return ms_utf8IterTable[(unsigned char)c]; > } > > > static wxUniChar DecodeChar(wxStringImpl::const_iterator i) > { > if ( (unsigned char)*i < 0x80 ) > return (int)*i; > return DecodeNonAsciiChar(i); > } > >private: > static wxUniChar DecodeNonAsciiChar(wxStringImpl::const_iterator i); >}; > > > > >typedef wxStringOperationsUtf8 wxStringOperations; ># 51 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" 2 ># 74 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/tls.h" 1 ># 75 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" 2 ># 85 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >class wxString; > > > > > > > >namespace wxPrivate >{ > template <typename T> struct wxStringAsBufHelper; >} ># 153 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >class wxCStrData >{ >private: > > wxCStrData(const wxString *str, size_t offset = 0, bool owned = false) > : m_str(str), m_offset(offset), m_owned(owned) {} > >public: > > > inline wxCStrData(char *buf); > inline wxCStrData(wchar_t *buf); > inline wxCStrData(const wxCStrData& data); > > inline ~wxCStrData(); ># 178 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > inline const wchar_t* AsWChar() const; > operator const wchar_t*() const { return AsWChar(); } > > inline const char* AsChar() const; > const unsigned char* AsUnsignedChar() const > { return (const unsigned char *) AsChar(); } > operator const char*() const { return AsChar(); } > operator const unsigned char*() const { return AsUnsignedChar(); } > > operator const void*() const { return AsChar(); } > > > const wxScopedCharBuffer AsCharBuf() const > { > return wxScopedCharBuffer::CreateNonOwned(AsChar()); > } > > const wxScopedWCharBuffer AsWCharBuf() const > { > return wxScopedWCharBuffer::CreateNonOwned(AsWChar()); > } > > inline wxString AsString() const; > > > > const wxStringCharType *AsInternal() const; > > > inline wxUniChar operator[](size_t n) const; > wxUniChar operator[](int n) const { return operator[](size_t(n)); } > wxUniChar operator[](long n) const { return operator[](size_t(n)); } > > wxUniChar operator[](unsigned int n) const { return operator[](size_t(n)); } > > > > > > > > wxCStrData operator+(int n) const > { return wxCStrData(m_str, m_offset + n, m_owned); } > wxCStrData operator+(long n) const > { return wxCStrData(m_str, m_offset + n, m_owned); } > wxCStrData operator+(size_t n) const > { return wxCStrData(m_str, m_offset + n, m_owned); } > > > > > wxCStrData operator-(ptrdiff_t n) const > { > do { if ( wxTheAssertHandler && !(n <= (ptrdiff_t)m_offset) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" ># 231 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > , > 232 ># 231 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > , __FUNCTION__, "n <= (ptrdiff_t)m_offset", L"attempt to construct address before the beginning of the string"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > ; > return wxCStrData(m_str, m_offset - n, m_owned); > } > > > > inline wxUniChar operator*() const; > >private: > > const wxString *m_str; > > > > > > > size_t m_offset; > > bool m_owned; > > friend class wxString; >}; ># 358 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >class wxStringIteratorNode >{ >public: > wxStringIteratorNode() > : m_str(__null), m_citer(__null), m_iter(__null), m_prev(__null), m_next(__null) {} > wxStringIteratorNode(const wxString *str, > wxStringImpl::const_iterator *citer) > { DoSet(str, citer, __null); } > wxStringIteratorNode(const wxString *str, wxStringImpl::iterator *iter) > { DoSet(str, __null, iter); } > ~wxStringIteratorNode() > { clear(); } > > inline void set(const wxString *str, wxStringImpl::const_iterator *citer) > { clear(); DoSet(str, citer, __null); } > inline void set(const wxString *str, wxStringImpl::iterator *iter) > { clear(); DoSet(str, __null, iter); } > > const wxString *m_str; > wxStringImpl::const_iterator *m_citer; > wxStringImpl::iterator *m_iter; > wxStringIteratorNode *m_prev, *m_next; > >private: > inline void clear(); > inline void DoSet(const wxString *str, > wxStringImpl::const_iterator *citer, > wxStringImpl::iterator *iter); > > > > private: wxStringIteratorNode(const wxStringIteratorNode&); wxStringIteratorNode& operator=(const wxStringIteratorNode&); >}; > > >class wxString > > > >{ > > > >public: > > static const size_t npos; > >private: > > > > > > > > wxString& operator=(int); > > > > > > wxString(int); > > > > > template<typename T> > struct SubstrBufFromType > { > T data; > size_t len; > > SubstrBufFromType(const T& data_, size_t len_) > : data(data_), len(len_) > { > do { if ( wxTheAssertHandler && !(len != npos) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h", 433, __FUNCTION__, "len != npos", "must have real length"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > } > }; > > > > typedef SubstrBufFromType<wxScopedCharBuffer> SubstrBufFromWC; > typedef SubstrBufFromType<wxScopedCharBuffer> SubstrBufFromMB; ># 456 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > static SubstrBufFromMB ConvertStr(const char *psz, size_t nLength, > const wxMBConv& conv); > static SubstrBufFromWC ConvertStr(const wchar_t *pwz, size_t nLength, > const wxMBConv& conv); ># 513 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > static wxScopedCharBuffer ImplStr(const char* str, > const wxMBConv& conv = wxGet_wxConvLibc()) > { return ConvertStr(str, npos, conv).data; } > static SubstrBufFromMB ImplStr(const char* str, size_t n, > const wxMBConv& conv = wxGet_wxConvLibc()) > { return ConvertStr(str, n, conv); } > > static wxScopedCharBuffer ImplStr(const wchar_t* str) > { return ConvertStr(str, npos, wxMBConvUTF8()).data; } > static SubstrBufFromWC ImplStr(const wchar_t* str, size_t n) > { return ConvertStr(str, n, wxMBConvUTF8()); } ># 534 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > struct Cache > { > enum { SIZE = 8 }; > > struct Element > { > const wxString *str; > size_t pos, > impl, > len; > > > void ResetPos() { pos = impl = 0; } > > > void Reset() { ResetPos(); len = npos; } > }; > > > Element cached[SIZE]; > > > unsigned lastUsed; > }; ># 584 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > static __thread Cache ms_cache; > static Cache& GetCache() { return (ms_cache); } > > > static Cache::Element *GetCacheBegin() { return GetCache().cached; } > static Cache::Element *GetCacheEnd() { return GetCacheBegin() + Cache::SIZE; } > static unsigned& LastUsedCacheElement() { return GetCache().lastUsed; } > > > > friend struct wxStrCacheDumper; ># 631 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > Cache::Element *FindCacheElement() const > { > > > > Cache::Element * const cacheBegin = GetCacheBegin(); > > > > > > > Cache::Element * const cacheEnd = GetCacheEnd(); > for ( Cache::Element *c = cacheBegin; c != cacheEnd; c++ ) > { > if ( c->str == this ) > return c; > } > > return __null; > } > > > > > Cache::Element *GetCacheElement() const > { > Cache::Element * const cacheBegin = GetCacheBegin(); > Cache::Element * const cacheEnd = GetCacheEnd(); > Cache::Element * const cacheStart = cacheBegin + LastUsedCacheElement(); > > > > if ( cacheStart->str == this ) > return cacheStart; > > > > > > Cache::Element *c = FindCacheElement(); > if ( !c ) > { > > c = cacheStart; > if ( ++c == cacheEnd ) > c = cacheBegin; > > c->str = this; > c->Reset(); > > > LastUsedCacheElement() = c - cacheBegin; > } > > return c; > } > > size_t DoPosToImpl(size_t pos) const > { > ; > > > > > > > ; > > Cache::Element * const cache = GetCacheElement(); > > > > > if ( cache->pos ) > { > ; > } > > if ( pos == cache->pos ) > return cache->impl; > > > > > if ( cache->pos > pos ) > { > ; > > cache->ResetPos(); > } > > ; > > > wxStringImpl::const_iterator i(m_impl.begin() + cache->impl); > for ( size_t n = cache->pos; n < pos; n++ ) > wxStringOperations::IncIter(i); > > cache->pos = pos; > cache->impl = i - m_impl.begin(); > > > ; > > return cache->impl; > } > > void InvalidateCache() > { > Cache::Element * const cache = FindCacheElement(); > if ( cache ) > cache->Reset(); > } > > void InvalidateCachedLength() > { > Cache::Element * const cache = FindCacheElement(); > if ( cache ) > cache->len = npos; > } > > void SetCachedLength(size_t len) > { > > > > > GetCacheElement()->len = len; > } > > void UpdateCachedLength(ptrdiff_t delta) > { > Cache::Element * const cache = FindCacheElement(); > if ( cache && cache->len != npos ) > { > ; > > cache->len += delta; > } > } ># 789 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > size_t PosToImpl(size_t pos) const > { > return pos == 0 || pos == npos ? pos : DoPosToImpl(pos); > } > > void PosLenToImpl(size_t pos, size_t len, size_t *implPos, size_t *implLen) const; > > size_t LenToImpl(size_t len) const > { > size_t pos, len2; > PosLenToImpl(0, len, &pos, &len2); > return len2; > } > > size_t PosFromImpl(size_t pos) const > { > if ( pos == 0 || pos == npos ) > return pos; > else > return const_iterator(this, m_impl.begin() + pos) - begin(); > } > > >public: > > typedef wxUniChar value_type; > typedef wxUniChar char_type; > typedef wxUniCharRef reference; > typedef wxChar* pointer; > typedef const wxChar* const_pointer; > > typedef size_t size_type; > typedef wxUniChar const_reference; ># 905 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > class const_iterator; ># 922 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > class iterator > { > private: typedef wxStringImpl::iterator underlying_iterator; public: typedef std::bidirectional_iterator_tag iterator_category; typedef wxUniChar value_type; typedef ptrdiff_t difference_type; typedef wxUniCharRef reference; typedef wxChar* pointer; reference operator[](size_t n) const { return *(*this + n); } iterator& operator++() { wxStringOperations::IncIter(m_cur); return *this; } iterator& operator--() { wxStringOperations::DecIter(m_cur); return *this; } iterator operator++(int) { iterator tmp = *this; wxStringOperations::IncIter(m_cur); return tmp; } iterator operator--(int) { iterator tmp = *this; wxStringOperations::DecIter(m_cur); return tmp; } iterator& operator+=(ptrdiff_t n) { m_cur = wxStringOperations::AddToIter(m_cur, n); return *this; } iterator& operator-=(ptrdiff_t n) { m_cur = wxStringOperations::AddToIter(m_cur, -n); return *this; } difference_type operator-(const iterator& i) const { return wxStringOperations::DiffIters(m_cur, i.m_cur); } bool operator==(const iterator& i) const { return m_cur == i.m_cur; } bool operator!=(const iterator& i) const { return m_cur != i.m_cur; } bool operator<(const iterator& i) const { return m_cur < i.m_cur; } bool operator>(const iterator& i) const { return m_cur > i.m_cur; } bool operator<=(const iterator& i) const { return m_cur <= i.m_cur; } bool operator>=(const iterator& i) const { return m_cur >= i.m_cur; } private: underlying_iterator impl() const { return m_cur; } friend class wxString; friend class wxCStrData; private: underlying_iterator m_cur; > > public: > iterator() {} > iterator(const iterator& i) > : m_cur(i.m_cur), m_node(i.str(), &m_cur) {} > iterator& operator=(const iterator& i) > { > if (&i != this) > { > m_cur = i.m_cur; > m_node.set(i.str(), &m_cur); > } > return *this; > } > > reference operator*() > { return wxUniCharRef::CreateForString(*str(), m_cur); } > > iterator operator+(ptrdiff_t n) const > { return iterator(str(), wxStringOperations::AddToIter(m_cur, n)); } > iterator operator-(ptrdiff_t n) const > { return iterator(str(), wxStringOperations::AddToIter(m_cur, -n)); } > > > > > bool operator==(const const_iterator& i) const; > bool operator!=(const const_iterator& i) const; > bool operator<(const const_iterator& i) const; > bool operator>(const const_iterator& i) const; > bool operator<=(const const_iterator& i) const; > bool operator>=(const const_iterator& i) const; > > private: > iterator(wxString *wxstr, underlying_iterator ptr) > : m_cur(ptr), m_node(wxstr, &m_cur) {} > > wxString* str() const { return const_cast<wxString*>(m_node.m_str); } > > wxStringIteratorNode m_node; > > friend class const_iterator; > }; > > class const_iterator > { > > > private: typedef wxStringImpl::const_iterator underlying_iterator; public: typedef std::bidirectional_iterator_tag iterator_category; typedef wxUniChar value_type; typedef ptrdiff_t difference_type; typedef wxUniChar reference; typedef const wxChar* pointer; reference operator[](size_t n) const { return *(*this + n); } const_iterator& operator++() { wxStringOperations::IncIter(m_cur); return *this; } const_iterator& operator--() { wxStringOperations::DecIter(m_cur); return *this; } const_iterator operator++(int) { const_iterator tmp = *this; wxStringOperations::IncIter(m_cur); return tmp; } const_iterator operator--(int) { const_iterator tmp = *this; wxStringOperations::DecIter(m_cur); return tmp; } const_iterator& operator+=(ptrdiff_t n) { m_cur = wxStringOperations::AddToIter(m_cur, n); return *this; } const_iterator& operator-=(ptrdiff_t n) { m_cur = wxStringOperations::AddToIter(m_cur, -n); return *this; } difference_type operator-(const const_iterator& i) const { return wxStringOperations::DiffIters(m_cur, i.m_cur); } bool operator==(const const_iterator& i) const { return m_cur == i.m_cur; } bool operator!=(const const_iterator& i) const { return m_cur != i.m_cur; } bool operator<(const const_iterator& i) const { return m_cur < i.m_cur; } bool operator>(const const_iterator& i) const { return m_cur > i.m_cur; } bool operator<=(const const_iterator& i) const { return m_cur <= i.m_cur; } bool operator>=(const const_iterator& i) const { return m_cur >= i.m_cur; } private: underlying_iterator impl() const { return m_cur; } friend class wxString; friend class wxCStrData; private: underlying_iterator m_cur; > > public: > const_iterator() {} > const_iterator(const const_iterator& i) > : m_cur(i.m_cur), m_node(i.str(), &m_cur) {} > const_iterator(const iterator& i) > : m_cur(i.m_cur), m_node(i.str(), &m_cur) {} > > const_iterator& operator=(const const_iterator& i) > { > if (&i != this) > { > m_cur = i.m_cur; > m_node.set(i.str(), &m_cur); > } > return *this; > } > const_iterator& operator=(const iterator& i) > { m_cur = i.m_cur; m_node.set(i.str(), &m_cur); return *this; } > > reference operator*() const > { return wxStringOperations::DecodeChar(m_cur); } > > const_iterator operator+(ptrdiff_t n) const > { return const_iterator(str(), wxStringOperations::AddToIter(m_cur, n)); } > const_iterator operator-(ptrdiff_t n) const > { return const_iterator(str(), wxStringOperations::AddToIter(m_cur, -n)); } > > > > > > > private: > > const_iterator(const wxString *wxstr, underlying_iterator ptr) > : m_cur(ptr), m_node(wxstr, &m_cur) {} > > const wxString* str() const { return m_node.m_str; } > > wxStringIteratorNode m_node; > }; > > size_t IterToImplPos(wxString::iterator i) const > { return wxStringImpl::const_iterator(i.impl()) - m_impl.begin(); } > > iterator GetIterForNthChar(size_t n) > { return iterator(this, m_impl.begin() + PosToImpl(n)); } > const_iterator GetIterForNthChar(size_t n) const > { return const_iterator(this, m_impl.begin() + PosToImpl(n)); } ># 1105 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > ptrdiff_t IterOffsetInMBStr(const const_iterator& i) const > { > const wxString str(begin(), i); > > > > > size_t ofs = wxGet_wxConvLibc().FromWChar(__null, 0, str.wc_str(), str.length()); > return ofs == ((size_t)-1) ? 0 : static_cast<ptrdiff_t>(ofs); > } > > friend class iterator; > friend class const_iterator; > > template <typename T> > class reverse_iterator_impl > { > public: > typedef T iterator_type; > > typedef typename T::iterator_category iterator_category; > typedef typename T::value_type value_type; > typedef typename T::difference_type difference_type; > typedef typename T::reference reference; > typedef typename T::pointer *pointer; > > reverse_iterator_impl() {} > reverse_iterator_impl(iterator_type i) : m_cur(i) {} > reverse_iterator_impl(const reverse_iterator_impl& ri) > : m_cur(ri.m_cur) {} > > iterator_type base() const { return m_cur; } > > reference operator*() const { return *(m_cur-1); } > reference operator[](size_t n) const { return *(*this + n); } > > reverse_iterator_impl& operator++() > { --m_cur; return *this; } > reverse_iterator_impl operator++(int) > { reverse_iterator_impl tmp = *this; --m_cur; return tmp; } > reverse_iterator_impl& operator--() > { ++m_cur; return *this; } > reverse_iterator_impl operator--(int) > { reverse_iterator_impl tmp = *this; ++m_cur; return tmp; } > > > reverse_iterator_impl operator+(ptrdiff_t n) const > { return reverse_iterator_impl<T>(m_cur - n); } > reverse_iterator_impl operator-(ptrdiff_t n) const > { return reverse_iterator_impl<T>(m_cur + n); } > reverse_iterator_impl operator+=(ptrdiff_t n) > { m_cur -= n; return *this; } > reverse_iterator_impl operator-=(ptrdiff_t n) > { m_cur += n; return *this; } > > unsigned operator-(const reverse_iterator_impl& i) const > { return i.m_cur - m_cur; } > > bool operator==(const reverse_iterator_impl& ri) const > { return m_cur == ri.m_cur; } > bool operator!=(const reverse_iterator_impl& ri) const > { return !(*this == ri); } > > bool operator<(const reverse_iterator_impl& i) const > { return m_cur > i.m_cur; } > bool operator>(const reverse_iterator_impl& i) const > { return m_cur < i.m_cur; } > bool operator<=(const reverse_iterator_impl& i) const > { return m_cur >= i.m_cur; } > bool operator>=(const reverse_iterator_impl& i) const > { return m_cur <= i.m_cur; } > > private: > iterator_type m_cur; > }; > > typedef reverse_iterator_impl<iterator> reverse_iterator; > typedef reverse_iterator_impl<const_iterator> const_reverse_iterator; > >private: > > > static const_iterator CreateConstIterator(const wxCStrData& data) > { > return const_iterator(data.m_str, > (data.m_str->begin() + data.m_offset).impl()); > } > > > > > > > > struct CtorFromStringImplTag {}; > > wxString(CtorFromStringImplTag* , const wxStringImpl& src) > : m_impl(src) {} > > static wxString FromImpl(const wxStringImpl& src) > { return wxString((CtorFromStringImplTag*)__null, src); } ># 1214 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >public: > > > wxString() {} > > > wxString(const wxString& stringSrc) : m_impl(stringSrc.m_impl) { } > > > wxString(wxUniChar ch, size_t nRepeat = 1 ) > { assign(nRepeat, ch); } > wxString(size_t nRepeat, wxUniChar ch) > { assign(nRepeat, ch); } > wxString(wxUniCharRef ch, size_t nRepeat = 1) > { assign(nRepeat, ch); } > wxString(size_t nRepeat, wxUniCharRef ch) > { assign(nRepeat, ch); } > wxString(char ch, size_t nRepeat = 1) > { assign(nRepeat, ch); } > wxString(size_t nRepeat, char ch) > { assign(nRepeat, ch); } > wxString(wchar_t ch, size_t nRepeat = 1) > { assign(nRepeat, ch); } > wxString(size_t nRepeat, wchar_t ch) > { assign(nRepeat, ch); } > > > wxString(const char *psz) > : m_impl(ImplStr(psz)) {} > wxString(const char *psz, const wxMBConv& conv) > : m_impl(ImplStr(psz, conv)) {} > wxString(const char *psz, size_t nLength) > { assign(psz, nLength); } > wxString(const char *psz, const wxMBConv& conv, size_t nLength) > { > SubstrBufFromMB str(ImplStr(psz, nLength, conv)); > m_impl.assign(str.data, str.len); > } > > > wxString(const unsigned char *psz) > : m_impl(ImplStr((const char*)psz)) {} > wxString(const unsigned char *psz, const wxMBConv& conv) > : m_impl(ImplStr((const char*)psz, conv)) {} > wxString(const unsigned char *psz, size_t nLength) > { assign((const char*)psz, nLength); } > wxString(const unsigned char *psz, const wxMBConv& conv, size_t nLength) > { > SubstrBufFromMB str(ImplStr((const char*)psz, nLength, conv)); > m_impl.assign(str.data, str.len); > } > > > wxString(const wchar_t *pwz) > : m_impl(ImplStr(pwz)) {} > wxString(const wchar_t *pwz, const wxMBConv& ) > : m_impl(ImplStr(pwz)) {} > wxString(const wchar_t *pwz, size_t nLength) > { assign(pwz, nLength); } > wxString(const wchar_t *pwz, const wxMBConv& , size_t nLength) > { assign(pwz, nLength); } > > wxString(const wxScopedCharBuffer& buf) > { assign(buf.data(), buf.length()); } > wxString(const wxScopedWCharBuffer& buf) > { assign(buf.data(), buf.length()); } > > > > > wxString(const wxCStrData& cstr) > : m_impl(cstr.AsString().m_impl.c_str()) { } > > > > wxString(const wxCStrData& cstr, size_t nLength) > : m_impl(cstr.AsString().Mid(0, nLength).m_impl) {} > > > > wxString(const wxString& str, size_t nLength) > { assign(str, nLength); } > > > > ~wxString() > { > > > > InvalidateCache(); > } ># 1319 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > wxString(const wxStdWideString& str) > { assign(str.c_str(), str.length()); } > > > > > > > wxString(const std::string& str) > { assign(str.c_str(), str.length()); } ># 1343 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > wxStdWideString ToStdWstring() const > { > > > > > wxScopedWCharBuffer buf(wc_str()); > > > return wxStdWideString(buf.data(), buf.length()); > } ># 1363 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > std::string ToStdString() const > { > wxScopedCharBuffer buf(mb_str()); > return std::string(buf.data(), buf.length()); > } ># 1384 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > wxString Clone() const > { > > > return wxString::FromImpl(wxStringImpl(m_impl.c_str(), m_impl.length())); > } > > > const_iterator begin() const { return const_iterator(this, m_impl.begin()); } > iterator begin() { return iterator(this, m_impl.begin()); } > > const_iterator end() const { return const_iterator(this, m_impl.end()); } > iterator end() { return iterator(this, m_impl.end()); } > > > const_reverse_iterator rbegin() const > { return const_reverse_iterator(end()); } > reverse_iterator rbegin() > { return reverse_iterator(end()); } > > const_reverse_iterator rend() const > { return const_reverse_iterator(begin()); } > reverse_iterator rend() > { return reverse_iterator(begin()); } > > > > size_t length() const > { > > ; > > Cache::Element * const cache = GetCacheElement(); > > if ( cache->len == npos ) > { > > > > cache->len = end() - begin(); > } > else > { > ; > > ; > } > > return cache->len; > > > > } > > > > > size_type size() const { return length(); } > size_type max_size() const { return npos; } > > bool empty() const { return m_impl.empty(); } > > > size_type capacity() const { return m_impl.capacity(); } > void reserve(size_t sz) { m_impl.reserve(sz); } > > void resize(size_t nSize, wxUniChar ch = L'\0') > { > const size_t len = length(); > if ( nSize == len) > return; > > > if ( nSize < len ) > { > InvalidateCache(); > > > > erase(nSize); > return; > } > > > > if ( !ch.IsAscii() ) > { > append(nSize - len, ch); > } > else > > { > InvalidateCachedLength(); > > m_impl.resize(nSize, (wxStringCharType)ch); > } > } > > wxString substr(size_t nStart = 0, size_t nLen = npos) const > { > size_t pos, len; > PosLenToImpl(nStart, nLen, &pos, &len); > return FromImpl(m_impl.substr(pos, len)); > } > > > > size_t Len() const { return length(); } > > bool IsEmpty() const { return empty(); } > > bool operator!() const { return empty(); } > > wxString& Truncate(size_t uiLen); > > void Empty() { clear(); } > > void Clear() { clear(); } > > > > bool IsAscii() const; > > bool IsNumber() const; > > bool IsWord() const; > > > > wxUniChar at(size_t n) const > { return wxStringOperations::DecodeChar(m_impl.begin() + PosToImpl(n)); } > wxUniChar GetChar(size_t n) const > { return at(n); } > > wxUniCharRef at(size_t n) > { return *GetIterForNthChar(n); } > wxUniCharRef GetWritableChar(size_t n) > { return at(n); } > > void SetChar(size_t n, wxUniChar ch) > { at(n) = ch; } > > > wxUniChar Last() const > { > do { if ( wxTheAssertHandler && !(!empty()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h", 1529, __FUNCTION__, "!empty()", L"wxString: index out of bounds"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return *rbegin(); > } > > > wxUniCharRef Last() > { > do { if ( wxTheAssertHandler && !(!empty()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h", 1536, __FUNCTION__, "!empty()", L"wxString: index out of bounds"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return *rbegin(); > } > > > > > > wxUniChar operator[](int n) const > { return at(n); } > wxUniChar operator[](long n) const > { return at(n); } > wxUniChar operator[](size_t n) const > { return at(n); } > > wxUniChar operator[](unsigned int n) const > { return at(n); } > > > > wxUniCharRef operator[](int n) > { return at(n); } > wxUniCharRef operator[](long n) > { return at(n); } > wxUniCharRef operator[](size_t n) > { return at(n); } > > wxUniCharRef operator[](unsigned int n) > { return at(n); } ># 1610 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > wxCStrData c_str() const { return wxCStrData(this); } > wxCStrData data() const { return c_str(); } > > > operator wxCStrData() const { return c_str(); } ># 1623 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > operator const char*() const { return c_str(); } > operator const wchar_t*() const { return c_str(); } > > > > > operator const void*() const { return c_str(); } > > > > const wxCStrData GetData() const { return c_str(); } > > > > const wxStringCharType *wx_str() const { return m_impl.c_str(); } > > > > > wxWritableCharBuffer char_str(const wxMBConv& conv = wxGet_wxConvLibc()) const > { return mb_str(conv); } > wxWritableWCharBuffer wchar_str() const { return wc_str(); } ># 1654 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > template <typename T> > wxCharTypeBuffer<T> tchar_str(size_t *len = __null, > T * = __null) const > { > > > return wxPrivate::wxStringAsBufHelper<T>::Get(*this, len); > > > > > > > > } ># 1677 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > static wxString FromAscii(const char *ascii, size_t len); > static wxString FromAscii(const char *ascii); > static wxString FromAscii(char ascii); > const wxScopedCharBuffer ToAscii() const; ># 1691 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > static wxString FromAscii(const unsigned char *ascii) > { return FromAscii((const char *)ascii); } > static wxString FromAscii(const unsigned char *ascii, size_t len) > { return FromAscii((const char *)ascii, len); } > > > > static wxString FromUTF8Unchecked(const char *utf8) > { > if ( !utf8 ) > return wxEmptyString; > > do { if ( wxTheAssertHandler && !(wxStringOperations::IsValidUtf8String(utf8)) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h", 1703, __FUNCTION__, "wxStringOperations::IsValidUtf8String(utf8)", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return FromImpl(wxStringImpl(utf8)); > } > static wxString FromUTF8Unchecked(const char *utf8, size_t len) > { > if ( !utf8 ) > return wxEmptyString; > if ( len == npos ) > return FromUTF8Unchecked(utf8); > > do { if ( wxTheAssertHandler && !(wxStringOperations::IsValidUtf8String(utf8, len)) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h", 1713, __FUNCTION__, "wxStringOperations::IsValidUtf8String(utf8, len)", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return FromImpl(wxStringImpl(utf8, len)); > } > > static wxString FromUTF8(const char *utf8) > { > if ( !utf8 || !wxStringOperations::IsValidUtf8String(utf8) ) > return ""; > > return FromImpl(wxStringImpl(utf8)); > } > static wxString FromUTF8(const char *utf8, size_t len) > { > if ( len == npos ) > return FromUTF8(utf8); > > if ( !utf8 || !wxStringOperations::IsValidUtf8String(utf8, len) ) > return ""; > > return FromImpl(wxStringImpl(utf8, len)); > } > > const wxScopedCharBuffer utf8_str() const > { return wxCharBuffer::CreateNonOwned(m_impl.c_str(), m_impl.length()); } > > > > size_t utf8_length() const { return m_impl.length(); } ># 1782 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > const wxScopedCharBuffer ToUTF8() const { return utf8_str(); } > > > > static wxString From8BitData(const char *data, size_t len) > { return wxString(data, wxGet_wxConvISO8859_1(), len); } > > static wxString From8BitData(const char *data) > { return wxString(data, wxGet_wxConvISO8859_1()); } > const wxScopedCharBuffer To8BitData() const > { return mb_str(wxGet_wxConvISO8859_1()); } ># 1827 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > const wxScopedCharBuffer mb_str(const wxMBConv& conv = wxGet_wxConvLibc()) const > { > return AsCharBuf(conv); > } > > > const wxCharBuffer mbc_str() const { return mb_str(*wxConvCurrent); } > > > > > const wxScopedWCharBuffer wc_str() const > { return AsWCharBuf(wxMBConvStrictUTF8()); } > > > const wxWCharBuffer wc_str(const wxMBConv& ) const > { return wc_str(); } > > > const wxScopedCharBuffer fn_str() const { return mb_str((*wxConvFileName)); } ># 1867 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > const wxScopedWCharBuffer t_str() const { return wc_str(); } ># 1877 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > wxString& operator=(const wxString& stringSrc) > { > if ( this != &stringSrc ) > { > InvalidateCache(); > > m_impl = stringSrc.m_impl; > } > > return *this; > } > > wxString& operator=(const wxCStrData& cstr) > { return *this = cstr.AsString(); } > > wxString& operator=(wxUniChar ch) > { > InvalidateCache(); > > > if ( !ch.IsAscii() ) > m_impl = wxStringOperations::EncodeChar(ch); > else > > m_impl = (wxStringCharType)ch; > return *this; > } > > wxString& operator=(wxUniCharRef ch) > { return operator=((wxUniChar)ch); } > wxString& operator=(char ch) > { return operator=(wxUniChar(ch)); } > wxString& operator=(unsigned char ch) > { return operator=(wxUniChar(ch)); } > wxString& operator=(wchar_t ch) > { return operator=(wxUniChar(ch)); } > > > > wxString& operator=(const char *psz) > { > InvalidateCache(); > > if ( psz ) > m_impl = ImplStr(psz); > else > clear(); > > return *this; > } > > wxString& operator=(const wchar_t *pwz) > { > InvalidateCache(); > > if ( pwz ) > m_impl = ImplStr(pwz); > else > clear(); > > return *this; > } ># 1959 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > wxString& operator=(const unsigned char *psz) > { return operator=((const char*)psz); } > > > wxString& operator=(const wxScopedWCharBuffer& s) > { return assign(s); } > > wxString& operator=(const wxScopedCharBuffer& s) > { return assign(s); } ># 1977 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > wxString& operator<<(const wxString& s) > { > > > > > > append(s); > return *this; > } > > wxString& operator<<(const char *psz) > { append(psz); return *this; } > wxString& operator<<(const wchar_t *pwz) > { append(pwz); return *this; } > wxString& operator<<(const wxCStrData& psz) > { append(psz.AsString()); return *this; } > > wxString& operator<<(wxUniChar ch) { append(1, ch); return *this; } > wxString& operator<<(wxUniCharRef ch) { append(1, ch); return *this; } > wxString& operator<<(char ch) { append(1, ch); return *this; } > wxString& operator<<(unsigned char ch) { append(1, ch); return *this; } > wxString& operator<<(wchar_t ch) { append(1, ch); return *this; } > > > wxString& operator<<(const wxScopedWCharBuffer& s) > { return append(s); } > wxString& operator<<(const wxScopedCharBuffer& s) > { return append(s); } > > > wxString& Append(const wxString& s) > { > > if ( empty() ) > *this = s; > else > append(s); > return *this; > } > wxString& Append(const char* psz) > { append(psz); return *this; } > wxString& Append(const wchar_t* pwz) > { append(pwz); return *this; } > wxString& Append(const wxCStrData& psz) > { append(psz); return *this; } > wxString& Append(const wxScopedCharBuffer& psz) > { append(psz); return *this; } > wxString& Append(const wxScopedWCharBuffer& psz) > { append(psz); return *this; } > wxString& Append(const char* psz, size_t nLen) > { append(psz, nLen); return *this; } > wxString& Append(const wchar_t* pwz, size_t nLen) > { append(pwz, nLen); return *this; } > wxString& Append(const wxCStrData& psz, size_t nLen) > { append(psz, nLen); return *this; } > wxString& Append(const wxScopedCharBuffer& psz, size_t nLen) > { append(psz, nLen); return *this; } > wxString& Append(const wxScopedWCharBuffer& psz, size_t nLen) > { append(psz, nLen); return *this; } > > wxString& Append(wxUniChar ch, size_t count = 1u) > { append(count, ch); return *this; } > wxString& Append(wxUniCharRef ch, size_t count = 1u) > { append(count, ch); return *this; } > wxString& Append(char ch, size_t count = 1u) > { append(count, ch); return *this; } > wxString& Append(unsigned char ch, size_t count = 1u) > { append(count, ch); return *this; } > wxString& Append(wchar_t ch, size_t count = 1u) > { append(count, ch); return *this; } > > > wxString& Prepend(const wxString& str) > { *this = str + *this; return *this; } > > > > friend wxString operator+(const wxString& string1, > const wxString& string2); > > friend wxString operator+(const wxString& string, wxUniChar ch); > > friend wxString operator+(wxUniChar ch, const wxString& string); > > friend wxString operator+(const wxString& string, > const char *psz); > friend wxString operator+(const wxString& string, > const wchar_t *pwz); > > friend wxString operator+(const char *psz, > const wxString& string); > friend wxString operator+(const wchar_t *pwz, > const wxString& string); > > > > wxString& operator<<(int i) > { return (*this) << Format(L"%d", i); } > > wxString& operator<<(unsigned int ui) > { return (*this) << Format(L"%u", ui); } > > wxString& operator<<(long l) > { return (*this) << Format(L"%ld", l); } > > wxString& operator<<(unsigned long ul) > { return (*this) << Format(L"%lu", ul); } > > > wxString& operator<<(long long ll) > { > return (*this) << Format("%" "ll" "d", ll); > } > > wxString& operator<<(unsigned long long ull) > { > return (*this) << Format("%" "ll" "u" , ull); > } > > > wxString& operator<<(float f) > { return (*this) << Format(L"%f", f); } > > wxString& operator<<(double d) > { return (*this) << Format(L"%g", d); } > > > > int Cmp(const char *psz) const > { return compare(psz); } > int Cmp(const wchar_t *pwz) const > { return compare(pwz); } > int Cmp(const wxString& s) const > { return compare(s); } > int Cmp(const wxCStrData& s) const > { return compare(s); } > int Cmp(const wxScopedCharBuffer& s) const > { return compare(s); } > int Cmp(const wxScopedWCharBuffer& s) const > { return compare(s); } > > int CmpNoCase(const wxString& s) const; > > > > bool IsSameAs(const wxString& str, bool compareWithCase = true) const > { > > > > > > return (compareWithCase ? Cmp(str) : CmpNoCase(str)) == 0; > } > bool IsSameAs(const char *str, bool compareWithCase = true) const > { return (compareWithCase ? Cmp(str) : CmpNoCase(str)) == 0; } > bool IsSameAs(const wchar_t *str, bool compareWithCase = true) const > { return (compareWithCase ? Cmp(str) : CmpNoCase(str)) == 0; } > > bool IsSameAs(const wxCStrData& str, bool compareWithCase = true) const > { return IsSameAs(str.AsString(), compareWithCase); } > bool IsSameAs(const wxScopedCharBuffer& str, bool compareWithCase = true) const > { return IsSameAs(str.data(), compareWithCase); } > bool IsSameAs(const wxScopedWCharBuffer& str, bool compareWithCase = true) const > { return IsSameAs(str.data(), compareWithCase); } > > bool IsSameAs(wxUniChar c, bool compareWithCase = true) const; > > bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const > { return IsSameAs(wxUniChar(c), compareWithCase); } > bool IsSameAs(char c, bool compareWithCase = true) const > { return IsSameAs(wxUniChar(c), compareWithCase); } > bool IsSameAs(unsigned char c, bool compareWithCase = true) const > { return IsSameAs(wxUniChar(c), compareWithCase); } > bool IsSameAs(wchar_t c, bool compareWithCase = true) const > { return IsSameAs(wxUniChar(c), compareWithCase); } > bool IsSameAs(int c, bool compareWithCase = true) const > { return IsSameAs(wxUniChar(c), compareWithCase); } > > > > > wxString Mid(size_t nFirst, size_t nCount = npos) const; > > > wxString operator()(size_t start, size_t len) const > { return Mid(start, len); } > > > > > bool StartsWith(const wxString& prefix, wxString *rest = __null) const; > > > > bool EndsWith(const wxString& suffix, wxString *rest = __null) const; > > > wxString Left(size_t nCount) const; > > wxString Right(size_t nCount) const; > > > > wxString BeforeFirst(wxUniChar ch, wxString *rest = __null) const; > > > > wxString BeforeLast(wxUniChar ch, wxString *rest = __null) const; > > > wxString AfterFirst(wxUniChar ch) const; > > > wxString AfterLast(wxUniChar ch) const; > > > wxString Before(wxUniChar ch) const { return BeforeLast(ch); } > wxString After(wxUniChar ch) const { return AfterFirst(ch); } > > > > wxString& MakeUpper(); > > wxString Upper() const { return wxString(*this).MakeUpper(); } > > wxString& MakeLower(); > > wxString Lower() const { return wxString(*this).MakeLower(); } > > > wxString& MakeCapitalized(); > > > wxString Capitalize() const { return wxString(*this).MakeCapitalized(); } > > > > wxString& Trim(bool bFromRight = true); > > wxString& Pad(size_t nCount, wxUniChar chPad = L' ', bool bFromRight = true); > > > > int Find(wxUniChar ch, bool bFromEnd = false) const; > int Find(wxUniCharRef ch, bool bFromEnd = false) const > { return Find(wxUniChar(ch), bFromEnd); } > int Find(char ch, bool bFromEnd = false) const > { return Find(wxUniChar(ch), bFromEnd); } > int Find(unsigned char ch, bool bFromEnd = false) const > { return Find(wxUniChar(ch), bFromEnd); } > int Find(wchar_t ch, bool bFromEnd = false) const > { return Find(wxUniChar(ch), bFromEnd); } > > int Find(const wxString& sub) const > { > size_type idx = find(sub); > return (idx == npos) ? (-1) : (int)idx; > } > int Find(const char *sub) const > { > size_type idx = find(sub); > return (idx == npos) ? (-1) : (int)idx; > } > int Find(const wchar_t *sub) const > { > size_type idx = find(sub); > return (idx == npos) ? (-1) : (int)idx; > } > > int Find(const wxCStrData& sub) const > { return Find(sub.AsString()); } > int Find(const wxScopedCharBuffer& sub) const > { return Find(sub.data()); } > int Find(const wxScopedWCharBuffer& sub) const > { return Find(sub.data()); } > > > > size_t Replace(const wxString& strOld, > const wxString& strNew, > bool bReplaceAll = true); > > > bool Matches(const wxString& mask) const; > > > > > > > > bool ToLong(long *val, int base = 10) const; > > bool ToULong(unsigned long *val, int base = 10) const; > > > bool ToLongLong(long long *val, int base = 10) const; > > bool ToULongLong(unsigned long long *val, int base = 10) const; > > > bool ToDouble(double *val) const; > > > > bool ToCLong(long *val, int base = 10) const; > > bool ToCULong(unsigned long *val, int base = 10) const; > > bool ToCDouble(double *val) const; > > > > > static wxString FromDouble(double val, int precision = -1); > > static wxString FromCDouble(double val, int precision = -1); > > > > > > > inline int Printf(const wxFormatString& f1) { if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1); else return DoPrintfWchar(f1); } template<typename T1> int Printf(const wxFormatString& f1, T1 a1) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get()); } template<typename T1, typename T2> int Printf(const wxFormatString& f1, T1 a1, T2 a2) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get()); } template<typename T1, typename T2, typename T3> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get()); } template<typename T1, typename T2, typename T3, typename T4> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28, typename T29> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28, T29 a29) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get(), wxArgNormalizerUtf8<T29>(a29, fmt, 29).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get(), wxArgNormalizerWchar<T29>(a29, fmt, 29).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28, typename T29, typename T30> int Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28, T29 a29, T30 a30) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get(), wxArgNormalizerUtf8<T29>(a29, fmt, 29).get(), wxArgNormalizerUtf8<T30>(a30, fmt, 30).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get(), wxArgNormalizerWchar<T29>(a29, fmt, 29).get(), wxArgNormalizerWchar<T30>(a30, fmt, 30).get()); } ># 2317 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > int PrintfV(const wxString& format, va_list argptr); > > > > > inline static wxString Format(const wxFormatString& f1) { if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1); else return DoFormatWchar(f1); } template<typename T1> static wxString Format(const wxFormatString& f1, T1 a1) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get()); } template<typename T1, typename T2> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get()); } template<typename T1, typename T2, typename T3> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get()); } template<typename T1, typename T2, typename T3, typename T4> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28, typename T29> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28, T29 a29) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get(), wxArgNormalizerUtf8<T29>(a29, fmt, 29).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get(), wxArgNormalizerWchar<T29>(a29, fmt, 29).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28, typename T29, typename T30> static wxString Format(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28, T29 a29, T30 a30) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoFormatUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get(), wxArgNormalizerUtf8<T29>(a29, fmt, 29).get(), wxArgNormalizerUtf8<T30>(a30, fmt, 30).get()); else return DoFormatWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get(), wxArgNormalizerWchar<T29>(a29, fmt, 29).get(), wxArgNormalizerWchar<T30>(a30, fmt, 30).get()); } ># 2337 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > static wxString FormatV(const wxString& format, va_list argptr); > > > > > bool Alloc(size_t nLen) { reserve(nLen); return capacity() >= nLen; } > > > bool Shrink(); ># 2360 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > wxString SubString(size_t from, size_t to) const > { return Mid(from, (to - from + 1)); } > > enum caseCompare {exact, ignoreCase}; > > enum stripType {leading = 0x1, trailing = 0x2, both = 0x3}; > > > > > > inline int sprintf(const wxFormatString& f1) { if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1); else return DoPrintfWchar(f1); } template<typename T1> int sprintf(const wxFormatString& f1, T1 a1) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get()); } template<typename T1, typename T2> int sprintf(const wxFormatString& f1, T1 a1, T2 a2) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get()); } template<typename T1, typename T2, typename T3> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get()); } template<typename T1, typename T2, typename T3, typename T4> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28, typename T29> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28, T29 a29) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get(), wxArgNormalizerUtf8<T29>(a29, fmt, 29).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get(), wxArgNormalizerWchar<T29>(a29, fmt, 29).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28, typename T29, typename T30> int sprintf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28, T29 a29, T30 a30) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) return DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get(), wxArgNormalizerUtf8<T29>(a29, fmt, 29).get(), wxArgNormalizerUtf8<T30>(a30, fmt, 30).get()); else return DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get(), wxArgNormalizerWchar<T29>(a29, fmt, 29).get(), wxArgNormalizerWchar<T30>(a30, fmt, 30).get()); } ># 2387 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > int CompareTo(const wxChar* psz, caseCompare cmp = exact) const > { return cmp == exact ? Cmp(psz) : CmpNoCase(psz); } > > > size_t Length() const { return length(); } > > int Freq(wxUniChar ch) const; > > void LowerCase() { MakeLower(); } > > void UpperCase() { MakeUpper(); } > > wxString Strip(stripType w = trailing) const; > > > size_t Index(const wxChar* psz) const { return Find(psz); } > size_t Index(wxUniChar ch) const { return Find(ch); } > > wxString& Remove(size_t pos) { return Truncate(pos); } > wxString& RemoveLast(size_t n = 1) { return Truncate(length() - n); } > > wxString& Remove(size_t nStart, size_t nLen) > { return (wxString&)erase( nStart, nLen ); } > > > int First( wxUniChar ch ) const { return Find(ch); } > int First( wxUniCharRef ch ) const { return Find(ch); } > int First( char ch ) const { return Find(ch); } > int First( unsigned char ch ) const { return Find(ch); } > int First( wchar_t ch ) const { return Find(ch); } > int First( const wxString& str ) const { return Find(str); } > int Last( wxUniChar ch ) const { return Find(ch, true); } > bool Contains(const wxString& str) const { return Find(str) != (-1); } > > > bool IsNull() const { return empty(); } > > > > > wxString(const wxString& str, size_t nPos, size_t nLen) > { assign(str, nPos, nLen); } > > wxString(const_iterator first, const_iterator last) > : m_impl(first.impl(), last.impl()) { } > > > > wxString(const char *first, const char *last) > { > SubstrBufFromMB str(ImplStr(first, last - first)); > m_impl.assign(str.data, str.len); > } > wxString(const wchar_t *first, const wchar_t *last) > { > SubstrBufFromWC str(ImplStr(first, last - first)); > m_impl.assign(str.data, str.len); > } > > wxString(const wxCStrData& first, const wxCStrData& last) > : m_impl(CreateConstIterator(first).impl(), > CreateConstIterator(last).impl()) > { > do { if ( wxTheAssertHandler && !(first.m_str == last.m_str) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" ># 2450 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > , > 2451 ># 2450 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > , __FUNCTION__, "first.m_str == last.m_str", L"pointers must be into the same string"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > ; > } > > > > > wxString& append(const wxString& str, size_t pos, size_t n) > { > UpdateCachedLength(n); > > size_t from, len; > str.PosLenToImpl(pos, n, &from, &len); > m_impl.append(str.m_impl, from, len); > return *this; > } > > wxString& append(const wxString& str) > { > UpdateCachedLength(str.length()); > > m_impl.append(str.m_impl); > return *this; > } > > > wxString& append(const char *sz) > { > InvalidateCachedLength(); > > m_impl.append(ImplStr(sz)); > return *this; > } > > wxString& append(const wchar_t *sz) > { > InvalidateCachedLength(); > > m_impl.append(ImplStr(sz)); > return *this; > } > > wxString& append(const char *sz, size_t n) > { > InvalidateCachedLength(); > > SubstrBufFromMB str(ImplStr(sz, n)); > m_impl.append(str.data, str.len); > return *this; > } > wxString& append(const wchar_t *sz, size_t n) > { > UpdateCachedLength(n); > > SubstrBufFromWC str(ImplStr(sz, n)); > m_impl.append(str.data, str.len); > return *this; > } > > wxString& append(const wxCStrData& str) > { return append(str.AsString()); } > wxString& append(const wxScopedCharBuffer& str) > { return append(str.data(), str.length()); } > wxString& append(const wxScopedWCharBuffer& str) > { return append(str.data(), str.length()); } > wxString& append(const wxCStrData& str, size_t n) > { return append(str.AsString(), 0, n); } > wxString& append(const wxScopedCharBuffer& str, size_t n) > { return append(str.data(), n); } > wxString& append(const wxScopedWCharBuffer& str, size_t n) > { return append(str.data(), n); } > > > wxString& append(size_t n, wxUniChar ch) > { > > if ( !ch.IsAscii() ) > { > InvalidateCachedLength(); > > m_impl.append(wxStringOperations::EncodeNChars(n, ch)); > } > else > > { > UpdateCachedLength(n); > > m_impl.append(n, (wxStringCharType)ch); > } > > return *this; > } > > wxString& append(size_t n, wxUniCharRef ch) > { return append(n, wxUniChar(ch)); } > wxString& append(size_t n, char ch) > { return append(n, wxUniChar(ch)); } > wxString& append(size_t n, unsigned char ch) > { return append(n, wxUniChar(ch)); } > wxString& append(size_t n, wchar_t ch) > { return append(n, wxUniChar(ch)); } > > > wxString& append(const_iterator first, const_iterator last) > { > InvalidateCachedLength(); > > m_impl.append(first.impl(), last.impl()); > return *this; > } > > wxString& append(const char *first, const char *last) > { return append(first, last - first); } > wxString& append(const wchar_t *first, const wchar_t *last) > { return append(first, last - first); } > wxString& append(const wxCStrData& first, const wxCStrData& last) > { return append(CreateConstIterator(first), CreateConstIterator(last)); } > > > > wxString& assign(const wxString& str) > { > SetCachedLength(str.length()); > > m_impl = str.m_impl; > > return *this; > } > > > > wxString& assign(const wxString& str, size_t len) > { > > > > > > const size_t lenSrc = str.length(); > if ( len > lenSrc ) > len = lenSrc; > > SetCachedLength(len); > > > m_impl.assign(str.m_impl, 0, str.LenToImpl(len)); > > return *this; > } > > > wxString& assign(const wxString& str, size_t pos, size_t n) > { > size_t from, len; > str.PosLenToImpl(pos, n, &from, &len); > m_impl.assign(str.m_impl, from, len); > > > > SetCachedLength(n); > > return *this; > } > > > wxString& assign(const char *sz) > { > InvalidateCache(); > > m_impl.assign(ImplStr(sz)); > > return *this; > } > > wxString& assign(const wchar_t *sz) > { > InvalidateCache(); > > m_impl.assign(ImplStr(sz)); > > return *this; > } > > wxString& assign(const char *sz, size_t n) > { > InvalidateCache(); > > SubstrBufFromMB str(ImplStr(sz, n)); > m_impl.assign(str.data, str.len); > > return *this; > } > > wxString& assign(const wchar_t *sz, size_t n) > { > SetCachedLength(n); > > SubstrBufFromWC str(ImplStr(sz, n)); > m_impl.assign(str.data, str.len); > > return *this; > } > > wxString& assign(const wxCStrData& str) > { return assign(str.AsString()); } > wxString& assign(const wxScopedCharBuffer& str) > { return assign(str.data(), str.length()); } > wxString& assign(const wxScopedWCharBuffer& str) > { return assign(str.data(), str.length()); } > wxString& assign(const wxCStrData& str, size_t len) > { return assign(str.AsString(), len); } > wxString& assign(const wxScopedCharBuffer& str, size_t len) > { return assign(str.data(), len); } > wxString& assign(const wxScopedWCharBuffer& str, size_t len) > { return assign(str.data(), len); } > > > wxString& assign(size_t n, wxUniChar ch) > { > SetCachedLength(n); > > > if ( !ch.IsAscii() ) > m_impl.assign(wxStringOperations::EncodeNChars(n, ch)); > else > > m_impl.assign(n, (wxStringCharType)ch); > > return *this; > } > > wxString& assign(size_t n, wxUniCharRef ch) > { return assign(n, wxUniChar(ch)); } > wxString& assign(size_t n, char ch) > { return assign(n, wxUniChar(ch)); } > wxString& assign(size_t n, unsigned char ch) > { return assign(n, wxUniChar(ch)); } > wxString& assign(size_t n, wchar_t ch) > { return assign(n, wxUniChar(ch)); } > > > wxString& assign(const_iterator first, const_iterator last) > { > InvalidateCache(); > > m_impl.assign(first.impl(), last.impl()); > > return *this; > } > > wxString& assign(const char *first, const char *last) > { return assign(first, last - first); } > wxString& assign(const wchar_t *first, const wchar_t *last) > { return assign(first, last - first); } > wxString& assign(const wxCStrData& first, const wxCStrData& last) > { return assign(CreateConstIterator(first), CreateConstIterator(last)); } > > > > int compare(const wxString& str) const; > int compare(const char* sz) const; > int compare(const wchar_t* sz) const; > int compare(const wxCStrData& str) const > { return compare(str.AsString()); } > int compare(const wxScopedCharBuffer& str) const > { return compare(str.data()); } > int compare(const wxScopedWCharBuffer& str) const > { return compare(str.data()); } > > int compare(size_t nStart, size_t nLen, const wxString& str) const; > > int compare(size_t nStart, size_t nLen, > const wxString& str, size_t nStart2, size_t nLen2) const; > > int compare(size_t nStart, size_t nLen, > const char* sz, size_t nCount = npos) const; > int compare(size_t nStart, size_t nLen, > const wchar_t* sz, size_t nCount = npos) const; > > > wxString& insert(size_t nPos, const wxString& str) > { insert(GetIterForNthChar(nPos), str.begin(), str.end()); return *this; } > > wxString& insert(size_t nPos, const wxString& str, size_t nStart, size_t n) > { > UpdateCachedLength(n); > > size_t from, len; > str.PosLenToImpl(nStart, n, &from, &len); > m_impl.insert(PosToImpl(nPos), str.m_impl, from, len); > > return *this; > } > > > wxString& insert(size_t nPos, const char *sz) > { > InvalidateCache(); > > m_impl.insert(PosToImpl(nPos), ImplStr(sz)); > > return *this; > } > > wxString& insert(size_t nPos, const wchar_t *sz) > { > InvalidateCache(); > > m_impl.insert(PosToImpl(nPos), ImplStr(sz)); return *this; > } > > wxString& insert(size_t nPos, const char *sz, size_t n) > { > UpdateCachedLength(n); > > SubstrBufFromMB str(ImplStr(sz, n)); > m_impl.insert(PosToImpl(nPos), str.data, str.len); > > return *this; > } > > wxString& insert(size_t nPos, const wchar_t *sz, size_t n) > { > UpdateCachedLength(n); > > SubstrBufFromWC str(ImplStr(sz, n)); > m_impl.insert(PosToImpl(nPos), str.data, str.len); > > return *this; > } > > > wxString& insert(size_t nPos, size_t n, wxUniChar ch) > { > UpdateCachedLength(n); > > > if ( !ch.IsAscii() ) > m_impl.insert(PosToImpl(nPos), wxStringOperations::EncodeNChars(n, ch)); > else > > m_impl.insert(PosToImpl(nPos), n, (wxStringCharType)ch); > return *this; > } > > iterator insert(iterator it, wxUniChar ch) > { > UpdateCachedLength(1); > > > if ( !ch.IsAscii() ) > { > size_t pos = IterToImplPos(it); > m_impl.insert(pos, wxStringOperations::EncodeChar(ch)); > return iterator(this, m_impl.begin() + pos); > } > else > > return iterator(this, m_impl.insert(it.impl(), (wxStringCharType)ch)); > } > > void insert(iterator it, const_iterator first, const_iterator last) > { > InvalidateCache(); > > m_impl.insert(it.impl(), first.impl(), last.impl()); > } > > > void insert(iterator it, const char *first, const char *last) > { insert(it - begin(), first, last - first); } > void insert(iterator it, const wchar_t *first, const wchar_t *last) > { insert(it - begin(), first, last - first); } > void insert(iterator it, const wxCStrData& first, const wxCStrData& last) > { insert(it, CreateConstIterator(first), CreateConstIterator(last)); } > > > void insert(iterator it, size_type n, wxUniChar ch) > { > UpdateCachedLength(n); > > > if ( !ch.IsAscii() ) > m_impl.insert(IterToImplPos(it), wxStringOperations::EncodeNChars(n, ch)); > else > > m_impl.insert(it.impl(), n, (wxStringCharType)ch); > } > > > wxString& erase(size_type pos = 0, size_type n = npos) > { > InvalidateCache(); > > size_t from, len; > PosLenToImpl(pos, n, &from, &len); > m_impl.erase(from, len); > > return *this; > } > > > iterator erase(iterator first, iterator last) > { > InvalidateCache(); > > return iterator(this, m_impl.erase(first.impl(), last.impl())); > } > > iterator erase(iterator first) > { > UpdateCachedLength(-1); > > return iterator(this, m_impl.erase(first.impl())); > } > > > void clear() { erase(); } ># 2878 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > wxString& replace(size_t nStart, size_t nLen, const char* sz) > { > InvalidateCache(); > > size_t from, len; > PosLenToImpl(nStart, nLen, &from, &len); > m_impl.replace(from, len, ImplStr(sz)); > > return *this; > } > > wxString& replace(size_t nStart, size_t nLen, const wchar_t* sz) > { > InvalidateCache(); > > size_t from, len; > PosLenToImpl(nStart, nLen, &from, &len); > m_impl.replace(from, len, ImplStr(sz)); > > return *this; > } > > > wxString& replace(size_t nStart, size_t nLen, const wxString& str) > { > InvalidateCache(); > > size_t from, len; > PosLenToImpl(nStart, nLen, &from, &len); > m_impl.replace(from, len, str.m_impl); > > return *this; > } > > > wxString& replace(size_t nStart, size_t nLen, size_t nCount, wxUniChar ch) > { > InvalidateCache(); > > size_t from, len; > PosLenToImpl(nStart, nLen, &from, &len); > > if ( !ch.IsAscii() ) > m_impl.replace(from, len, wxStringOperations::EncodeNChars(nCount, ch)); > else > > m_impl.replace(from, len, nCount, (wxStringCharType)ch); > > return *this; > } > > > wxString& replace(size_t nStart, size_t nLen, > const wxString& str, size_t nStart2, size_t nLen2) > { > InvalidateCache(); > > size_t from, len; > PosLenToImpl(nStart, nLen, &from, &len); > > size_t from2, len2; > str.PosLenToImpl(nStart2, nLen2, &from2, &len2); > > m_impl.replace(from, len, str.m_impl, from2, len2); > > return *this; > } > > > wxString& replace(size_t nStart, size_t nLen, > const char* sz, size_t nCount) > { > InvalidateCache(); > > size_t from, len; > PosLenToImpl(nStart, nLen, &from, &len); > > SubstrBufFromMB str(ImplStr(sz, nCount)); > > m_impl.replace(from, len, str.data, str.len); > > return *this; > } > > wxString& replace(size_t nStart, size_t nLen, > const wchar_t* sz, size_t nCount) > { > InvalidateCache(); > > size_t from, len; > PosLenToImpl(nStart, nLen, &from, &len); > > SubstrBufFromWC str(ImplStr(sz, nCount)); > > m_impl.replace(from, len, str.data, str.len); > > return *this; > } > > wxString& replace(size_t nStart, size_t nLen, > const wxString& s, size_t nCount) > { > InvalidateCache(); > > size_t from, len; > PosLenToImpl(nStart, nLen, &from, &len); > m_impl.replace(from, len, s.m_impl.c_str(), s.LenToImpl(nCount)); > > return *this; > } > > wxString& replace(iterator first, iterator last, const char* s) > { > InvalidateCache(); > > m_impl.replace(first.impl(), last.impl(), ImplStr(s)); > > return *this; > } > > wxString& replace(iterator first, iterator last, const wchar_t* s) > { > InvalidateCache(); > > m_impl.replace(first.impl(), last.impl(), ImplStr(s)); > > return *this; > } > > wxString& replace(iterator first, iterator last, const char* s, size_type n) > { > InvalidateCache(); > > SubstrBufFromMB str(ImplStr(s, n)); > m_impl.replace(first.impl(), last.impl(), str.data, str.len); > > return *this; > } > > wxString& replace(iterator first, iterator last, const wchar_t* s, size_type n) > { > InvalidateCache(); > > SubstrBufFromWC str(ImplStr(s, n)); > m_impl.replace(first.impl(), last.impl(), str.data, str.len); > > return *this; > } > > wxString& replace(iterator first, iterator last, const wxString& s) > { > InvalidateCache(); > > m_impl.replace(first.impl(), last.impl(), s.m_impl); > > return *this; > } > > wxString& replace(iterator first, iterator last, size_type n, wxUniChar ch) > { > InvalidateCache(); > > > if ( !ch.IsAscii() ) > m_impl.replace(first.impl(), last.impl(), > wxStringOperations::EncodeNChars(n, ch)); > else > > m_impl.replace(first.impl(), last.impl(), n, (wxStringCharType)ch); > > return *this; > } > > wxString& replace(iterator first, iterator last, > const_iterator first1, const_iterator last1) > { > InvalidateCache(); > > m_impl.replace(first.impl(), last.impl(), first1.impl(), last1.impl()); > > return *this; > } > > wxString& replace(iterator first, iterator last, > const char *first1, const char *last1) > { replace(first, last, first1, last1 - first1); return *this; } > wxString& replace(iterator first, iterator last, > const wchar_t *first1, const wchar_t *last1) > { replace(first, last, first1, last1 - first1); return *this; } > > > void swap(wxString& str) > { > > > > > InvalidateCache(); > str.InvalidateCache(); > > > m_impl.swap(str.m_impl); > } > > > size_t find(const wxString& str, size_t nStart = 0) const > { return PosFromImpl(m_impl.find(str.m_impl, PosToImpl(nStart))); } > > > size_t find(const char* sz, size_t nStart = 0, size_t n = npos) const > { > SubstrBufFromMB str(ImplStr(sz, n)); > return PosFromImpl(m_impl.find(str.data, PosToImpl(nStart), str.len)); > } > size_t find(const wchar_t* sz, size_t nStart = 0, size_t n = npos) const > { > SubstrBufFromWC str(ImplStr(sz, n)); > return PosFromImpl(m_impl.find(str.data, PosToImpl(nStart), str.len)); > } > size_t find(const wxScopedCharBuffer& s, size_t nStart = 0, size_t n = npos) const > { return find(s.data(), nStart, n); } > size_t find(const wxScopedWCharBuffer& s, size_t nStart = 0, size_t n = npos) const > { return find(s.data(), nStart, n); } > size_t find(const wxCStrData& s, size_t nStart = 0, size_t n = npos) const > { return find(s.AsWChar(), nStart, n); } > > > size_t find(wxUniChar ch, size_t nStart = 0) const > { > > if ( !ch.IsAscii() ) > return PosFromImpl(m_impl.find(wxStringOperations::EncodeChar(ch), > PosToImpl(nStart))); > else > > return PosFromImpl(m_impl.find((wxStringCharType)ch, > PosToImpl(nStart))); > > } > size_t find(wxUniCharRef ch, size_t nStart = 0) const > { return find(wxUniChar(ch), nStart); } > size_t find(char ch, size_t nStart = 0) const > { return find(wxUniChar(ch), nStart); } > size_t find(unsigned char ch, size_t nStart = 0) const > { return find(wxUniChar(ch), nStart); } > size_t find(wchar_t ch, size_t nStart = 0) const > { return find(wxUniChar(ch), nStart); } > > > > > size_t rfind(const wxString& str, size_t nStart = npos) const > { return PosFromImpl(m_impl.rfind(str.m_impl, PosToImpl(nStart))); } > > > size_t rfind(const char* sz, size_t nStart = npos, size_t n = npos) const > { > SubstrBufFromMB str(ImplStr(sz, n)); > return PosFromImpl(m_impl.rfind(str.data, PosToImpl(nStart), str.len)); > } > size_t rfind(const wchar_t* sz, size_t nStart = npos, size_t n = npos) const > { > SubstrBufFromWC str(ImplStr(sz, n)); > return PosFromImpl(m_impl.rfind(str.data, PosToImpl(nStart), str.len)); > } > size_t rfind(const wxScopedCharBuffer& s, size_t nStart = npos, size_t n = npos) const > { return rfind(s.data(), nStart, n); } > size_t rfind(const wxScopedWCharBuffer& s, size_t nStart = npos, size_t n = npos) const > { return rfind(s.data(), nStart, n); } > size_t rfind(const wxCStrData& s, size_t nStart = npos, size_t n = npos) const > { return rfind(s.AsWChar(), nStart, n); } > > size_t rfind(wxUniChar ch, size_t nStart = npos) const > { > > if ( !ch.IsAscii() ) > return PosFromImpl(m_impl.rfind(wxStringOperations::EncodeChar(ch), > PosToImpl(nStart))); > else > > return PosFromImpl(m_impl.rfind((wxStringCharType)ch, > PosToImpl(nStart))); > } > size_t rfind(wxUniCharRef ch, size_t nStart = npos) const > { return rfind(wxUniChar(ch), nStart); } > size_t rfind(char ch, size_t nStart = npos) const > { return rfind(wxUniChar(ch), nStart); } > size_t rfind(unsigned char ch, size_t nStart = npos) const > { return rfind(wxUniChar(ch), nStart); } > size_t rfind(wchar_t ch, size_t nStart = npos) const > { return rfind(wxUniChar(ch), nStart); } ># 3231 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > size_t find_first_of(const wxString& str, size_t nStart = 0) const > > { return find_first_of(str.wc_str(), nStart); } > > > > > size_t find_first_of(const char* sz, size_t nStart = 0) const; > size_t find_first_of(const wchar_t* sz, size_t nStart = 0) const; > size_t find_first_of(const char* sz, size_t nStart, size_t n) const; > size_t find_first_of(const wchar_t* sz, size_t nStart, size_t n) const; > > size_t find_first_of(wxUniChar c, size_t nStart = 0) const > { return find(c, nStart); } > > size_t find_last_of (const wxString& str, size_t nStart = npos) const > > { return find_last_of(str.wc_str(), nStart); } > > > > > size_t find_last_of (const char* sz, size_t nStart = npos) const; > size_t find_last_of (const wchar_t* sz, size_t nStart = npos) const; > size_t find_last_of(const char* sz, size_t nStart, size_t n) const; > size_t find_last_of(const wchar_t* sz, size_t nStart, size_t n) const; > > size_t find_last_of(wxUniChar c, size_t nStart = npos) const > { return rfind(c, nStart); } > > > > > size_t find_first_not_of(const wxString& str, size_t nStart = 0) const > > { return find_first_not_of(str.wc_str(), nStart); } > > > > > size_t find_first_not_of(const char* sz, size_t nStart = 0) const; > size_t find_first_not_of(const wchar_t* sz, size_t nStart = 0) const; > size_t find_first_not_of(const char* sz, size_t nStart, size_t n) const; > size_t find_first_not_of(const wchar_t* sz, size_t nStart, size_t n) const; > > size_t find_first_not_of(wxUniChar ch, size_t nStart = 0) const; > > size_t find_last_not_of(const wxString& str, size_t nStart = npos) const > > { return find_last_not_of(str.wc_str(), nStart); } > > > > > size_t find_last_not_of(const char* sz, size_t nStart = npos) const; > size_t find_last_not_of(const wchar_t* sz, size_t nStart = npos) const; > size_t find_last_not_of(const char* sz, size_t nStart, size_t n) const; > size_t find_last_not_of(const wchar_t* sz, size_t nStart, size_t n) const; > > size_t find_last_not_of(wxUniChar ch, size_t nStart = npos) const; > > > > > size_t find_first_of(wxUniCharRef ch, size_t nStart = 0) const > { return find_first_of(wxUniChar(ch), nStart); } > size_t find_first_of(char ch, size_t nStart = 0) const > { return find_first_of(wxUniChar(ch), nStart); } > size_t find_first_of(unsigned char ch, size_t nStart = 0) const > { return find_first_of(wxUniChar(ch), nStart); } > size_t find_first_of(wchar_t ch, size_t nStart = 0) const > { return find_first_of(wxUniChar(ch), nStart); } > size_t find_last_of(wxUniCharRef ch, size_t nStart = npos) const > { return find_last_of(wxUniChar(ch), nStart); } > size_t find_last_of(char ch, size_t nStart = npos) const > { return find_last_of(wxUniChar(ch), nStart); } > size_t find_last_of(unsigned char ch, size_t nStart = npos) const > { return find_last_of(wxUniChar(ch), nStart); } > size_t find_last_of(wchar_t ch, size_t nStart = npos) const > { return find_last_of(wxUniChar(ch), nStart); } > size_t find_first_not_of(wxUniCharRef ch, size_t nStart = 0) const > { return find_first_not_of(wxUniChar(ch), nStart); } > size_t find_first_not_of(char ch, size_t nStart = 0) const > { return find_first_not_of(wxUniChar(ch), nStart); } > size_t find_first_not_of(unsigned char ch, size_t nStart = 0) const > { return find_first_not_of(wxUniChar(ch), nStart); } > size_t find_first_not_of(wchar_t ch, size_t nStart = 0) const > { return find_first_not_of(wxUniChar(ch), nStart); } > size_t find_last_not_of(wxUniCharRef ch, size_t nStart = npos) const > { return find_last_not_of(wxUniChar(ch), nStart); } > size_t find_last_not_of(char ch, size_t nStart = npos) const > { return find_last_not_of(wxUniChar(ch), nStart); } > size_t find_last_not_of(unsigned char ch, size_t nStart = npos) const > { return find_last_not_of(wxUniChar(ch), nStart); } > size_t find_last_not_of(wchar_t ch, size_t nStart = npos) const > { return find_last_not_of(wxUniChar(ch), nStart); } > > > size_t find_first_of(const wxCStrData& sz, size_t nStart = 0) const > { return find_first_of(sz.AsString(), nStart); } > size_t find_first_of(const wxScopedCharBuffer& sz, size_t nStart = 0) const > { return find_first_of(sz.data(), nStart); } > size_t find_first_of(const wxScopedWCharBuffer& sz, size_t nStart = 0) const > { return find_first_of(sz.data(), nStart); } > size_t find_first_of(const wxCStrData& sz, size_t nStart, size_t n) const > { return find_first_of(sz.AsWChar(), nStart, n); } > size_t find_first_of(const wxScopedCharBuffer& sz, size_t nStart, size_t n) const > { return find_first_of(sz.data(), nStart, n); } > size_t find_first_of(const wxScopedWCharBuffer& sz, size_t nStart, size_t n) const > { return find_first_of(sz.data(), nStart, n); } > > size_t find_last_of(const wxCStrData& sz, size_t nStart = 0) const > { return find_last_of(sz.AsString(), nStart); } > size_t find_last_of(const wxScopedCharBuffer& sz, size_t nStart = 0) const > { return find_last_of(sz.data(), nStart); } > size_t find_last_of(const wxScopedWCharBuffer& sz, size_t nStart = 0) const > { return find_last_of(sz.data(), nStart); } > size_t find_last_of(const wxCStrData& sz, size_t nStart, size_t n) const > { return find_last_of(sz.AsWChar(), nStart, n); } > size_t find_last_of(const wxScopedCharBuffer& sz, size_t nStart, size_t n) const > { return find_last_of(sz.data(), nStart, n); } > size_t find_last_of(const wxScopedWCharBuffer& sz, size_t nStart, size_t n) const > { return find_last_of(sz.data(), nStart, n); } > > size_t find_first_not_of(const wxCStrData& sz, size_t nStart = 0) const > { return find_first_not_of(sz.AsString(), nStart); } > size_t find_first_not_of(const wxScopedCharBuffer& sz, size_t nStart = 0) const > { return find_first_not_of(sz.data(), nStart); } > size_t find_first_not_of(const wxScopedWCharBuffer& sz, size_t nStart = 0) const > { return find_first_not_of(sz.data(), nStart); } > size_t find_first_not_of(const wxCStrData& sz, size_t nStart, size_t n) const > { return find_first_not_of(sz.AsWChar(), nStart, n); } > size_t find_first_not_of(const wxScopedCharBuffer& sz, size_t nStart, size_t n) const > { return find_first_not_of(sz.data(), nStart, n); } > size_t find_first_not_of(const wxScopedWCharBuffer& sz, size_t nStart, size_t n) const > { return find_first_not_of(sz.data(), nStart, n); } > > size_t find_last_not_of(const wxCStrData& sz, size_t nStart = 0) const > { return find_last_not_of(sz.AsString(), nStart); } > size_t find_last_not_of(const wxScopedCharBuffer& sz, size_t nStart = 0) const > { return find_last_not_of(sz.data(), nStart); } > size_t find_last_not_of(const wxScopedWCharBuffer& sz, size_t nStart = 0) const > { return find_last_not_of(sz.data(), nStart); } > size_t find_last_not_of(const wxCStrData& sz, size_t nStart, size_t n) const > { return find_last_not_of(sz.AsWChar(), nStart, n); } > size_t find_last_not_of(const wxScopedCharBuffer& sz, size_t nStart, size_t n) const > { return find_last_not_of(sz.data(), nStart, n); } > size_t find_last_not_of(const wxScopedWCharBuffer& sz, size_t nStart, size_t n) const > { return find_last_not_of(sz.data(), nStart, n); } > > > wxString& operator+=(const wxString& s) > { > InvalidateCachedLength(); > > m_impl += s.m_impl; > return *this; > } > > wxString& operator+=(const char *psz) > { > InvalidateCachedLength(); > > m_impl += ImplStr(psz); > return *this; > } > wxString& operator+=(const wchar_t *pwz) > { > InvalidateCachedLength(); > > m_impl += ImplStr(pwz); > return *this; > } > wxString& operator+=(const wxCStrData& s) > { > InvalidateCachedLength(); > > m_impl += s.AsString().m_impl; > return *this; > } > wxString& operator+=(const wxScopedCharBuffer& s) > { return append(s); } > wxString& operator+=(const wxScopedWCharBuffer& s) > { return append(s); } > > wxString& operator+=(wxUniChar ch) > { > UpdateCachedLength(1); > > > if ( !ch.IsAscii() ) > m_impl += wxStringOperations::EncodeChar(ch); > else > > m_impl += (wxStringCharType)ch; > return *this; > } > wxString& operator+=(wxUniCharRef ch) { return *this += wxUniChar(ch); } > wxString& operator+=(int ch) { return *this += wxUniChar(ch); } > wxString& operator+=(char ch) { return *this += wxUniChar(ch); } > wxString& operator+=(unsigned char ch) { return *this += wxUniChar(ch); } > wxString& operator+=(wchar_t ch) { return *this += wxUniChar(ch); } > >private: ># 3459 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > int DoPrintfWchar(const wxChar *format, ...); > static wxString DoFormatWchar(const wxChar *format, ...); > > > int DoPrintfUtf8(const char *format, ...); > static wxString DoFormatUtf8(const char *format, ...); ># 3473 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >private: > wxStringImpl m_impl; ># 3483 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > template<typename T> > struct ConvertedBuffer > { > > > ConvertedBuffer() : m_str(__null) {} > ~ConvertedBuffer() > { free(m_str); } > > bool Extend(size_t len) > { > > void * const str = realloc(m_str, sizeof(T)*(len + 1)); > if ( !str ) > return false; > > m_str = static_cast<T *>(str); > m_len = len; > > return true; > } > > const wxScopedCharTypeBuffer<T> AsScopedBuffer() const > { > return wxScopedCharTypeBuffer<T>::CreateNonOwned(m_str, m_len); > } > > T *m_str; > size_t m_len; > }; ># 3526 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > const char *AsChar(const wxMBConv& conv) const; > > > wxScopedCharBuffer AsCharBuf(const wxMBConv& conv) const > { > > > if ( conv.IsUTF8() ) > { > return wxScopedCharBuffer::CreateNonOwned(m_impl.c_str(), > m_impl.length()); > } ># 3546 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > if ( !AsChar(conv) ) > { ># 3556 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > return wxScopedCharBuffer::CreateNonOwned("", 0); > } > > return m_convertedToChar.AsScopedBuffer(); > } > > ConvertedBuffer<char> m_convertedToChar; ># 3571 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > const wchar_t *AsWChar(const wxMBConv& conv) const; > > > wxScopedWCharBuffer AsWCharBuf(const wxMBConv& conv) const > { > if ( !AsWChar(conv) ) > return wxScopedWCharBuffer::CreateNonOwned(L"", 0); > > return m_convertedToWChar.AsScopedBuffer(); > } > > ConvertedBuffer<wchar_t> m_convertedToWChar; > > > > > > > > struct wxStringIteratorNodeHead > { > wxStringIteratorNodeHead() : ptr(__null) {} > wxStringIteratorNode *ptr; > > > > private: wxStringIteratorNodeHead(const wxStringIteratorNodeHead&); wxStringIteratorNodeHead& operator=(const wxStringIteratorNodeHead&); > }; > > wxStringIteratorNodeHead m_iterators; > > friend class wxStringIteratorNode; > friend class wxUniCharRef; > > > friend class wxCStrData; > friend class wxStringInternalBuffer; > friend class wxStringInternalBufferLength; >}; > > > > > > > >inline wxString::iterator operator+(ptrdiff_t n, wxString::iterator i) > { return i + n; } >inline wxString::const_iterator operator+(ptrdiff_t n, wxString::const_iterator i) > { return i + n; } >inline wxString::reverse_iterator operator+(ptrdiff_t n, wxString::reverse_iterator i) > { return i + n; } >inline wxString::const_reverse_iterator operator+(ptrdiff_t n, wxString::const_reverse_iterator i) > { return i + n; } > > > > > >wxString operator+(const wxString& string1, const wxString& string2); >wxString operator+(const wxString& string, const char *psz); >wxString operator+(const wxString& string, const wchar_t *pwz); >wxString operator+(const char *psz, const wxString& string); >wxString operator+(const wchar_t *pwz, const wxString& string); > >wxString operator+(const wxString& string, wxUniChar ch); >wxString operator+(wxUniChar ch, const wxString& string); > >inline wxString operator+(const wxString& string, wxUniCharRef ch) > { return string + (wxUniChar)ch; } >inline wxString operator+(const wxString& string, char ch) > { return string + wxUniChar(ch); } >inline wxString operator+(const wxString& string, wchar_t ch) > { return string + wxUniChar(ch); } >inline wxString operator+(wxUniCharRef ch, const wxString& string) > { return (wxUniChar)ch + string; } >inline wxString operator+(char ch, const wxString& string) > { return wxUniChar(ch) + string; } >inline wxString operator+(wchar_t ch, const wxString& string) > { return wxUniChar(ch) + string; } ># 3659 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >namespace wxPrivate >{ ># 3690 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >template <> >struct wxStringAsBufHelper<char> >{ > static wxScopedCharBuffer Get(const wxString& s, size_t *len) > { > const size_t length = s.utf8_length(); > if ( len ) > *len = length; > return wxScopedCharBuffer::CreateNonOwned(s.wx_str(), length); > } >}; > >template <> >struct wxStringAsBufHelper<wchar_t> >{ > static wxScopedWCharBuffer Get(const wxString& s, size_t *len) > { > wxScopedWCharBuffer wbuf(s.wc_str()); > if ( len ) > *len = wcslen(wbuf); > return wbuf; > } >}; > > > >} ># 3777 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >template<typename T> >class wxStringTypeBufferBase >{ >public: > typedef T CharType; > > wxStringTypeBufferBase(wxString& str, size_t lenWanted = 1024) > : m_str(str), m_buf(lenWanted) > { > > > > > > > size_t len; > const wxCharTypeBuffer<CharType> buf(str.tchar_str(&len, (CharType *)__null)); > if ( buf ) > { > if ( len > lenWanted ) > { > > > m_buf.data()[lenWanted] = 0; > len = lenWanted - 1; > } > > memcpy(m_buf.data(), buf, (len + 1)*sizeof(CharType)); > } > > > } > > operator CharType*() { return m_buf.data(); } > >protected: > wxString& m_str; > wxCharTypeBuffer<CharType> m_buf; >}; > >template<typename T> >class wxStringTypeBufferLengthBase : public wxStringTypeBufferBase<T> >{ >public: > wxStringTypeBufferLengthBase(wxString& str, size_t lenWanted = 1024) > : wxStringTypeBufferBase<T>(str, lenWanted), > m_len(0), > m_lenSet(false) > { } > > ~wxStringTypeBufferLengthBase() > { > do { if ( wxTheAssertHandler && !(this->m_lenSet) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h", 3829, __FUNCTION__, "this->m_lenSet", "forgot to call SetLength()"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > } > > void SetLength(size_t length) { m_len = length; m_lenSet = true; } > >protected: > size_t m_len; > bool m_lenSet; >}; > >template<typename T> >class wxStringTypeBuffer : public wxStringTypeBufferBase<T> >{ >public: > wxStringTypeBuffer(wxString& str, size_t lenWanted = 1024) > : wxStringTypeBufferBase<T>(str, lenWanted) > { } > > ~wxStringTypeBuffer() > { > this->m_str.assign(this->m_buf.data()); > } > > private: wxStringTypeBuffer(const wxStringTypeBuffer&); wxStringTypeBuffer& operator=(const wxStringTypeBuffer&); >}; > >template<typename T> >class wxStringTypeBufferLength : public wxStringTypeBufferLengthBase<T> >{ >public: > wxStringTypeBufferLength(wxString& str, size_t lenWanted = 1024) > : wxStringTypeBufferLengthBase<T>(str, lenWanted) > { } > > ~wxStringTypeBufferLength() > { > this->m_str.assign(this->m_buf.data(), this->m_len); > } > > private: wxStringTypeBufferLength(const wxStringTypeBufferLength&); wxStringTypeBufferLength& operator=(const wxStringTypeBufferLength&); >}; > > > > > >class wxStringInternalBuffer : public wxStringTypeBufferBase<wxStringCharType> >{ >public: > wxStringInternalBuffer(wxString& str, size_t lenWanted = 1024) > : wxStringTypeBufferBase<wxStringCharType>(str, lenWanted) {} > ~wxStringInternalBuffer() > { m_str.m_impl.assign(m_buf.data()); } > > private: wxStringInternalBuffer(const wxStringInternalBuffer&); wxStringInternalBuffer& operator=(const wxStringInternalBuffer&); >}; > > > > >class wxStringInternalBufferLength > : public wxStringTypeBufferLengthBase<wxStringCharType> >{ >public: > wxStringInternalBufferLength(wxString& str, size_t lenWanted = 1024) > : wxStringTypeBufferLengthBase<wxStringCharType>(str, lenWanted) {} > > ~wxStringInternalBufferLength() > { > m_str.m_impl.assign(m_buf.data(), m_len); > } > > private: wxStringInternalBufferLength(const wxStringInternalBufferLength&); wxStringInternalBufferLength& operator=(const wxStringInternalBufferLength&); >}; > > > > > >typedef wxStringTypeBuffer<wxChar> wxStringBuffer; >typedef wxStringTypeBufferLength<wxChar> wxStringBufferLength; > > > > > > >typedef wxStringInternalBuffer wxUTF8StringBuffer; >typedef wxStringInternalBufferLength wxUTF8StringBufferLength; ># 3985 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >inline bool operator ==(const wxChar * x, const wxString& y) { return 0 == y.Cmp(x); } inline bool operator !=(const wxChar * x, const wxString& y) { return 0 != y.Cmp(x); } inline bool operator >=(const wxChar * x, const wxString& y) { return 0 >= y.Cmp(x); } inline bool operator <=(const wxChar * x, const wxString& y) { return 0 <= y.Cmp(x); } inline bool operator >(const wxChar * x, const wxString& y) { return 0 > y.Cmp(x); } inline bool operator <(const wxChar * x, const wxString& y) { return 0 < y.Cmp(x); } inline bool operator ==(const wxString& y, const wxChar * x) { return 0 == y.Cmp(x); } inline bool operator !=(const wxString& y, const wxChar * x) { return 0 != y.Cmp(x); } inline bool operator >=(const wxString& y, const wxChar * x) { return 0 <= y.Cmp(x); } inline bool operator <=(const wxString& y, const wxChar * x) { return 0 >= y.Cmp(x); } inline bool operator >(const wxString& y, const wxChar * x) { return 0 < y.Cmp(x); } inline bool operator <(const wxString& y, const wxChar * x) { return 0 > y.Cmp(x); } > > > >inline bool operator==(const wxString& s1, const wxString& s2) > { return s1.IsSameAs(s2); } >inline bool operator!=(const wxString& s1, const wxString& s2) > { return !s1.IsSameAs(s2); } >inline bool operator< (const wxString& s1, const wxString& s2) > { return s1.Cmp(s2) < 0; } >inline bool operator> (const wxString& s1, const wxString& s2) > { return s1.Cmp(s2) > 0; } >inline bool operator<=(const wxString& s1, const wxString& s2) > { return s1.Cmp(s2) <= 0; } >inline bool operator>=(const wxString& s1, const wxString& s2) > { return s1.Cmp(s2) >= 0; } > >inline bool operator==(const wxString& s1, const wxCStrData& s2) > { return s1 == s2.AsString(); } >inline bool operator==(const wxCStrData& s1, const wxString& s2) > { return s1.AsString() == s2; } >inline bool operator!=(const wxString& s1, const wxCStrData& s2) > { return s1 != s2.AsString(); } >inline bool operator!=(const wxCStrData& s1, const wxString& s2) > { return s1.AsString() != s2; } > >inline bool operator==(const wxString& s1, const wxScopedWCharBuffer& s2) > { return (s1.Cmp((const wchar_t *)s2) == 0); } >inline bool operator==(const wxScopedWCharBuffer& s1, const wxString& s2) > { return (s2.Cmp((const wchar_t *)s1) == 0); } >inline bool operator!=(const wxString& s1, const wxScopedWCharBuffer& s2) > { return (s1.Cmp((const wchar_t *)s2) != 0); } >inline bool operator!=(const wxScopedWCharBuffer& s1, const wxString& s2) > { return (s2.Cmp((const wchar_t *)s1) != 0); } > >inline bool operator==(const wxString& s1, const wxScopedCharBuffer& s2) > { return (s1.Cmp((const char *)s2) == 0); } >inline bool operator==(const wxScopedCharBuffer& s1, const wxString& s2) > { return (s2.Cmp((const char *)s1) == 0); } >inline bool operator!=(const wxString& s1, const wxScopedCharBuffer& s2) > { return (s1.Cmp((const char *)s2) != 0); } >inline bool operator!=(const wxScopedCharBuffer& s1, const wxString& s2) > { return (s2.Cmp((const char *)s1) != 0); } > >inline wxString operator+(const wxString& string, const wxScopedWCharBuffer& buf) > { return string + (const wchar_t *)buf; } >inline wxString operator+(const wxScopedWCharBuffer& buf, const wxString& string) > { return (const wchar_t *)buf + string; } > >inline wxString operator+(const wxString& string, const wxScopedCharBuffer& buf) > { return string + (const char *)buf; } >inline wxString operator+(const wxScopedCharBuffer& buf, const wxString& string) > { return (const char *)buf + string; } > > >inline bool operator==(const wxUniChar& c, const wxString& s) { return s.IsSameAs(c); } >inline bool operator==(const wxUniCharRef& c, const wxString& s) { return s.IsSameAs(c); } >inline bool operator==(char c, const wxString& s) { return s.IsSameAs(c); } >inline bool operator==(wchar_t c, const wxString& s) { return s.IsSameAs(c); } >inline bool operator==(int c, const wxString& s) { return s.IsSameAs(c); } >inline bool operator==(const wxString& s, const wxUniChar& c) { return s.IsSameAs(c); } >inline bool operator==(const wxString& s, const wxUniCharRef& c) { return s.IsSameAs(c); } >inline bool operator==(const wxString& s, char c) { return s.IsSameAs(c); } >inline bool operator==(const wxString& s, wchar_t c) { return s.IsSameAs(c); } >inline bool operator!=(const wxUniChar& c, const wxString& s) { return !s.IsSameAs(c); } >inline bool operator!=(const wxUniCharRef& c, const wxString& s) { return !s.IsSameAs(c); } >inline bool operator!=(char c, const wxString& s) { return !s.IsSameAs(c); } >inline bool operator!=(wchar_t c, const wxString& s) { return !s.IsSameAs(c); } >inline bool operator!=(int c, const wxString& s) { return !s.IsSameAs(c); } >inline bool operator!=(const wxString& s, const wxUniChar& c) { return !s.IsSameAs(c); } >inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); } >inline bool operator!=(const wxString& s, char c) { return !s.IsSameAs(c); } >inline bool operator!=(const wxString& s, wchar_t c) { return !s.IsSameAs(c); } > > > >inline bool wxString::iterator::operator==(const const_iterator& i) const > { return i == *this; } >inline bool wxString::iterator::operator!=(const const_iterator& i) const > { return i != *this; } >inline bool wxString::iterator::operator<(const const_iterator& i) const > { return i > *this; } >inline bool wxString::iterator::operator>(const const_iterator& i) const > { return i < *this; } >inline bool wxString::iterator::operator<=(const const_iterator& i) const > { return i >= *this; } >inline bool wxString::iterator::operator>=(const const_iterator& i) const > { return i <= *this; } > > > > > > >inline bool operator ==(const char * x, const wxString& y) { return wxString(x) == y; } inline bool operator !=(const char * x, const wxString& y) { return wxString(x) != y; } inline bool operator >=(const char * x, const wxString& y) { return wxString(x) >= y; } inline bool operator <=(const char * x, const wxString& y) { return wxString(x) <= y; } inline bool operator >(const char * x, const wxString& y) { return wxString(x) > y; } inline bool operator <(const char * x, const wxString& y) { return wxString(x) < y; } inline bool operator ==(const wxString& y, const char * x) { return wxString(x) == y; } inline bool operator !=(const wxString& y, const char * x) { return wxString(x) != y; } inline bool operator >=(const wxString& y, const char * x) { return wxString(x) <= y; } inline bool operator <=(const wxString& y, const char * x) { return wxString(x) >= y; } inline bool operator >(const wxString& y, const char * x) { return wxString(x) < y; } inline bool operator <(const wxString& y, const char * x) { return wxString(x) > y; } ># 4093 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >inline bool operator ==(const wchar_t * x, const wxCStrData& y) { return x == y.AsWChar(); } inline bool operator !=(const wchar_t * x, const wxCStrData& y) { return x != y.AsWChar(); } inline bool operator >=(const wchar_t * x, const wxCStrData& y) { return x >= y.AsWChar(); } inline bool operator <=(const wchar_t * x, const wxCStrData& y) { return x <= y.AsWChar(); } inline bool operator >(const wchar_t * x, const wxCStrData& y) { return x > y.AsWChar(); } inline bool operator <(const wchar_t * x, const wxCStrData& y) { return x < y.AsWChar(); } inline bool operator ==(const wxCStrData& y, const wchar_t * x) { return x == y.AsWChar(); } inline bool operator !=(const wxCStrData& y, const wchar_t * x) { return x != y.AsWChar(); } inline bool operator >=(const wxCStrData& y, const wchar_t * x) { return x <= y.AsWChar(); } inline bool operator <=(const wxCStrData& y, const wchar_t * x) { return x >= y.AsWChar(); } inline bool operator >(const wxCStrData& y, const wchar_t * x) { return x < y.AsWChar(); } inline bool operator <(const wxCStrData& y, const wchar_t * x) { return x > y.AsWChar(); } >inline bool operator ==(const char * x, const wxCStrData& y) { return x == y.AsChar(); } inline bool operator !=(const char * x, const wxCStrData& y) { return x != y.AsChar(); } inline bool operator >=(const char * x, const wxCStrData& y) { return x >= y.AsChar(); } inline bool operator <=(const char * x, const wxCStrData& y) { return x <= y.AsChar(); } inline bool operator >(const char * x, const wxCStrData& y) { return x > y.AsChar(); } inline bool operator <(const char * x, const wxCStrData& y) { return x < y.AsChar(); } inline bool operator ==(const wxCStrData& y, const char * x) { return x == y.AsChar(); } inline bool operator !=(const wxCStrData& y, const char * x) { return x != y.AsChar(); } inline bool operator >=(const wxCStrData& y, const char * x) { return x <= y.AsChar(); } inline bool operator <=(const wxCStrData& y, const char * x) { return x >= y.AsChar(); } inline bool operator >(const wxCStrData& y, const char * x) { return x < y.AsChar(); } inline bool operator <(const wxCStrData& y, const char * x) { return x > y.AsChar(); } ># 4105 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/iosfwrap.h" 1 ># 4106 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" 2 > > std:: ostream& operator<<(std:: ostream&, const wxString&); > std:: ostream& operator<<(std:: ostream&, const wxCStrData&); > std:: ostream& operator<<(std:: ostream&, const wxScopedCharBuffer&); > > std:: ostream& operator<<(std:: ostream&, const wxScopedWCharBuffer&); > > > > > std:: wostream& operator<<(std:: wostream&, const wxString&); > std:: wostream& operator<<(std:: wostream&, const wxCStrData&); > std:: wostream& operator<<(std:: wostream&, const wxScopedWCharBuffer&); ># 4128 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >inline wxCStrData::wxCStrData(char *buf) > : m_str(new wxString(buf)), m_offset(0), m_owned(true) {} >inline wxCStrData::wxCStrData(wchar_t *buf) > : m_str(new wxString(buf)), m_offset(0), m_owned(true) {} > >inline wxCStrData::wxCStrData(const wxCStrData& data) > : m_str(data.m_owned ? new wxString(*data.m_str) : data.m_str), > m_offset(data.m_offset), > m_owned(data.m_owned) >{ >} > >inline wxCStrData::~wxCStrData() >{ > if ( m_owned ) > delete const_cast<wxString*>(m_str); >} > > > >inline const wchar_t* wxCStrData::AsWChar() const >{ > const wchar_t * const p = > > > > m_str->AsWChar(wxMBConvStrictUTF8()); ># 4179 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" > return p + m_offset; >} > >inline const char* wxCStrData::AsChar() const >{ > > const char * const p = m_str->AsChar(wxGet_wxConvLibc()); > if ( !p ) > return ""; > > > > > return p + m_offset; >} > >inline wxString wxCStrData::AsString() const >{ > if ( m_offset == 0 ) > return *m_str; > else > return m_str->Mid(m_offset); >} > >inline const wxStringCharType *wxCStrData::AsInternal() const >{ > > return wxStringOperations::AddToIter(m_str->wx_str(), m_offset); > > > >} > >inline wxUniChar wxCStrData::operator*() const >{ > if ( m_str->empty() ) > return wxUniChar(L'\0'); > else > return (*m_str)[m_offset]; >} > >inline wxUniChar wxCStrData::operator[](size_t n) const >{ > > > return (*m_str)[m_offset + n]; >} > > > > > > > >inline size_t operator-(const char *p, const wxCStrData& cs) >{ > return p - cs.AsChar(); >} > >inline size_t operator-(const wchar_t *p, const wxCStrData& cs) >{ > return p - cs.AsWChar(); >} > > > > > > >inline wxCharBuffer::wxCharBuffer(const wxCStrData& cstr) > : wxCharTypeBufferBase(cstr.AsCharBuf()) >{ >} > >inline wxWCharBuffer::wxWCharBuffer(const wxCStrData& cstr) > : wxCharTypeBufferBase(cstr.AsWCharBuf()) >{ >} > > > > > > >void wxStringIteratorNode::DoSet(const wxString *str, > wxStringImpl::const_iterator *citer, > wxStringImpl::iterator *iter) >{ > m_prev = __null; > m_iter = iter; > m_citer = citer; > m_str = str; > if ( str ) > { > m_next = str->m_iterators.ptr; > const_cast<wxString*>(m_str)->m_iterators.ptr = this; > if ( m_next ) > m_next->m_prev = this; > } > else > { > m_next = __null; > } >} > >void wxStringIteratorNode::clear() >{ > if ( m_next ) > m_next->m_prev = m_prev; > if ( m_prev ) > m_prev->m_next = m_next; > else if ( m_str ) > const_cast<wxString*>(m_str)->m_iterators.ptr = m_next; > > m_next = m_prev = __null; > m_citer = __null; > m_iter = __null; > m_str = __null; >} ># 4312 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/string.h" >template<bool (T)(const wxUniChar& c)> > inline bool wxStringCheck(const wxString& val) > { > for ( wxString::const_iterator i = val.begin(); > i != val.end(); > ++i ) > if (T(*i) == 0) > return false; > return true; > } ># 16 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/memory.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/msgout.h" 1 ># 32 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/msgout.h" >class wxMessageOutputBase >{ >public: > virtual ~wxMessageOutputBase() { } > > > > inline void Printf(const wxFormatString& f1) { if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1); else DoPrintfWchar(f1); } template<typename T1> void Printf(const wxFormatString& f1, T1 a1) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get()); } template<typename T1, typename T2> void Printf(const wxFormatString& f1, T1 a1, T2 a2) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get()); } template<typename T1, typename T2, typename T3> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get()); } template<typename T1, typename T2, typename T3, typename T4> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28, typename T29> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28, T29 a29) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get(), wxArgNormalizerUtf8<T29>(a29, fmt, 29).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get(), wxArgNormalizerWchar<T29>(a29, fmt, 29).get()); } template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16, typename T17, typename T18, typename T19, typename T20, typename T21, typename T22, typename T23, typename T24, typename T25, typename T26, typename T27, typename T28, typename T29, typename T30> void Printf(const wxFormatString& f1, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9, T10 a10, T11 a11, T12 a12, T13 a13, T14 a14, T15 a15, T16 a16, T17 a17, T18 a18, T19 a19, T20 a20, T21 a21, T22 a22, T23 a23, T24 a24, T25 a25, T26 a26, T27 a27, T28 a28, T29 a29, T30 a30) { typedef const wxFormatString& TF1; const wxFormatString *fmt = ((wxFormatStringArgumentFinder<TF1>::find(f1))); if ( wxLocaleIsUtf8 ) DoPrintfUtf8(f1, wxArgNormalizerUtf8<T1>(a1, fmt, 1).get(), wxArgNormalizerUtf8<T2>(a2, fmt, 2).get(), wxArgNormalizerUtf8<T3>(a3, fmt, 3).get(), wxArgNormalizerUtf8<T4>(a4, fmt, 4).get(), wxArgNormalizerUtf8<T5>(a5, fmt, 5).get(), wxArgNormalizerUtf8<T6>(a6, fmt, 6).get(), wxArgNormalizerUtf8<T7>(a7, fmt, 7).get(), wxArgNormalizerUtf8<T8>(a8, fmt, 8).get(), wxArgNormalizerUtf8<T9>(a9, fmt, 9).get(), wxArgNormalizerUtf8<T10>(a10, fmt, 10).get(), wxArgNormalizerUtf8<T11>(a11, fmt, 11).get(), wxArgNormalizerUtf8<T12>(a12, fmt, 12).get(), wxArgNormalizerUtf8<T13>(a13, fmt, 13).get(), wxArgNormalizerUtf8<T14>(a14, fmt, 14).get(), wxArgNormalizerUtf8<T15>(a15, fmt, 15).get(), wxArgNormalizerUtf8<T16>(a16, fmt, 16).get(), wxArgNormalizerUtf8<T17>(a17, fmt, 17).get(), wxArgNormalizerUtf8<T18>(a18, fmt, 18).get(), wxArgNormalizerUtf8<T19>(a19, fmt, 19).get(), wxArgNormalizerUtf8<T20>(a20, fmt, 20).get(), wxArgNormalizerUtf8<T21>(a21, fmt, 21).get(), wxArgNormalizerUtf8<T22>(a22, fmt, 22).get(), wxArgNormalizerUtf8<T23>(a23, fmt, 23).get(), wxArgNormalizerUtf8<T24>(a24, fmt, 24).get(), wxArgNormalizerUtf8<T25>(a25, fmt, 25).get(), wxArgNormalizerUtf8<T26>(a26, fmt, 26).get(), wxArgNormalizerUtf8<T27>(a27, fmt, 27).get(), wxArgNormalizerUtf8<T28>(a28, fmt, 28).get(), wxArgNormalizerUtf8<T29>(a29, fmt, 29).get(), wxArgNormalizerUtf8<T30>(a30, fmt, 30).get()); else DoPrintfWchar(f1, wxArgNormalizerWchar<T1>(a1, fmt, 1).get(), wxArgNormalizerWchar<T2>(a2, fmt, 2).get(), wxArgNormalizerWchar<T3>(a3, fmt, 3).get(), wxArgNormalizerWchar<T4>(a4, fmt, 4).get(), wxArgNormalizerWchar<T5>(a5, fmt, 5).get(), wxArgNormalizerWchar<T6>(a6, fmt, 6).get(), wxArgNormalizerWchar<T7>(a7, fmt, 7).get(), wxArgNormalizerWchar<T8>(a8, fmt, 8).get(), wxArgNormalizerWchar<T9>(a9, fmt, 9).get(), wxArgNormalizerWchar<T10>(a10, fmt, 10).get(), wxArgNormalizerWchar<T11>(a11, fmt, 11).get(), wxArgNormalizerWchar<T12>(a12, fmt, 12).get(), wxArgNormalizerWchar<T13>(a13, fmt, 13).get(), wxArgNormalizerWchar<T14>(a14, fmt, 14).get(), wxArgNormalizerWchar<T15>(a15, fmt, 15).get(), wxArgNormalizerWchar<T16>(a16, fmt, 16).get(), wxArgNormalizerWchar<T17>(a17, fmt, 17).get(), wxArgNormalizerWchar<T18>(a18, fmt, 18).get(), wxArgNormalizerWchar<T19>(a19, fmt, 19).get(), wxArgNormalizerWchar<T20>(a20, fmt, 20).get(), wxArgNormalizerWchar<T21>(a21, fmt, 21).get(), wxArgNormalizerWchar<T22>(a22, fmt, 22).get(), wxArgNormalizerWchar<T23>(a23, fmt, 23).get(), wxArgNormalizerWchar<T24>(a24, fmt, 24).get(), wxArgNormalizerWchar<T25>(a25, fmt, 25).get(), wxArgNormalizerWchar<T26>(a26, fmt, 26).get(), wxArgNormalizerWchar<T27>(a27, fmt, 27).get(), wxArgNormalizerWchar<T28>(a28, fmt, 28).get(), wxArgNormalizerWchar<T29>(a29, fmt, 29).get(), wxArgNormalizerWchar<T30>(a30, fmt, 30).get()); } ># 55 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/msgout.h" > virtual void Output(const wxString& str) = 0; > >protected: > > > > virtual void DoPrintfWchar(const wxChar *format, ...) = 0; > > > virtual void DoPrintfUtf8(const char *format, ...) = 0; > >}; ># 75 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/msgout.h" >class wxMessageOutput : public wxMessageOutputBase >{ >public: > virtual ~wxMessageOutput() { } > > > > static wxMessageOutput* Get(); > > > static wxMessageOutput* Set(wxMessageOutput* msgout); > >protected: > > virtual void DoPrintfWchar(const wxChar *format, ...); > > > virtual void DoPrintfUtf8(const char *format, ...); > > >private: > static wxMessageOutput* ms_msgOut; >}; ># 107 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/msgout.h" >class wxMessageOutputStderr : public wxMessageOutput >{ >public: > wxMessageOutputStderr(FILE *fp = stderr) : m_fp(fp) { } > > virtual void Output(const wxString& str); > >protected: > > > wxString AppendLineFeedIfNeeded(const wxString& str); > > FILE *m_fp; >}; > > > > > > >enum wxMessageOutputFlags >{ > wxMSGOUT_PREFER_STDERR = 0, > wxMSGOUT_PREFER_MSGBOX = 1 >}; > >class wxMessageOutputBest : public wxMessageOutputStderr >{ >public: > wxMessageOutputBest(wxMessageOutputFlags flags = wxMSGOUT_PREFER_STDERR) > : m_flags(flags) { } > > virtual void Output(const wxString& str); > >private: > wxMessageOutputFlags m_flags; >}; > > > > > > > >class wxMessageOutputMessageBox : public wxMessageOutput >{ >public: > wxMessageOutputMessageBox() { } > > virtual void Output(const wxString& str); >}; > > > > > > > >class wxMessageOutputDebug : public wxMessageOutputStderr >{ >public: > wxMessageOutputDebug() { } > > virtual void Output(const wxString& str); >}; > > > > > >class wxMessageOutputLog : public wxMessageOutput >{ >public: > wxMessageOutputLog() { } > > virtual void Output(const wxString& str); >}; ># 17 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/memory.h" 2 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h" 2 ># 56 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/xti.h" 1 ># 57 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/rtti.h" 1 ># 27 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/rtti.h" >class wxObject; >class wxString; >class wxClassInfo; >class wxHashTable; >class wxObject; >class wxPluginLibrary; >class wxHashTable_Node; > > > > > >typedef wxObject *(*wxObjectConstructorFn)(void); > >class wxClassInfo >{ > friend class wxObject; > friend wxObject *wxCreateDynamicObject(const wxString& name); >public: > wxClassInfo( const wxChar *className, > const wxClassInfo *baseInfo1, > const wxClassInfo *baseInfo2, > int size, > wxObjectConstructorFn ctor ) > : m_className(className) > , m_objectSize(size) > , m_objectConstructor(ctor) > , m_baseInfo1(baseInfo1) > , m_baseInfo2(baseInfo2) > , m_next(sm_first) > { > sm_first = this; > Register(); > } > > ~wxClassInfo(); > > wxObject *CreateObject() const > { return m_objectConstructor ? (*m_objectConstructor)() : 0; } > bool IsDynamic() const { return (__null != m_objectConstructor); } > > const wxChar *GetClassName() const { return m_className; } > const wxChar *GetBaseClassName1() const > { return m_baseInfo1 ? m_baseInfo1->GetClassName() : __null; } > const wxChar *GetBaseClassName2() const > { return m_baseInfo2 ? m_baseInfo2->GetClassName() : __null; } > const wxClassInfo *GetBaseClass1() const { return m_baseInfo1; } > const wxClassInfo *GetBaseClass2() const { return m_baseInfo2; } > int GetSize() const { return m_objectSize; } > > wxObjectConstructorFn GetConstructor() const > { return m_objectConstructor; } > static const wxClassInfo *GetFirst() { return sm_first; } > const wxClassInfo *GetNext() const { return m_next; } > static wxClassInfo *FindClass(const wxString& className); > > > > > bool IsKindOf(const wxClassInfo *info) const > { > return info != 0 && > ( info == this || > ( m_baseInfo1 && m_baseInfo1->IsKindOf(info) ) || > ( m_baseInfo2 && m_baseInfo2->IsKindOf(info) ) ); > } > > class const_iterator { typedef wxHashTable_Node Node; public: typedef const wxClassInfo* value_type; typedef const value_type& const_reference; typedef const_iterator itor; typedef value_type* ptr_type; Node* m_node; wxHashTable* m_table; public: typedef const_reference reference_type; typedef ptr_type pointer_type; const_iterator(Node* node, wxHashTable* table) : m_node(node), m_table(table) { } const_iterator() : m_node(__null), m_table(__null) { } value_type operator*() const; itor& operator++(); const itor operator++(int); bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; static const_iterator begin_classinfo(); static const_iterator end_classinfo(); > >private: > const wxChar *m_className; > int m_objectSize; > wxObjectConstructorFn m_objectConstructor; > > > > const wxClassInfo *m_baseInfo1; > const wxClassInfo *m_baseInfo2; > > > > > static wxClassInfo *sm_first; > wxClassInfo *m_next; > > static wxHashTable *sm_classTable; > >protected: > > void Register(); > void Unregister(); > > private: wxClassInfo(const wxClassInfo&); wxClassInfo& operator=(const wxClassInfo&); >}; > > wxObject *wxCreateDynamicObject(const wxString& name); ># 199 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/rtti.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/flags.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/flags.h" >template <class T> class wxBitset >{ > friend class wxEnumData ; >public: > > wxBitset() { m_data = 0; } > > > > wxBitset(unsigned long val) { m_data = val ; } > > > wxBitset(const wxBitset &src) { m_data = src.m_data; } > > > wxBitset(const T el) { m_data |= 1 << el; } > > > unsigned long to_ulong() const { return m_data ; } > > > wxBitset &operator =(const wxBitset &rhs) > { > m_data = rhs.m_data; > return *this; > } > > > > wxBitset &operator |=(const wxBitset &rhs) > { > m_data |= rhs.m_data; > return *this; > } > > > > wxBitset &operator ^=(const wxBitset &rhs) > { > m_data ^= rhs.m_data; > return *this; > } > > > > wxBitset &operator &=(const wxBitset &rhs) > { > m_data &= rhs.m_data; > return *this; > } > > > > wxBitset operator |(const wxBitset &bitset2) const > { > wxBitset<T> s; > s.m_data = m_data | bitset2.m_data; > return s; > } > > > > wxBitset operator ^(const wxBitset &bitset2) const > { > wxBitset<T> s; > s.m_data = m_data ^ bitset2.m_data; > return s; > } > > > > wxBitset operator &(const wxBitset &bitset2) const > { > wxBitset<T> s; > s.m_data = m_data & bitset2.m_data; > return s; > } > > > wxBitset& set(const T el) > { > m_data |= 1 << el; > return *this; > } > > > wxBitset& reset(const T el) > { > m_data &= ~(1 << el); > return *this; > } > > > wxBitset& reset() > { > m_data = 0; > return *this; > } > > > bool test(const T el) const > { > return (m_data & (1 << el)) ? true : false; > } > > > bool none() const > { > return m_data == 0; > } > > > bool any() const > { > return m_data != 0; > } > > > bool operator ==(const wxBitset &rhs) const > { > return m_data == rhs.m_data; > } > > > bool operator !=(const wxBitset &rhs) const > { > return !operator==(rhs); > } > > bool operator[] (const T el) const { return test(el) ; } > >private : > unsigned long m_data; >}; ># 200 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/rtti.h" 2 ># 58 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h" 2 ># 157 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h" >template <class T> >inline T *wxCheckCast(const void *ptr, T * = __null) >{ > do { if ( wxTheAssertHandler && !(((T *) wxCheckDynamicCast( const_cast<wxObject *>(static_cast<const wxObject *>( const_cast<T *>(static_cast<const T *>(ptr)))), &T::ms_classInfo))) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h", 160, __FUNCTION__, "wxDynamicCast(ptr, T)", "wxStaticCast() used incorrectly"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return const_cast<T *>(static_cast<const T *>(ptr)); >} ># 241 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h" >class wxRefCounter >{ >public: > wxRefCounter() { m_count = 1; } > > int GetRefCount() const { return m_count; } > > void IncRef() { m_count++; } > void DecRef(); > >protected: > > > virtual ~wxRefCounter() { } > >private: > > int m_count; > > > > > > private: wxRefCounter(const wxRefCounter&); wxRefCounter& operator=(const wxRefCounter&); >}; > > > > > >typedef wxRefCounter wxObjectRefData; > > > > > > >template <class T> >class wxObjectDataPtr >{ >public: > typedef T element_type; > > explicit wxObjectDataPtr(T *ptr = __null) : m_ptr(ptr) {} > > > wxObjectDataPtr(const wxObjectDataPtr<T> &tocopy) > : m_ptr(tocopy.m_ptr) > { > if (m_ptr) > m_ptr->IncRef(); > } > > ~wxObjectDataPtr() > { > if (m_ptr) > m_ptr->DecRef(); > } > > T *get() const { return m_ptr; } > > > > typedef T *(wxObjectDataPtr<T>::*unspecified_bool_type)() const; > operator unspecified_bool_type() const > { > return m_ptr ? &wxObjectDataPtr<T>::get : __null; > } > > T& operator*() const > { > do { if ( wxTheAssertHandler && !(m_ptr != __null) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h", 312, __FUNCTION__, "m_ptr != __null", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return *(m_ptr); > } > > T *operator->() const > { > do { if ( wxTheAssertHandler && !(m_ptr != __null) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h", 318, __FUNCTION__, "m_ptr != __null", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return get(); > } > > void reset(T *ptr) > { > if (m_ptr) > m_ptr->DecRef(); > m_ptr = ptr; > } > > wxObjectDataPtr& operator=(const wxObjectDataPtr &tocopy) > { > if (m_ptr) > m_ptr->DecRef(); > m_ptr = tocopy.m_ptr; > if (m_ptr) > m_ptr->IncRef(); > return *this; > } > > wxObjectDataPtr& operator=(T *ptr) > { > if (m_ptr) > m_ptr->DecRef(); > m_ptr = ptr; > return *this; > } > >private: > T *m_ptr; >}; > > > > > >class wxObject >{ > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; > >public: > wxObject() { m_refData = __null; } > virtual ~wxObject() { UnRef(); } > > wxObject(const wxObject& other) > { > m_refData = other.m_refData; > if (m_refData) > m_refData->IncRef(); > } > > wxObject& operator=(const wxObject& other) > { > if ( this != &other ) > { > Ref(other); > } > return *this; > } > > bool IsKindOf(const wxClassInfo *info) const; ># 415 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h" > wxObjectRefData *GetRefData() const { return m_refData; } > void SetRefData(wxObjectRefData *data) { m_refData = data; } > > > void Ref(const wxObject& clone); > > > void UnRef(); > > > void UnShare() { AllocExclusive(); } > > > bool IsSameAs(const wxObject& o) const { return m_refData == o.m_refData; } > >protected: > > > > void AllocExclusive(); > > > > > > virtual wxObjectRefData *CreateRefData() const; > > > virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const; > > wxObjectRefData *m_refData; >}; > >inline wxObject *wxCheckDynamicCast(wxObject *obj, wxClassInfo *classInfo) >{ > return obj && obj->GetClassInfo()->IsKindOf(classInfo) ? obj : __null; >} > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/xti2.h" 1 ># 454 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/object.h" 2 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdiobj.h" 2 > > > > > > > >class wxGDIRefData : public wxObjectRefData >{ >public: > > > wxGDIRefData() { } > > > > virtual bool IsOk() const { return true; } > >private: > private: wxGDIRefData(const wxGDIRefData&); wxGDIRefData& operator=(const wxGDIRefData&); >}; > > > > > >class wxGDIObject : public wxObject >{ >public: > > virtual bool IsOk() const > { > > > return m_refData && static_cast<wxGDIRefData *>(m_refData)->IsOk(); > } > > > bool IsNull() const { return m_refData == __null; } > > > > bool Ok() const { return IsOk(); } ># 72 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdiobj.h" >protected: > > > > virtual wxObjectRefData *CreateRefData() const > { > return CreateGDIRefData(); > } > > virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const > { > return CloneGDIRefData(static_cast<const wxGDIRefData *>(data)); > } > > virtual wxGDIRefData *CreateGDIRefData() const = 0; > virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const = 0; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 16 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" 2 > >class wxColour; ># 37 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" >enum { > wxC2S_NAME = 1, > wxC2S_CSS_SYNTAX = 2, > wxC2S_HTML_SYNTAX = 4 >}; > >const unsigned char wxALPHA_TRANSPARENT = 0; >const unsigned char wxALPHA_OPAQUE = 0xff; ># 55 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" >inline int wxStringSortAscending(wxString* s1, wxString* s2) >{ > return s1->Cmp(*s2); >} > >inline int wxStringSortDescending(wxString* s1, wxString* s2) >{ > return wxStringSortAscending(s2, s1); >} ># 115 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/beforestd.h" 1 ># 116 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" 2 ># 1 "/usr/include/c++/4.9.1/iterator" 1 3 ># 58 "/usr/include/c++/4.9.1/iterator" 3 ># 59 "/usr/include/c++/4.9.1/iterator" 3 > > > > > ># 1 "/usr/include/c++/4.9.1/ostream" 1 3 ># 36 "/usr/include/c++/4.9.1/ostream" 3 ># 37 "/usr/include/c++/4.9.1/ostream" 3 > ># 1 "/usr/include/c++/4.9.1/ios" 1 3 ># 36 "/usr/include/c++/4.9.1/ios" 3 ># 37 "/usr/include/c++/4.9.1/ios" 3 > > > > > ># 1 "/usr/include/c++/4.9.1/bits/ios_base.h" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 ># 38 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > > > ># 1 "/usr/include/c++/4.9.1/bits/locale_classes.h" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 ># 38 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 62 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > class locale > { > public: > > > typedef int category; > > > class facet; > class id; > class _Impl; > > friend class facet; > friend class _Impl; > > template<typename _Facet> > friend bool > has_facet(const locale&) throw(); > > template<typename _Facet> > friend const _Facet& > use_facet(const locale&); > > template<typename _Cache> > friend struct __use_cache; ># 98 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > static const category none = 0; > static const category ctype = 1L << 0; > static const category numeric = 1L << 1; > static const category collate = 1L << 2; > static const category time = 1L << 3; > static const category monetary = 1L << 4; > static const category messages = 1L << 5; > static const category all = (ctype | numeric | collate | > time | monetary | messages); ># 117 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > locale() throw(); ># 126 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > locale(const locale& __other) throw(); ># 136 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > explicit > locale(const char* __s); ># 151 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > locale(const locale& __base, const char* __s, category __cat); ># 164 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > locale(const locale& __base, const locale& __add, category __cat); ># 177 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > template<typename _Facet> > locale(const locale& __other, _Facet* __f); > > > ~locale() throw(); ># 191 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > const locale& > operator=(const locale& __other) throw(); ># 206 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > template<typename _Facet> > locale > combine(const locale& __other) const; > > > > > > > string > name() const; ># 225 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > bool > operator==(const locale& __other) const throw(); > > > > > > > > bool > operator!=(const locale& __other) const throw() > { return !(this->operator==(__other)); } ># 253 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > template<typename _Char, typename _Traits, typename _Alloc> > bool > operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, > const basic_string<_Char, _Traits, _Alloc>& __s2) const; ># 269 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > static locale > global(const locale& __loc); > > > > > static const locale& > classic(); > > private: > > _Impl* _M_impl; > > > static _Impl* _S_classic; > > > static _Impl* _S_global; > > > > > > static const char* const* const _S_categories; ># 304 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > enum { _S_categories_size = 6 + 6 }; > > > static __gthread_once_t _S_once; > > > explicit > locale(_Impl*) throw(); > > static void > _S_initialize(); > > static void > _S_initialize_once() throw(); > > static category > _S_normalize_category(category); > > void > _M_coalesce(const locale& __base, const locale& __add, category __cat); > }; ># 338 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > class locale::facet > { > private: > friend class locale; > friend class locale::_Impl; > > mutable _Atomic_word _M_refcount; > > > static __c_locale _S_c_locale; > > > static const char _S_c_name[2]; > > > static __gthread_once_t _S_once; > > > static void > _S_initialize_once(); > > protected: ># 369 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > explicit > facet(size_t __refs = 0) throw() : _M_refcount(__refs ? 1 : 0) > { } > > > virtual > ~facet(); > > static void > _S_create_c_locale(__c_locale& __cloc, const char* __s, > __c_locale __old = 0); > > static __c_locale > _S_clone_c_locale(__c_locale& __cloc) throw(); > > static void > _S_destroy_c_locale(__c_locale& __cloc); > > static __c_locale > _S_lc_ctype_c_locale(__c_locale __cloc, const char* __s); > > > > static __c_locale > _S_get_c_locale(); > > __attribute__ ((__const__)) static const char* > _S_get_c_name() throw(); > > private: > void > _M_add_reference() const throw() > { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } > > void > _M_remove_reference() const throw() > { > > ; > if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1) > { > ; > if (true) > { delete this; } > if (false) > { } > } > } > > facet(const facet&); > > facet& > operator=(const facet&); > }; ># 436 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > class locale::id > { > private: > friend class locale; > friend class locale::_Impl; > > template<typename _Facet> > friend const _Facet& > use_facet(const locale&); > > template<typename _Facet> > friend bool > has_facet(const locale&) throw(); > > > > > mutable size_t _M_index; > > > static _Atomic_word _S_refcount; > > void > operator=(const id&); > > id(const id&); > > public: > > > > id() { } > > size_t > _M_id() const throw(); > }; > > > > class locale::_Impl > { > public: > > friend class locale; > friend class locale::facet; > > template<typename _Facet> > friend bool > has_facet(const locale&) throw(); > > template<typename _Facet> > friend const _Facet& > use_facet(const locale&); > > template<typename _Cache> > friend struct __use_cache; > > private: > > _Atomic_word _M_refcount; > const facet** _M_facets; > size_t _M_facets_size; > const facet** _M_caches; > char** _M_names; > static const locale::id* const _S_id_ctype[]; > static const locale::id* const _S_id_numeric[]; > static const locale::id* const _S_id_collate[]; > static const locale::id* const _S_id_time[]; > static const locale::id* const _S_id_monetary[]; > static const locale::id* const _S_id_messages[]; > static const locale::id* const* const _S_facet_categories[]; > > void > _M_add_reference() throw() > { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } > > void > _M_remove_reference() throw() > { > > ; > if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1) > { > ; > if (true) > { delete this; } > if (false) > { } > } > } > > _Impl(const _Impl&, size_t); > _Impl(const char*, size_t); > _Impl(size_t) throw(); > > ~_Impl() throw(); > > _Impl(const _Impl&); > > void > operator=(const _Impl&); > > bool > _M_check_same_name() > { > bool __ret = true; > if (_M_names[1]) > > for (size_t __i = 0; __ret && __i < _S_categories_size - 1; ++__i) > __ret = __builtin_strcmp(_M_names[__i], _M_names[__i + 1]) == 0; > return __ret; > } > > void > _M_replace_categories(const _Impl*, category); > > void > _M_replace_category(const _Impl*, const locale::id* const*); > > void > _M_replace_facet(const _Impl*, const locale::id*); > > void > _M_install_facet(const locale::id*, const facet*); > > template<typename _Facet> > void > _M_init_facet(_Facet* __facet) > { _M_install_facet(&_Facet::id, __facet); } > > void > _M_install_cache(const facet*, size_t); > }; ># 583 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > template<typename _CharT> > class collate : public locale::facet > { > public: > > > > typedef _CharT char_type; > typedef basic_string<_CharT> string_type; > > > protected: > > > __c_locale _M_c_locale_collate; > > public: > > static locale::id id; ># 610 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > explicit > collate(size_t __refs = 0) > : facet(__refs), _M_c_locale_collate(_S_get_c_locale()) > { } ># 624 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > explicit > collate(__c_locale __cloc, size_t __refs = 0) > : facet(__refs), _M_c_locale_collate(_S_clone_c_locale(__cloc)) > { } ># 641 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > int > compare(const _CharT* __lo1, const _CharT* __hi1, > const _CharT* __lo2, const _CharT* __hi2) const > { return this->do_compare(__lo1, __hi1, __lo2, __hi2); } ># 660 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > string_type > transform(const _CharT* __lo, const _CharT* __hi) const > { return this->do_transform(__lo, __hi); } ># 674 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > long > hash(const _CharT* __lo, const _CharT* __hi) const > { return this->do_hash(__lo, __hi); } > > > int > _M_compare(const _CharT*, const _CharT*) const throw(); > > size_t > _M_transform(_CharT*, const _CharT*, size_t) const throw(); > > protected: > > virtual > ~collate() > { _S_destroy_c_locale(_M_c_locale_collate); } ># 703 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > virtual int > do_compare(const _CharT* __lo1, const _CharT* __hi1, > const _CharT* __lo2, const _CharT* __hi2) const; ># 717 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > virtual string_type > do_transform(const _CharT* __lo, const _CharT* __hi) const; ># 730 "/usr/include/c++/4.9.1/bits/locale_classes.h" 3 > virtual long > do_hash(const _CharT* __lo, const _CharT* __hi) const; > }; > > template<typename _CharT> > locale::id collate<_CharT>::id; > > > template<> > int > collate<char>::_M_compare(const char*, const char*) const throw(); > > template<> > size_t > collate<char>::_M_transform(char*, const char*, size_t) const throw(); > > > template<> > int > collate<wchar_t>::_M_compare(const wchar_t*, const wchar_t*) const throw(); > > template<> > size_t > collate<wchar_t>::_M_transform(wchar_t*, const wchar_t*, size_t) const throw(); > > > > template<typename _CharT> > class collate_byname : public collate<_CharT> > { > public: > > > typedef _CharT char_type; > typedef basic_string<_CharT> string_type; > > > explicit > collate_byname(const char* __s, size_t __refs = 0) > : collate<_CharT>(__refs) > { > if (__builtin_strcmp(__s, "C") != 0 > && __builtin_strcmp(__s, "POSIX") != 0) > { > this->_S_destroy_c_locale(this->_M_c_locale_collate); > this->_S_create_c_locale(this->_M_c_locale_collate, __s); > } > } > > protected: > virtual > ~collate_byname() { } > }; > > >} > ># 1 "/usr/include/c++/4.9.1/bits/locale_classes.tcc" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/locale_classes.tcc" 3 ># 38 "/usr/include/c++/4.9.1/bits/locale_classes.tcc" 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _Facet> > locale:: > locale(const locale& __other, _Facet* __f) > { > _M_impl = new _Impl(*__other._M_impl, 1); > > if (true) > { _M_impl->_M_install_facet(&_Facet::id, __f); } > if (false) > { > _M_impl->_M_remove_reference(); > ; > } > delete [] _M_impl->_M_names[0]; > _M_impl->_M_names[0] = 0; > } > > template<typename _Facet> > locale > locale:: > combine(const locale& __other) const > { > _Impl* __tmp = new _Impl(*_M_impl, 1); > if (true) > { > __tmp->_M_replace_facet(__other._M_impl, &_Facet::id); > } > if (false) > { > __tmp->_M_remove_reference(); > ; > } > return locale(__tmp); > } > > template<typename _CharT, typename _Traits, typename _Alloc> > bool > locale:: > operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, > const basic_string<_CharT, _Traits, _Alloc>& __s2) const > { > typedef std::collate<_CharT> __collate_type; > const __collate_type& __collate = use_facet<__collate_type>(*this); > return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), > __s2.data(), __s2.data() + __s2.length()) < 0); > } ># 102 "/usr/include/c++/4.9.1/bits/locale_classes.tcc" 3 > template<typename _Facet> > bool > has_facet(const locale& __loc) throw() > { > const size_t __i = _Facet::id._M_id(); > const locale::facet** __facets = __loc._M_impl->_M_facets; > return (__i < __loc._M_impl->_M_facets_size > > && dynamic_cast<const _Facet*>(__facets[__i])); > > > > } ># 130 "/usr/include/c++/4.9.1/bits/locale_classes.tcc" 3 > template<typename _Facet> > const _Facet& > use_facet(const locale& __loc) > { > const size_t __i = _Facet::id._M_id(); > const locale::facet** __facets = __loc._M_impl->_M_facets; > if (__i >= __loc._M_impl->_M_facets_size || !__facets[__i]) > __throw_bad_cast(); > > return dynamic_cast<const _Facet&>(*__facets[__i]); > > > > } > > > > template<typename _CharT> > int > collate<_CharT>::_M_compare(const _CharT*, const _CharT*) const throw () > { return 0; } > > > template<typename _CharT> > size_t > collate<_CharT>::_M_transform(_CharT*, const _CharT*, size_t) const throw () > { return 0; } > > template<typename _CharT> > int > collate<_CharT>:: > do_compare(const _CharT* __lo1, const _CharT* __hi1, > const _CharT* __lo2, const _CharT* __hi2) const > { > > > const string_type __one(__lo1, __hi1); > const string_type __two(__lo2, __hi2); > > const _CharT* __p = __one.c_str(); > const _CharT* __pend = __one.data() + __one.length(); > const _CharT* __q = __two.c_str(); > const _CharT* __qend = __two.data() + __two.length(); > > > > > for (;;) > { > const int __res = _M_compare(__p, __q); > if (__res) > return __res; > > __p += char_traits<_CharT>::length(__p); > __q += char_traits<_CharT>::length(__q); > if (__p == __pend && __q == __qend) > return 0; > else if (__p == __pend) > return -1; > else if (__q == __qend) > return 1; > > __p++; > __q++; > } > } > > template<typename _CharT> > typename collate<_CharT>::string_type > collate<_CharT>:: > do_transform(const _CharT* __lo, const _CharT* __hi) const > { > string_type __ret; > > > const string_type __str(__lo, __hi); > > const _CharT* __p = __str.c_str(); > const _CharT* __pend = __str.data() + __str.length(); > > size_t __len = (__hi - __lo) * 2; > > _CharT* __c = new _CharT[__len]; > > if (true) > { > > > > for (;;) > { > > size_t __res = _M_transform(__c, __p, __len); > > > if (__res >= __len) > { > __len = __res + 1; > delete [] __c, __c = 0; > __c = new _CharT[__len]; > __res = _M_transform(__c, __p, __len); > } > > __ret.append(__c, __res); > __p += char_traits<_CharT>::length(__p); > if (__p == __pend) > break; > > __p++; > __ret.push_back(_CharT()); > } > } > if (false) > { > delete [] __c; > ; > } > > delete [] __c; > > return __ret; > } > > template<typename _CharT> > long > collate<_CharT>:: > do_hash(const _CharT* __lo, const _CharT* __hi) const > { > unsigned long __val = 0; > for (; __lo < __hi; ++__lo) > __val = > *__lo + ((__val << 7) > | (__val >> (__gnu_cxx::__numeric_traits<unsigned long>:: > __digits - 7))); > return static_cast<long>(__val); > } > > > > > extern template class collate<char>; > extern template class collate_byname<char>; > > extern template > const collate<char>& > use_facet<collate<char> >(const locale&); > > extern template > bool > has_facet<collate<char> >(const locale&); > > > extern template class collate<wchar_t>; > extern template class collate_byname<wchar_t>; > > extern template > const collate<wchar_t>& > use_facet<collate<wchar_t> >(const locale&); > > extern template > bool > has_facet<collate<wchar_t> >(const locale&); > > > > >} ># 788 "/usr/include/c++/4.9.1/bits/locale_classes.h" 2 3 ># 42 "/usr/include/c++/4.9.1/bits/ios_base.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > > > > enum _Ios_Fmtflags > { > _S_boolalpha = 1L << 0, > _S_dec = 1L << 1, > _S_fixed = 1L << 2, > _S_hex = 1L << 3, > _S_internal = 1L << 4, > _S_left = 1L << 5, > _S_oct = 1L << 6, > _S_right = 1L << 7, > _S_scientific = 1L << 8, > _S_showbase = 1L << 9, > _S_showpoint = 1L << 10, > _S_showpos = 1L << 11, > _S_skipws = 1L << 12, > _S_unitbuf = 1L << 13, > _S_uppercase = 1L << 14, > _S_adjustfield = _S_left | _S_right | _S_internal, > _S_basefield = _S_dec | _S_oct | _S_hex, > _S_floatfield = _S_scientific | _S_fixed, > _S_ios_fmtflags_end = 1L << 16 > }; > > inline constexpr _Ios_Fmtflags > operator&(_Ios_Fmtflags __a, _Ios_Fmtflags __b) > { return _Ios_Fmtflags(static_cast<int>(__a) & static_cast<int>(__b)); } > > inline constexpr _Ios_Fmtflags > operator|(_Ios_Fmtflags __a, _Ios_Fmtflags __b) > { return _Ios_Fmtflags(static_cast<int>(__a) | static_cast<int>(__b)); } > > inline constexpr _Ios_Fmtflags > operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) > { return _Ios_Fmtflags(static_cast<int>(__a) ^ static_cast<int>(__b)); } > > inline constexpr _Ios_Fmtflags > operator~(_Ios_Fmtflags __a) > { return _Ios_Fmtflags(~static_cast<int>(__a)); } > > inline const _Ios_Fmtflags& > operator|=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) > { return __a = __a | __b; } > > inline const _Ios_Fmtflags& > operator&=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) > { return __a = __a & __b; } > > inline const _Ios_Fmtflags& > operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) > { return __a = __a ^ __b; } > > > enum _Ios_Openmode > { > _S_app = 1L << 0, > _S_ate = 1L << 1, > _S_bin = 1L << 2, > _S_in = 1L << 3, > _S_out = 1L << 4, > _S_trunc = 1L << 5, > _S_ios_openmode_end = 1L << 16 > }; > > inline constexpr _Ios_Openmode > operator&(_Ios_Openmode __a, _Ios_Openmode __b) > { return _Ios_Openmode(static_cast<int>(__a) & static_cast<int>(__b)); } > > inline constexpr _Ios_Openmode > operator|(_Ios_Openmode __a, _Ios_Openmode __b) > { return _Ios_Openmode(static_cast<int>(__a) | static_cast<int>(__b)); } > > inline constexpr _Ios_Openmode > operator^(_Ios_Openmode __a, _Ios_Openmode __b) > { return _Ios_Openmode(static_cast<int>(__a) ^ static_cast<int>(__b)); } > > inline constexpr _Ios_Openmode > operator~(_Ios_Openmode __a) > { return _Ios_Openmode(~static_cast<int>(__a)); } > > inline const _Ios_Openmode& > operator|=(_Ios_Openmode& __a, _Ios_Openmode __b) > { return __a = __a | __b; } > > inline const _Ios_Openmode& > operator&=(_Ios_Openmode& __a, _Ios_Openmode __b) > { return __a = __a & __b; } > > inline const _Ios_Openmode& > operator^=(_Ios_Openmode& __a, _Ios_Openmode __b) > { return __a = __a ^ __b; } > > > enum _Ios_Iostate > { > _S_goodbit = 0, > _S_badbit = 1L << 0, > _S_eofbit = 1L << 1, > _S_failbit = 1L << 2, > _S_ios_iostate_end = 1L << 16 > }; > > inline constexpr _Ios_Iostate > operator&(_Ios_Iostate __a, _Ios_Iostate __b) > { return _Ios_Iostate(static_cast<int>(__a) & static_cast<int>(__b)); } > > inline constexpr _Ios_Iostate > operator|(_Ios_Iostate __a, _Ios_Iostate __b) > { return _Ios_Iostate(static_cast<int>(__a) | static_cast<int>(__b)); } > > inline constexpr _Ios_Iostate > operator^(_Ios_Iostate __a, _Ios_Iostate __b) > { return _Ios_Iostate(static_cast<int>(__a) ^ static_cast<int>(__b)); } > > inline constexpr _Ios_Iostate > operator~(_Ios_Iostate __a) > { return _Ios_Iostate(~static_cast<int>(__a)); } > > inline const _Ios_Iostate& > operator|=(_Ios_Iostate& __a, _Ios_Iostate __b) > { return __a = __a | __b; } > > inline const _Ios_Iostate& > operator&=(_Ios_Iostate& __a, _Ios_Iostate __b) > { return __a = __a & __b; } > > inline const _Ios_Iostate& > operator^=(_Ios_Iostate& __a, _Ios_Iostate __b) > { return __a = __a ^ __b; } > > > enum _Ios_Seekdir > { > _S_beg = 0, > _S_cur = 1, > _S_end = 2, > _S_ios_seekdir_end = 1L << 16 > }; ># 199 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > class ios_base > { > public: > > > > > > > > class failure : public exception > { > public: > > > explicit > failure(const string& __str) throw(); > > > > virtual > ~failure() throw(); > > virtual const char* > what() const throw(); > > private: > string _M_msg; > }; ># 255 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > typedef _Ios_Fmtflags fmtflags; > > > static const fmtflags boolalpha = _S_boolalpha; > > > static const fmtflags dec = _S_dec; > > > static const fmtflags fixed = _S_fixed; > > > static const fmtflags hex = _S_hex; > > > > > static const fmtflags internal = _S_internal; > > > > static const fmtflags left = _S_left; > > > static const fmtflags oct = _S_oct; > > > > static const fmtflags right = _S_right; > > > static const fmtflags scientific = _S_scientific; > > > > static const fmtflags showbase = _S_showbase; > > > > static const fmtflags showpoint = _S_showpoint; > > > static const fmtflags showpos = _S_showpos; > > > static const fmtflags skipws = _S_skipws; > > > static const fmtflags unitbuf = _S_unitbuf; > > > > static const fmtflags uppercase = _S_uppercase; > > > static const fmtflags adjustfield = _S_adjustfield; > > > static const fmtflags basefield = _S_basefield; > > > static const fmtflags floatfield = _S_floatfield; ># 330 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > typedef _Ios_Iostate iostate; > > > > static const iostate badbit = _S_badbit; > > > static const iostate eofbit = _S_eofbit; > > > > > static const iostate failbit = _S_failbit; > > > static const iostate goodbit = _S_goodbit; ># 361 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > typedef _Ios_Openmode openmode; > > > static const openmode app = _S_app; > > > static const openmode ate = _S_ate; > > > > > static const openmode binary = _S_bin; > > > static const openmode in = _S_in; > > > static const openmode out = _S_out; > > > static const openmode trunc = _S_trunc; ># 393 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > typedef _Ios_Seekdir seekdir; > > > static const seekdir beg = _S_beg; > > > static const seekdir cur = _S_cur; > > > static const seekdir end = _S_end; > > > typedef int io_state; > typedef int open_mode; > typedef int seek_dir; > > typedef std::streampos streampos; > typedef std::streamoff streamoff; ># 419 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > enum event > { > erase_event, > imbue_event, > copyfmt_event > }; ># 436 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > typedef void (*event_callback) (event __e, ios_base& __b, int __i); ># 448 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > void > register_callback(event_callback __fn, int __index); > > protected: > streamsize _M_precision; > streamsize _M_width; > fmtflags _M_flags; > iostate _M_exception; > iostate _M_streambuf_state; > > > > struct _Callback_list > { > > _Callback_list* _M_next; > ios_base::event_callback _M_fn; > int _M_index; > _Atomic_word _M_refcount; > > _Callback_list(ios_base::event_callback __fn, int __index, > _Callback_list* __cb) > : _M_next(__cb), _M_fn(__fn), _M_index(__index), _M_refcount(0) { } > > void > _M_add_reference() { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } > > > int > _M_remove_reference() > { > > ; > int __res = __gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1); > if (__res == 0) > { > ; > } > return __res; > } > }; > > _Callback_list* _M_callbacks; > > void > _M_call_callbacks(event __ev) throw(); > > void > _M_dispose_callbacks(void) throw(); > > > struct _Words > { > void* _M_pword; > long _M_iword; > _Words() : _M_pword(0), _M_iword(0) { } > }; > > > _Words _M_word_zero; > > > > enum { _S_local_word_size = 8 }; > _Words _M_local_word[_S_local_word_size]; > > > int _M_word_size; > _Words* _M_word; > > _Words& > _M_grow_words(int __index, bool __iword); > > > locale _M_ios_locale; > > void > _M_init() throw(); > > public: > > > > > > class Init > { > friend class ios_base; > public: > Init(); > ~Init(); > > private: > static _Atomic_word _S_refcount; > static bool _S_synced_with_stdio; > }; > > > > > > > fmtflags > flags() const > { return _M_flags; } ># 561 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > fmtflags > flags(fmtflags __fmtfl) > { > fmtflags __old = _M_flags; > _M_flags = __fmtfl; > return __old; > } ># 577 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > fmtflags > setf(fmtflags __fmtfl) > { > fmtflags __old = _M_flags; > _M_flags |= __fmtfl; > return __old; > } ># 594 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > fmtflags > setf(fmtflags __fmtfl, fmtflags __mask) > { > fmtflags __old = _M_flags; > _M_flags &= ~__mask; > _M_flags |= (__fmtfl & __mask); > return __old; > } > > > > > > > > void > unsetf(fmtflags __mask) > { _M_flags &= ~__mask; } ># 620 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > streamsize > precision() const > { return _M_precision; } > > > > > > > streamsize > precision(streamsize __prec) > { > streamsize __old = _M_precision; > _M_precision = __prec; > return __old; > } > > > > > > > > streamsize > width() const > { return _M_width; } > > > > > > > streamsize > width(streamsize __wide) > { > streamsize __old = _M_width; > _M_width = __wide; > return __old; > } ># 671 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > static bool > sync_with_stdio(bool __sync = true); ># 683 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > locale > imbue(const locale& __loc) throw(); ># 694 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > locale > getloc() const > { return _M_ios_locale; } ># 705 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > const locale& > _M_getloc() const > { return _M_ios_locale; } ># 724 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > static int > xalloc() throw(); ># 740 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > long& > iword(int __ix) > { > _Words& __word = (__ix < _M_word_size) > ? _M_word[__ix] : _M_grow_words(__ix, true); > return __word._M_iword; > } ># 761 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > void*& > pword(int __ix) > { > _Words& __word = (__ix < _M_word_size) > ? _M_word[__ix] : _M_grow_words(__ix, false); > return __word._M_pword; > } ># 778 "/usr/include/c++/4.9.1/bits/ios_base.h" 3 > virtual ~ios_base(); > > protected: > ios_base() throw (); > > > > private: > ios_base(const ios_base&); > > ios_base& > operator=(const ios_base&); > }; > > > > inline ios_base& > boolalpha(ios_base& __base) > { > __base.setf(ios_base::boolalpha); > return __base; > } > > > inline ios_base& > noboolalpha(ios_base& __base) > { > __base.unsetf(ios_base::boolalpha); > return __base; > } > > > inline ios_base& > showbase(ios_base& __base) > { > __base.setf(ios_base::showbase); > return __base; > } > > > inline ios_base& > noshowbase(ios_base& __base) > { > __base.unsetf(ios_base::showbase); > return __base; > } > > > inline ios_base& > showpoint(ios_base& __base) > { > __base.setf(ios_base::showpoint); > return __base; > } > > > inline ios_base& > noshowpoint(ios_base& __base) > { > __base.unsetf(ios_base::showpoint); > return __base; > } > > > inline ios_base& > showpos(ios_base& __base) > { > __base.setf(ios_base::showpos); > return __base; > } > > > inline ios_base& > noshowpos(ios_base& __base) > { > __base.unsetf(ios_base::showpos); > return __base; > } > > > inline ios_base& > skipws(ios_base& __base) > { > __base.setf(ios_base::skipws); > return __base; > } > > > inline ios_base& > noskipws(ios_base& __base) > { > __base.unsetf(ios_base::skipws); > return __base; > } > > > inline ios_base& > uppercase(ios_base& __base) > { > __base.setf(ios_base::uppercase); > return __base; > } > > > inline ios_base& > nouppercase(ios_base& __base) > { > __base.unsetf(ios_base::uppercase); > return __base; > } > > > inline ios_base& > unitbuf(ios_base& __base) > { > __base.setf(ios_base::unitbuf); > return __base; > } > > > inline ios_base& > nounitbuf(ios_base& __base) > { > __base.unsetf(ios_base::unitbuf); > return __base; > } > > > > inline ios_base& > internal(ios_base& __base) > { > __base.setf(ios_base::internal, ios_base::adjustfield); > return __base; > } > > > inline ios_base& > left(ios_base& __base) > { > __base.setf(ios_base::left, ios_base::adjustfield); > return __base; > } > > > inline ios_base& > right(ios_base& __base) > { > __base.setf(ios_base::right, ios_base::adjustfield); > return __base; > } > > > > inline ios_base& > dec(ios_base& __base) > { > __base.setf(ios_base::dec, ios_base::basefield); > return __base; > } > > > inline ios_base& > hex(ios_base& __base) > { > __base.setf(ios_base::hex, ios_base::basefield); > return __base; > } > > > inline ios_base& > oct(ios_base& __base) > { > __base.setf(ios_base::oct, ios_base::basefield); > return __base; > } > > > > inline ios_base& > fixed(ios_base& __base) > { > __base.setf(ios_base::fixed, ios_base::floatfield); > return __base; > } > > > inline ios_base& > scientific(ios_base& __base) > { > __base.setf(ios_base::scientific, ios_base::floatfield); > return __base; > } > > >} ># 43 "/usr/include/c++/4.9.1/ios" 2 3 ># 1 "/usr/include/c++/4.9.1/streambuf" 1 3 ># 36 "/usr/include/c++/4.9.1/streambuf" 3 ># 37 "/usr/include/c++/4.9.1/streambuf" 3 ># 45 "/usr/include/c++/4.9.1/streambuf" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _CharT, typename _Traits> > streamsize > __copy_streambufs_eof(basic_streambuf<_CharT, _Traits>*, > basic_streambuf<_CharT, _Traits>*, bool&); ># 119 "/usr/include/c++/4.9.1/streambuf" 3 > template<typename _CharT, typename _Traits> > class basic_streambuf > { > public: > > > > > > > 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; > > > > > typedef basic_streambuf<char_type, traits_type> __streambuf_type; > > > friend class basic_ios<char_type, traits_type>; > friend class basic_istream<char_type, traits_type>; > friend class basic_ostream<char_type, traits_type>; > friend class istreambuf_iterator<char_type, traits_type>; > friend class ostreambuf_iterator<char_type, traits_type>; > > friend streamsize > __copy_streambufs_eof<>(basic_streambuf*, basic_streambuf*, bool&); > > template<bool _IsMove, typename _CharT2> > friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, > _CharT2*>::__type > __copy_move_a2(istreambuf_iterator<_CharT2>, > istreambuf_iterator<_CharT2>, _CharT2*); > > template<typename _CharT2> > friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, > istreambuf_iterator<_CharT2> >::__type > find(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, > const _CharT2&); > > template<typename _CharT2, typename _Traits2> > friend basic_istream<_CharT2, _Traits2>& > operator>>(basic_istream<_CharT2, _Traits2>&, _CharT2*); > > template<typename _CharT2, typename _Traits2, typename _Alloc> > friend basic_istream<_CharT2, _Traits2>& > operator>>(basic_istream<_CharT2, _Traits2>&, > basic_string<_CharT2, _Traits2, _Alloc>&); > > template<typename _CharT2, typename _Traits2, typename _Alloc> > friend basic_istream<_CharT2, _Traits2>& > getline(basic_istream<_CharT2, _Traits2>&, > basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); > > protected: > > > > > > > > char_type* _M_in_beg; > char_type* _M_in_cur; > char_type* _M_in_end; > char_type* _M_out_beg; > char_type* _M_out_cur; > char_type* _M_out_end; > > > locale _M_buf_locale; > > public: > > virtual > ~basic_streambuf() > { } ># 208 "/usr/include/c++/4.9.1/streambuf" 3 > locale > pubimbue(const locale& __loc) > { > locale __tmp(this->getloc()); > this->imbue(__loc); > _M_buf_locale = __loc; > return __tmp; > } ># 225 "/usr/include/c++/4.9.1/streambuf" 3 > locale > getloc() const > { return _M_buf_locale; } ># 238 "/usr/include/c++/4.9.1/streambuf" 3 > basic_streambuf* > pubsetbuf(char_type* __s, streamsize __n) > { return this->setbuf(__s, __n); } ># 250 "/usr/include/c++/4.9.1/streambuf" 3 > pos_type > pubseekoff(off_type __off, ios_base::seekdir __way, > ios_base::openmode __mode = ios_base::in | ios_base::out) > { return this->seekoff(__off, __way, __mode); } ># 262 "/usr/include/c++/4.9.1/streambuf" 3 > pos_type > pubseekpos(pos_type __sp, > ios_base::openmode __mode = ios_base::in | ios_base::out) > { return this->seekpos(__sp, __mode); } > > > > > int > pubsync() { return this->sync(); } ># 283 "/usr/include/c++/4.9.1/streambuf" 3 > streamsize > in_avail() > { > const streamsize __ret = this->egptr() - this->gptr(); > return __ret ? __ret : this->showmanyc(); > } ># 297 "/usr/include/c++/4.9.1/streambuf" 3 > int_type > snextc() > { > int_type __ret = traits_type::eof(); > if (__builtin_expect(!traits_type::eq_int_type(this->sbumpc(), > __ret), true)) > __ret = this->sgetc(); > return __ret; > } ># 315 "/usr/include/c++/4.9.1/streambuf" 3 > int_type > sbumpc() > { > int_type __ret; > if (__builtin_expect(this->gptr() < this->egptr(), true)) > { > __ret = traits_type::to_int_type(*this->gptr()); > this->gbump(1); > } > else > __ret = this->uflow(); > return __ret; > } ># 337 "/usr/include/c++/4.9.1/streambuf" 3 > int_type > sgetc() > { > int_type __ret; > if (__builtin_expect(this->gptr() < this->egptr(), true)) > __ret = traits_type::to_int_type(*this->gptr()); > else > __ret = this->underflow(); > return __ret; > } ># 356 "/usr/include/c++/4.9.1/streambuf" 3 > streamsize > sgetn(char_type* __s, streamsize __n) > { return this->xsgetn(__s, __n); } ># 371 "/usr/include/c++/4.9.1/streambuf" 3 > int_type > sputbackc(char_type __c) > { > int_type __ret; > const bool __testpos = this->eback() < this->gptr(); > if (__builtin_expect(!__testpos || > !traits_type::eq(__c, this->gptr()[-1]), false)) > __ret = this->pbackfail(traits_type::to_int_type(__c)); > else > { > this->gbump(-1); > __ret = traits_type::to_int_type(*this->gptr()); > } > return __ret; > } ># 396 "/usr/include/c++/4.9.1/streambuf" 3 > int_type > sungetc() > { > int_type __ret; > if (__builtin_expect(this->eback() < this->gptr(), true)) > { > this->gbump(-1); > __ret = traits_type::to_int_type(*this->gptr()); > } > else > __ret = this->pbackfail(); > return __ret; > } ># 423 "/usr/include/c++/4.9.1/streambuf" 3 > int_type > sputc(char_type __c) > { > int_type __ret; > if (__builtin_expect(this->pptr() < this->epptr(), true)) > { > *this->pptr() = __c; > this->pbump(1); > __ret = traits_type::to_int_type(__c); > } > else > __ret = this->overflow(traits_type::to_int_type(__c)); > return __ret; > } ># 449 "/usr/include/c++/4.9.1/streambuf" 3 > streamsize > sputn(const char_type* __s, streamsize __n) > { return this->xsputn(__s, __n); } > > protected: ># 463 "/usr/include/c++/4.9.1/streambuf" 3 > basic_streambuf() > : _M_in_beg(0), _M_in_cur(0), _M_in_end(0), > _M_out_beg(0), _M_out_cur(0), _M_out_end(0), > _M_buf_locale(locale()) > { } ># 481 "/usr/include/c++/4.9.1/streambuf" 3 > char_type* > eback() const { return _M_in_beg; } > > char_type* > gptr() const { return _M_in_cur; } > > char_type* > egptr() const { return _M_in_end; } ># 497 "/usr/include/c++/4.9.1/streambuf" 3 > void > gbump(int __n) { _M_in_cur += __n; } ># 508 "/usr/include/c++/4.9.1/streambuf" 3 > void > setg(char_type* __gbeg, char_type* __gnext, char_type* __gend) > { > _M_in_beg = __gbeg; > _M_in_cur = __gnext; > _M_in_end = __gend; > } ># 528 "/usr/include/c++/4.9.1/streambuf" 3 > char_type* > pbase() const { return _M_out_beg; } > > char_type* > pptr() const { return _M_out_cur; } > > char_type* > epptr() const { return _M_out_end; } ># 544 "/usr/include/c++/4.9.1/streambuf" 3 > void > pbump(int __n) { _M_out_cur += __n; } ># 554 "/usr/include/c++/4.9.1/streambuf" 3 > void > setp(char_type* __pbeg, char_type* __pend) > { > _M_out_beg = _M_out_cur = __pbeg; > _M_out_end = __pend; > } ># 575 "/usr/include/c++/4.9.1/streambuf" 3 > virtual void > imbue(const locale& __loc) > { } ># 590 "/usr/include/c++/4.9.1/streambuf" 3 > virtual basic_streambuf<char_type,_Traits>* > setbuf(char_type*, streamsize) > { return this; } ># 601 "/usr/include/c++/4.9.1/streambuf" 3 > virtual pos_type > seekoff(off_type, ios_base::seekdir, > ios_base::openmode = ios_base::in | ios_base::out) > { return pos_type(off_type(-1)); } ># 613 "/usr/include/c++/4.9.1/streambuf" 3 > virtual pos_type > seekpos(pos_type, > ios_base::openmode = ios_base::in | ios_base::out) > { return pos_type(off_type(-1)); } ># 626 "/usr/include/c++/4.9.1/streambuf" 3 > virtual int > sync() { return 0; } ># 648 "/usr/include/c++/4.9.1/streambuf" 3 > virtual streamsize > showmanyc() { return 0; } ># 664 "/usr/include/c++/4.9.1/streambuf" 3 > virtual streamsize > xsgetn(char_type* __s, streamsize __n); ># 686 "/usr/include/c++/4.9.1/streambuf" 3 > virtual int_type > underflow() > { return traits_type::eof(); } ># 699 "/usr/include/c++/4.9.1/streambuf" 3 > virtual int_type > uflow() > { > int_type __ret = traits_type::eof(); > const bool __testeof = traits_type::eq_int_type(this->underflow(), > __ret); > if (!__testeof) > { > __ret = traits_type::to_int_type(*this->gptr()); > this->gbump(1); > } > return __ret; > } ># 723 "/usr/include/c++/4.9.1/streambuf" 3 > virtual int_type > pbackfail(int_type __c = traits_type::eof()) > { return traits_type::eof(); } ># 741 "/usr/include/c++/4.9.1/streambuf" 3 > virtual streamsize > xsputn(const char_type* __s, streamsize __n); ># 767 "/usr/include/c++/4.9.1/streambuf" 3 > virtual int_type > overflow(int_type __c = traits_type::eof()) > { return traits_type::eof(); } > > > > public: ># 782 "/usr/include/c++/4.9.1/streambuf" 3 > void > stossc() > { > if (this->gptr() < this->egptr()) > this->gbump(1); > else > this->uflow(); > } > > > > void > __safe_gbump(streamsize __n) { _M_in_cur += __n; } > > void > __safe_pbump(streamsize __n) { _M_out_cur += __n; } > > private: > > > basic_streambuf(const basic_streambuf& __sb) > : _M_in_beg(__sb._M_in_beg), _M_in_cur(__sb._M_in_cur), > _M_in_end(__sb._M_in_end), _M_out_beg(__sb._M_out_beg), > _M_out_cur(__sb._M_out_cur), _M_out_end(__sb._M_out_cur), > _M_buf_locale(__sb._M_buf_locale) > { } > > basic_streambuf& > operator=(const basic_streambuf&) { return *this; }; > }; > > > template<> > streamsize > __copy_streambufs_eof(basic_streambuf<char>* __sbin, > basic_streambuf<char>* __sbout, bool& __ineof); > > template<> > streamsize > __copy_streambufs_eof(basic_streambuf<wchar_t>* __sbin, > basic_streambuf<wchar_t>* __sbout, bool& __ineof); > > > >} > ># 1 "/usr/include/c++/4.9.1/bits/streambuf.tcc" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/streambuf.tcc" 3 ># 38 "/usr/include/c++/4.9.1/bits/streambuf.tcc" 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _CharT, typename _Traits> > streamsize > basic_streambuf<_CharT, _Traits>:: > xsgetn(char_type* __s, streamsize __n) > { > streamsize __ret = 0; > while (__ret < __n) > { > const streamsize __buf_len = this->egptr() - this->gptr(); > if (__buf_len) > { > const streamsize __remaining = __n - __ret; > const streamsize __len = std::min(__buf_len, __remaining); > traits_type::copy(__s, this->gptr(), __len); > __ret += __len; > __s += __len; > this->__safe_gbump(__len); > } > > if (__ret < __n) > { > const int_type __c = this->uflow(); > if (!traits_type::eq_int_type(__c, traits_type::eof())) > { > traits_type::assign(*__s++, traits_type::to_char_type(__c)); > ++__ret; > } > else > break; > } > } > return __ret; > } > > template<typename _CharT, typename _Traits> > streamsize > basic_streambuf<_CharT, _Traits>:: > xsputn(const char_type* __s, streamsize __n) > { > streamsize __ret = 0; > while (__ret < __n) > { > const streamsize __buf_len = this->epptr() - this->pptr(); > if (__buf_len) > { > const streamsize __remaining = __n - __ret; > const streamsize __len = std::min(__buf_len, __remaining); > traits_type::copy(this->pptr(), __s, __len); > __ret += __len; > __s += __len; > this->__safe_pbump(__len); > } > > if (__ret < __n) > { > int_type __c = this->overflow(traits_type::to_int_type(*__s)); > if (!traits_type::eq_int_type(__c, traits_type::eof())) > { > ++__ret; > ++__s; > } > else > break; > } > } > return __ret; > } > > > > > template<typename _CharT, typename _Traits> > streamsize > __copy_streambufs_eof(basic_streambuf<_CharT, _Traits>* __sbin, > basic_streambuf<_CharT, _Traits>* __sbout, > bool& __ineof) > { > streamsize __ret = 0; > __ineof = true; > typename _Traits::int_type __c = __sbin->sgetc(); > while (!_Traits::eq_int_type(__c, _Traits::eof())) > { > __c = __sbout->sputc(_Traits::to_char_type(__c)); > if (_Traits::eq_int_type(__c, _Traits::eof())) > { > __ineof = false; > break; > } > ++__ret; > __c = __sbin->snextc(); > } > return __ret; > } > > template<typename _CharT, typename _Traits> > inline streamsize > __copy_streambufs(basic_streambuf<_CharT, _Traits>* __sbin, > basic_streambuf<_CharT, _Traits>* __sbout) > { > bool __ineof; > return __copy_streambufs_eof(__sbin, __sbout, __ineof); > } > > > > > extern template class basic_streambuf<char>; > extern template > streamsize > __copy_streambufs(basic_streambuf<char>*, > basic_streambuf<char>*); > extern template > streamsize > __copy_streambufs_eof(basic_streambuf<char>*, > basic_streambuf<char>*, bool&); > > > extern template class basic_streambuf<wchar_t>; > extern template > streamsize > __copy_streambufs(basic_streambuf<wchar_t>*, > basic_streambuf<wchar_t>*); > extern template > streamsize > __copy_streambufs_eof(basic_streambuf<wchar_t>*, > basic_streambuf<wchar_t>*, bool&); > > > > >} ># 829 "/usr/include/c++/4.9.1/streambuf" 2 3 ># 44 "/usr/include/c++/4.9.1/ios" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/basic_ios.h" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 ># 34 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > > > ># 1 "/usr/include/c++/4.9.1/bits/locale_facets.h" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 ># 38 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > ># 1 "/usr/include/c++/4.9.1/cwctype" 1 3 ># 39 "/usr/include/c++/4.9.1/cwctype" 3 ># 40 "/usr/include/c++/4.9.1/cwctype" 3 ># 80 "/usr/include/c++/4.9.1/cwctype" 3 >namespace std >{ > using ::wctrans_t; > using ::wctype_t; > using ::wint_t; > > using ::iswalnum; > using ::iswalpha; > > using ::iswblank; > > using ::iswcntrl; > using ::iswctype; > using ::iswdigit; > using ::iswgraph; > using ::iswlower; > using ::iswprint; > using ::iswpunct; > using ::iswspace; > using ::iswupper; > using ::iswxdigit; > using ::towctrans; > using ::towlower; > using ::towupper; > using ::wctrans; > using ::wctype; >} ># 40 "/usr/include/c++/4.9.1/bits/locale_facets.h" 2 3 ># 1 "/usr/include/c++/4.9.1/cctype" 1 3 ># 39 "/usr/include/c++/4.9.1/cctype" 3 ># 40 "/usr/include/c++/4.9.1/cctype" 3 ># 41 "/usr/include/c++/4.9.1/bits/locale_facets.h" 2 3 ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/ctype_base.h" 1 3 ># 36 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/ctype_base.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > struct ctype_base > { > > typedef const int* __to_type; > > > > typedef unsigned short mask; > static const mask upper = _ISupper; > static const mask lower = _ISlower; > static const mask alpha = _ISalpha; > static const mask digit = _ISdigit; > static const mask xdigit = _ISxdigit; > static const mask space = _ISspace; > static const mask print = _ISprint; > static const mask graph = _ISalpha | _ISdigit | _ISpunct; > static const mask cntrl = _IScntrl; > static const mask punct = _ISpunct; > static const mask alnum = _ISalpha | _ISdigit; > }; > > >} ># 42 "/usr/include/c++/4.9.1/bits/locale_facets.h" 2 3 > > > > > > ># 1 "/usr/include/c++/4.9.1/bits/streambuf_iterator.h" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/streambuf_iterator.h" 3 ># 34 "/usr/include/c++/4.9.1/bits/streambuf_iterator.h" 3 > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 49 "/usr/include/c++/4.9.1/bits/streambuf_iterator.h" 3 > template<typename _CharT, typename _Traits> > class istreambuf_iterator > : public iterator<input_iterator_tag, _CharT, typename _Traits::off_type, > _CharT*, > > > _CharT> > > > > { > public: > > > > typedef _CharT char_type; > typedef _Traits traits_type; > typedef typename _Traits::int_type int_type; > typedef basic_streambuf<_CharT, _Traits> streambuf_type; > typedef basic_istream<_CharT, _Traits> istream_type; > > > template<typename _CharT2> > friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, > ostreambuf_iterator<_CharT2> >::__type > copy(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, > ostreambuf_iterator<_CharT2>); > > template<bool _IsMove, typename _CharT2> > friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, > _CharT2*>::__type > __copy_move_a2(istreambuf_iterator<_CharT2>, > istreambuf_iterator<_CharT2>, _CharT2*); > > template<typename _CharT2> > friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, > istreambuf_iterator<_CharT2> >::__type > find(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, > const _CharT2&); > > private: > > > > > > > > mutable streambuf_type* _M_sbuf; > mutable int_type _M_c; > > public: > > constexpr istreambuf_iterator() noexcept > : _M_sbuf(0), _M_c(traits_type::eof()) { } > > > istreambuf_iterator(const istreambuf_iterator&) noexcept = default; > > ~istreambuf_iterator() = default; > > > > istreambuf_iterator(istream_type& __s) noexcept > : _M_sbuf(__s.rdbuf()), _M_c(traits_type::eof()) { } > > > istreambuf_iterator(streambuf_type* __s) noexcept > : _M_sbuf(__s), _M_c(traits_type::eof()) { } > > > > > char_type > operator*() const > { > > > > > > > > return traits_type::to_char_type(_M_get()); > } > > > istreambuf_iterator& > operator++() > { > > > ; > if (_M_sbuf) > { > _M_sbuf->sbumpc(); > _M_c = traits_type::eof(); > } > return *this; > } > > > istreambuf_iterator > operator++(int) > { > > > ; > > istreambuf_iterator __old = *this; > if (_M_sbuf) > { > __old._M_c = _M_sbuf->sbumpc(); > _M_c = traits_type::eof(); > } > return __old; > } > > > > > > bool > equal(const istreambuf_iterator& __b) const > { return _M_at_eof() == __b._M_at_eof(); } > > private: > int_type > _M_get() const > { > const int_type __eof = traits_type::eof(); > int_type __ret = __eof; > if (_M_sbuf) > { > if (!traits_type::eq_int_type(_M_c, __eof)) > __ret = _M_c; > else if (!traits_type::eq_int_type((__ret = _M_sbuf->sgetc()), > __eof)) > _M_c = __ret; > else > _M_sbuf = 0; > } > return __ret; > } > > bool > _M_at_eof() const > { > const int_type __eof = traits_type::eof(); > return traits_type::eq_int_type(_M_get(), __eof); > } > }; > > template<typename _CharT, typename _Traits> > inline bool > operator==(const istreambuf_iterator<_CharT, _Traits>& __a, > const istreambuf_iterator<_CharT, _Traits>& __b) > { return __a.equal(__b); } > > template<typename _CharT, typename _Traits> > inline bool > operator!=(const istreambuf_iterator<_CharT, _Traits>& __a, > const istreambuf_iterator<_CharT, _Traits>& __b) > { return !__a.equal(__b); } > > > template<typename _CharT, typename _Traits> > class ostreambuf_iterator > : public iterator<output_iterator_tag, void, void, void, void> > { > public: > > > > typedef _CharT char_type; > typedef _Traits traits_type; > typedef basic_streambuf<_CharT, _Traits> streambuf_type; > typedef basic_ostream<_CharT, _Traits> ostream_type; > > > template<typename _CharT2> > friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, > ostreambuf_iterator<_CharT2> >::__type > copy(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, > ostreambuf_iterator<_CharT2>); > > private: > streambuf_type* _M_sbuf; > bool _M_failed; > > public: > > ostreambuf_iterator(ostream_type& __s) noexcept > : _M_sbuf(__s.rdbuf()), _M_failed(!_M_sbuf) { } > > > ostreambuf_iterator(streambuf_type* __s) noexcept > : _M_sbuf(__s), _M_failed(!_M_sbuf) { } > > > ostreambuf_iterator& > operator=(_CharT __c) > { > if (!_M_failed && > _Traits::eq_int_type(_M_sbuf->sputc(__c), _Traits::eof())) > _M_failed = true; > return *this; > } > > > ostreambuf_iterator& > operator*() > { return *this; } > > > ostreambuf_iterator& > operator++(int) > { return *this; } > > > ostreambuf_iterator& > operator++() > { return *this; } > > > bool > failed() const noexcept > { return _M_failed; } > > ostreambuf_iterator& > _M_put(const _CharT* __ws, streamsize __len) > { > if (__builtin_expect(!_M_failed, true) > && __builtin_expect(this->_M_sbuf->sputn(__ws, __len) != __len, > false)) > _M_failed = true; > return *this; > } > }; > > > template<typename _CharT> > typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, > ostreambuf_iterator<_CharT> >::__type > copy(istreambuf_iterator<_CharT> __first, > istreambuf_iterator<_CharT> __last, > ostreambuf_iterator<_CharT> __result) > { > if (__first._M_sbuf && !__last._M_sbuf && !__result._M_failed) > { > bool __ineof; > __copy_streambufs_eof(__first._M_sbuf, __result._M_sbuf, __ineof); > if (!__ineof) > __result._M_failed = true; > } > return __result; > } > > template<bool _IsMove, typename _CharT> > typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, > ostreambuf_iterator<_CharT> >::__type > __copy_move_a2(_CharT* __first, _CharT* __last, > ostreambuf_iterator<_CharT> __result) > { > const streamsize __num = __last - __first; > if (__num > 0) > __result._M_put(__first, __num); > return __result; > } > > template<bool _IsMove, typename _CharT> > typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, > ostreambuf_iterator<_CharT> >::__type > __copy_move_a2(const _CharT* __first, const _CharT* __last, > ostreambuf_iterator<_CharT> __result) > { > const streamsize __num = __last - __first; > if (__num > 0) > __result._M_put(__first, __num); > return __result; > } > > template<bool _IsMove, typename _CharT> > typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, > _CharT*>::__type > __copy_move_a2(istreambuf_iterator<_CharT> __first, > istreambuf_iterator<_CharT> __last, _CharT* __result) > { > typedef istreambuf_iterator<_CharT> __is_iterator_type; > typedef typename __is_iterator_type::traits_type traits_type; > typedef typename __is_iterator_type::streambuf_type streambuf_type; > typedef typename traits_type::int_type int_type; > > if (__first._M_sbuf && !__last._M_sbuf) > { > streambuf_type* __sb = __first._M_sbuf; > int_type __c = __sb->sgetc(); > while (!traits_type::eq_int_type(__c, traits_type::eof())) > { > const streamsize __n = __sb->egptr() - __sb->gptr(); > if (__n > 1) > { > traits_type::copy(__result, __sb->gptr(), __n); > __sb->__safe_gbump(__n); > __result += __n; > __c = __sb->underflow(); > } > else > { > *__result++ = traits_type::to_char_type(__c); > __c = __sb->snextc(); > } > } > } > return __result; > } > > template<typename _CharT> > typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, > istreambuf_iterator<_CharT> >::__type > find(istreambuf_iterator<_CharT> __first, > istreambuf_iterator<_CharT> __last, const _CharT& __val) > { > typedef istreambuf_iterator<_CharT> __is_iterator_type; > typedef typename __is_iterator_type::traits_type traits_type; > typedef typename __is_iterator_type::streambuf_type streambuf_type; > typedef typename traits_type::int_type int_type; > > if (__first._M_sbuf && !__last._M_sbuf) > { > const int_type __ival = traits_type::to_int_type(__val); > streambuf_type* __sb = __first._M_sbuf; > int_type __c = __sb->sgetc(); > while (!traits_type::eq_int_type(__c, traits_type::eof()) > && !traits_type::eq_int_type(__c, __ival)) > { > streamsize __n = __sb->egptr() - __sb->gptr(); > if (__n > 1) > { > const _CharT* __p = traits_type::find(__sb->gptr(), > __n, __val); > if (__p) > __n = __p - __sb->gptr(); > __sb->__safe_gbump(__n); > __c = __sb->sgetc(); > } > else > __c = __sb->snextc(); > } > > if (!traits_type::eq_int_type(__c, traits_type::eof())) > __first._M_c = __c; > else > __first._M_sbuf = 0; > } > return __first; > } > > > > >} ># 49 "/usr/include/c++/4.9.1/bits/locale_facets.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 64 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > template<typename _Tp> > void > __convert_to_v(const char*, _Tp&, ios_base::iostate&, > const __c_locale&) throw(); > > > template<> > void > __convert_to_v(const char*, float&, ios_base::iostate&, > const __c_locale&) throw(); > > template<> > void > __convert_to_v(const char*, double&, ios_base::iostate&, > const __c_locale&) throw(); > > template<> > void > __convert_to_v(const char*, long double&, ios_base::iostate&, > const __c_locale&) throw(); > > > > template<typename _CharT, typename _Traits> > struct __pad > { > static void > _S_pad(ios_base& __io, _CharT __fill, _CharT* __news, > const _CharT* __olds, streamsize __newlen, streamsize __oldlen); > }; > > > > > > > template<typename _CharT> > _CharT* > __add_grouping(_CharT* __s, _CharT __sep, > const char* __gbeg, size_t __gsize, > const _CharT* __first, const _CharT* __last); > > > > > template<typename _CharT> > inline > ostreambuf_iterator<_CharT> > __write(ostreambuf_iterator<_CharT> __s, const _CharT* __ws, int __len) > { > __s._M_put(__ws, __len); > return __s; > } > > > template<typename _CharT, typename _OutIter> > inline > _OutIter > __write(_OutIter __s, const _CharT* __ws, int __len) > { > for (int __j = 0; __j < __len; __j++, ++__s) > *__s = __ws[__j]; > return __s; > } ># 142 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > template<typename _CharT> > class __ctype_abstract_base : public locale::facet, public ctype_base > { > public: > > > typedef _CharT char_type; ># 161 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > bool > is(mask __m, char_type __c) const > { return this->do_is(__m, __c); } ># 178 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > const char_type* > is(const char_type *__lo, const char_type *__hi, mask *__vec) const > { return this->do_is(__lo, __hi, __vec); } ># 194 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > const char_type* > scan_is(mask __m, const char_type* __lo, const char_type* __hi) const > { return this->do_scan_is(__m, __lo, __hi); } ># 210 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > const char_type* > scan_not(mask __m, const char_type* __lo, const char_type* __hi) const > { return this->do_scan_not(__m, __lo, __hi); } ># 224 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > char_type > toupper(char_type __c) const > { return this->do_toupper(__c); } ># 239 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > const char_type* > toupper(char_type *__lo, const char_type* __hi) const > { return this->do_toupper(__lo, __hi); } ># 253 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > char_type > tolower(char_type __c) const > { return this->do_tolower(__c); } ># 268 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > const char_type* > tolower(char_type* __lo, const char_type* __hi) const > { return this->do_tolower(__lo, __hi); } ># 285 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > char_type > widen(char __c) const > { return this->do_widen(__c); } ># 304 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > const char* > widen(const char* __lo, const char* __hi, char_type* __to) const > { return this->do_widen(__lo, __hi, __to); } ># 323 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > char > narrow(char_type __c, char __dfault) const > { return this->do_narrow(__c, __dfault); } ># 345 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > const char_type* > narrow(const char_type* __lo, const char_type* __hi, > char __dfault, char* __to) const > { return this->do_narrow(__lo, __hi, __dfault, __to); } > > protected: > explicit > __ctype_abstract_base(size_t __refs = 0): facet(__refs) { } > > virtual > ~__ctype_abstract_base() { } ># 370 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual bool > do_is(mask __m, char_type __c) const = 0; ># 389 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_is(const char_type* __lo, const char_type* __hi, > mask* __vec) const = 0; ># 408 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_scan_is(mask __m, const char_type* __lo, > const char_type* __hi) const = 0; ># 427 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_scan_not(mask __m, const char_type* __lo, > const char_type* __hi) const = 0; ># 445 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char_type > do_toupper(char_type __c) const = 0; ># 462 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_toupper(char_type* __lo, const char_type* __hi) const = 0; ># 478 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char_type > do_tolower(char_type __c) const = 0; ># 495 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_tolower(char_type* __lo, const char_type* __hi) const = 0; ># 514 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char_type > do_widen(char __c) const = 0; ># 535 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char* > do_widen(const char* __lo, const char* __hi, char_type* __to) const = 0; ># 556 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char > do_narrow(char_type __c, char __dfault) const = 0; ># 581 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_narrow(const char_type* __lo, const char_type* __hi, > char __dfault, char* __to) const = 0; > }; ># 604 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > template<typename _CharT> > class ctype : public __ctype_abstract_base<_CharT> > { > public: > > typedef _CharT char_type; > typedef typename __ctype_abstract_base<_CharT>::mask mask; > > > static locale::id id; > > explicit > ctype(size_t __refs = 0) : __ctype_abstract_base<_CharT>(__refs) { } > > protected: > virtual > ~ctype(); > > virtual bool > do_is(mask __m, char_type __c) const; > > virtual const char_type* > do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const; > > virtual const char_type* > do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const; > > virtual const char_type* > do_scan_not(mask __m, const char_type* __lo, > const char_type* __hi) const; > > virtual char_type > do_toupper(char_type __c) const; > > virtual const char_type* > do_toupper(char_type* __lo, const char_type* __hi) const; > > virtual char_type > do_tolower(char_type __c) const; > > virtual const char_type* > do_tolower(char_type* __lo, const char_type* __hi) const; > > virtual char_type > do_widen(char __c) const; > > virtual const char* > do_widen(const char* __lo, const char* __hi, char_type* __dest) const; > > virtual char > do_narrow(char_type, char __dfault) const; > > virtual const char_type* > do_narrow(const char_type* __lo, const char_type* __hi, > char __dfault, char* __to) const; > }; > > template<typename _CharT> > locale::id ctype<_CharT>::id; ># 673 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > template<> > class ctype<char> : public locale::facet, public ctype_base > { > public: > > > typedef char char_type; > > protected: > > __c_locale _M_c_locale_ctype; > bool _M_del; > __to_type _M_toupper; > __to_type _M_tolower; > const mask* _M_table; > mutable char _M_widen_ok; > mutable char _M_widen[1 + static_cast<unsigned char>(-1)]; > mutable char _M_narrow[1 + static_cast<unsigned char>(-1)]; > mutable char _M_narrow_ok; > > > public: > > static locale::id id; > > static const size_t table_size = 1 + static_cast<unsigned char>(-1); ># 710 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > explicit > ctype(const mask* __table = 0, bool __del = false, size_t __refs = 0); ># 723 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > explicit > ctype(__c_locale __cloc, const mask* __table = 0, bool __del = false, > size_t __refs = 0); ># 736 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > inline bool > is(mask __m, char __c) const; ># 751 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > inline const char* > is(const char* __lo, const char* __hi, mask* __vec) const; ># 765 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > inline const char* > scan_is(mask __m, const char* __lo, const char* __hi) const; ># 779 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > inline const char* > scan_not(mask __m, const char* __lo, const char* __hi) const; ># 794 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > char_type > toupper(char_type __c) const > { return this->do_toupper(__c); } ># 811 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > const char_type* > toupper(char_type *__lo, const char_type* __hi) const > { return this->do_toupper(__lo, __hi); } ># 827 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > char_type > tolower(char_type __c) const > { return this->do_tolower(__c); } ># 844 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > const char_type* > tolower(char_type* __lo, const char_type* __hi) const > { return this->do_tolower(__lo, __hi); } ># 864 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > char_type > widen(char __c) const > { > if (_M_widen_ok) > return _M_widen[static_cast<unsigned char>(__c)]; > this->_M_widen_init(); > return this->do_widen(__c); > } ># 891 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > const char* > widen(const char* __lo, const char* __hi, char_type* __to) const > { > if (_M_widen_ok == 1) > { > __builtin_memcpy(__to, __lo, __hi - __lo); > return __hi; > } > if (!_M_widen_ok) > _M_widen_init(); > return this->do_widen(__lo, __hi, __to); > } ># 922 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > char > narrow(char_type __c, char __dfault) const > { > if (_M_narrow[static_cast<unsigned char>(__c)]) > return _M_narrow[static_cast<unsigned char>(__c)]; > const char __t = do_narrow(__c, __dfault); > if (__t != __dfault) > _M_narrow[static_cast<unsigned char>(__c)] = __t; > return __t; > } ># 955 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > const char_type* > narrow(const char_type* __lo, const char_type* __hi, > char __dfault, char* __to) const > { > if (__builtin_expect(_M_narrow_ok == 1, true)) > { > __builtin_memcpy(__to, __lo, __hi - __lo); > return __hi; > } > if (!_M_narrow_ok) > _M_narrow_init(); > return this->do_narrow(__lo, __hi, __dfault, __to); > } > > > > > > const mask* > table() const throw() > { return _M_table; } > > > static const mask* > classic_table() throw(); > protected: > > > > > > > > virtual > ~ctype(); ># 1004 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char_type > do_toupper(char_type __c) const; ># 1021 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_toupper(char_type* __lo, const char_type* __hi) const; ># 1037 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char_type > do_tolower(char_type __c) const; ># 1054 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_tolower(char_type* __lo, const char_type* __hi) const; ># 1074 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char_type > do_widen(char __c) const > { return __c; } ># 1097 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char* > do_widen(const char* __lo, const char* __hi, char_type* __to) const > { > __builtin_memcpy(__to, __lo, __hi - __lo); > return __hi; > } ># 1123 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char > do_narrow(char_type __c, char __dfault) const > { return __c; } ># 1149 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_narrow(const char_type* __lo, const char_type* __hi, > char __dfault, char* __to) const > { > __builtin_memcpy(__to, __lo, __hi - __lo); > return __hi; > } > > private: > void _M_narrow_init() const; > void _M_widen_init() const; > }; ># 1174 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > template<> > class ctype<wchar_t> : public __ctype_abstract_base<wchar_t> > { > public: > > > typedef wchar_t char_type; > typedef wctype_t __wmask_type; > > protected: > __c_locale _M_c_locale_ctype; > > > bool _M_narrow_ok; > char _M_narrow[128]; > wint_t _M_widen[1 + static_cast<unsigned char>(-1)]; > > > mask _M_bit[16]; > __wmask_type _M_wmask[16]; > > public: > > > static locale::id id; ># 1207 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > explicit > ctype(size_t __refs = 0); ># 1218 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > explicit > ctype(__c_locale __cloc, size_t __refs = 0); > > protected: > __wmask_type > _M_convert_to_wmask(const mask __m) const throw(); > > > virtual > ~ctype(); ># 1242 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual bool > do_is(mask __m, char_type __c) const; ># 1261 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const; ># 1279 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const; ># 1297 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_scan_not(mask __m, const char_type* __lo, > const char_type* __hi) const; ># 1314 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char_type > do_toupper(char_type __c) const; ># 1331 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_toupper(char_type* __lo, const char_type* __hi) const; ># 1347 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char_type > do_tolower(char_type __c) const; ># 1364 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_tolower(char_type* __lo, const char_type* __hi) const; ># 1384 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char_type > do_widen(char __c) const; ># 1406 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char* > do_widen(const char* __lo, const char* __hi, char_type* __to) const; ># 1429 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char > do_narrow(char_type __c, char __dfault) const; ># 1455 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual const char_type* > do_narrow(const char_type* __lo, const char_type* __hi, > char __dfault, char* __to) const; > > > void > _M_initialize_ctype() throw(); > }; > > > > template<typename _CharT> > class ctype_byname : public ctype<_CharT> > { > public: > typedef typename ctype<_CharT>::mask mask; > > explicit > ctype_byname(const char* __s, size_t __refs = 0); > > protected: > virtual > ~ctype_byname() { }; > }; > > > template<> > class ctype_byname<char> : public ctype<char> > { > public: > explicit > ctype_byname(const char* __s, size_t __refs = 0); > > protected: > virtual > ~ctype_byname(); > }; > > > template<> > class ctype_byname<wchar_t> : public ctype<wchar_t> > { > public: > explicit > ctype_byname(const char* __s, size_t __refs = 0); > > protected: > virtual > ~ctype_byname(); > }; > > > >} > > ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/ctype_inline.h" 1 3 ># 37 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/ctype_inline.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > bool > ctype<char>:: > is(mask __m, char __c) const > { return _M_table[static_cast<unsigned char>(__c)] & __m; } > > const char* > ctype<char>:: > is(const char* __low, const char* __high, mask* __vec) const > { > while (__low < __high) > *__vec++ = _M_table[static_cast<unsigned char>(*__low++)]; > return __high; > } > > const char* > ctype<char>:: > scan_is(mask __m, const char* __low, const char* __high) const > { > while (__low < __high > && !(_M_table[static_cast<unsigned char>(*__low)] & __m)) > ++__low; > return __low; > } > > const char* > ctype<char>:: > scan_not(mask __m, const char* __low, const char* __high) const > { > while (__low < __high > && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0) > ++__low; > return __low; > } > > >} ># 1512 "/usr/include/c++/4.9.1/bits/locale_facets.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > class __num_base > { > public: > > > enum > { > _S_ominus, > _S_oplus, > _S_ox, > _S_oX, > _S_odigits, > _S_odigits_end = _S_odigits + 16, > _S_oudigits = _S_odigits_end, > _S_oudigits_end = _S_oudigits + 16, > _S_oe = _S_odigits + 14, > _S_oE = _S_oudigits + 14, > _S_oend = _S_oudigits_end > }; > > > > > > > static const char* _S_atoms_out; > > > > static const char* _S_atoms_in; > > enum > { > _S_iminus, > _S_iplus, > _S_ix, > _S_iX, > _S_izero, > _S_ie = _S_izero + 14, > _S_iE = _S_izero + 20, > _S_iend = 26 > }; > > > > static void > _S_format_float(const ios_base& __io, char* __fptr, char __mod) throw(); > }; > > template<typename _CharT> > struct __numpunct_cache : public locale::facet > { > const char* _M_grouping; > size_t _M_grouping_size; > bool _M_use_grouping; > const _CharT* _M_truename; > size_t _M_truename_size; > const _CharT* _M_falsename; > size_t _M_falsename_size; > _CharT _M_decimal_point; > _CharT _M_thousands_sep; > > > > > > _CharT _M_atoms_out[__num_base::_S_oend]; > > > > > > _CharT _M_atoms_in[__num_base::_S_iend]; > > bool _M_allocated; > > __numpunct_cache(size_t __refs = 0) > : facet(__refs), _M_grouping(0), _M_grouping_size(0), > _M_use_grouping(false), > _M_truename(0), _M_truename_size(0), _M_falsename(0), > _M_falsename_size(0), _M_decimal_point(_CharT()), > _M_thousands_sep(_CharT()), _M_allocated(false) > { } > > ~__numpunct_cache(); > > void > _M_cache(const locale& __loc); > > private: > __numpunct_cache& > operator=(const __numpunct_cache&); > > explicit > __numpunct_cache(const __numpunct_cache&); > }; > > template<typename _CharT> > __numpunct_cache<_CharT>::~__numpunct_cache() > { > if (_M_allocated) > { > delete [] _M_grouping; > delete [] _M_truename; > delete [] _M_falsename; > } > } ># 1640 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > template<typename _CharT> > class numpunct : public locale::facet > { > public: > > > > typedef _CharT char_type; > typedef basic_string<_CharT> string_type; > > typedef __numpunct_cache<_CharT> __cache_type; > > protected: > __cache_type* _M_data; > > public: > > static locale::id id; > > > > > > > explicit > numpunct(size_t __refs = 0) > : facet(__refs), _M_data(0) > { _M_initialize_numpunct(); } ># 1678 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > explicit > numpunct(__cache_type* __cache, size_t __refs = 0) > : facet(__refs), _M_data(__cache) > { _M_initialize_numpunct(); } ># 1692 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > explicit > numpunct(__c_locale __cloc, size_t __refs = 0) > : facet(__refs), _M_data(0) > { _M_initialize_numpunct(__cloc); } ># 1706 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > char_type > decimal_point() const > { return this->do_decimal_point(); } ># 1719 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > char_type > thousands_sep() const > { return this->do_thousands_sep(); } ># 1750 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > string > grouping() const > { return this->do_grouping(); } ># 1763 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > string_type > truename() const > { return this->do_truename(); } ># 1776 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > string_type > falsename() const > { return this->do_falsename(); } > > protected: > > virtual > ~numpunct(); ># 1793 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char_type > do_decimal_point() const > { return _M_data->_M_decimal_point; } ># 1805 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual char_type > do_thousands_sep() const > { return _M_data->_M_thousands_sep; } ># 1818 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual string > do_grouping() const > { return _M_data->_M_grouping; } ># 1831 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual string_type > do_truename() const > { return _M_data->_M_truename; } ># 1844 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual string_type > do_falsename() const > { return _M_data->_M_falsename; } > > > void > _M_initialize_numpunct(__c_locale __cloc = 0); > }; > > template<typename _CharT> > locale::id numpunct<_CharT>::id; > > template<> > numpunct<char>::~numpunct(); > > template<> > void > numpunct<char>::_M_initialize_numpunct(__c_locale __cloc); > > > template<> > numpunct<wchar_t>::~numpunct(); > > template<> > void > numpunct<wchar_t>::_M_initialize_numpunct(__c_locale __cloc); > > > > template<typename _CharT> > class numpunct_byname : public numpunct<_CharT> > { > public: > typedef _CharT char_type; > typedef basic_string<_CharT> string_type; > > explicit > numpunct_byname(const char* __s, size_t __refs = 0) > : numpunct<_CharT>(__refs) > { > if (__builtin_strcmp(__s, "C") != 0 > && __builtin_strcmp(__s, "POSIX") != 0) > { > __c_locale __tmp; > this->_S_create_c_locale(__tmp, __s); > this->_M_initialize_numpunct(__tmp); > this->_S_destroy_c_locale(__tmp); > } > } > > protected: > virtual > ~numpunct_byname() { } > }; ># 1914 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > template<typename _CharT, typename _InIter> > class num_get : public locale::facet > { > public: > > > > typedef _CharT char_type; > typedef _InIter iter_type; > > > > static locale::id id; ># 1935 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > explicit > num_get(size_t __refs = 0) : facet(__refs) { } ># 1961 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > iter_type > get(iter_type __in, iter_type __end, ios_base& __io, > ios_base::iostate& __err, bool& __v) const > { return this->do_get(__in, __end, __io, __err, __v); } ># 1998 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > iter_type > get(iter_type __in, iter_type __end, ios_base& __io, > ios_base::iostate& __err, long& __v) const > { return this->do_get(__in, __end, __io, __err, __v); } > > iter_type > get(iter_type __in, iter_type __end, ios_base& __io, > ios_base::iostate& __err, unsigned short& __v) const > { return this->do_get(__in, __end, __io, __err, __v); } > > iter_type > get(iter_type __in, iter_type __end, ios_base& __io, > ios_base::iostate& __err, unsigned int& __v) const > { return this->do_get(__in, __end, __io, __err, __v); } > > iter_type > get(iter_type __in, iter_type __end, ios_base& __io, > ios_base::iostate& __err, unsigned long& __v) const > { return this->do_get(__in, __end, __io, __err, __v); } > > > iter_type > get(iter_type __in, iter_type __end, ios_base& __io, > ios_base::iostate& __err, long long& __v) const > { return this->do_get(__in, __end, __io, __err, __v); } > > iter_type > get(iter_type __in, iter_type __end, ios_base& __io, > ios_base::iostate& __err, unsigned long long& __v) const > { return this->do_get(__in, __end, __io, __err, __v); } ># 2058 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > iter_type > get(iter_type __in, iter_type __end, ios_base& __io, > ios_base::iostate& __err, float& __v) const > { return this->do_get(__in, __end, __io, __err, __v); } > > iter_type > get(iter_type __in, iter_type __end, ios_base& __io, > ios_base::iostate& __err, double& __v) const > { return this->do_get(__in, __end, __io, __err, __v); } > > iter_type > get(iter_type __in, iter_type __end, ios_base& __io, > ios_base::iostate& __err, long double& __v) const > { return this->do_get(__in, __end, __io, __err, __v); } ># 2101 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > iter_type > get(iter_type __in, iter_type __end, ios_base& __io, > ios_base::iostate& __err, void*& __v) const > { return this->do_get(__in, __end, __io, __err, __v); } > > protected: > > virtual ~num_get() { } > > iter_type > _M_extract_float(iter_type, iter_type, ios_base&, ios_base::iostate&, > string&) const; > > template<typename _ValueT> > iter_type > _M_extract_int(iter_type, iter_type, ios_base&, ios_base::iostate&, > _ValueT&) const; > > template<typename _CharT2> > typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, int>::__type > _M_find(const _CharT2*, size_t __len, _CharT2 __c) const > { > int __ret = -1; > if (__len <= 10) > { > if (__c >= _CharT2('0') && __c < _CharT2(_CharT2('0') + __len)) > __ret = __c - _CharT2('0'); > } > else > { > if (__c >= _CharT2('0') && __c <= _CharT2('9')) > __ret = __c - _CharT2('0'); > else if (__c >= _CharT2('a') && __c <= _CharT2('f')) > __ret = 10 + (__c - _CharT2('a')); > else if (__c >= _CharT2('A') && __c <= _CharT2('F')) > __ret = 10 + (__c - _CharT2('A')); > } > return __ret; > } > > template<typename _CharT2> > typename __gnu_cxx::__enable_if<!__is_char<_CharT2>::__value, > int>::__type > _M_find(const _CharT2* __zero, size_t __len, _CharT2 __c) const > { > int __ret = -1; > const char_type* __q = char_traits<_CharT2>::find(__zero, __len, __c); > if (__q) > { > __ret = __q - __zero; > if (__ret > 15) > __ret -= 6; > } > return __ret; > } ># 2172 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual iter_type > do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, bool&) const; > > virtual iter_type > do_get(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, long& __v) const > { return _M_extract_int(__beg, __end, __io, __err, __v); } > > virtual iter_type > do_get(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, unsigned short& __v) const > { return _M_extract_int(__beg, __end, __io, __err, __v); } > > virtual iter_type > do_get(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, unsigned int& __v) const > { return _M_extract_int(__beg, __end, __io, __err, __v); } > > virtual iter_type > do_get(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, unsigned long& __v) const > { return _M_extract_int(__beg, __end, __io, __err, __v); } > > > virtual iter_type > do_get(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, long long& __v) const > { return _M_extract_int(__beg, __end, __io, __err, __v); } > > virtual iter_type > do_get(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, unsigned long long& __v) const > { return _M_extract_int(__beg, __end, __io, __err, __v); } > > > virtual iter_type > do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, float&) const; > > virtual iter_type > do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, > double&) const; > > > > > > > > virtual iter_type > do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, > long double&) const; > > > virtual iter_type > do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, void*&) const; ># 2235 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > }; > > template<typename _CharT, typename _InIter> > locale::id num_get<_CharT, _InIter>::id; ># 2253 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > template<typename _CharT, typename _OutIter> > class num_put : public locale::facet > { > public: > > > > typedef _CharT char_type; > typedef _OutIter iter_type; > > > > static locale::id id; ># 2274 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > explicit > num_put(size_t __refs = 0) : facet(__refs) { } ># 2292 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > iter_type > put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const > { return this->do_put(__s, __io, __fill, __v); } ># 2334 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > iter_type > put(iter_type __s, ios_base& __io, char_type __fill, long __v) const > { return this->do_put(__s, __io, __fill, __v); } > > iter_type > put(iter_type __s, ios_base& __io, char_type __fill, > unsigned long __v) const > { return this->do_put(__s, __io, __fill, __v); } > > > iter_type > put(iter_type __s, ios_base& __io, char_type __fill, long long __v) const > { return this->do_put(__s, __io, __fill, __v); } > > iter_type > put(iter_type __s, ios_base& __io, char_type __fill, > unsigned long long __v) const > { return this->do_put(__s, __io, __fill, __v); } ># 2397 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > iter_type > put(iter_type __s, ios_base& __io, char_type __fill, double __v) const > { return this->do_put(__s, __io, __fill, __v); } > > iter_type > put(iter_type __s, ios_base& __io, char_type __fill, > long double __v) const > { return this->do_put(__s, __io, __fill, __v); } ># 2422 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > iter_type > put(iter_type __s, ios_base& __io, char_type __fill, > const void* __v) const > { return this->do_put(__s, __io, __fill, __v); } > > protected: > template<typename _ValueT> > iter_type > _M_insert_float(iter_type, ios_base& __io, char_type __fill, > char __mod, _ValueT __v) const; > > void > _M_group_float(const char* __grouping, size_t __grouping_size, > char_type __sep, const char_type* __p, char_type* __new, > char_type* __cs, int& __len) const; > > template<typename _ValueT> > iter_type > _M_insert_int(iter_type, ios_base& __io, char_type __fill, > _ValueT __v) const; > > void > _M_group_int(const char* __grouping, size_t __grouping_size, > char_type __sep, ios_base& __io, char_type* __new, > char_type* __cs, int& __len) const; > > void > _M_pad(char_type __fill, streamsize __w, ios_base& __io, > char_type* __new, const char_type* __cs, int& __len) const; > > > virtual > ~num_put() { }; ># 2470 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > virtual iter_type > do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const; > > virtual iter_type > do_put(iter_type __s, ios_base& __io, char_type __fill, long __v) const > { return _M_insert_int(__s, __io, __fill, __v); } > > virtual iter_type > do_put(iter_type __s, ios_base& __io, char_type __fill, > unsigned long __v) const > { return _M_insert_int(__s, __io, __fill, __v); } > > > virtual iter_type > do_put(iter_type __s, ios_base& __io, char_type __fill, > long long __v) const > { return _M_insert_int(__s, __io, __fill, __v); } > > virtual iter_type > do_put(iter_type __s, ios_base& __io, char_type __fill, > unsigned long long __v) const > { return _M_insert_int(__s, __io, __fill, __v); } > > > virtual iter_type > do_put(iter_type, ios_base&, char_type, double) const; > > > > > > > virtual iter_type > do_put(iter_type, ios_base&, char_type, long double) const; > > > virtual iter_type > do_put(iter_type, ios_base&, char_type, const void*) const; > > > > > > > > }; > > template <typename _CharT, typename _OutIter> > locale::id num_put<_CharT, _OutIter>::id; ># 2528 "/usr/include/c++/4.9.1/bits/locale_facets.h" 3 > template<typename _CharT> > inline bool > isspace(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::space, __c); } > > > template<typename _CharT> > inline bool > isprint(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::print, __c); } > > > template<typename _CharT> > inline bool > iscntrl(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::cntrl, __c); } > > > template<typename _CharT> > inline bool > isupper(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::upper, __c); } > > > template<typename _CharT> > inline bool > islower(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::lower, __c); } > > > template<typename _CharT> > inline bool > isalpha(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::alpha, __c); } > > > template<typename _CharT> > inline bool > isdigit(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::digit, __c); } > > > template<typename _CharT> > inline bool > ispunct(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::punct, __c); } > > > template<typename _CharT> > inline bool > isxdigit(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::xdigit, __c); } > > > template<typename _CharT> > inline bool > isalnum(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::alnum, __c); } > > > template<typename _CharT> > inline bool > isgraph(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::graph, __c); } > > > template<typename _CharT> > inline _CharT > toupper(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).toupper(__c); } > > > template<typename _CharT> > inline _CharT > tolower(_CharT __c, const locale& __loc) > { return use_facet<ctype<_CharT> >(__loc).tolower(__c); } > > >} > ># 1 "/usr/include/c++/4.9.1/bits/locale_facets.tcc" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/locale_facets.tcc" 3 ># 34 "/usr/include/c++/4.9.1/bits/locale_facets.tcc" 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > > template<typename _Facet> > struct __use_cache > { > const _Facet* > operator() (const locale& __loc) const; > }; > > > template<typename _CharT> > struct __use_cache<__numpunct_cache<_CharT> > > { > const __numpunct_cache<_CharT>* > operator() (const locale& __loc) const > { > const size_t __i = numpunct<_CharT>::id._M_id(); > const locale::facet** __caches = __loc._M_impl->_M_caches; > if (!__caches[__i]) > { > __numpunct_cache<_CharT>* __tmp = 0; > if (true) > { > __tmp = new __numpunct_cache<_CharT>; > __tmp->_M_cache(__loc); > } > if (false) > { > delete __tmp; > ; > } > __loc._M_impl->_M_install_cache(__tmp, __i); > } > return static_cast<const __numpunct_cache<_CharT>*>(__caches[__i]); > } > }; > > template<typename _CharT> > void > __numpunct_cache<_CharT>::_M_cache(const locale& __loc) > { > _M_allocated = true; > > const numpunct<_CharT>& __np = use_facet<numpunct<_CharT> >(__loc); > > char* __grouping = 0; > _CharT* __truename = 0; > _CharT* __falsename = 0; > if (true) > { > _M_grouping_size = __np.grouping().size(); > __grouping = new char[_M_grouping_size]; > __np.grouping().copy(__grouping, _M_grouping_size); > _M_grouping = __grouping; > _M_use_grouping = (_M_grouping_size > && static_cast<signed char>(_M_grouping[0]) > 0 > && (_M_grouping[0] > != __gnu_cxx::__numeric_traits<char>::__max)); > > _M_truename_size = __np.truename().size(); > __truename = new _CharT[_M_truename_size]; > __np.truename().copy(__truename, _M_truename_size); > _M_truename = __truename; > > _M_falsename_size = __np.falsename().size(); > __falsename = new _CharT[_M_falsename_size]; > __np.falsename().copy(__falsename, _M_falsename_size); > _M_falsename = __falsename; > > _M_decimal_point = __np.decimal_point(); > _M_thousands_sep = __np.thousands_sep(); > > const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__loc); > __ct.widen(__num_base::_S_atoms_out, > __num_base::_S_atoms_out > + __num_base::_S_oend, _M_atoms_out); > __ct.widen(__num_base::_S_atoms_in, > __num_base::_S_atoms_in > + __num_base::_S_iend, _M_atoms_in); > } > if (false) > { > delete [] __grouping; > delete [] __truename; > delete [] __falsename; > ; > } > } ># 136 "/usr/include/c++/4.9.1/bits/locale_facets.tcc" 3 > __attribute__ ((__pure__)) bool > __verify_grouping(const char* __grouping, size_t __grouping_size, > const string& __grouping_tmp) throw (); > > > > template<typename _CharT, typename _InIter> > _InIter > num_get<_CharT, _InIter>:: > _M_extract_float(_InIter __beg, _InIter __end, ios_base& __io, > ios_base::iostate& __err, string& __xtrc) const > { > typedef char_traits<_CharT> __traits_type; > typedef __numpunct_cache<_CharT> __cache_type; > __use_cache<__cache_type> __uc; > const locale& __loc = __io._M_getloc(); > const __cache_type* __lc = __uc(__loc); > const _CharT* __lit = __lc->_M_atoms_in; > char_type __c = char_type(); > > > bool __testeof = __beg == __end; > > > if (!__testeof) > { > __c = *__beg; > const bool __plus = __c == __lit[__num_base::_S_iplus]; > if ((__plus || __c == __lit[__num_base::_S_iminus]) > && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) > && !(__c == __lc->_M_decimal_point)) > { > __xtrc += __plus ? '+' : '-'; > if (++__beg != __end) > __c = *__beg; > else > __testeof = true; > } > } > > > bool __found_mantissa = false; > int __sep_pos = 0; > while (!__testeof) > { > if ((__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) > || __c == __lc->_M_decimal_point) > break; > else if (__c == __lit[__num_base::_S_izero]) > { > if (!__found_mantissa) > { > __xtrc += '0'; > __found_mantissa = true; > } > ++__sep_pos; > > if (++__beg != __end) > __c = *__beg; > else > __testeof = true; > } > else > break; > } > > > bool __found_dec = false; > bool __found_sci = false; > string __found_grouping; > if (__lc->_M_use_grouping) > __found_grouping.reserve(32); > const char_type* __lit_zero = __lit + __num_base::_S_izero; > > if (!__lc->_M_allocated) > > while (!__testeof) > { > const int __digit = _M_find(__lit_zero, 10, __c); > if (__digit != -1) > { > __xtrc += '0' + __digit; > __found_mantissa = true; > } > else if (__c == __lc->_M_decimal_point > && !__found_dec && !__found_sci) > { > __xtrc += '.'; > __found_dec = true; > } > else if ((__c == __lit[__num_base::_S_ie] > || __c == __lit[__num_base::_S_iE]) > && !__found_sci && __found_mantissa) > { > > __xtrc += 'e'; > __found_sci = true; > > > if (++__beg != __end) > { > __c = *__beg; > const bool __plus = __c == __lit[__num_base::_S_iplus]; > if (__plus || __c == __lit[__num_base::_S_iminus]) > __xtrc += __plus ? '+' : '-'; > else > continue; > } > else > { > __testeof = true; > break; > } > } > else > break; > > if (++__beg != __end) > __c = *__beg; > else > __testeof = true; > } > else > while (!__testeof) > { > > > if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) > { > if (!__found_dec && !__found_sci) > { > > > if (__sep_pos) > { > __found_grouping += static_cast<char>(__sep_pos); > __sep_pos = 0; > } > else > { > > > __xtrc.clear(); > break; > } > } > else > break; > } > else if (__c == __lc->_M_decimal_point) > { > if (!__found_dec && !__found_sci) > { > > > > if (__found_grouping.size()) > __found_grouping += static_cast<char>(__sep_pos); > __xtrc += '.'; > __found_dec = true; > } > else > break; > } > else > { > const char_type* __q = > __traits_type::find(__lit_zero, 10, __c); > if (__q) > { > __xtrc += '0' + (__q - __lit_zero); > __found_mantissa = true; > ++__sep_pos; > } > else if ((__c == __lit[__num_base::_S_ie] > || __c == __lit[__num_base::_S_iE]) > && !__found_sci && __found_mantissa) > { > > if (__found_grouping.size() && !__found_dec) > __found_grouping += static_cast<char>(__sep_pos); > __xtrc += 'e'; > __found_sci = true; > > > if (++__beg != __end) > { > __c = *__beg; > const bool __plus = __c == __lit[__num_base::_S_iplus]; > if ((__plus || __c == __lit[__num_base::_S_iminus]) > && !(__lc->_M_use_grouping > && __c == __lc->_M_thousands_sep) > && !(__c == __lc->_M_decimal_point)) > __xtrc += __plus ? '+' : '-'; > else > continue; > } > else > { > __testeof = true; > break; > } > } > else > break; > } > > if (++__beg != __end) > __c = *__beg; > else > __testeof = true; > } > > > > if (__found_grouping.size()) > { > > if (!__found_dec && !__found_sci) > __found_grouping += static_cast<char>(__sep_pos); > > if (!std::__verify_grouping(__lc->_M_grouping, > __lc->_M_grouping_size, > __found_grouping)) > __err = ios_base::failbit; > } > > return __beg; > } > > template<typename _CharT, typename _InIter> > template<typename _ValueT> > _InIter > num_get<_CharT, _InIter>:: > _M_extract_int(_InIter __beg, _InIter __end, ios_base& __io, > ios_base::iostate& __err, _ValueT& __v) const > { > typedef char_traits<_CharT> __traits_type; > using __gnu_cxx::__add_unsigned; > typedef typename __add_unsigned<_ValueT>::__type __unsigned_type; > typedef __numpunct_cache<_CharT> __cache_type; > __use_cache<__cache_type> __uc; > const locale& __loc = __io._M_getloc(); > const __cache_type* __lc = __uc(__loc); > const _CharT* __lit = __lc->_M_atoms_in; > char_type __c = char_type(); > > > const ios_base::fmtflags __basefield = __io.flags() > & ios_base::basefield; > const bool __oct = __basefield == ios_base::oct; > int __base = __oct ? 8 : (__basefield == ios_base::hex ? 16 : 10); > > > bool __testeof = __beg == __end; > > > bool __negative = false; > if (!__testeof) > { > __c = *__beg; > __negative = __c == __lit[__num_base::_S_iminus]; > if ((__negative || __c == __lit[__num_base::_S_iplus]) > && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) > && !(__c == __lc->_M_decimal_point)) > { > if (++__beg != __end) > __c = *__beg; > else > __testeof = true; > } > } > > > > bool __found_zero = false; > int __sep_pos = 0; > while (!__testeof) > { > if ((__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) > || __c == __lc->_M_decimal_point) > break; > else if (__c == __lit[__num_base::_S_izero] > && (!__found_zero || __base == 10)) > { > __found_zero = true; > ++__sep_pos; > if (__basefield == 0) > __base = 8; > if (__base == 8) > __sep_pos = 0; > } > else if (__found_zero > && (__c == __lit[__num_base::_S_ix] > || __c == __lit[__num_base::_S_iX])) > { > if (__basefield == 0) > __base = 16; > if (__base == 16) > { > __found_zero = false; > __sep_pos = 0; > } > else > break; > } > else > break; > > if (++__beg != __end) > { > __c = *__beg; > if (!__found_zero) > break; > } > else > __testeof = true; > } > > > > const size_t __len = (__base == 16 ? __num_base::_S_iend > - __num_base::_S_izero : __base); > > > string __found_grouping; > if (__lc->_M_use_grouping) > __found_grouping.reserve(32); > bool __testfail = false; > bool __testoverflow = false; > const __unsigned_type __max = > (__negative && __gnu_cxx::__numeric_traits<_ValueT>::__is_signed) > ? -__gnu_cxx::__numeric_traits<_ValueT>::__min > : __gnu_cxx::__numeric_traits<_ValueT>::__max; > const __unsigned_type __smax = __max / __base; > __unsigned_type __result = 0; > int __digit = 0; > const char_type* __lit_zero = __lit + __num_base::_S_izero; > > if (!__lc->_M_allocated) > > while (!__testeof) > { > __digit = _M_find(__lit_zero, __len, __c); > if (__digit == -1) > break; > > if (__result > __smax) > __testoverflow = true; > else > { > __result *= __base; > __testoverflow |= __result > __max - __digit; > __result += __digit; > ++__sep_pos; > } > > if (++__beg != __end) > __c = *__beg; > else > __testeof = true; > } > else > while (!__testeof) > { > > > if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) > { > > > if (__sep_pos) > { > __found_grouping += static_cast<char>(__sep_pos); > __sep_pos = 0; > } > else > { > __testfail = true; > break; > } > } > else if (__c == __lc->_M_decimal_point) > break; > else > { > const char_type* __q = > __traits_type::find(__lit_zero, __len, __c); > if (!__q) > break; > > __digit = __q - __lit_zero; > if (__digit > 15) > __digit -= 6; > if (__result > __smax) > __testoverflow = true; > else > { > __result *= __base; > __testoverflow |= __result > __max - __digit; > __result += __digit; > ++__sep_pos; > } > } > > if (++__beg != __end) > __c = *__beg; > else > __testeof = true; > } > > > > if (__found_grouping.size()) > { > > __found_grouping += static_cast<char>(__sep_pos); > > if (!std::__verify_grouping(__lc->_M_grouping, > __lc->_M_grouping_size, > __found_grouping)) > __err = ios_base::failbit; > } > > > > if ((!__sep_pos && !__found_zero && !__found_grouping.size()) > || __testfail) > { > __v = 0; > __err = ios_base::failbit; > } > else if (__testoverflow) > { > if (__negative > && __gnu_cxx::__numeric_traits<_ValueT>::__is_signed) > __v = __gnu_cxx::__numeric_traits<_ValueT>::__min; > else > __v = __gnu_cxx::__numeric_traits<_ValueT>::__max; > __err = ios_base::failbit; > } > else > __v = __negative ? -__result : __result; > > if (__testeof) > __err |= ios_base::eofbit; > return __beg; > } > > > > template<typename _CharT, typename _InIter> > _InIter > num_get<_CharT, _InIter>:: > do_get(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, bool& __v) const > { > if (!(__io.flags() & ios_base::boolalpha)) > { > > > > long __l = -1; > __beg = _M_extract_int(__beg, __end, __io, __err, __l); > if (__l == 0 || __l == 1) > __v = bool(__l); > else > { > > > __v = true; > __err = ios_base::failbit; > if (__beg == __end) > __err |= ios_base::eofbit; > } > } > else > { > > typedef __numpunct_cache<_CharT> __cache_type; > __use_cache<__cache_type> __uc; > const locale& __loc = __io._M_getloc(); > const __cache_type* __lc = __uc(__loc); > > bool __testf = true; > bool __testt = true; > bool __donef = __lc->_M_falsename_size == 0; > bool __donet = __lc->_M_truename_size == 0; > bool __testeof = false; > size_t __n = 0; > while (!__donef || !__donet) > { > if (__beg == __end) > { > __testeof = true; > break; > } > > const char_type __c = *__beg; > > if (!__donef) > __testf = __c == __lc->_M_falsename[__n]; > > if (!__testf && __donet) > break; > > if (!__donet) > __testt = __c == __lc->_M_truename[__n]; > > if (!__testt && __donef) > break; > > if (!__testt && !__testf) > break; > > ++__n; > ++__beg; > > __donef = !__testf || __n >= __lc->_M_falsename_size; > __donet = !__testt || __n >= __lc->_M_truename_size; > } > if (__testf && __n == __lc->_M_falsename_size && __n) > { > __v = false; > if (__testt && __n == __lc->_M_truename_size) > __err = ios_base::failbit; > else > __err = __testeof ? ios_base::eofbit : ios_base::goodbit; > } > else if (__testt && __n == __lc->_M_truename_size && __n) > { > __v = true; > __err = __testeof ? ios_base::eofbit : ios_base::goodbit; > } > else > { > > > __v = false; > __err = ios_base::failbit; > if (__testeof) > __err |= ios_base::eofbit; > } > } > return __beg; > } > > template<typename _CharT, typename _InIter> > _InIter > num_get<_CharT, _InIter>:: > do_get(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, float& __v) const > { > string __xtrc; > __xtrc.reserve(32); > __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); > std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); > if (__beg == __end) > __err |= ios_base::eofbit; > return __beg; > } > > template<typename _CharT, typename _InIter> > _InIter > num_get<_CharT, _InIter>:: > do_get(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, double& __v) const > { > string __xtrc; > __xtrc.reserve(32); > __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); > std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); > if (__beg == __end) > __err |= ios_base::eofbit; > return __beg; > } ># 730 "/usr/include/c++/4.9.1/bits/locale_facets.tcc" 3 > template<typename _CharT, typename _InIter> > _InIter > num_get<_CharT, _InIter>:: > do_get(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, long double& __v) const > { > string __xtrc; > __xtrc.reserve(32); > __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); > std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); > if (__beg == __end) > __err |= ios_base::eofbit; > return __beg; > } > > template<typename _CharT, typename _InIter> > _InIter > num_get<_CharT, _InIter>:: > do_get(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, void*& __v) const > { > > typedef ios_base::fmtflags fmtflags; > const fmtflags __fmt = __io.flags(); > __io.flags((__fmt & ~ios_base::basefield) | ios_base::hex); > > typedef __gnu_cxx::__conditional_type<(sizeof(void*) > <= sizeof(unsigned long)), > unsigned long, unsigned long long>::__type _UIntPtrType; > > _UIntPtrType __ul; > __beg = _M_extract_int(__beg, __end, __io, __err, __ul); > > > __io.flags(__fmt); > > __v = reinterpret_cast<void*>(__ul); > return __beg; > } > > > > template<typename _CharT, typename _OutIter> > void > num_put<_CharT, _OutIter>:: > _M_pad(_CharT __fill, streamsize __w, ios_base& __io, > _CharT* __new, const _CharT* __cs, int& __len) const > { > > > __pad<_CharT, char_traits<_CharT> >::_S_pad(__io, __fill, __new, > __cs, __w, __len); > __len = static_cast<int>(__w); > } > > > > template<typename _CharT, typename _ValueT> > int > __int_to_char(_CharT* __bufend, _ValueT __v, const _CharT* __lit, > ios_base::fmtflags __flags, bool __dec) > { > _CharT* __buf = __bufend; > if (__builtin_expect(__dec, true)) > { > > do > { > *--__buf = __lit[(__v % 10) + __num_base::_S_odigits]; > __v /= 10; > } > while (__v != 0); > } > else if ((__flags & ios_base::basefield) == ios_base::oct) > { > > do > { > *--__buf = __lit[(__v & 0x7) + __num_base::_S_odigits]; > __v >>= 3; > } > while (__v != 0); > } > else > { > > const bool __uppercase = __flags & ios_base::uppercase; > const int __case_offset = __uppercase ? __num_base::_S_oudigits > : __num_base::_S_odigits; > do > { > *--__buf = __lit[(__v & 0xf) + __case_offset]; > __v >>= 4; > } > while (__v != 0); > } > return __bufend - __buf; > } > > > > template<typename _CharT, typename _OutIter> > void > num_put<_CharT, _OutIter>:: > _M_group_int(const char* __grouping, size_t __grouping_size, _CharT __sep, > ios_base&, _CharT* __new, _CharT* __cs, int& __len) const > { > _CharT* __p = std::__add_grouping(__new, __sep, __grouping, > __grouping_size, __cs, __cs + __len); > __len = __p - __new; > } > > template<typename _CharT, typename _OutIter> > template<typename _ValueT> > _OutIter > num_put<_CharT, _OutIter>:: > _M_insert_int(_OutIter __s, ios_base& __io, _CharT __fill, > _ValueT __v) const > { > using __gnu_cxx::__add_unsigned; > typedef typename __add_unsigned<_ValueT>::__type __unsigned_type; > typedef __numpunct_cache<_CharT> __cache_type; > __use_cache<__cache_type> __uc; > const locale& __loc = __io._M_getloc(); > const __cache_type* __lc = __uc(__loc); > const _CharT* __lit = __lc->_M_atoms_out; > const ios_base::fmtflags __flags = __io.flags(); > > > const int __ilen = 5 * sizeof(_ValueT); > _CharT* __cs = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) > * __ilen)); > > > > const ios_base::fmtflags __basefield = __flags & ios_base::basefield; > const bool __dec = (__basefield != ios_base::oct > && __basefield != ios_base::hex); > const __unsigned_type __u = ((__v > 0 || !__dec) > ? __unsigned_type(__v) > : -__unsigned_type(__v)); > int __len = __int_to_char(__cs + __ilen, __u, __lit, __flags, __dec); > __cs += __ilen - __len; > > > if (__lc->_M_use_grouping) > { > > > _CharT* __cs2 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) > * (__len + 1) > * 2)); > _M_group_int(__lc->_M_grouping, __lc->_M_grouping_size, > __lc->_M_thousands_sep, __io, __cs2 + 2, __cs, __len); > __cs = __cs2 + 2; > } > > > if (__builtin_expect(__dec, true)) > { > > if (__v >= 0) > { > if (bool(__flags & ios_base::showpos) > && __gnu_cxx::__numeric_traits<_ValueT>::__is_signed) > *--__cs = __lit[__num_base::_S_oplus], ++__len; > } > else > *--__cs = __lit[__num_base::_S_ominus], ++__len; > } > else if (bool(__flags & ios_base::showbase) && __v) > { > if (__basefield == ios_base::oct) > *--__cs = __lit[__num_base::_S_odigits], ++__len; > else > { > > const bool __uppercase = __flags & ios_base::uppercase; > *--__cs = __lit[__num_base::_S_ox + __uppercase]; > > *--__cs = __lit[__num_base::_S_odigits]; > __len += 2; > } > } > > > const streamsize __w = __io.width(); > if (__w > static_cast<streamsize>(__len)) > { > _CharT* __cs3 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) > * __w)); > _M_pad(__fill, __w, __io, __cs3, __cs, __len); > __cs = __cs3; > } > __io.width(0); > > > > return std::__write(__s, __cs, __len); > } > > template<typename _CharT, typename _OutIter> > void > num_put<_CharT, _OutIter>:: > _M_group_float(const char* __grouping, size_t __grouping_size, > _CharT __sep, const _CharT* __p, _CharT* __new, > _CharT* __cs, int& __len) const > { > > > > const int __declen = __p ? __p - __cs : __len; > _CharT* __p2 = std::__add_grouping(__new, __sep, __grouping, > __grouping_size, > __cs, __cs + __declen); > > > int __newlen = __p2 - __new; > if (__p) > { > char_traits<_CharT>::copy(__p2, __p, __len - __declen); > __newlen += __len - __declen; > } > __len = __newlen; > } ># 966 "/usr/include/c++/4.9.1/bits/locale_facets.tcc" 3 > template<typename _CharT, typename _OutIter> > template<typename _ValueT> > _OutIter > num_put<_CharT, _OutIter>:: > _M_insert_float(_OutIter __s, ios_base& __io, _CharT __fill, char __mod, > _ValueT __v) const > { > typedef __numpunct_cache<_CharT> __cache_type; > __use_cache<__cache_type> __uc; > const locale& __loc = __io._M_getloc(); > const __cache_type* __lc = __uc(__loc); > > > const streamsize __prec = __io.precision() < 0 ? 6 : __io.precision(); > > const int __max_digits = > __gnu_cxx::__numeric_traits<_ValueT>::__digits10; > > > int __len; > > char __fbuf[16]; > __num_base::_S_format_float(__io, __fbuf, __mod); > > > > > int __cs_size = __max_digits * 3; > char* __cs = static_cast<char*>(__builtin_alloca(__cs_size)); > __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, > __fbuf, __prec, __v); > > > if (__len >= __cs_size) > { > __cs_size = __len + 1; > __cs = static_cast<char*>(__builtin_alloca(__cs_size)); > __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, > __fbuf, __prec, __v); > } ># 1027 "/usr/include/c++/4.9.1/bits/locale_facets.tcc" 3 > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > > _CharT* __ws = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) > * __len)); > __ctype.widen(__cs, __cs + __len, __ws); > > > _CharT* __wp = 0; > const char* __p = char_traits<char>::find(__cs, __len, '.'); > if (__p) > { > __wp = __ws + (__p - __cs); > *__wp = __lc->_M_decimal_point; > } > > > > > if (__lc->_M_use_grouping > && (__wp || __len < 3 || (__cs[1] <= '9' && __cs[2] <= '9' > && __cs[1] >= '0' && __cs[2] >= '0'))) > { > > > _CharT* __ws2 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) > * __len * 2)); > > streamsize __off = 0; > if (__cs[0] == '-' || __cs[0] == '+') > { > __off = 1; > __ws2[0] = __ws[0]; > __len -= 1; > } > > _M_group_float(__lc->_M_grouping, __lc->_M_grouping_size, > __lc->_M_thousands_sep, __wp, __ws2 + __off, > __ws + __off, __len); > __len += __off; > > __ws = __ws2; > } > > > const streamsize __w = __io.width(); > if (__w > static_cast<streamsize>(__len)) > { > _CharT* __ws3 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) > * __w)); > _M_pad(__fill, __w, __io, __ws3, __ws, __len); > __ws = __ws3; > } > __io.width(0); > > > > return std::__write(__s, __ws, __len); > } > > template<typename _CharT, typename _OutIter> > _OutIter > num_put<_CharT, _OutIter>:: > do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const > { > const ios_base::fmtflags __flags = __io.flags(); > if ((__flags & ios_base::boolalpha) == 0) > { > const long __l = __v; > __s = _M_insert_int(__s, __io, __fill, __l); > } > else > { > typedef __numpunct_cache<_CharT> __cache_type; > __use_cache<__cache_type> __uc; > const locale& __loc = __io._M_getloc(); > const __cache_type* __lc = __uc(__loc); > > const _CharT* __name = __v ? __lc->_M_truename > : __lc->_M_falsename; > int __len = __v ? __lc->_M_truename_size > : __lc->_M_falsename_size; > > const streamsize __w = __io.width(); > if (__w > static_cast<streamsize>(__len)) > { > const streamsize __plen = __w - __len; > _CharT* __ps > = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) > * __plen)); > > char_traits<_CharT>::assign(__ps, __plen, __fill); > __io.width(0); > > if ((__flags & ios_base::adjustfield) == ios_base::left) > { > __s = std::__write(__s, __name, __len); > __s = std::__write(__s, __ps, __plen); > } > else > { > __s = std::__write(__s, __ps, __plen); > __s = std::__write(__s, __name, __len); > } > return __s; > } > __io.width(0); > __s = std::__write(__s, __name, __len); > } > return __s; > } > > template<typename _CharT, typename _OutIter> > _OutIter > num_put<_CharT, _OutIter>:: > do_put(iter_type __s, ios_base& __io, char_type __fill, double __v) const > { return _M_insert_float(__s, __io, __fill, char(), __v); } ># 1152 "/usr/include/c++/4.9.1/bits/locale_facets.tcc" 3 > template<typename _CharT, typename _OutIter> > _OutIter > num_put<_CharT, _OutIter>:: > do_put(iter_type __s, ios_base& __io, char_type __fill, > long double __v) const > { return _M_insert_float(__s, __io, __fill, 'L', __v); } > > template<typename _CharT, typename _OutIter> > _OutIter > num_put<_CharT, _OutIter>:: > do_put(iter_type __s, ios_base& __io, char_type __fill, > const void* __v) const > { > const ios_base::fmtflags __flags = __io.flags(); > const ios_base::fmtflags __fmt = ~(ios_base::basefield > | ios_base::uppercase); > __io.flags((__flags & __fmt) | (ios_base::hex | ios_base::showbase)); > > typedef __gnu_cxx::__conditional_type<(sizeof(const void*) > <= sizeof(unsigned long)), > unsigned long, unsigned long long>::__type _UIntPtrType; > > __s = _M_insert_int(__s, __io, __fill, > reinterpret_cast<_UIntPtrType>(__v)); > __io.flags(__flags); > return __s; > } ># 1189 "/usr/include/c++/4.9.1/bits/locale_facets.tcc" 3 > template<typename _CharT, typename _Traits> > void > __pad<_CharT, _Traits>::_S_pad(ios_base& __io, _CharT __fill, > _CharT* __news, const _CharT* __olds, > streamsize __newlen, streamsize __oldlen) > { > const size_t __plen = static_cast<size_t>(__newlen - __oldlen); > const ios_base::fmtflags __adjust = __io.flags() & ios_base::adjustfield; > > > if (__adjust == ios_base::left) > { > _Traits::copy(__news, __olds, __oldlen); > _Traits::assign(__news + __oldlen, __plen, __fill); > return; > } > > size_t __mod = 0; > if (__adjust == ios_base::internal) > { > > > > const locale& __loc = __io._M_getloc(); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > > if (__ctype.widen('-') == __olds[0] > || __ctype.widen('+') == __olds[0]) > { > __news[0] = __olds[0]; > __mod = 1; > ++__news; > } > else if (__ctype.widen('0') == __olds[0] > && __oldlen > 1 > && (__ctype.widen('x') == __olds[1] > || __ctype.widen('X') == __olds[1])) > { > __news[0] = __olds[0]; > __news[1] = __olds[1]; > __mod = 2; > __news += 2; > } > > } > _Traits::assign(__news, __plen, __fill); > _Traits::copy(__news + __plen, __olds + __mod, __oldlen - __mod); > } > > template<typename _CharT> > _CharT* > __add_grouping(_CharT* __s, _CharT __sep, > const char* __gbeg, size_t __gsize, > const _CharT* __first, const _CharT* __last) > { > size_t __idx = 0; > size_t __ctr = 0; > > while (__last - __first > __gbeg[__idx] > && static_cast<signed char>(__gbeg[__idx]) > 0 > && __gbeg[__idx] != __gnu_cxx::__numeric_traits<char>::__max) > { > __last -= __gbeg[__idx]; > __idx < __gsize - 1 ? ++__idx : ++__ctr; > } > > while (__first != __last) > *__s++ = *__first++; > > while (__ctr--) > { > *__s++ = __sep; > for (char __i = __gbeg[__idx]; __i > 0; --__i) > *__s++ = *__first++; > } > > while (__idx--) > { > *__s++ = __sep; > for (char __i = __gbeg[__idx]; __i > 0; --__i) > *__s++ = *__first++; > } > > return __s; > } > > > > > extern template class numpunct<char>; > extern template class numpunct_byname<char>; > extern template class num_get<char>; > extern template class num_put<char>; > extern template class ctype_byname<char>; > > extern template > const ctype<char>& > use_facet<ctype<char> >(const locale&); > > extern template > const numpunct<char>& > use_facet<numpunct<char> >(const locale&); > > extern template > const num_put<char>& > use_facet<num_put<char> >(const locale&); > > extern template > const num_get<char>& > use_facet<num_get<char> >(const locale&); > > extern template > bool > has_facet<ctype<char> >(const locale&); > > extern template > bool > has_facet<numpunct<char> >(const locale&); > > extern template > bool > has_facet<num_put<char> >(const locale&); > > extern template > bool > has_facet<num_get<char> >(const locale&); > > > extern template class numpunct<wchar_t>; > extern template class numpunct_byname<wchar_t>; > extern template class num_get<wchar_t>; > extern template class num_put<wchar_t>; > extern template class ctype_byname<wchar_t>; > > extern template > const ctype<wchar_t>& > use_facet<ctype<wchar_t> >(const locale&); > > extern template > const numpunct<wchar_t>& > use_facet<numpunct<wchar_t> >(const locale&); > > extern template > const num_put<wchar_t>& > use_facet<num_put<wchar_t> >(const locale&); > > extern template > const num_get<wchar_t>& > use_facet<num_get<wchar_t> >(const locale&); > > extern template > bool > has_facet<ctype<wchar_t> >(const locale&); > > extern template > bool > has_facet<numpunct<wchar_t> >(const locale&); > > extern template > bool > has_facet<num_put<wchar_t> >(const locale&); > > extern template > bool > has_facet<num_get<wchar_t> >(const locale&); > > > > >} ># 2609 "/usr/include/c++/4.9.1/bits/locale_facets.h" 2 3 ># 38 "/usr/include/c++/4.9.1/bits/basic_ios.h" 2 3 > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _Facet> > inline const _Facet& > __check_facet(const _Facet* __f) > { > if (!__f) > __throw_bad_cast(); > return *__f; > } ># 65 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > template<typename _CharT, typename _Traits> > class basic_ios : public ios_base > { > public: > > > > > > > typedef _CharT char_type; > typedef typename _Traits::int_type int_type; > typedef typename _Traits::pos_type pos_type; > typedef typename _Traits::off_type off_type; > typedef _Traits traits_type; > > > > > > > typedef ctype<_CharT> __ctype_type; > typedef num_put<_CharT, ostreambuf_iterator<_CharT, _Traits> > > __num_put_type; > typedef num_get<_CharT, istreambuf_iterator<_CharT, _Traits> > > __num_get_type; > > > > protected: > basic_ostream<_CharT, _Traits>* _M_tie; > mutable char_type _M_fill; > mutable bool _M_fill_init; > basic_streambuf<_CharT, _Traits>* _M_streambuf; > > > const __ctype_type* _M_ctype; > > const __num_put_type* _M_num_put; > > const __num_get_type* _M_num_get; > > public: > > > > > > > > operator void*() const > { return this->fail() ? 0 : const_cast<basic_ios*>(this); } > > bool > operator!() const > { return this->fail(); } ># 130 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > iostate > rdstate() const > { return _M_streambuf_state; } ># 141 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > void > clear(iostate __state = goodbit); > > > > > > > > void > setstate(iostate __state) > { this->clear(this->rdstate() | __state); } > > > > > void > _M_setstate(iostate __state) > { > > > _M_streambuf_state |= __state; > if (this->exceptions() & __state) > ; > } > > > > > > > > bool > good() const > { return this->rdstate() == 0; } > > > > > > > > bool > eof() const > { return (this->rdstate() & eofbit) != 0; } ># 194 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > bool > fail() const > { return (this->rdstate() & (badbit | failbit)) != 0; } > > > > > > > > bool > bad() const > { return (this->rdstate() & badbit) != 0; } ># 215 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > iostate > exceptions() const > { return _M_exception; } ># 250 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > void > exceptions(iostate __except) > { > _M_exception = __except; > this->clear(_M_streambuf_state); > } > > > > > > > > explicit > basic_ios(basic_streambuf<_CharT, _Traits>* __sb) > : ios_base(), _M_tie(0), _M_fill(), _M_fill_init(false), _M_streambuf(0), > _M_ctype(0), _M_num_put(0), _M_num_get(0) > { this->init(__sb); } > > > > > > > > virtual > ~basic_ios() { } ># 288 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > basic_ostream<_CharT, _Traits>* > tie() const > { return _M_tie; } ># 300 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > basic_ostream<_CharT, _Traits>* > tie(basic_ostream<_CharT, _Traits>* __tiestr) > { > basic_ostream<_CharT, _Traits>* __old = _M_tie; > _M_tie = __tiestr; > return __old; > } > > > > > > > > basic_streambuf<_CharT, _Traits>* > rdbuf() const > { return _M_streambuf; } ># 340 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > basic_streambuf<_CharT, _Traits>* > rdbuf(basic_streambuf<_CharT, _Traits>* __sb); ># 354 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > basic_ios& > copyfmt(const basic_ios& __rhs); > > > > > > > > char_type > fill() const > { > if (!_M_fill_init) > { > _M_fill = this->widen(' '); > _M_fill_init = true; > } > return _M_fill; > } ># 383 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > char_type > fill(char_type __ch) > { > char_type __old = this->fill(); > _M_fill = __ch; > return __old; > } ># 403 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > locale > imbue(const locale& __loc); ># 423 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > char > narrow(char_type __c, char __dfault) const > { return __check_facet(_M_ctype).narrow(__c, __dfault); } ># 442 "/usr/include/c++/4.9.1/bits/basic_ios.h" 3 > char_type > widen(char __c) const > { return __check_facet(_M_ctype).widen(__c); } > > protected: > > > > > > > > basic_ios() > : ios_base(), _M_tie(0), _M_fill(char_type()), _M_fill_init(false), > _M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0) > { } > > > > > > > > void > init(basic_streambuf<_CharT, _Traits>* __sb); > > void > _M_cache_locale(const locale& __loc); > }; > > >} > ># 1 "/usr/include/c++/4.9.1/bits/basic_ios.tcc" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/basic_ios.tcc" 3 ># 34 "/usr/include/c++/4.9.1/bits/basic_ios.tcc" 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _CharT, typename _Traits> > void > basic_ios<_CharT, _Traits>::clear(iostate __state) > { > if (this->rdbuf()) > _M_streambuf_state = __state; > else > _M_streambuf_state = __state | badbit; > if (this->exceptions() & this->rdstate()) > __throw_ios_failure(("basic_ios::clear")); > } > > template<typename _CharT, typename _Traits> > basic_streambuf<_CharT, _Traits>* > basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<_CharT, _Traits>* __sb) > { > basic_streambuf<_CharT, _Traits>* __old = _M_streambuf; > _M_streambuf = __sb; > this->clear(); > return __old; > } > > template<typename _CharT, typename _Traits> > basic_ios<_CharT, _Traits>& > basic_ios<_CharT, _Traits>::copyfmt(const basic_ios& __rhs) > { > > > if (this != &__rhs) > { > > > > > _Words* __words = (__rhs._M_word_size <= _S_local_word_size) ? > _M_local_word : new _Words[__rhs._M_word_size]; > > > _Callback_list* __cb = __rhs._M_callbacks; > if (__cb) > __cb->_M_add_reference(); > _M_call_callbacks(erase_event); > if (_M_word != _M_local_word) > { > delete [] _M_word; > _M_word = 0; > } > _M_dispose_callbacks(); > > > _M_callbacks = __cb; > for (int __i = 0; __i < __rhs._M_word_size; ++__i) > __words[__i] = __rhs._M_word[__i]; > _M_word = __words; > _M_word_size = __rhs._M_word_size; > > this->flags(__rhs.flags()); > this->width(__rhs.width()); > this->precision(__rhs.precision()); > this->tie(__rhs.tie()); > this->fill(__rhs.fill()); > _M_ios_locale = __rhs.getloc(); > _M_cache_locale(_M_ios_locale); > > _M_call_callbacks(copyfmt_event); > > > this->exceptions(__rhs.exceptions()); > } > return *this; > } > > > template<typename _CharT, typename _Traits> > locale > basic_ios<_CharT, _Traits>::imbue(const locale& __loc) > { > locale __old(this->getloc()); > ios_base::imbue(__loc); > _M_cache_locale(__loc); > if (this->rdbuf() != 0) > this->rdbuf()->pubimbue(__loc); > return __old; > } > > template<typename _CharT, typename _Traits> > void > basic_ios<_CharT, _Traits>::init(basic_streambuf<_CharT, _Traits>* __sb) > { > > ios_base::_M_init(); > > > _M_cache_locale(_M_ios_locale); ># 146 "/usr/include/c++/4.9.1/bits/basic_ios.tcc" 3 > _M_fill = _CharT(); > _M_fill_init = false; > > _M_tie = 0; > _M_exception = goodbit; > _M_streambuf = __sb; > _M_streambuf_state = __sb ? goodbit : badbit; > } > > template<typename _CharT, typename _Traits> > void > basic_ios<_CharT, _Traits>::_M_cache_locale(const locale& __loc) > { > if (__builtin_expect(has_facet<__ctype_type>(__loc), true)) > _M_ctype = &use_facet<__ctype_type>(__loc); > else > _M_ctype = 0; > > if (__builtin_expect(has_facet<__num_put_type>(__loc), true)) > _M_num_put = &use_facet<__num_put_type>(__loc); > else > _M_num_put = 0; > > if (__builtin_expect(has_facet<__num_get_type>(__loc), true)) > _M_num_get = &use_facet<__num_get_type>(__loc); > else > _M_num_get = 0; > } > > > > > extern template class basic_ios<char>; > > > extern template class basic_ios<wchar_t>; > > > > >} ># 476 "/usr/include/c++/4.9.1/bits/basic_ios.h" 2 3 ># 45 "/usr/include/c++/4.9.1/ios" 2 3 ># 39 "/usr/include/c++/4.9.1/ostream" 2 3 > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 57 "/usr/include/c++/4.9.1/ostream" 3 > template<typename _CharT, typename _Traits> > class basic_ostream : virtual public basic_ios<_CharT, _Traits> > { > public: > > typedef _CharT char_type; > typedef typename _Traits::int_type int_type; > typedef typename _Traits::pos_type pos_type; > typedef typename _Traits::off_type off_type; > typedef _Traits traits_type; > > > typedef basic_streambuf<_CharT, _Traits> __streambuf_type; > typedef basic_ios<_CharT, _Traits> __ios_type; > typedef basic_ostream<_CharT, _Traits> __ostream_type; > typedef num_put<_CharT, ostreambuf_iterator<_CharT, _Traits> > > __num_put_type; > typedef ctype<_CharT> __ctype_type; ># 83 "/usr/include/c++/4.9.1/ostream" 3 > explicit > basic_ostream(__streambuf_type* __sb) > { this->init(__sb); } > > > > > > > virtual > ~basic_ostream() { } > > > class sentry; > friend class sentry; ># 107 "/usr/include/c++/4.9.1/ostream" 3 > __ostream_type& > operator<<(__ostream_type& (*__pf)(__ostream_type&)) > { > > > > return __pf(*this); > } > > __ostream_type& > operator<<(__ios_type& (*__pf)(__ios_type&)) > { > > > > __pf(*this); > return *this; > } > > __ostream_type& > operator<<(ios_base& (*__pf) (ios_base&)) > { > > > > __pf(*this); > return *this; > } ># 165 "/usr/include/c++/4.9.1/ostream" 3 > __ostream_type& > operator<<(long __n) > { return _M_insert(__n); } > > __ostream_type& > operator<<(unsigned long __n) > { return _M_insert(__n); } > > __ostream_type& > operator<<(bool __n) > { return _M_insert(__n); } > > __ostream_type& > operator<<(short __n); > > __ostream_type& > operator<<(unsigned short __n) > { > > > return _M_insert(static_cast<unsigned long>(__n)); > } > > __ostream_type& > operator<<(int __n); > > __ostream_type& > operator<<(unsigned int __n) > { > > > return _M_insert(static_cast<unsigned long>(__n)); > } > > > __ostream_type& > operator<<(long long __n) > { return _M_insert(__n); } > > __ostream_type& > operator<<(unsigned long long __n) > { return _M_insert(__n); } ># 219 "/usr/include/c++/4.9.1/ostream" 3 > __ostream_type& > operator<<(double __f) > { return _M_insert(__f); } > > __ostream_type& > operator<<(float __f) > { > > > return _M_insert(static_cast<double>(__f)); > } > > __ostream_type& > operator<<(long double __f) > { return _M_insert(__f); } ># 244 "/usr/include/c++/4.9.1/ostream" 3 > __ostream_type& > operator<<(const void* __p) > { return _M_insert(__p); } ># 269 "/usr/include/c++/4.9.1/ostream" 3 > __ostream_type& > operator<<(__streambuf_type* __sb); ># 302 "/usr/include/c++/4.9.1/ostream" 3 > __ostream_type& > put(char_type __c); > > > > > > > void > _M_write(const char_type* __s, streamsize __n) > { > const streamsize __put = this->rdbuf()->sputn(__s, __n); > if (__put != __n) > this->setstate(ios_base::badbit); > } ># 334 "/usr/include/c++/4.9.1/ostream" 3 > __ostream_type& > write(const char_type* __s, streamsize __n); ># 347 "/usr/include/c++/4.9.1/ostream" 3 > __ostream_type& > flush(); ># 357 "/usr/include/c++/4.9.1/ostream" 3 > pos_type > tellp(); ># 368 "/usr/include/c++/4.9.1/ostream" 3 > __ostream_type& > seekp(pos_type); ># 380 "/usr/include/c++/4.9.1/ostream" 3 > __ostream_type& > seekp(off_type, ios_base::seekdir); > > protected: > basic_ostream() > { this->init(0); } > > template<typename _ValueT> > __ostream_type& > _M_insert(_ValueT __v); > }; ># 399 "/usr/include/c++/4.9.1/ostream" 3 > template <typename _CharT, typename _Traits> > class basic_ostream<_CharT, _Traits>::sentry > { > > bool _M_ok; > basic_ostream<_CharT, _Traits>& _M_os; > > public: ># 418 "/usr/include/c++/4.9.1/ostream" 3 > explicit > sentry(basic_ostream<_CharT, _Traits>& __os); ># 428 "/usr/include/c++/4.9.1/ostream" 3 > ~sentry() > { > > if (bool(_M_os.flags() & ios_base::unitbuf) && !uncaught_exception()) > { > > if (_M_os.rdbuf() && _M_os.rdbuf()->pubsync() == -1) > _M_os.setstate(ios_base::badbit); > } > } ># 447 "/usr/include/c++/4.9.1/ostream" 3 > explicit > > operator bool() const > { return _M_ok; } > }; ># 469 "/usr/include/c++/4.9.1/ostream" 3 > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) > { return __ostream_insert(__out, &__c, 1); } > > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) > { return (__out << __out.widen(__c)); } > > > template <class _Traits> > inline basic_ostream<char, _Traits>& > operator<<(basic_ostream<char, _Traits>& __out, char __c) > { return __ostream_insert(__out, &__c, 1); } > > > template<class _Traits> > inline basic_ostream<char, _Traits>& > operator<<(basic_ostream<char, _Traits>& __out, signed char __c) > { return (__out << static_cast<char>(__c)); } > > template<class _Traits> > inline basic_ostream<char, _Traits>& > operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c) > { return (__out << static_cast<char>(__c)); } ># 511 "/usr/include/c++/4.9.1/ostream" 3 > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) > { > if (!__s) > __out.setstate(ios_base::badbit); > else > __ostream_insert(__out, __s, > static_cast<streamsize>(_Traits::length(__s))); > return __out; > } > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits> & > operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s); > > > template<class _Traits> > inline basic_ostream<char, _Traits>& > operator<<(basic_ostream<char, _Traits>& __out, const char* __s) > { > if (!__s) > __out.setstate(ios_base::badbit); > else > __ostream_insert(__out, __s, > static_cast<streamsize>(_Traits::length(__s))); > return __out; > } > > > template<class _Traits> > inline basic_ostream<char, _Traits>& > operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s) > { return (__out << reinterpret_cast<const char*>(__s)); } > > template<class _Traits> > inline basic_ostream<char, _Traits> & > operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s) > { return (__out << reinterpret_cast<const char*>(__s)); } ># 562 "/usr/include/c++/4.9.1/ostream" 3 > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > endl(basic_ostream<_CharT, _Traits>& __os) > { return flush(__os.put(__os.widen('\n'))); } ># 574 "/usr/include/c++/4.9.1/ostream" 3 > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > ends(basic_ostream<_CharT, _Traits>& __os) > { return __os.put(_CharT()); } > > > > > > > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > flush(basic_ostream<_CharT, _Traits>& __os) > { return __os.flush(); } ># 600 "/usr/include/c++/4.9.1/ostream" 3 > template<typename _CharT, typename _Traits, typename _Tp> > inline basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>&& __os, const _Tp& __x) > { return (__os << __x); } > > > >} > ># 1 "/usr/include/c++/4.9.1/bits/ostream.tcc" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/ostream.tcc" 3 ># 38 "/usr/include/c++/4.9.1/bits/ostream.tcc" 3 > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits>::sentry:: > sentry(basic_ostream<_CharT, _Traits>& __os) > : _M_ok(false), _M_os(__os) > { > > if (__os.tie() && __os.good()) > __os.tie()->flush(); > > if (__os.good()) > _M_ok = true; > else > __os.setstate(ios_base::failbit); > } > > template<typename _CharT, typename _Traits> > template<typename _ValueT> > basic_ostream<_CharT, _Traits>& > basic_ostream<_CharT, _Traits>:: > _M_insert(_ValueT __v) > { > sentry __cerb(*this); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > const __num_put_type& __np = __check_facet(this->_M_num_put); > if (__np.put(*this, *this, this->fill(), __v).failed()) > __err |= ios_base::badbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits>& > basic_ostream<_CharT, _Traits>:: > operator<<(short __n) > { > > > const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; > if (__fmt == ios_base::oct || __fmt == ios_base::hex) > return _M_insert(static_cast<long>(static_cast<unsigned short>(__n))); > else > return _M_insert(static_cast<long>(__n)); > } > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits>& > basic_ostream<_CharT, _Traits>:: > operator<<(int __n) > { > > > const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; > if (__fmt == ios_base::oct || __fmt == ios_base::hex) > return _M_insert(static_cast<long>(static_cast<unsigned int>(__n))); > else > return _M_insert(static_cast<long>(__n)); > } > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits>& > basic_ostream<_CharT, _Traits>:: > operator<<(__streambuf_type* __sbin) > { > ios_base::iostate __err = ios_base::goodbit; > sentry __cerb(*this); > if (__cerb && __sbin) > { > if (true) > { > if (!__copy_streambufs(__sbin, this->rdbuf())) > __err |= ios_base::failbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::failbit); } > } > else if (!__sbin) > __err |= ios_base::badbit; > if (__err) > this->setstate(__err); > return *this; > } > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits>& > basic_ostream<_CharT, _Traits>:: > put(char_type __c) > { > > > > > > > sentry __cerb(*this); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > const int_type __put = this->rdbuf()->sputc(__c); > if (traits_type::eq_int_type(__put, traits_type::eof())) > __err |= ios_base::badbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits>& > basic_ostream<_CharT, _Traits>:: > write(const _CharT* __s, streamsize __n) > { > > > > > > > > sentry __cerb(*this); > if (__cerb) > { > if (true) > { _M_write(__s, __n); } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > } > return *this; > } > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits>& > basic_ostream<_CharT, _Traits>:: > flush() > { > > > > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > if (this->rdbuf() && this->rdbuf()->pubsync() == -1) > __err |= ios_base::badbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > return *this; > } > > template<typename _CharT, typename _Traits> > typename basic_ostream<_CharT, _Traits>::pos_type > basic_ostream<_CharT, _Traits>:: > tellp() > { > pos_type __ret = pos_type(-1); > if (true) > { > if (!this->fail()) > __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out); > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > return __ret; > } > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits>& > basic_ostream<_CharT, _Traits>:: > seekp(pos_type __pos) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > if (!this->fail()) > { > > > const pos_type __p = this->rdbuf()->pubseekpos(__pos, > ios_base::out); > > > if (__p == pos_type(off_type(-1))) > __err |= ios_base::failbit; > } > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > return *this; > } > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits>& > basic_ostream<_CharT, _Traits>:: > seekp(off_type __off, ios_base::seekdir __dir) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > if (!this->fail()) > { > > > const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir, > ios_base::out); > > > if (__p == pos_type(off_type(-1))) > __err |= ios_base::failbit; > } > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > return *this; > } > > template<typename _CharT, typename _Traits> > basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) > { > if (!__s) > __out.setstate(ios_base::badbit); > else > { > > > const size_t __clen = char_traits<char>::length(__s); > if (true) > { > struct __ptr_guard > { > _CharT *__p; > __ptr_guard (_CharT *__ip): __p(__ip) { } > ~__ptr_guard() { delete[] __p; } > _CharT* __get() { return __p; } > } __pg (new _CharT[__clen]); > > _CharT *__ws = __pg.__get(); > for (size_t __i = 0; __i < __clen; ++__i) > __ws[__i] = __out.widen(__s[__i]); > __ostream_insert(__out, __ws, __clen); > } > if (false) > { > __out._M_setstate(ios_base::badbit); > ; > } > if (false) > { __out._M_setstate(ios_base::badbit); } > } > return __out; > } > > > > > extern template class basic_ostream<char>; > extern template ostream& endl(ostream&); > extern template ostream& ends(ostream&); > extern template ostream& flush(ostream&); > extern template ostream& operator<<(ostream&, char); > extern template ostream& operator<<(ostream&, unsigned char); > extern template ostream& operator<<(ostream&, signed char); > extern template ostream& operator<<(ostream&, const char*); > extern template ostream& operator<<(ostream&, const unsigned char*); > extern template ostream& operator<<(ostream&, const signed char*); > > extern template ostream& ostream::_M_insert(long); > extern template ostream& ostream::_M_insert(unsigned long); > extern template ostream& ostream::_M_insert(bool); > > extern template ostream& ostream::_M_insert(long long); > extern template ostream& ostream::_M_insert(unsigned long long); > > extern template ostream& ostream::_M_insert(double); > extern template ostream& ostream::_M_insert(long double); > extern template ostream& ostream::_M_insert(const void*); > > > extern template class basic_ostream<wchar_t>; > extern template wostream& endl(wostream&); > extern template wostream& ends(wostream&); > extern template wostream& flush(wostream&); > extern template wostream& operator<<(wostream&, wchar_t); > extern template wostream& operator<<(wostream&, char); > extern template wostream& operator<<(wostream&, const wchar_t*); > extern template wostream& operator<<(wostream&, const char*); > > extern template wostream& wostream::_M_insert(long); > extern template wostream& wostream::_M_insert(unsigned long); > extern template wostream& wostream::_M_insert(bool); > > extern template wostream& wostream::_M_insert(long long); > extern template wostream& wostream::_M_insert(unsigned long long); > > extern template wostream& wostream::_M_insert(double); > extern template wostream& wostream::_M_insert(long double); > extern template wostream& wostream::_M_insert(const void*); > > > > >} ># 610 "/usr/include/c++/4.9.1/ostream" 2 3 ># 65 "/usr/include/c++/4.9.1/iterator" 2 3 ># 1 "/usr/include/c++/4.9.1/istream" 1 3 ># 36 "/usr/include/c++/4.9.1/istream" 3 ># 37 "/usr/include/c++/4.9.1/istream" 3 > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 57 "/usr/include/c++/4.9.1/istream" 3 > template<typename _CharT, typename _Traits> > class basic_istream : virtual public basic_ios<_CharT, _Traits> > { > public: > > typedef _CharT char_type; > typedef typename _Traits::int_type int_type; > typedef typename _Traits::pos_type pos_type; > typedef typename _Traits::off_type off_type; > typedef _Traits traits_type; > > > typedef basic_streambuf<_CharT, _Traits> __streambuf_type; > typedef basic_ios<_CharT, _Traits> __ios_type; > typedef basic_istream<_CharT, _Traits> __istream_type; > typedef num_get<_CharT, istreambuf_iterator<_CharT, _Traits> > > __num_get_type; > typedef ctype<_CharT> __ctype_type; > > protected: > > > > > > streamsize _M_gcount; > > public: > > > > > > > > explicit > basic_istream(__streambuf_type* __sb) > : _M_gcount(streamsize(0)) > { this->init(__sb); } > > > > > > > virtual > ~basic_istream() > { _M_gcount = streamsize(0); } > > > class sentry; > friend class sentry; ># 119 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > operator>>(__istream_type& (*__pf)(__istream_type&)) > { return __pf(*this); } > > __istream_type& > operator>>(__ios_type& (*__pf)(__ios_type&)) > { > __pf(*this); > return *this; > } > > __istream_type& > operator>>(ios_base& (*__pf)(ios_base&)) > { > __pf(*this); > return *this; > } ># 167 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > operator>>(bool& __n) > { return _M_extract(__n); } > > __istream_type& > operator>>(short& __n); > > __istream_type& > operator>>(unsigned short& __n) > { return _M_extract(__n); } > > __istream_type& > operator>>(int& __n); > > __istream_type& > operator>>(unsigned int& __n) > { return _M_extract(__n); } > > __istream_type& > operator>>(long& __n) > { return _M_extract(__n); } > > __istream_type& > operator>>(unsigned long& __n) > { return _M_extract(__n); } > > > __istream_type& > operator>>(long long& __n) > { return _M_extract(__n); } > > __istream_type& > operator>>(unsigned long long& __n) > { return _M_extract(__n); } ># 213 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > operator>>(float& __f) > { return _M_extract(__f); } > > __istream_type& > operator>>(double& __f) > { return _M_extract(__f); } > > __istream_type& > operator>>(long double& __f) > { return _M_extract(__f); } ># 234 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > operator>>(void*& __p) > { return _M_extract(__p); } ># 258 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > operator>>(__streambuf_type* __sb); ># 268 "/usr/include/c++/4.9.1/istream" 3 > streamsize > gcount() const > { return _M_gcount; } ># 301 "/usr/include/c++/4.9.1/istream" 3 > int_type > get(); ># 315 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > get(char_type& __c); ># 342 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > get(char_type* __s, streamsize __n, char_type __delim); ># 353 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > get(char_type* __s, streamsize __n) > { return this->get(__s, __n, this->widen('\n')); } ># 376 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > get(__streambuf_type& __sb, char_type __delim); ># 386 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > get(__streambuf_type& __sb) > { return this->get(__sb, this->widen('\n')); } ># 415 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > getline(char_type* __s, streamsize __n, char_type __delim); ># 426 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > getline(char_type* __s, streamsize __n) > { return this->getline(__s, __n, this->widen('\n')); } ># 450 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > ignore(streamsize __n, int_type __delim); > > __istream_type& > ignore(streamsize __n); > > __istream_type& > ignore(); ># 467 "/usr/include/c++/4.9.1/istream" 3 > int_type > peek(); ># 485 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > read(char_type* __s, streamsize __n); ># 504 "/usr/include/c++/4.9.1/istream" 3 > streamsize > readsome(char_type* __s, streamsize __n); ># 521 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > putback(char_type __c); ># 537 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > unget(); ># 555 "/usr/include/c++/4.9.1/istream" 3 > int > sync(); ># 570 "/usr/include/c++/4.9.1/istream" 3 > pos_type > tellg(); ># 585 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > seekg(pos_type); ># 601 "/usr/include/c++/4.9.1/istream" 3 > __istream_type& > seekg(off_type, ios_base::seekdir); > > > protected: > basic_istream() > : _M_gcount(streamsize(0)) > { this->init(0); } > > template<typename _ValueT> > __istream_type& > _M_extract(_ValueT& __v); > }; > > > template<> > basic_istream<char>& > basic_istream<char>:: > getline(char_type* __s, streamsize __n, char_type __delim); > > template<> > basic_istream<char>& > basic_istream<char>:: > ignore(streamsize __n); > > template<> > basic_istream<char>& > basic_istream<char>:: > ignore(streamsize __n, int_type __delim); > > > template<> > basic_istream<wchar_t>& > basic_istream<wchar_t>:: > getline(char_type* __s, streamsize __n, char_type __delim); > > template<> > basic_istream<wchar_t>& > basic_istream<wchar_t>:: > ignore(streamsize __n); > > template<> > basic_istream<wchar_t>& > basic_istream<wchar_t>:: > ignore(streamsize __n, int_type __delim); ># 656 "/usr/include/c++/4.9.1/istream" 3 > template<typename _CharT, typename _Traits> > class basic_istream<_CharT, _Traits>::sentry > { > > bool _M_ok; > > public: > > typedef _Traits traits_type; > typedef basic_streambuf<_CharT, _Traits> __streambuf_type; > typedef basic_istream<_CharT, _Traits> __istream_type; > typedef typename __istream_type::__ctype_type __ctype_type; > typedef typename _Traits::int_type __int_type; ># 692 "/usr/include/c++/4.9.1/istream" 3 > explicit > sentry(basic_istream<_CharT, _Traits>& __is, bool __noskipws = false); ># 703 "/usr/include/c++/4.9.1/istream" 3 > explicit > > operator bool() const > { return _M_ok; } > }; ># 721 "/usr/include/c++/4.9.1/istream" 3 > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c); > > template<class _Traits> > inline basic_istream<char, _Traits>& > operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c) > { return (__in >> reinterpret_cast<char&>(__c)); } > > template<class _Traits> > inline basic_istream<char, _Traits>& > operator>>(basic_istream<char, _Traits>& __in, signed char& __c) > { return (__in >> reinterpret_cast<char&>(__c)); } ># 763 "/usr/include/c++/4.9.1/istream" 3 > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s); > > > template<> > basic_istream<char>& > operator>>(basic_istream<char>& __in, char* __s); > > template<class _Traits> > inline basic_istream<char, _Traits>& > operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s) > { return (__in >> reinterpret_cast<char*>(__s)); } > > template<class _Traits> > inline basic_istream<char, _Traits>& > operator>>(basic_istream<char, _Traits>& __in, signed char* __s) > { return (__in >> reinterpret_cast<char*>(__s)); } ># 794 "/usr/include/c++/4.9.1/istream" 3 > template<typename _CharT, typename _Traits> > class basic_iostream > : public basic_istream<_CharT, _Traits>, > public basic_ostream<_CharT, _Traits> > { > public: > > > > typedef _CharT char_type; > typedef typename _Traits::int_type int_type; > typedef typename _Traits::pos_type pos_type; > typedef typename _Traits::off_type off_type; > typedef _Traits traits_type; > > > typedef basic_istream<_CharT, _Traits> __istream_type; > typedef basic_ostream<_CharT, _Traits> __ostream_type; > > > > > > > > explicit > basic_iostream(basic_streambuf<_CharT, _Traits>* __sb) > : __istream_type(__sb), __ostream_type(__sb) { } > > > > > virtual > ~basic_iostream() { } > > protected: > basic_iostream() > : __istream_type(), __ostream_type() { } > }; ># 854 "/usr/include/c++/4.9.1/istream" 3 > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > ws(basic_istream<_CharT, _Traits>& __is); ># 870 "/usr/include/c++/4.9.1/istream" 3 > template<typename _CharT, typename _Traits, typename _Tp> > inline basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>&& __is, _Tp& __x) > { return (__is >> __x); } > > > >} > ># 1 "/usr/include/c++/4.9.1/bits/istream.tcc" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/istream.tcc" 3 ># 38 "/usr/include/c++/4.9.1/bits/istream.tcc" 3 > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>::sentry:: > sentry(basic_istream<_CharT, _Traits>& __in, bool __noskip) : _M_ok(false) > { > ios_base::iostate __err = ios_base::goodbit; > if (__in.good()) > { > if (__in.tie()) > __in.tie()->flush(); > if (!__noskip && bool(__in.flags() & ios_base::skipws)) > { > const __int_type __eof = traits_type::eof(); > __streambuf_type* __sb = __in.rdbuf(); > __int_type __c = __sb->sgetc(); > > const __ctype_type& __ct = __check_facet(__in._M_ctype); > while (!traits_type::eq_int_type(__c, __eof) > && __ct.is(ctype_base::space, > traits_type::to_char_type(__c))) > __c = __sb->snextc(); > > > > > if (traits_type::eq_int_type(__c, __eof)) > __err |= ios_base::eofbit; > } > } > > if (__in.good() && __err == ios_base::goodbit) > _M_ok = true; > else > { > __err |= ios_base::failbit; > __in.setstate(__err); > } > } > > template<typename _CharT, typename _Traits> > template<typename _ValueT> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > _M_extract(_ValueT& __v) > { > sentry __cerb(*this, false); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > const __num_get_type& __ng = __check_facet(this->_M_num_get); > __ng.get(*this, 0, *this, __err, __v); > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > operator>>(short& __n) > { > > > sentry __cerb(*this, false); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > long __l; > const __num_get_type& __ng = __check_facet(this->_M_num_get); > __ng.get(*this, 0, *this, __err, __l); > > > > if (__l < __gnu_cxx::__numeric_traits<short>::__min) > { > __err |= ios_base::failbit; > __n = __gnu_cxx::__numeric_traits<short>::__min; > } > else if (__l > __gnu_cxx::__numeric_traits<short>::__max) > { > __err |= ios_base::failbit; > __n = __gnu_cxx::__numeric_traits<short>::__max; > } > else > __n = short(__l); > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > operator>>(int& __n) > { > > > sentry __cerb(*this, false); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > long __l; > const __num_get_type& __ng = __check_facet(this->_M_num_get); > __ng.get(*this, 0, *this, __err, __l); > > > > if (__l < __gnu_cxx::__numeric_traits<int>::__min) > { > __err |= ios_base::failbit; > __n = __gnu_cxx::__numeric_traits<int>::__min; > } > else if (__l > __gnu_cxx::__numeric_traits<int>::__max) > { > __err |= ios_base::failbit; > __n = __gnu_cxx::__numeric_traits<int>::__max; > } > else > __n = int(__l); > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > operator>>(__streambuf_type* __sbout) > { > ios_base::iostate __err = ios_base::goodbit; > sentry __cerb(*this, false); > if (__cerb && __sbout) > { > if (true) > { > bool __ineof; > if (!__copy_streambufs_eof(this->rdbuf(), __sbout, __ineof)) > __err |= ios_base::failbit; > if (__ineof) > __err |= ios_base::eofbit; > } > if (false) > { > this->_M_setstate(ios_base::failbit); > ; > } > if (false) > { this->_M_setstate(ios_base::failbit); } > } > else if (!__sbout) > __err |= ios_base::failbit; > if (__err) > this->setstate(__err); > return *this; > } > > template<typename _CharT, typename _Traits> > typename basic_istream<_CharT, _Traits>::int_type > basic_istream<_CharT, _Traits>:: > get(void) > { > const int_type __eof = traits_type::eof(); > int_type __c = __eof; > _M_gcount = 0; > ios_base::iostate __err = ios_base::goodbit; > sentry __cerb(*this, true); > if (__cerb) > { > if (true) > { > __c = this->rdbuf()->sbumpc(); > > if (!traits_type::eq_int_type(__c, __eof)) > _M_gcount = 1; > else > __err |= ios_base::eofbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > } > if (!_M_gcount) > __err |= ios_base::failbit; > if (__err) > this->setstate(__err); > return __c; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > get(char_type& __c) > { > _M_gcount = 0; > ios_base::iostate __err = ios_base::goodbit; > sentry __cerb(*this, true); > if (__cerb) > { > if (true) > { > const int_type __cb = this->rdbuf()->sbumpc(); > > if (!traits_type::eq_int_type(__cb, traits_type::eof())) > { > _M_gcount = 1; > __c = traits_type::to_char_type(__cb); > } > else > __err |= ios_base::eofbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > } > if (!_M_gcount) > __err |= ios_base::failbit; > if (__err) > this->setstate(__err); > return *this; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > get(char_type* __s, streamsize __n, char_type __delim) > { > _M_gcount = 0; > ios_base::iostate __err = ios_base::goodbit; > sentry __cerb(*this, true); > if (__cerb) > { > if (true) > { > const int_type __idelim = traits_type::to_int_type(__delim); > const int_type __eof = traits_type::eof(); > __streambuf_type* __sb = this->rdbuf(); > int_type __c = __sb->sgetc(); > > while (_M_gcount + 1 < __n > && !traits_type::eq_int_type(__c, __eof) > && !traits_type::eq_int_type(__c, __idelim)) > { > *__s++ = traits_type::to_char_type(__c); > ++_M_gcount; > __c = __sb->snextc(); > } > if (traits_type::eq_int_type(__c, __eof)) > __err |= ios_base::eofbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > } > > > if (__n > 0) > *__s = char_type(); > if (!_M_gcount) > __err |= ios_base::failbit; > if (__err) > this->setstate(__err); > return *this; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > get(__streambuf_type& __sb, char_type __delim) > { > _M_gcount = 0; > ios_base::iostate __err = ios_base::goodbit; > sentry __cerb(*this, true); > if (__cerb) > { > if (true) > { > const int_type __idelim = traits_type::to_int_type(__delim); > const int_type __eof = traits_type::eof(); > __streambuf_type* __this_sb = this->rdbuf(); > int_type __c = __this_sb->sgetc(); > char_type __c2 = traits_type::to_char_type(__c); > > while (!traits_type::eq_int_type(__c, __eof) > && !traits_type::eq_int_type(__c, __idelim) > && !traits_type::eq_int_type(__sb.sputc(__c2), __eof)) > { > ++_M_gcount; > __c = __this_sb->snextc(); > __c2 = traits_type::to_char_type(__c); > } > if (traits_type::eq_int_type(__c, __eof)) > __err |= ios_base::eofbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > } > if (!_M_gcount) > __err |= ios_base::failbit; > if (__err) > this->setstate(__err); > return *this; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > getline(char_type* __s, streamsize __n, char_type __delim) > { > _M_gcount = 0; > ios_base::iostate __err = ios_base::goodbit; > sentry __cerb(*this, true); > if (__cerb) > { > if (true) > { > const int_type __idelim = traits_type::to_int_type(__delim); > const int_type __eof = traits_type::eof(); > __streambuf_type* __sb = this->rdbuf(); > int_type __c = __sb->sgetc(); > > while (_M_gcount + 1 < __n > && !traits_type::eq_int_type(__c, __eof) > && !traits_type::eq_int_type(__c, __idelim)) > { > *__s++ = traits_type::to_char_type(__c); > __c = __sb->snextc(); > ++_M_gcount; > } > if (traits_type::eq_int_type(__c, __eof)) > __err |= ios_base::eofbit; > else > { > if (traits_type::eq_int_type(__c, __idelim)) > { > __sb->sbumpc(); > ++_M_gcount; > } > else > __err |= ios_base::failbit; > } > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > } > > > if (__n > 0) > *__s = char_type(); > if (!_M_gcount) > __err |= ios_base::failbit; > if (__err) > this->setstate(__err); > return *this; > } > > > > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > ignore(void) > { > _M_gcount = 0; > sentry __cerb(*this, true); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > const int_type __eof = traits_type::eof(); > __streambuf_type* __sb = this->rdbuf(); > > if (traits_type::eq_int_type(__sb->sbumpc(), __eof)) > __err |= ios_base::eofbit; > else > _M_gcount = 1; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > ignore(streamsize __n) > { > _M_gcount = 0; > sentry __cerb(*this, true); > if (__cerb && __n > 0) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > const int_type __eof = traits_type::eof(); > __streambuf_type* __sb = this->rdbuf(); > int_type __c = __sb->sgetc(); ># 513 "/usr/include/c++/4.9.1/bits/istream.tcc" 3 > bool __large_ignore = false; > while (true) > { > while (_M_gcount < __n > && !traits_type::eq_int_type(__c, __eof)) > { > ++_M_gcount; > __c = __sb->snextc(); > } > if (__n == __gnu_cxx::__numeric_traits<streamsize>::__max > && !traits_type::eq_int_type(__c, __eof)) > { > _M_gcount = > __gnu_cxx::__numeric_traits<streamsize>::__min; > __large_ignore = true; > } > else > break; > } > > if (__large_ignore) > _M_gcount = __gnu_cxx::__numeric_traits<streamsize>::__max; > > if (traits_type::eq_int_type(__c, __eof)) > __err |= ios_base::eofbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > ignore(streamsize __n, int_type __delim) > { > _M_gcount = 0; > sentry __cerb(*this, true); > if (__cerb && __n > 0) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > const int_type __eof = traits_type::eof(); > __streambuf_type* __sb = this->rdbuf(); > int_type __c = __sb->sgetc(); > > > bool __large_ignore = false; > while (true) > { > while (_M_gcount < __n > && !traits_type::eq_int_type(__c, __eof) > && !traits_type::eq_int_type(__c, __delim)) > { > ++_M_gcount; > __c = __sb->snextc(); > } > if (__n == __gnu_cxx::__numeric_traits<streamsize>::__max > && !traits_type::eq_int_type(__c, __eof) > && !traits_type::eq_int_type(__c, __delim)) > { > _M_gcount = > __gnu_cxx::__numeric_traits<streamsize>::__min; > __large_ignore = true; > } > else > break; > } > > if (__large_ignore) > _M_gcount = __gnu_cxx::__numeric_traits<streamsize>::__max; > > if (traits_type::eq_int_type(__c, __eof)) > __err |= ios_base::eofbit; > else if (traits_type::eq_int_type(__c, __delim)) > { > if (_M_gcount > < __gnu_cxx::__numeric_traits<streamsize>::__max) > ++_M_gcount; > __sb->sbumpc(); > } > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > typename basic_istream<_CharT, _Traits>::int_type > basic_istream<_CharT, _Traits>:: > peek(void) > { > int_type __c = traits_type::eof(); > _M_gcount = 0; > sentry __cerb(*this, true); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > __c = this->rdbuf()->sgetc(); > if (traits_type::eq_int_type(__c, traits_type::eof())) > __err |= ios_base::eofbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return __c; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > read(char_type* __s, streamsize __n) > { > _M_gcount = 0; > sentry __cerb(*this, true); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > _M_gcount = this->rdbuf()->sgetn(__s, __n); > if (_M_gcount != __n) > __err |= (ios_base::eofbit | ios_base::failbit); > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > streamsize > basic_istream<_CharT, _Traits>:: > readsome(char_type* __s, streamsize __n) > { > _M_gcount = 0; > sentry __cerb(*this, true); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > > const streamsize __num = this->rdbuf()->in_avail(); > if (__num > 0) > _M_gcount = this->rdbuf()->sgetn(__s, std::min(__num, __n)); > else if (__num == -1) > __err |= ios_base::eofbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return _M_gcount; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > putback(char_type __c) > { > > > _M_gcount = 0; > > this->clear(this->rdstate() & ~ios_base::eofbit); > sentry __cerb(*this, true); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > const int_type __eof = traits_type::eof(); > __streambuf_type* __sb = this->rdbuf(); > if (!__sb > || traits_type::eq_int_type(__sb->sputbackc(__c), __eof)) > __err |= ios_base::badbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > unget(void) > { > > > _M_gcount = 0; > > this->clear(this->rdstate() & ~ios_base::eofbit); > sentry __cerb(*this, true); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > const int_type __eof = traits_type::eof(); > __streambuf_type* __sb = this->rdbuf(); > if (!__sb > || traits_type::eq_int_type(__sb->sungetc(), __eof)) > __err |= ios_base::badbit; > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > int > basic_istream<_CharT, _Traits>:: > sync(void) > { > > > int __ret = -1; > sentry __cerb(*this, true); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > __streambuf_type* __sb = this->rdbuf(); > if (__sb) > { > if (__sb->pubsync() == -1) > __err |= ios_base::badbit; > else > __ret = 0; > } > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return __ret; > } > > template<typename _CharT, typename _Traits> > typename basic_istream<_CharT, _Traits>::pos_type > basic_istream<_CharT, _Traits>:: > tellg(void) > { > > > pos_type __ret = pos_type(-1); > sentry __cerb(*this, true); > if (__cerb) > { > if (true) > { > if (!this->fail()) > __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, > ios_base::in); > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > } > return __ret; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > seekg(pos_type __pos) > { > > > > this->clear(this->rdstate() & ~ios_base::eofbit); > sentry __cerb(*this, true); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > if (!this->fail()) > { > > const pos_type __p = this->rdbuf()->pubseekpos(__pos, > ios_base::in); > > > if (__p == pos_type(off_type(-1))) > __err |= ios_base::failbit; > } > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > basic_istream<_CharT, _Traits>:: > seekg(off_type __off, ios_base::seekdir __dir) > { > > > > this->clear(this->rdstate() & ~ios_base::eofbit); > sentry __cerb(*this, true); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > if (!this->fail()) > { > > const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir, > ios_base::in); > > > if (__p == pos_type(off_type(-1))) > __err |= ios_base::failbit; > } > } > if (false) > { > this->_M_setstate(ios_base::badbit); > ; > } > if (false) > { this->_M_setstate(ios_base::badbit); } > if (__err) > this->setstate(__err); > } > return *this; > } > > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) > { > typedef basic_istream<_CharT, _Traits> __istream_type; > typedef typename __istream_type::int_type __int_type; > > typename __istream_type::sentry __cerb(__in, false); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > const __int_type __cb = __in.rdbuf()->sbumpc(); > if (!_Traits::eq_int_type(__cb, _Traits::eof())) > __c = _Traits::to_char_type(__cb); > else > __err |= (ios_base::eofbit | ios_base::failbit); > } > if (false) > { > __in._M_setstate(ios_base::badbit); > ; > } > if (false) > { __in._M_setstate(ios_base::badbit); } > if (__err) > __in.setstate(__err); > } > return __in; > } > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) > { > typedef basic_istream<_CharT, _Traits> __istream_type; > typedef basic_streambuf<_CharT, _Traits> __streambuf_type; > typedef typename _Traits::int_type int_type; > typedef _CharT char_type; > typedef ctype<_CharT> __ctype_type; > > streamsize __extracted = 0; > ios_base::iostate __err = ios_base::goodbit; > typename __istream_type::sentry __cerb(__in, false); > if (__cerb) > { > if (true) > { > > streamsize __num = __in.width(); > if (__num <= 0) > __num = __gnu_cxx::__numeric_traits<streamsize>::__max; > > const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); > > const int_type __eof = _Traits::eof(); > __streambuf_type* __sb = __in.rdbuf(); > int_type __c = __sb->sgetc(); > > while (__extracted < __num - 1 > && !_Traits::eq_int_type(__c, __eof) > && !__ct.is(ctype_base::space, > _Traits::to_char_type(__c))) > { > *__s++ = _Traits::to_char_type(__c); > ++__extracted; > __c = __sb->snextc(); > } > if (_Traits::eq_int_type(__c, __eof)) > __err |= ios_base::eofbit; > > > > *__s = char_type(); > __in.width(0); > } > if (false) > { > __in._M_setstate(ios_base::badbit); > ; > } > if (false) > { __in._M_setstate(ios_base::badbit); } > } > if (!__extracted) > __err |= ios_base::failbit; > if (__err) > __in.setstate(__err); > return __in; > } > > > template<typename _CharT, typename _Traits> > basic_istream<_CharT, _Traits>& > ws(basic_istream<_CharT, _Traits>& __in) > { > typedef basic_istream<_CharT, _Traits> __istream_type; > typedef basic_streambuf<_CharT, _Traits> __streambuf_type; > typedef typename __istream_type::int_type __int_type; > typedef ctype<_CharT> __ctype_type; > > const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); > const __int_type __eof = _Traits::eof(); > __streambuf_type* __sb = __in.rdbuf(); > __int_type __c = __sb->sgetc(); > > while (!_Traits::eq_int_type(__c, __eof) > && __ct.is(ctype_base::space, _Traits::to_char_type(__c))) > __c = __sb->snextc(); > > if (_Traits::eq_int_type(__c, __eof)) > __in.setstate(ios_base::eofbit); > return __in; > } > > > > > extern template class basic_istream<char>; > extern template istream& ws(istream&); > extern template istream& operator>>(istream&, char&); > extern template istream& operator>>(istream&, char*); > extern template istream& operator>>(istream&, unsigned char&); > extern template istream& operator>>(istream&, signed char&); > extern template istream& operator>>(istream&, unsigned char*); > extern template istream& operator>>(istream&, signed char*); > > extern template istream& istream::_M_extract(unsigned short&); > extern template istream& istream::_M_extract(unsigned int&); > extern template istream& istream::_M_extract(long&); > extern template istream& istream::_M_extract(unsigned long&); > extern template istream& istream::_M_extract(bool&); > > extern template istream& istream::_M_extract(long long&); > extern template istream& istream::_M_extract(unsigned long long&); > > extern template istream& istream::_M_extract(float&); > extern template istream& istream::_M_extract(double&); > extern template istream& istream::_M_extract(long double&); > extern template istream& istream::_M_extract(void*&); > > extern template class basic_iostream<char>; > > > extern template class basic_istream<wchar_t>; > extern template wistream& ws(wistream&); > extern template wistream& operator>>(wistream&, wchar_t&); > extern template wistream& operator>>(wistream&, wchar_t*); > > extern template wistream& wistream::_M_extract(unsigned short&); > extern template wistream& wistream::_M_extract(unsigned int&); > extern template wistream& wistream::_M_extract(long&); > extern template wistream& wistream::_M_extract(unsigned long&); > extern template wistream& wistream::_M_extract(bool&); > > extern template wistream& wistream::_M_extract(long long&); > extern template wistream& wistream::_M_extract(unsigned long long&); > > extern template wistream& wistream::_M_extract(float&); > extern template wistream& wistream::_M_extract(double&); > extern template wistream& wistream::_M_extract(long double&); > extern template wistream& wistream::_M_extract(void*&); > > extern template class basic_iostream<wchar_t>; > > > > >} ># 880 "/usr/include/c++/4.9.1/istream" 2 3 ># 66 "/usr/include/c++/4.9.1/iterator" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/stream_iterator.h" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/stream_iterator.h" 3 ># 34 "/usr/include/c++/4.9.1/bits/stream_iterator.h" 3 > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 47 "/usr/include/c++/4.9.1/bits/stream_iterator.h" 3 > template<typename _Tp, typename _CharT = char, > typename _Traits = char_traits<_CharT>, typename _Dist = ptrdiff_t> > class istream_iterator > : public iterator<input_iterator_tag, _Tp, _Dist, const _Tp*, const _Tp&> > { > public: > typedef _CharT char_type; > typedef _Traits traits_type; > typedef basic_istream<_CharT, _Traits> istream_type; > > private: > istream_type* _M_stream; > _Tp _M_value; > bool _M_ok; > > public: > > constexpr istream_iterator() > : _M_stream(0), _M_value(), _M_ok(false) {} > > > istream_iterator(istream_type& __s) > : _M_stream(&__s) > { _M_read(); } > > istream_iterator(const istream_iterator& __obj) > : _M_stream(__obj._M_stream), _M_value(__obj._M_value), > _M_ok(__obj._M_ok) > { } > > const _Tp& > operator*() const > { > > > ; > return _M_value; > } > > const _Tp* > operator->() const { return &(operator*()); } > > istream_iterator& > operator++() > { > > > ; > _M_read(); > return *this; > } > > istream_iterator > operator++(int) > { > > > ; > istream_iterator __tmp = *this; > _M_read(); > return __tmp; > } > > bool > _M_equal(const istream_iterator& __x) const > { return (_M_ok == __x._M_ok) && (!_M_ok || _M_stream == __x._M_stream); } > > private: > void > _M_read() > { > _M_ok = (_M_stream && *_M_stream) ? true : false; > if (_M_ok) > { > *_M_stream >> _M_value; > _M_ok = *_M_stream ? true : false; > } > } > }; > > > template<typename _Tp, typename _CharT, typename _Traits, typename _Dist> > inline bool > operator==(const istream_iterator<_Tp, _CharT, _Traits, _Dist>& __x, > const istream_iterator<_Tp, _CharT, _Traits, _Dist>& __y) > { return __x._M_equal(__y); } > > > template <class _Tp, class _CharT, class _Traits, class _Dist> > inline bool > operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Dist>& __x, > const istream_iterator<_Tp, _CharT, _Traits, _Dist>& __y) > { return !__x._M_equal(__y); } ># 152 "/usr/include/c++/4.9.1/bits/stream_iterator.h" 3 > template<typename _Tp, typename _CharT = char, > typename _Traits = char_traits<_CharT> > > class ostream_iterator > : public iterator<output_iterator_tag, void, void, void, void> > { > public: > > > typedef _CharT char_type; > typedef _Traits traits_type; > typedef basic_ostream<_CharT, _Traits> ostream_type; > > > private: > ostream_type* _M_stream; > const _CharT* _M_string; > > public: > > ostream_iterator(ostream_type& __s) : _M_stream(&__s), _M_string(0) {} ># 183 "/usr/include/c++/4.9.1/bits/stream_iterator.h" 3 > ostream_iterator(ostream_type& __s, const _CharT* __c) > : _M_stream(&__s), _M_string(__c) { } > > > ostream_iterator(const ostream_iterator& __obj) > : _M_stream(__obj._M_stream), _M_string(__obj._M_string) { } > > > > ostream_iterator& > operator=(const _Tp& __value) > { > > > ; > *_M_stream << __value; > if (_M_string) *_M_stream << _M_string; > return *this; > } > > ostream_iterator& > operator*() > { return *this; } > > ostream_iterator& > operator++() > { return *this; } > > ostream_iterator& > operator++(int) > { return *this; } > }; > > > > >} ># 67 "/usr/include/c++/4.9.1/iterator" 2 3 ># 117 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/afterstd.h" 1 ># 118 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" 2 > > >class wxArrayString >{ >public: > > typedef int ( *CompareFunction)(const wxString& first, > const wxString& second); > > > typedef int ( *CompareFunction2)(wxString* first, > wxString* second); > > > > wxArrayString() { Init(false); } ># 142 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" > explicit wxArrayString(int autoSort) { Init(autoSort != 0); } > > wxArrayString(size_t sz, const char** a); > wxArrayString(size_t sz, const wchar_t** a); > > wxArrayString(size_t sz, const wxString* a); > > wxArrayString(const wxArrayString& array); > > wxArrayString& operator=(const wxArrayString& src); > > ~wxArrayString(); > > > > void Empty(); > > void Clear(); > > void Alloc(size_t nCount); > > void Shrink(); > > > > size_t GetCount() const { return m_nCount; } > > bool IsEmpty() const { return m_nCount == 0; } > > size_t Count() const { return m_nCount; } > > > > wxString& Item(size_t nIndex) > { > do { if ( wxTheAssertHandler && !(nIndex < m_nCount) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" ># 177 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" > , > 178 ># 177 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" > , __FUNCTION__, "nIndex < m_nCount", L"wxArrayString: index out of bounds"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > ; > > return m_pItems[nIndex]; > } > const wxString& Item(size_t nIndex) const { return const_cast<wxArrayString*>(this)->Item(nIndex); } > > > wxString& operator[](size_t nIndex) { return Item(nIndex); } > const wxString& operator[](size_t nIndex) const { return Item(nIndex); } > > wxString& Last() > { > do { if ( wxTheAssertHandler && !(!IsEmpty()) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" ># 190 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" > , > 191 ># 190 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" > , __FUNCTION__, "!IsEmpty()", L"wxArrayString: index out of bounds"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > ; > return Item(GetCount() - 1); > } > const wxString& Last() const { return const_cast<wxArrayString*>(this)->Last(); } > > > > > > > > int Index (const wxString& str, bool bCase = true, bool bFromEnd = false) const; > > > size_t Add(const wxString& str, size_t nInsert = 1); > > void Insert(const wxString& str, size_t uiIndex, size_t nInsert = 1); > > void SetCount(size_t count); > > void Remove(const wxString& sz); > > void RemoveAt(size_t nIndex, size_t nRemove = 1); > > > > > void Sort(bool reverseOrder = false); > > void Sort(CompareFunction compareFunction); > void Sort(CompareFunction2 compareFunction); > > > > bool operator==(const wxArrayString& a) const; > > bool operator!=(const wxArrayString& a) const { return !(*this == a); } > > > typedef wxString value_type; > typedef value_type* pointer; > typedef const value_type* const_pointer; > typedef value_type* iterator; > typedef const value_type* const_iterator; > typedef value_type& reference; > typedef const value_type& const_reference; > typedef int difference_type; > typedef size_t size_type; > > > class reverse_iterator > { > typedef wxString value_type; > typedef value_type* pointer; > typedef value_type& reference; > typedef reverse_iterator itor; > friend itor operator+(int o, const itor& it); > friend itor operator+(const itor& it, int o); > friend itor operator-(const itor& it, int o); > friend difference_type operator -(const itor& i1, const itor& i2); > public: > pointer m_ptr; > reverse_iterator() : m_ptr(__null) { } > explicit reverse_iterator(pointer ptr) : m_ptr(ptr) { } > reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } > reference operator*() const { return *m_ptr; } > pointer operator->() const { return m_ptr; } > itor& operator++() { --m_ptr; return *this; } > const itor operator++(int) > { reverse_iterator tmp = *this; --m_ptr; return tmp; } > itor& operator--() { ++m_ptr; return *this; } > const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } > bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } > bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } > }; > > class const_reverse_iterator > { > typedef wxString value_type; > typedef const value_type* pointer; > typedef const value_type& reference; > typedef const_reverse_iterator itor; > friend itor operator+(int o, const itor& it); > friend itor operator+(const itor& it, int o); > friend itor operator-(const itor& it, int o); > friend difference_type operator -(const itor& i1, const itor& i2); > public: > pointer m_ptr; > const_reverse_iterator() : m_ptr(__null) { } > explicit const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } > const_reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } > const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } > reference operator*() const { return *m_ptr; } > pointer operator->() const { return m_ptr; } > itor& operator++() { --m_ptr; return *this; } > const itor operator++(int) > { itor tmp = *this; --m_ptr; return tmp; } > itor& operator--() { ++m_ptr; return *this; } > const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } > bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } > bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } > }; > > wxArrayString(const_iterator first, const_iterator last) > { Init(false); assign(first, last); } > wxArrayString(size_type n, const_reference v) { Init(false); assign(n, v); } > > > template <class Iterator> > void assign(Iterator first, Iterator last) > { > clear(); > reserve(std::distance(first, last)); > for(; first != last; ++first) > push_back(*first); > } ># 317 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" > void assign(size_type n, const_reference v) > { clear(); Add(v, n); } > reference back() { return *(end() - 1); } > const_reference back() const { return *(end() - 1); } > iterator begin() { return m_pItems; } > const_iterator begin() const { return m_pItems; } > size_type capacity() const { return m_nSize; } > void clear() { Clear(); } > bool empty() const { return IsEmpty(); } > iterator end() { return begin() + GetCount(); } > const_iterator end() const { return begin() + GetCount(); } > iterator erase(iterator first, iterator last) > { > size_t idx = first - begin(); > RemoveAt(idx, last - first); > return begin() + idx; > } > iterator erase(iterator it) { return erase(it, it + 1); } > reference front() { return *begin(); } > const_reference front() const { return *begin(); } > void insert(iterator it, size_type n, const_reference v) > { Insert(v, it - begin(), n); } > iterator insert(iterator it, const_reference v = value_type()) > { size_t idx = it - begin(); Insert(v, idx); return begin() + idx; } > void insert(iterator it, const_iterator first, const_iterator last); > size_type max_size() const { return 2147483647; } > void pop_back() { RemoveAt(GetCount() - 1); } > void push_back(const_reference v) { Add(v); } > reverse_iterator rbegin() { return reverse_iterator(end() - 1); } > const_reverse_iterator rbegin() const > { return const_reverse_iterator(end() - 1); } > reverse_iterator rend() { return reverse_iterator(begin() - 1); } > const_reverse_iterator rend() const > { return const_reverse_iterator(begin() - 1); } > void reserve(size_type n) ; > void resize(size_type n, value_type v = value_type()); > size_type size() const { return GetCount(); } > void swap(wxArrayString& other) > { > wxSwap(m_nSize, other.m_nSize); > wxSwap(m_nCount, other.m_nCount); > wxSwap(m_pItems, other.m_pItems); > wxSwap(m_autoSort, other.m_autoSort); > } > >protected: > void Init(bool autoSort); > void Copy(const wxArrayString& src); > >private: > void Grow(size_t nIncrement = 0); > > size_t m_nSize, > m_nCount; > > wxString *m_pItems; > > bool m_autoSort; >}; > >class wxSortedArrayString : public wxArrayString >{ >public: > wxSortedArrayString() : wxArrayString(true) > { } > wxSortedArrayString(const wxArrayString& array) : wxArrayString(true) > { Copy(array); } >}; > > > > > >class wxCArrayString >{ >public: > wxCArrayString( const wxArrayString& array ) > : m_array( array ), m_strings( __null ) > { } > ~wxCArrayString() { delete[] m_strings; } > > size_t GetCount() const { return m_array.GetCount(); } > wxString* GetStrings() > { > if( m_strings ) return m_strings; > size_t count = m_array.GetCount(); > m_strings = new wxString[count]; > for( size_t i = 0; i < count; ++i ) > m_strings[i] = m_array[i]; > return m_strings; > } > > wxString* Release() > { > wxString *r = GetStrings(); > m_strings = __null; > return r; > } > >private: > const wxArrayString& m_array; > wxString* m_strings; >}; ># 430 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" > wxString wxJoin(const wxArrayString& arr, > const wxChar sep, > const wxChar escape = L'\\'); > > wxArrayString wxSplit(const wxString& str, > const wxChar sep, > const wxChar escape = L'\\'); ># 453 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h" >class wxArrayStringsAdapter >{ >public: > > wxArrayStringsAdapter(const wxArrayString& strings) > : m_type(wxSTRING_ARRAY), m_size(strings.size()) > { > m_data.array = &strings; > } > > > wxArrayStringsAdapter(unsigned int n, const wxString *strings) > : m_type(wxSTRING_POINTER), m_size(n) > { > m_data.ptr = strings; > } > > > wxArrayStringsAdapter(const wxString& s) > : m_type(wxSTRING_POINTER), m_size(1) > { > m_data.ptr = &s; > } > > > > > size_t GetCount() const { return m_size; } > bool IsEmpty() const { return GetCount() == 0; } > const wxString& operator[] (unsigned int i) const > { > do { if ( wxTheAssertHandler && !(i < GetCount()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/arrstr.h", 484, __FUNCTION__, "i < GetCount()", L"index out of bounds"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > if(m_type == wxSTRING_POINTER) > return m_data.ptr[i]; > return m_data.array->Item(i); > } > wxArrayString AsArrayString() const > { > if(m_type == wxSTRING_ARRAY) > return *m_data.array; > return wxArrayString(GetCount(), m_data.ptr); > } > >private: > > enum wxStringContainerType > { > wxSTRING_ARRAY, > wxSTRING_POINTER > }; > > wxStringContainerType m_type; > size_t m_size; > union > { > const wxString * ptr; > const wxArrayString * array; > } m_data; > > private: wxArrayStringsAdapter& operator=(const wxArrayStringsAdapter&); >}; ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" 1 ># 34 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h" 1 ># 31 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopeguard.h" 1 ># 23 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopeguard.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/except.h" 1 ># 24 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopeguard.h" 2 ># 53 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopeguard.h" >namespace wxPrivate >{ > > > > template <class ScopeGuardImpl> > void OnScopeExit(ScopeGuardImpl& guard) > { > if ( !guard.WasDismissed() ) > { > > > { > guard.Execute(); > } > > } > } > > > template <class T> > void Use(const T& ) > { > } >} ># 92 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopeguard.h" >class wxScopeGuardImplBase >{ >public: > wxScopeGuardImplBase() : m_wasDismissed(false) { } > > wxScopeGuardImplBase(const wxScopeGuardImplBase& other) > : m_wasDismissed(other.m_wasDismissed) > { > other.Dismiss(); > } > > void Dismiss() const { m_wasDismissed = true; } > > > bool WasDismissed() const { return m_wasDismissed; } > >protected: > ~wxScopeGuardImplBase() { } > > > mutable bool m_wasDismissed; > >private: > wxScopeGuardImplBase& operator=(const wxScopeGuardImplBase&); >}; > > >typedef const wxScopeGuardImplBase& wxScopeGuard; > > > > > >template <class F> >class wxScopeGuardImpl0 : public wxScopeGuardImplBase >{ >public: > static wxScopeGuardImpl0<F> MakeGuard(F fun) > { > return wxScopeGuardImpl0<F>(fun); > } > > ~wxScopeGuardImpl0() { wxPrivate::OnScopeExit(*this); } > > void Execute() { m_fun(); } > >protected: > wxScopeGuardImpl0(F fun) : m_fun(fun) { } > > F m_fun; > > wxScopeGuardImpl0& operator=(const wxScopeGuardImpl0&); >}; > >template <class F> >inline wxScopeGuardImpl0<F> wxMakeGuard(F fun) >{ > return wxScopeGuardImpl0<F>::MakeGuard(fun); >} > > > > > >template <class F, class P1> >class wxScopeGuardImpl1 : public wxScopeGuardImplBase >{ >public: > static wxScopeGuardImpl1<F, P1> MakeGuard(F fun, P1 p1) > { > return wxScopeGuardImpl1<F, P1>(fun, p1); > } > > ~wxScopeGuardImpl1() { wxPrivate::OnScopeExit(* this); } > > void Execute() { m_fun(m_p1); } > >protected: > wxScopeGuardImpl1(F fun, P1 p1) : m_fun(fun), m_p1(p1) { } > > F m_fun; > const P1 m_p1; > > wxScopeGuardImpl1& operator=(const wxScopeGuardImpl1&); >}; > >template <class F, class P1> >inline wxScopeGuardImpl1<F, P1> wxMakeGuard(F fun, P1 p1) >{ > return wxScopeGuardImpl1<F, P1>::MakeGuard(fun, p1); >} > > > > > >template <class F, class P1, class P2> >class wxScopeGuardImpl2 : public wxScopeGuardImplBase >{ >public: > static wxScopeGuardImpl2<F, P1, P2> MakeGuard(F fun, P1 p1, P2 p2) > { > return wxScopeGuardImpl2<F, P1, P2>(fun, p1, p2); > } > > ~wxScopeGuardImpl2() { wxPrivate::OnScopeExit(*this); } > > void Execute() { m_fun(m_p1, m_p2); } > >protected: > wxScopeGuardImpl2(F fun, P1 p1, P2 p2) : m_fun(fun), m_p1(p1), m_p2(p2) { } > > F m_fun; > const P1 m_p1; > const P2 m_p2; > > wxScopeGuardImpl2& operator=(const wxScopeGuardImpl2&); >}; > >template <class F, class P1, class P2> >inline wxScopeGuardImpl2<F, P1, P2> wxMakeGuard(F fun, P1 p1, P2 p2) >{ > return wxScopeGuardImpl2<F, P1, P2>::MakeGuard(fun, p1, p2); >} > > > > > >template <class F, class P1, class P2, class P3> >class wxScopeGuardImpl3 : public wxScopeGuardImplBase >{ >public: > static wxScopeGuardImpl3<F, P1, P2, P3> MakeGuard(F fun, P1 p1, P2 p2, P3 p3) > { > return wxScopeGuardImpl3<F, P1, P2, P3>(fun, p1, p2, p3); > } > > ~wxScopeGuardImpl3() { wxPrivate::OnScopeExit(*this); } > > void Execute() { m_fun(m_p1, m_p2, m_p3); } > >protected: > wxScopeGuardImpl3(F fun, P1 p1, P2 p2, P3 p3) > : m_fun(fun), m_p1(p1), m_p2(p2), m_p3(p3) { } > > F m_fun; > const P1 m_p1; > const P2 m_p2; > const P3 m_p3; > > wxScopeGuardImpl3& operator=(const wxScopeGuardImpl3&); >}; > >template <class F, class P1, class P2, class P3> >inline wxScopeGuardImpl3<F, P1, P2, P3> wxMakeGuard(F fun, P1 p1, P2 p2, P3 p3) >{ > return wxScopeGuardImpl3<F, P1, P2, P3>::MakeGuard(fun, p1, p2, p3); >} ># 260 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopeguard.h" >template <class Obj, class MemFun> >class wxObjScopeGuardImpl0 : public wxScopeGuardImplBase >{ >public: > static wxObjScopeGuardImpl0<Obj, MemFun> > MakeObjGuard(Obj& obj, MemFun memFun) > { > return wxObjScopeGuardImpl0<Obj, MemFun>(obj, memFun); > } > > ~wxObjScopeGuardImpl0() { wxPrivate::OnScopeExit(*this); } > > void Execute() { (m_obj.*m_memfun)(); } > >protected: > wxObjScopeGuardImpl0(Obj& obj, MemFun memFun) > : m_obj(obj), m_memfun(memFun) { } > > Obj& m_obj; > MemFun m_memfun; >}; > >template <class Obj, class MemFun> >inline wxObjScopeGuardImpl0<Obj, MemFun> wxMakeObjGuard(Obj& obj, MemFun memFun) >{ > return wxObjScopeGuardImpl0<Obj, MemFun>::MakeObjGuard(obj, memFun); >} > >template <class Obj, class MemFun, class P1> >class wxObjScopeGuardImpl1 : public wxScopeGuardImplBase >{ >public: > static wxObjScopeGuardImpl1<Obj, MemFun, P1> > MakeObjGuard(Obj& obj, MemFun memFun, P1 p1) > { > return wxObjScopeGuardImpl1<Obj, MemFun, P1>(obj, memFun, p1); > } > > ~wxObjScopeGuardImpl1() { wxPrivate::OnScopeExit(*this); } > > void Execute() { (m_obj.*m_memfun)(m_p1); } > >protected: > wxObjScopeGuardImpl1(Obj& obj, MemFun memFun, P1 p1) > : m_obj(obj), m_memfun(memFun), m_p1(p1) { } > > Obj& m_obj; > MemFun m_memfun; > const P1 m_p1; >}; > >template <class Obj, class MemFun, class P1> >inline wxObjScopeGuardImpl1<Obj, MemFun, P1> >wxMakeObjGuard(Obj& obj, MemFun memFun, P1 p1) >{ > return wxObjScopeGuardImpl1<Obj, MemFun, P1>::MakeObjGuard(obj, memFun, p1); >} > >template <class Obj, class MemFun, class P1, class P2> >class wxObjScopeGuardImpl2 : public wxScopeGuardImplBase >{ >public: > static wxObjScopeGuardImpl2<Obj, MemFun, P1, P2> > MakeObjGuard(Obj& obj, MemFun memFun, P1 p1, P2 p2) > { > return wxObjScopeGuardImpl2<Obj, MemFun, P1, P2>(obj, memFun, p1, p2); > } > > ~wxObjScopeGuardImpl2() { wxPrivate::OnScopeExit(*this); } > > void Execute() { (m_obj.*m_memfun)(m_p1, m_p2); } > >protected: > wxObjScopeGuardImpl2(Obj& obj, MemFun memFun, P1 p1, P2 p2) > : m_obj(obj), m_memfun(memFun), m_p1(p1), m_p2(p2) { } > > Obj& m_obj; > MemFun m_memfun; > const P1 m_p1; > const P2 m_p2; >}; > >template <class Obj, class MemFun, class P1, class P2> >inline wxObjScopeGuardImpl2<Obj, MemFun, P1, P2> >wxMakeObjGuard(Obj& obj, MemFun memFun, P1 p1, P2 p2) >{ > return wxObjScopeGuardImpl2<Obj, MemFun, P1, P2>:: > MakeObjGuard(obj, memFun, p1, p2); >} > >template <class Obj, class MemFun, class P1, class P2, class P3> >class wxObjScopeGuardImpl3 : public wxScopeGuardImplBase >{ >public: > static wxObjScopeGuardImpl3<Obj, MemFun, P1, P2, P3> > MakeObjGuard(Obj& obj, MemFun memFun, P1 p1, P2 p2, P3 p3) > { > return wxObjScopeGuardImpl3<Obj, MemFun, P1, P2, P3>(obj, memFun, p1, p2, p3); > } > > ~wxObjScopeGuardImpl3() { wxPrivate::OnScopeExit(*this); } > > void Execute() { (m_obj.*m_memfun)(m_p1, m_p2, m_p3); } > >protected: > wxObjScopeGuardImpl3(Obj& obj, MemFun memFun, P1 p1, P2 p2, P3 p3) > : m_obj(obj), m_memfun(memFun), m_p1(p1), m_p2(p2), m_p3(p3) { } > > Obj& m_obj; > MemFun m_memfun; > const P1 m_p1; > const P2 m_p2; > const P3 m_p3; >}; > >template <class Obj, class MemFun, class P1, class P2, class P3> >inline wxObjScopeGuardImpl3<Obj, MemFun, P1, P2, P3> >wxMakeObjGuard(Obj& obj, MemFun memFun, P1 p1, P2 p2, P3 p3) >{ > return wxObjScopeGuardImpl3<Obj, MemFun, P1, P2, P3>:: > MakeObjGuard(obj, memFun, p1, p2, p3); >} > > > > > > >namespace wxPrivate >{ > > >class VariableSetterBase : public wxScopeGuardImplBase { }; > >typedef const VariableSetterBase& VariableSetter; > >template <typename T, typename U> >class VariableSetterImpl : public VariableSetterBase >{ >public: > VariableSetterImpl(T& var, U value) > : m_var(var), > m_value(value) > { > } > > ~VariableSetterImpl() { wxPrivate::OnScopeExit(*this); } > > void Execute() { m_var = m_value; } > >private: > T& m_var; > const U m_value; > > > VariableSetterImpl<T, U>& operator=(const VariableSetterImpl<T, U>&); >}; > >template <typename T> >class VariableNullerImpl : public VariableSetterBase >{ >public: > VariableNullerImpl(T& var) > : m_var(var) > { > } > > ~VariableNullerImpl() { wxPrivate::OnScopeExit(*this); } > > void Execute() { m_var = __null; } > >private: > T& m_var; > > VariableNullerImpl<T>& operator=(const VariableNullerImpl<T>&); >}; > >} > >template <typename T, typename U> >inline >wxPrivate::VariableSetterImpl<T, U> wxMakeVarSetter(T& var, U value) >{ > return wxPrivate::VariableSetterImpl<T, U>(var, value); >} > > > > >template <typename T> >inline >wxPrivate::VariableNullerImpl<T> wxMakeVarNuller(T& var) >{ > return wxPrivate::VariableNullerImpl<T>(var); >} ># 32 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/movable.h" 1 ># 13 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/movable.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/pod.h" 1 ># 33 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/pod.h" >template<typename T> >struct wxIsPod >{ > static const bool value = false; >}; ># 47 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/pod.h" >template<> struct wxIsPod<bool> { static const bool value = true; }; >template<> struct wxIsPod<unsigned char> { static const bool value = true; }; >template<> struct wxIsPod<signed char> { static const bool value = true; }; >template<> struct wxIsPod<unsigned int> { static const bool value = true; }; >template<> struct wxIsPod<signed int> { static const bool value = true; }; >template<> struct wxIsPod<unsigned short int> { static const bool value = true; }; >template<> struct wxIsPod<signed short int> { static const bool value = true; }; >template<> struct wxIsPod<signed long int> { static const bool value = true; }; >template<> struct wxIsPod<unsigned long int> { static const bool value = true; }; >template<> struct wxIsPod<float> { static const bool value = true; }; >template<> struct wxIsPod<double> { static const bool value = true; }; >template<> struct wxIsPod<long double> { static const bool value = true; }; > >template<> struct wxIsPod<wchar_t> { static const bool value = true; }; > > >template<> struct wxIsPod<long long> { static const bool value = true; }; >template<> struct wxIsPod<unsigned long long> { static const bool value = true; }; ># 73 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/pod.h" >template<typename T> >struct wxIsPod<T*> >{ > static const bool value = true; >}; > >template<typename T> >struct wxIsPod<const T*> >{ > static const bool value = true; >}; ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/movable.h" 2 > > > > > > >template<typename T> >struct wxIsMovable >{ > static const bool value = wxIsPod<T>::value; >}; ># 33 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/if.h" 1 ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/if.h" >namespace wxPrivate >{ > >template <bool Cond> >struct wxIfImpl ># 35 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/if.h" >; > > >template <> >struct wxIfImpl<true> >{ > template<typename TTrue, typename TFalse> struct Result > { > typedef TTrue value; > }; >}; > > >template<> >struct wxIfImpl<false> >{ > template<typename TTrue, typename TFalse> struct Result > { > typedef TFalse value; > }; >}; > >} > > > > > > >template<bool Cond, typename TTrue, typename TFalse> >struct wxIf >{ > typedef typename wxPrivate::wxIfImpl<Cond> > ::template Result<TTrue, TFalse>::value > value; >}; ># 34 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/beforestd.h" 1 ># 36 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/afterstd.h" 1 ># 38 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h" 2 > > > >typedef int (*wxSortCallback)(const void* pItem1, > const void* pItem2, > const void* user_data); > void wxQsort(void* pbase, size_t total_elems, > size_t size, wxSortCallback cmp, > const void* user_data); > >namespace wxPrivate >{ > > > > > > >template<typename T> >struct wxVectorMemOpsMovable >{ > static void Free(T* array) > { free(array); } > > static T* Realloc(T* old, size_t newCapacity, size_t ) > { return (T*)realloc(old, newCapacity * sizeof(T)); } > > static void MemmoveBackward(T* dest, T* source, size_t count) > { memmove(dest, source, count * sizeof(T)); } > > static void MemmoveForward(T* dest, T* source, size_t count) > { memmove(dest, source, count * sizeof(T)); } >}; > > >template<typename T> >struct wxVectorMemOpsGeneric >{ > static void Free(T* array) > { ::operator delete(array); } > > static T* Realloc(T* old, size_t newCapacity, size_t occupiedSize) > { > T *mem = (T*)::operator new(newCapacity * sizeof(T)); > for ( size_t i = 0; i < occupiedSize; i++ ) > { > ::new(mem + i) T(old[i]); > old[i].~T(); > } > ::operator delete(old); > return mem; > } > > static void MemmoveBackward(T* dest, T* source, size_t count) > { > do { if ( wxTheAssertHandler && !(dest < source) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h", 93, __FUNCTION__, "dest < source", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > T* destptr = dest; > T* sourceptr = source; > for ( size_t i = count; i > 0; --i, ++destptr, ++sourceptr ) > { > ::new(destptr) T(*sourceptr); > sourceptr->~T(); > } > } > > static void MemmoveForward(T* dest, T* source, size_t count) > { > do { if ( wxTheAssertHandler && !(dest > source) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h", 105, __FUNCTION__, "dest > source", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > T* destptr = dest + count - 1; > T* sourceptr = source + count - 1; > for ( size_t i = count; i > 0; --i, --destptr, --sourceptr ) > { > ::new(destptr) T(*sourceptr); > sourceptr->~T(); > } > } >}; > > >} > >template<typename T> >class wxVector >{ >private: ># 132 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h" > typedef typename wxIf< (wxIsMovable<T>::value), > wxPrivate::wxVectorMemOpsMovable<T>, > wxPrivate::wxVectorMemOpsGeneric<T> >::value > Ops; > >public: > typedef size_t size_type; > typedef size_t difference_type; > typedef T value_type; > typedef value_type* pointer; > typedef const value_type* const_pointer; > typedef value_type* iterator; > typedef const value_type* const_iterator; > typedef value_type& reference; > typedef const value_type& const_reference; > > class reverse_iterator > { > public: > reverse_iterator() : m_ptr(__null) { } > explicit reverse_iterator(iterator it) : m_ptr(it) { } > reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } > > reference operator*() const { return *m_ptr; } > pointer operator->() const { return m_ptr; } > > iterator base() const { return m_ptr; } > > reverse_iterator& operator++() > { --m_ptr; return *this; } > reverse_iterator operator++(int) > { reverse_iterator tmp = *this; --m_ptr; return tmp; } > reverse_iterator& operator--() > { ++m_ptr; return *this; } > reverse_iterator operator--(int) > { reverse_iterator tmp = *this; ++m_ptr; return tmp; } > > reverse_iterator operator+(difference_type n) const > { return reverse_iterator(m_ptr - n); } > reverse_iterator& operator+=(difference_type n) > { m_ptr -= n; return *this; } > reverse_iterator operator-(difference_type n) const > { return reverse_iterator(m_ptr + n); } > reverse_iterator& operator-=(difference_type n) > { m_ptr += n; return *this; } > > reference operator[](difference_type n) const > { return *(*this + n); } > > bool operator ==(const reverse_iterator& it) const > { return m_ptr == it.m_ptr; } > bool operator !=(const reverse_iterator& it) const > { return m_ptr != it.m_ptr; } > > private: > value_type *m_ptr; > > friend class const_reverse_iterator; > }; > > class const_reverse_iterator > { > public: > const_reverse_iterator() : m_ptr(__null) { } > explicit const_reverse_iterator(const_iterator it) : m_ptr(it) { } > const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } > const_reverse_iterator(const const_reverse_iterator& it) : m_ptr(it.m_ptr) { } > > const_reference operator*() const { return *m_ptr; } > const_pointer operator->() const { return m_ptr; } > > const_iterator base() const { return m_ptr; } > > const_reverse_iterator& operator++() > { --m_ptr; return *this; } > const_reverse_iterator operator++(int) > { const_reverse_iterator tmp = *this; --m_ptr; return tmp; } > const_reverse_iterator& operator--() > { ++m_ptr; return *this; } > const_reverse_iterator operator--(int) > { const_reverse_iterator tmp = *this; ++m_ptr; return tmp; } > > const_reverse_iterator operator+(difference_type n) const > { return const_reverse_iterator(m_ptr - n); } > const_reverse_iterator& operator+=(difference_type n) > { m_ptr -= n; return *this; } > const_reverse_iterator operator-(difference_type n) const > { return const_reverse_iterator(m_ptr + n); } > const_reverse_iterator& operator-=(difference_type n) > { m_ptr += n; return *this; } > > const_reference operator[](difference_type n) const > { return *(*this + n); } > > bool operator ==(const const_reverse_iterator& it) const > { return m_ptr == it.m_ptr; } > bool operator !=(const const_reverse_iterator& it) const > { return m_ptr != it.m_ptr; } > > protected: > const value_type *m_ptr; > }; > > wxVector() : m_size(0), m_capacity(0), m_values(__null) {} > > wxVector(size_type p_size) > : m_size(0), m_capacity(0), m_values(__null) > { > reserve(p_size); > for ( size_t n = 0; n < p_size; n++ ) > push_back(value_type()); > } > > wxVector(size_type p_size, const value_type& v) > : m_size(0), m_capacity(0), m_values(__null) > { > reserve(p_size); > for ( size_t n = 0; n < p_size; n++ ) > push_back(v); > } > > wxVector(const wxVector& c) : m_size(0), m_capacity(0), m_values(__null) > { > Copy(c); > } > > template <class InputIterator> > wxVector(InputIterator first, InputIterator last) > : m_size(0), m_capacity(0), m_values(__null) > { > assign(first, last); > } > > ~wxVector() > { > clear(); > } > > void assign(size_type p_size, const value_type& v) > { > clear(); > reserve(p_size); > for ( size_t n = 0; n < p_size; n++ ) > push_back(v); > } > > template <class InputIterator> > void assign(InputIterator first, InputIterator last) > { > clear(); > > > > > > for ( InputIterator it = first; it != last; ++it ) > push_back(*it); > } > > void swap(wxVector& v) > { > wxSwap(m_size, v.m_size); > wxSwap(m_capacity, v.m_capacity); > wxSwap(m_values, v.m_values); > } > > void clear() > { > > for ( size_type i = 0; i < m_size; i++ ) > { > m_values[i].~T(); > } > > Ops::Free(m_values); > m_values = __null; > m_size = > m_capacity = 0; > } > > void reserve(size_type n) > { > if ( n <= m_capacity ) > return; > > > > > > > const size_type increment = m_size > 0 > ? m_size < ALLOC_MAX_SIZE > ? m_size > : (size_type)ALLOC_MAX_SIZE > : (size_type)ALLOC_INITIAL_SIZE; > if ( m_capacity + increment > n ) > n = m_capacity + increment; > > m_values = Ops::Realloc(m_values, n, m_size); > m_capacity = n; > } > > void resize(size_type n) > { > if ( n < m_size ) > Shrink(n); > else if ( n > m_size ) > Extend(n, value_type()); > } > > void resize(size_type n, const value_type& v) > { > if ( n < m_size ) > Shrink(n); > else if ( n > m_size ) > Extend(n, v); > } > > size_type size() const > { > return m_size; > } > > size_type capacity() const > { > return m_capacity; > } > > bool empty() const > { > return size() == 0; > } > > wxVector& operator=(const wxVector& vb) > { > if (this != &vb) > { > clear(); > Copy(vb); > } > return *this; > } > > void push_back(const value_type& v) > { > reserve(size() + 1); > > > > void* const place = m_values + m_size; > ::new(place) value_type(v); > > > > > > m_size++; > } > > void pop_back() > { > erase(end() - 1); > } > > const value_type& at(size_type idx) const > { > do { if ( wxTheAssertHandler && !(idx < m_size) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h", 398, __FUNCTION__, "idx < m_size", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return m_values[idx]; > } > > value_type& at(size_type idx) > { > do { if ( wxTheAssertHandler && !(idx < m_size) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h", 404, __FUNCTION__, "idx < m_size", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return m_values[idx]; > } > > const value_type& operator[](size_type idx) const { return at(idx); } > value_type& operator[](size_type idx) { return at(idx); } > const value_type& front() const { return at(0); } > value_type& front() { return at(0); } > const value_type& back() const { return at(size() - 1); } > value_type& back() { return at(size() - 1); } > > const_iterator begin() const { return m_values; } > iterator begin() { return m_values; } > const_iterator end() const { return m_values + size(); } > iterator end() { return m_values + size(); } > > reverse_iterator rbegin() { return reverse_iterator(end() - 1); } > reverse_iterator rend() { return reverse_iterator(begin() - 1); } > > const_reverse_iterator rbegin() const { return const_reverse_iterator(end() - 1); } > const_reverse_iterator rend() const { return const_reverse_iterator(begin() - 1); } > > iterator insert(iterator it, const value_type& v = value_type()) > { > > > const size_t idx = it - begin(); > const size_t after = end() - it; > > reserve(size() + 1); > > > value_type * const place = m_values + idx; > > > > if ( after > 0 ) > Ops::MemmoveForward(place + 1, place, after); > > > > wxScopeGuard moveBack = wxMakeGuard( > Ops::MemmoveBackward, place, place + 1, after); > if ( !after ) > moveBack.Dismiss(); > > > > ::new(place) value_type(v); > > > > moveBack.Dismiss(); > m_size++; > > return begin() + idx; > } > > iterator erase(iterator it) > { > return erase(it, it + 1); > } > > iterator erase(iterator first, iterator last) > { > if ( first == last ) > return first; > do { if ( wxTheAssertHandler && !(first < end() && last <= end()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h", 471, __FUNCTION__, "first < end() && last <= end()", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > const size_type idx = first - begin(); > const size_type count = last - first; > const size_type after = end() - last; > > > for ( iterator i = first; i < last; ++i ) > i->~T(); > > > if ( after > 0 ) > { > Ops::MemmoveBackward(m_values + idx, m_values + idx + count, after); > } > > m_size -= count; > > return begin() + idx; > } > > > > > >private: > > enum { ALLOC_INITIAL_SIZE = 16 }; > enum { ALLOC_MAX_SIZE = 4096 }; > > void Copy(const wxVector& vb) > { > reserve(vb.size()); > > for ( const_iterator i = vb.begin(); i != vb.end(); ++i ) > push_back(*i); > } > >private: > void Shrink(size_type n) > { > for ( size_type i = n; i < m_size; i++ ) > m_values[i].~T(); > m_size = n; > } > > void Extend(size_type n, const value_type& v) > { > reserve(n); > for ( size_type i = m_size; i < n; i++ ) > push_back(v); > } > > size_type m_size, > m_capacity; > value_type *m_values; >}; ># 540 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/vector.h" >namespace wxPrivate >{ > > > >template<typename T> >struct wxVectorComparator >{ > static int > Compare(const void* pitem1, const void* pitem2, const void* ) > { > const T& item1 = *reinterpret_cast<const T*>(pitem1); > const T& item2 = *reinterpret_cast<const T*>(pitem2); > > if (item1 < item2) > return -1; > else if (item2 < item1) > return 1; > else > return 0; > } >}; > >} > > > >template<typename T> >void wxVectorSort(wxVector<T>& v) >{ > wxQsort(v.begin(), v.size(), sizeof(T), > wxPrivate::wxVectorComparator<T>::Compare, __null); >} ># 35 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" 2 ># 48 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" >class wxObjectListNode; >typedef wxObjectListNode wxNode; ># 360 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" >union wxListKeyValue >{ > long integer; > wxString *string; >}; > > > > > > > >class wxListKey >{ >public: > > wxListKey() : m_keyType(wxKEY_NONE) > { } > wxListKey(long i) : m_keyType(wxKEY_INTEGER) > { m_key.integer = i; } > wxListKey(const wxString& s) : m_keyType(wxKEY_STRING) > { m_key.string = new wxString(s); } > wxListKey(const char *s) : m_keyType(wxKEY_STRING) > { m_key.string = new wxString(s); } > wxListKey(const wchar_t *s) : m_keyType(wxKEY_STRING) > { m_key.string = new wxString(s); } > > > wxKeyType GetKeyType() const { return m_keyType; } > const wxString GetString() const > { do { if ( wxTheAssertHandler && !(m_keyType == wxKEY_STRING) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h", 390, __FUNCTION__, "m_keyType == wxKEY_STRING", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return *m_key.string; } > long GetNumber() const > { do { if ( wxTheAssertHandler && !(m_keyType == wxKEY_INTEGER) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h", 392, __FUNCTION__, "m_keyType == wxKEY_INTEGER", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return m_key.integer; } > > > > > bool operator==(wxListKeyValue value) const ; > > > ~wxListKey() > { > if ( m_keyType == wxKEY_STRING ) > delete m_key.string; > } > >private: > wxKeyType m_keyType; > wxListKeyValue m_key; >}; > > > > > >extern wxListKey wxDefaultListKey; > >class wxListBase; > >class wxNodeBase >{ >friend class wxListBase; >public: > > wxNodeBase(wxListBase *list = __null, > wxNodeBase *previous = __null, > wxNodeBase *next = __null, > void *data = __null, > const wxListKey& key = wxDefaultListKey); > > virtual ~wxNodeBase(); > > > wxString GetKeyString() const { return *m_key.string; } > long GetKeyInteger() const { return m_key.integer; } > > > void SetKeyString(const wxString& s) { m_key.string = new wxString(s); } > void SetKeyInteger(long i) { m_key.integer = i; } > > > > __attribute__((deprecated)) wxNode *Next() const; > __attribute__((deprecated)) wxNode *Previous() const; > __attribute__((deprecated)) wxObject *Data() const; > > >protected: > > wxNodeBase *GetNext() const { return m_next; } > wxNodeBase *GetPrevious() const { return m_previous; } > > void *GetData() const { return m_data; } > void SetData(void *data) { m_data = data; } > > > int IndexOf() const; > > virtual void DeleteData() { } >public: > > void** GetDataPtr() const { return &(const_cast<wxNodeBase*>(this)->m_data); } >private: > > wxListKeyValue m_key; > > void *m_data; > wxNodeBase *m_next, > *m_previous; > > wxListBase *m_list; > > private: wxNodeBase(const wxNodeBase&); wxNodeBase& operator=(const wxNodeBase&); >}; > > > > > >class wxList; > >class wxListBase >{ >friend class wxNodeBase; >friend class wxHashTableBase; > >public: > > wxListBase(wxKeyType keyType = wxKEY_NONE) > { Init(keyType); } > virtual ~wxListBase(); > > > > size_t GetCount() const { return m_count; } > > > bool IsEmpty() const { return m_count == 0; } > > > > > void Clear(); > > > void DeleteContents(bool destroy) { m_destroy = destroy; } > > > bool GetDeleteContents() const > { return m_destroy; } > > > wxKeyType GetKeyType() const > { return m_keyType; } > > > void SetKeyType(wxKeyType keyType) > { do { if ( wxTheAssertHandler && !(m_count==0) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h", 517, __FUNCTION__, "m_count==0", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_keyType = keyType; } > > > > __attribute__((deprecated)) int Number() const; > __attribute__((deprecated)) wxNode *First() const; > __attribute__((deprecated)) wxNode *Last() const; > __attribute__((deprecated)) wxNode *Nth(size_t n) const; > > > __attribute__((deprecated)) operator wxList&() const; > > >protected: > > > > > > virtual wxNodeBase *CreateNode(wxNodeBase *prev, wxNodeBase *next, > void *data, > const wxListKey& key = wxDefaultListKey) = 0; > > > > > wxListBase(size_t count, void *elements[]); > > wxListBase(void *object, ... ); > >protected: > void Assign(const wxListBase& list) > { Clear(); DoCopy(list); } > > > wxNodeBase *GetFirst() const { return m_nodeFirst; } > wxNodeBase *GetLast() const { return m_nodeLast; } > > > wxNodeBase *Item(size_t index) const; > > > void *operator[](size_t n) const > { > wxNodeBase *node = Item(n); > > return node ? node->GetData() : __null; > } > > > > wxNodeBase *Prepend(void *object) > { return (wxNodeBase *)wxListBase::Insert(object); } > > wxNodeBase *Append(void *object); > > wxNodeBase *Insert(void *object) > { return Insert(static_cast<wxNodeBase *>(__null), object); } > > wxNodeBase *Insert(size_t pos, void *object) > { return pos == GetCount() ? Append(object) > : Insert(Item(pos), object); } > > wxNodeBase *Insert(wxNodeBase *prev, void *object); > > > wxNodeBase *Append(long key, void *object); > wxNodeBase *Append(const wxString& key, void *object); > > > > wxNodeBase *DetachNode(wxNodeBase *node); > > bool DeleteNode(wxNodeBase *node); > > > bool DeleteObject(void *object); > > > > wxNodeBase *Find(const void *object) const; > > > wxNodeBase *Find(const wxListKey& key) const; > > > int IndexOf( void *object ) const; > > > > void Sort(const wxSortCompareFunction compfunc); > > > void *FirstThat(wxListIterateFunction func); > void ForEach(wxListIterateFunction func); > void *LastThat(wxListIterateFunction func); > > > > void Reverse(); > void DeleteNodes(wxNodeBase* first, wxNodeBase* last); >private: > > > void Init(wxKeyType keyType = wxKEY_NONE); > > > > void DoCopy(const wxListBase& list); > > wxNodeBase *AppendCommon(wxNodeBase *node); > > void DoDeleteNode(wxNodeBase *node); > > size_t m_count; > bool m_destroy; > wxNodeBase *m_nodeFirst, > *m_nodeLast; > > wxKeyType m_keyType; >}; ># 1172 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" >inline wxNode *wxNodeBase::Next() const { return (wxNode *)GetNext(); } >inline wxNode *wxNodeBase::Previous() const { return (wxNode *)GetPrevious(); } >inline wxObject *wxNodeBase::Data() const { return (wxObject *)GetData(); } > > > > > >inline int wxListBase::Number() const { return (int)GetCount(); } >inline wxNode *wxListBase::First() const { return (wxNode *)GetFirst(); } >inline wxNode *wxListBase::Last() const { return (wxNode *)GetLast(); } >inline wxNode *wxListBase::Nth(size_t n) const { return (wxNode *)Item(n); } >inline wxListBase::operator wxList&() const { return *(wxList*)this; } ># 1195 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" >typedef int (*wxSortFuncFor_wxObjectList)(const wxObject **, const wxObject **); class wxObjectListNode : public wxNodeBase { public: wxObjectListNode(wxListBase *list = __null, wxObjectListNode *previous = __null, wxObjectListNode *next = __null, wxObject *data = __null, const wxListKey& key = wxDefaultListKey) : wxNodeBase(list, previous, next, data, key) { } wxObjectListNode *GetNext() const { return (wxObjectListNode *)wxNodeBase::GetNext(); } wxObjectListNode *GetPrevious() const { return (wxObjectListNode *)wxNodeBase::GetPrevious(); } wxObject *GetData() const { return (wxObject *)wxNodeBase::GetData(); } void SetData(wxObject *data) { wxNodeBase::SetData(data); } protected: virtual void DeleteData(); private: wxObjectListNode(const wxObjectListNode&); wxObjectListNode& operator=(const wxObjectListNode&); }; class wxObjectList : public wxListBase { public: typedef wxObjectListNode Node; class compatibility_iterator { public: compatibility_iterator(Node *ptr = __null) : m_ptr(ptr) { } Node *operator->() const { return m_ptr; } operator Node *() const { return m_ptr; } private: Node *m_ptr; }; wxObjectList(wxKeyType keyType = wxKEY_NONE) : wxListBase(keyType) { } wxObjectList(const wxObjectList& list) : wxListBase(list.GetKeyType()) { Assign(list); } wxObjectList(size_t count, wxObject *elements[]) : wxListBase(count, (void **)elements) { } wxObjectList& operator=(const wxObjectList& list) { if (&list != this) Assign(list); return *this; } wxObjectListNode *GetFirst() const { return (wxObjectListNode *)wxListBase::GetFirst(); } wxObjectListNode *GetLast() const { return (wxObjectListNode *)wxListBase::GetLast(); } wxObjectListNode *Item(size_t index) const { return (wxObjectListNode *)wxListBase::Item(index); } wxObject *operator[](size_t index) const { wxObjectListNode *node = Item(index); return node ? (wxObject*)(node->GetData()) : __null; } wxObjectListNode *Append(wxObject *object) { return (wxObjectListNode *)wxListBase::Append(object); } wxObjectListNode *Insert(wxObject *object) { return (wxObjectListNode *)Insert(static_cast<wxObjectListNode *>(__null), object); } wxObjectListNode *Insert(size_t pos, wxObject *object) { return (wxObjectListNode *)wxListBase::Insert(pos, object); } wxObjectListNode *Insert(wxObjectListNode *prev, wxObject *object) { return (wxObjectListNode *)wxListBase::Insert(prev, object); } wxObjectListNode *Append(long key, void *object) { return (wxObjectListNode *)wxListBase::Append(key, object); } wxObjectListNode *Append(const wxChar *key, void *object) { return (wxObjectListNode *)wxListBase::Append(key, object); } wxObjectListNode *DetachNode(wxObjectListNode *node) { return (wxObjectListNode *)wxListBase::DetachNode(node); } bool DeleteNode(wxObjectListNode *node) { return wxListBase::DeleteNode(node); } bool DeleteObject(wxObject *object) { return wxListBase::DeleteObject(object); } void Erase(wxObjectListNode *it) { DeleteNode(it); } wxObjectListNode *Find(const wxObject *object) const { return (wxObjectListNode *)wxListBase::Find(object); } virtual wxObjectListNode *Find(const wxListKey& key) const { return (wxObjectListNode *)wxListBase::Find(key); } bool Member(const wxObject *object) const { return Find(object) != __null; } int IndexOf(wxObject *object) const { return wxListBase::IndexOf(object); } void Sort(wxSortCompareFunction func) { wxListBase::Sort(func); } void Sort(wxSortFuncFor_wxObjectList func) { Sort((wxSortCompareFunction)func); } protected: virtual wxNodeBase *CreateNode(wxNodeBase *prev, wxNodeBase *next, void *data, const wxListKey& key = wxDefaultListKey) { return new wxObjectListNode(this, (wxObjectListNode *)prev, (wxObjectListNode *)next, (wxObject *)data, key); } public: typedef size_t size_type; typedef int difference_type; typedef wxObject* value_type; typedef wxObject* base_value_type; typedef value_type& reference; typedef const value_type& const_reference; typedef base_value_type& base_reference; typedef const base_value_type& const_base_reference; class iterator { typedef wxObjectList list; public: typedef wxObjectListNode Node; typedef iterator itor; typedef wxObject* value_type; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; iterator(Node* node, Node* init) : m_node(node), m_init(init) {} iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" ># 1195 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" > , > 1196 ># 1195 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" > , __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" ># 1195 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" > , > 1196 ># 1195 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" > , __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_iterator { typedef wxObjectList list; public: typedef wxObjectListNode Node; typedef wxObject* value_type; typedef const value_type& const_reference; typedef const_iterator itor; typedef value_type* ptr_type; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_iterator() : m_node(__null), m_init(__null) { } const_iterator(const iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" ># 1195 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" > , > 1196 ># 1195 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" > , __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" ># 1195 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" > , > 1196 ># 1195 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h" > , __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class reverse_iterator { typedef wxObjectList list; public: typedef wxObjectListNode Node; typedef wxObject* value_type; typedef reverse_iterator itor; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } reverse_iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_reverse_iterator { typedef wxObjectList list; public: typedef wxObjectListNode Node; typedef wxObject* value_type; typedef const_reverse_iterator itor; typedef value_type* ptr_type; typedef const value_type& const_reference; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_reverse_iterator() : m_node(__null), m_init(__null) { } const_reverse_iterator(const reverse_iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this;} const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; explicit wxObjectList(size_type n, const_reference v = value_type()) { assign(n, v); } wxObjectList(const const_iterator& first, const const_iterator& last) { assign(first, last); } iterator begin() { return iterator(GetFirst(), GetLast()); } const_iterator begin() const { return const_iterator(GetFirst(), GetLast()); } iterator end() { return iterator(__null, GetLast()); } const_iterator end() const { return const_iterator(__null, GetLast()); } reverse_iterator rbegin() { return reverse_iterator(GetLast(), GetFirst()); } const_reverse_iterator rbegin() const { return const_reverse_iterator(GetLast(), GetFirst()); } reverse_iterator rend() { return reverse_iterator(__null, GetFirst()); } const_reverse_iterator rend() const { return const_reverse_iterator(__null, GetFirst()); } void resize(size_type n, value_type v = value_type()) { while (n < size()) pop_back(); while (n > size()) push_back(v); } size_type size() const { return GetCount(); } size_type max_size() const { return 2147483647; } bool empty() const { return IsEmpty(); } reference front() { return *begin(); } const_reference front() const { return *begin(); } reference back() { iterator tmp = end(); return *--tmp; } const_reference back() const { const_iterator tmp = end(); return *--tmp; } void push_front(const_reference v = value_type()) { Insert(GetFirst(), (const_base_reference)v); } void pop_front() { DeleteNode(GetFirst()); } void push_back(const_reference v = value_type()) { Append((const_base_reference)v); } void pop_back() { DeleteNode(GetLast()); } void assign(const_iterator first, const const_iterator& last) { clear(); for(; first != last; ++first) Append((const_base_reference)*first); } void assign(size_type n, const_reference v = value_type()) { clear(); for(size_type i = 0; i < n; ++i) Append((const_base_reference)v); } iterator insert(const iterator& it, const_reference v) { if ( it == end() ) { Append((const_base_reference)v); iterator itins(end()); return --itins; } else { Insert(it.m_node, (const_base_reference)v); iterator itins(it); return --itins; } } void insert(const iterator& it, size_type n, const_reference v) { for(size_type i = 0; i < n; ++i) insert(it, v); } void insert(const iterator& it, const_iterator first, const const_iterator& last) { for(; first != last; ++first) insert(it, *first); } iterator erase(const iterator& it) { iterator next = iterator(it.m_node->GetNext(), GetLast()); DeleteNode(it.m_node); return next; } iterator erase(const iterator& first, const iterator& last) { iterator next = last; if ( next != end() ) ++next; DeleteNodes(first.m_node, last.m_node); return next; } void clear() { Clear(); } void splice(const iterator& it, wxObjectList& l, const iterator& first, const iterator& last) { insert(it, first, last); l.erase(first, last); } void splice(const iterator& it, wxObjectList& l) { splice(it, l, l.begin(), l.end() ); } void splice(const iterator& it, wxObjectList& l, const iterator& first) { if ( it != first ) { insert(it, *first); l.erase(first); } } void remove(const_reference v) { DeleteObject((const_base_reference)v); } void reverse() { Reverse(); } } > ; > >class wxList : public wxObjectList >{ >public: > > > > > wxList(int key_type = wxKEY_NONE); > > > > ~wxList() { } > > > wxList& operator=(const wxList& list) > { if (&list != this) Assign(list); return *this; } > > > void Sort(wxSortCompareFunction compfunc) { wxListBase::Sort(compfunc); } > > > > template<typename T> > wxVector<T> AsVector() const > { > wxVector<T> vector(size()); > size_t i = 0; > > for ( const_iterator it = begin(); it != end(); ++it ) > { > vector[i++] = static_cast<T>(*it); > } > > return vector; > } > > >}; > > > > > > >typedef int (*wxSortFuncFor_wxStringListBase)(const wxChar **, const wxChar **); class wxStringListNode : public wxNodeBase { public: wxStringListNode(wxListBase *list = __null, wxStringListNode *previous = __null, wxStringListNode *next = __null, wxChar *data = __null, const wxListKey& key = wxDefaultListKey) : wxNodeBase(list, previous, next, data, key) { } wxStringListNode *GetNext() const { return (wxStringListNode *)wxNodeBase::GetNext(); } wxStringListNode *GetPrevious() const { return (wxStringListNode *)wxNodeBase::GetPrevious(); } wxChar *GetData() const { return (wxChar *)wxNodeBase::GetData(); } void SetData(wxChar *data) { wxNodeBase::SetData(data); } protected: virtual void DeleteData(); private: wxStringListNode(const wxStringListNode&); wxStringListNode& operator=(const wxStringListNode&); }; class wxStringListBase : public wxListBase { public: typedef wxStringListNode Node; class compatibility_iterator { public: compatibility_iterator(Node *ptr = __null) : m_ptr(ptr) { } Node *operator->() const { return m_ptr; } operator Node *() const { return m_ptr; } private: Node *m_ptr; }; wxStringListBase(wxKeyType keyType = wxKEY_NONE) : wxListBase(keyType) { } wxStringListBase(const wxStringListBase& list) : wxListBase(list.GetKeyType()) { Assign(list); } wxStringListBase(size_t count, wxChar *elements[]) : wxListBase(count, (void **)elements) { } wxStringListBase& operator=(const wxStringListBase& list) { if (&list != this) Assign(list); return *this; } wxStringListNode *GetFirst() const { return (wxStringListNode *)wxListBase::GetFirst(); } wxStringListNode *GetLast() const { return (wxStringListNode *)wxListBase::GetLast(); } wxStringListNode *Item(size_t index) const { return (wxStringListNode *)wxListBase::Item(index); } wxChar *operator[](size_t index) const { wxStringListNode *node = Item(index); return node ? (wxChar*)(node->GetData()) : __null; } wxStringListNode *Append(wxChar *object) { return (wxStringListNode *)wxListBase::Append(object); } wxStringListNode *Insert(wxChar *object) { return (wxStringListNode *)Insert(static_cast<wxStringListNode *>(__null), object); } wxStringListNode *Insert(size_t pos, wxChar *object) { return (wxStringListNode *)wxListBase::Insert(pos, object); } wxStringListNode *Insert(wxStringListNode *prev, wxChar *object) { return (wxStringListNode *)wxListBase::Insert(prev, object); } wxStringListNode *Append(long key, void *object) { return (wxStringListNode *)wxListBase::Append(key, object); } wxStringListNode *Append(const wxChar *key, void *object) { return (wxStringListNode *)wxListBase::Append(key, object); } wxStringListNode *DetachNode(wxStringListNode *node) { return (wxStringListNode *)wxListBase::DetachNode(node); } bool DeleteNode(wxStringListNode *node) { return wxListBase::DeleteNode(node); } bool DeleteObject(wxChar *object) { return wxListBase::DeleteObject(object); } void Erase(wxStringListNode *it) { DeleteNode(it); } wxStringListNode *Find(const wxChar *object) const { return (wxStringListNode *)wxListBase::Find(object); } virtual wxStringListNode *Find(const wxListKey& key) const { return (wxStringListNode *)wxListBase::Find(key); } bool Member(const wxChar *object) const { return Find(object) != __null; } int IndexOf(wxChar *object) const { return wxListBase::IndexOf(object); } void Sort(wxSortCompareFunction func) { wxListBase::Sort(func); } void Sort(wxSortFuncFor_wxStringListBase func) { Sort((wxSortCompareFunction)func); } protected: virtual wxNodeBase *CreateNode(wxNodeBase *prev, wxNodeBase *next, void *data, const wxListKey& key = wxDefaultListKey) { return new wxStringListNode(this, (wxStringListNode *)prev, (wxStringListNode *)next, (wxChar *)data, key); } public: typedef size_t size_type; typedef int difference_type; typedef wxChar* value_type; typedef wxChar* base_value_type; typedef value_type& reference; typedef const value_type& const_reference; typedef base_value_type& base_reference; typedef const base_value_type& const_base_reference; class iterator { typedef wxStringListBase list; public: typedef wxStringListNode Node; typedef iterator itor; typedef wxChar* value_type; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; iterator(Node* node, Node* init) : m_node(node), m_init(init) {} iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h", 1242, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h", 1242, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_iterator { typedef wxStringListBase list; public: typedef wxStringListNode Node; typedef wxChar* value_type; typedef const value_type& const_reference; typedef const_iterator itor; typedef value_type* ptr_type; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_iterator() : m_node(__null), m_init(__null) { } const_iterator(const iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h", 1242, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/list.h", 1242, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class reverse_iterator { typedef wxStringListBase list; public: typedef wxStringListNode Node; typedef wxChar* value_type; typedef reverse_iterator itor; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } reverse_iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_reverse_iterator { typedef wxStringListBase list; public: typedef wxStringListNode Node; typedef wxChar* value_type; typedef const_reverse_iterator itor; typedef value_type* ptr_type; typedef const value_type& const_reference; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_reverse_iterator() : m_node(__null), m_init(__null) { } const_reverse_iterator(const reverse_iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this;} const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; explicit wxStringListBase(size_type n, const_reference v = value_type()) { assign(n, v); } wxStringListBase(const const_iterator& first, const const_iterator& last) { assign(first, last); } iterator begin() { return iterator(GetFirst(), GetLast()); } const_iterator begin() const { return const_iterator(GetFirst(), GetLast()); } iterator end() { return iterator(__null, GetLast()); } const_iterator end() const { return const_iterator(__null, GetLast()); } reverse_iterator rbegin() { return reverse_iterator(GetLast(), GetFirst()); } const_reverse_iterator rbegin() const { return const_reverse_iterator(GetLast(), GetFirst()); } reverse_iterator rend() { return reverse_iterator(__null, GetFirst()); } const_reverse_iterator rend() const { return const_reverse_iterator(__null, GetFirst()); } void resize(size_type n, value_type v = value_type()) { while (n < size()) pop_back(); while (n > size()) push_back(v); } size_type size() const { return GetCount(); } size_type max_size() const { return 2147483647; } bool empty() const { return IsEmpty(); } reference front() { return *begin(); } const_reference front() const { return *begin(); } reference back() { iterator tmp = end(); return *--tmp; } const_reference back() const { const_iterator tmp = end(); return *--tmp; } void push_front(const_reference v = value_type()) { Insert(GetFirst(), (const_base_reference)v); } void pop_front() { DeleteNode(GetFirst()); } void push_back(const_reference v = value_type()) { Append((const_base_reference)v); } void pop_back() { DeleteNode(GetLast()); } void assign(const_iterator first, const const_iterator& last) { clear(); for(; first != last; ++first) Append((const_base_reference)*first); } void assign(size_type n, const_reference v = value_type()) { clear(); for(size_type i = 0; i < n; ++i) Append((const_base_reference)v); } iterator insert(const iterator& it, const_reference v) { if ( it == end() ) { Append((const_base_reference)v); iterator itins(end()); return --itins; } else { Insert(it.m_node, (const_base_reference)v); iterator itins(it); return --itins; } } void insert(const iterator& it, size_type n, const_reference v) { for(size_type i = 0; i < n; ++i) insert(it, v); } void insert(const iterator& it, const_iterator first, const const_iterator& last) { for(; first != last; ++first) insert(it, *first); } iterator erase(const iterator& it) { iterator next = iterator(it.m_node->GetNext(), GetLast()); DeleteNode(it.m_node); return next; } iterator erase(const iterator& first, const iterator& last) { iterator next = last; if ( next != end() ) ++next; DeleteNodes(first.m_node, last.m_node); return next; } void clear() { Clear(); } void splice(const iterator& it, wxStringListBase& l, const iterator& first, const iterator& last) { insert(it, first, last); l.erase(first, last); } void splice(const iterator& it, wxStringListBase& l) { splice(it, l, l.begin(), l.end() ); } void splice(const iterator& it, wxStringListBase& l, const iterator& first) { if ( it != first ) { insert(it, *first); l.erase(first); } } void remove(const_reference v) { DeleteObject((const_base_reference)v); } void reverse() { Reverse(); } }; > >class wxStringList : public wxStringListBase >{ >public: > > > > > > > wxStringList(); > wxStringList(const wxChar *first ...); > > > > > wxStringList(const wxStringList& other) : wxStringListBase() { DeleteContents(true); DoCopy(other); } > wxStringList& operator=(const wxStringList& other) > { > if (&other != this) > { > Clear(); > DoCopy(other); > } > return *this; > } > > > > wxNode *Add(const wxChar *s); > > > wxNode *Prepend(const wxChar *s); > > bool Delete(const wxChar *s); > > wxChar **ListToArray(bool new_copies = false) const; > bool Member(const wxChar *s) const; > > > void Sort(); > >private: > void DoCopy(const wxStringList&); >}; ># 22 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" 1 ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/limits.h" 1 3 4 ># 22 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" 2 ># 88 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" > class wxLongLongNative; > class wxULongLongNative; > typedef wxLongLongNative wxLongLong; > typedef wxULongLongNative wxULongLong; ># 102 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/iosfwrap.h" 1 ># 103 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" 2 > > > >class wxLongLongNative >{ >public: > > > wxLongLongNative() : m_ll(0) { } > > wxLongLongNative(long long ll) : m_ll(ll) { } > > wxLongLongNative(wxInt32 hi, wxUint32 lo) > { > > m_ll = ((long long) hi) << 32; > m_ll |= (long long) lo; > } ># 132 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" > wxLongLongNative& operator=(long long ll) > { m_ll = ll; return *this; } > wxLongLongNative& operator=(unsigned long long ll) > { m_ll = ll; return *this; } > > wxLongLongNative& operator=(const wxULongLongNative &ll); > wxLongLongNative& operator=(int l) > { m_ll = l; return *this; } > wxLongLongNative& operator=(long l) > { m_ll = l; return *this; } > wxLongLongNative& operator=(unsigned int l) > { m_ll = l; return *this; } > wxLongLongNative& operator=(unsigned long l) > { m_ll = l; return *this; } ># 155 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" > wxLongLongNative& Assign(double d) > { m_ll = (long long)d; return *this; } > > > > > > wxInt32 GetHi() const > { return ((wxInt32)(m_ll >> 32)); } > > wxUint32 GetLo() const > { return ((wxUint32)(m_ll)); } > > > wxLongLongNative Abs() const { return wxLongLongNative(*this).Abs(); } > wxLongLongNative& Abs() { if ( m_ll < 0 ) m_ll = -m_ll; return *this; } > > > long long GetValue() const { return m_ll; } > > > long ToLong() const > { > do { if ( wxTheAssertHandler && !((m_ll >= (-9223372036854775807L - 1L)) && (m_ll <= 9223372036854775807L)) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" ># 178 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" > , > 179 ># 178 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" > , __FUNCTION__, "(m_ll >= LONG_MIN) && (m_ll <= LONG_MAX)", L"wxLongLong to long conversion loss of precision"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > ; > > return ((long)(m_ll)); > } > > > double ToDouble() const { return ((double)(m_ll)); } > > > > > > > > wxLongLongNative operator+(const wxLongLongNative& ll) const > { return wxLongLongNative(m_ll + ll.m_ll); } > wxLongLongNative& operator+=(const wxLongLongNative& ll) > { m_ll += ll.m_ll; return *this; } > > wxLongLongNative operator+(const long long ll) const > { return wxLongLongNative(m_ll + ll); } > wxLongLongNative& operator+=(const long long ll) > { m_ll += ll; return *this; } > > > wxLongLongNative& operator++() > { m_ll++; return *this; } > > > wxLongLongNative operator++(int) > { wxLongLongNative value(*this); m_ll++; return value; } > > > wxLongLongNative operator-() const > { return wxLongLongNative(-m_ll); } > wxLongLongNative& Negate() { m_ll = -m_ll; return *this; } > > > wxLongLongNative operator-(const wxLongLongNative& ll) const > { return wxLongLongNative(m_ll - ll.m_ll); } > wxLongLongNative& operator-=(const wxLongLongNative& ll) > { m_ll -= ll.m_ll; return *this; } > > wxLongLongNative operator-(const long long ll) const > { return wxLongLongNative(m_ll - ll); } > wxLongLongNative& operator-=(const long long ll) > { m_ll -= ll; return *this; } > > > wxLongLongNative& operator--() > { m_ll--; return *this; } > > > wxLongLongNative operator--(int) > { wxLongLongNative value(*this); m_ll--; return value; } > > > > wxLongLongNative operator<<(int shift) const > { return wxLongLongNative(m_ll << shift); } > wxLongLongNative& operator<<=(int shift) > { m_ll <<= shift; return *this; } > > > wxLongLongNative operator>>(int shift) const > { return wxLongLongNative(m_ll >> shift); } > wxLongLongNative& operator>>=(int shift) > { m_ll >>= shift; return *this; } > > > wxLongLongNative operator&(const wxLongLongNative& ll) const > { return wxLongLongNative(m_ll & ll.m_ll); } > wxLongLongNative& operator&=(const wxLongLongNative& ll) > { m_ll &= ll.m_ll; return *this; } > > wxLongLongNative operator|(const wxLongLongNative& ll) const > { return wxLongLongNative(m_ll | ll.m_ll); } > wxLongLongNative& operator|=(const wxLongLongNative& ll) > { m_ll |= ll.m_ll; return *this; } > > wxLongLongNative operator^(const wxLongLongNative& ll) const > { return wxLongLongNative(m_ll ^ ll.m_ll); } > wxLongLongNative& operator^=(const wxLongLongNative& ll) > { m_ll ^= ll.m_ll; return *this; } > > > wxLongLongNative operator*(const wxLongLongNative& ll) const > { return wxLongLongNative(m_ll * ll.m_ll); } > wxLongLongNative operator*(long l) const > { return wxLongLongNative(m_ll * l); } > wxLongLongNative& operator*=(const wxLongLongNative& ll) > { m_ll *= ll.m_ll; return *this; } > wxLongLongNative& operator*=(long l) > { m_ll *= l; return *this; } > > wxLongLongNative operator/(const wxLongLongNative& ll) const > { return wxLongLongNative(m_ll / ll.m_ll); } > wxLongLongNative operator/(long l) const > { return wxLongLongNative(m_ll / l); } > wxLongLongNative& operator/=(const wxLongLongNative& ll) > { m_ll /= ll.m_ll; return *this; } > wxLongLongNative& operator/=(long l) > { m_ll /= l; return *this; } > > wxLongLongNative operator%(const wxLongLongNative& ll) const > { return wxLongLongNative(m_ll % ll.m_ll); } > wxLongLongNative operator%(long l) const > { return wxLongLongNative(m_ll % l); } > > > bool operator==(const wxLongLongNative& ll) const > { return m_ll == ll.m_ll; } > bool operator==(long l) const > { return m_ll == l; } > bool operator!=(const wxLongLongNative& ll) const > { return m_ll != ll.m_ll; } > bool operator!=(long l) const > { return m_ll != l; } > bool operator<(const wxLongLongNative& ll) const > { return m_ll < ll.m_ll; } > bool operator<(long l) const > { return m_ll < l; } > bool operator>(const wxLongLongNative& ll) const > { return m_ll > ll.m_ll; } > bool operator>(long l) const > { return m_ll > l; } > bool operator<=(const wxLongLongNative& ll) const > { return m_ll <= ll.m_ll; } > bool operator<=(long l) const > { return m_ll <= l; } > bool operator>=(const wxLongLongNative& ll) const > { return m_ll >= ll.m_ll; } > bool operator>=(long l) const > { return m_ll >= l; } > > > > > wxString ToString() const; > > > void *asArray() const; > > > > friend > std:: ostream& operator<<(std:: ostream&, const wxLongLongNative&); > > > friend > wxString& operator<<(wxString&, const wxLongLongNative&); > > > friend > class wxTextOutputStream& operator<<(class wxTextOutputStream&, const wxLongLongNative&); > friend > class wxTextInputStream& operator>>(class wxTextInputStream&, wxLongLongNative&); > > >private: > long long m_ll; >}; > > >class wxULongLongNative >{ >public: > > > wxULongLongNative() : m_ll(0) { } > > wxULongLongNative(unsigned long long ll) : m_ll(ll) { } > > wxULongLongNative(wxUint32 hi, wxUint32 lo) : m_ll(0) > { > > m_ll = ((unsigned long long) hi) << 32; > m_ll |= (unsigned long long) lo; > } ># 370 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" > wxULongLongNative& operator=(unsigned long long ll) > { m_ll = ll; return *this; } > wxULongLongNative& operator=(long long ll) > { m_ll = ll; return *this; } > > wxULongLongNative& operator=(int l) > { m_ll = l; return *this; } > wxULongLongNative& operator=(long l) > { m_ll = l; return *this; } > wxULongLongNative& operator=(unsigned int l) > { m_ll = l; return *this; } > wxULongLongNative& operator=(unsigned long l) > { m_ll = l; return *this; } > wxULongLongNative& operator=(const wxLongLongNative &ll) > { m_ll = ll.GetValue(); return *this; } ># 394 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" > wxUint32 GetHi() const > { return ((wxUint32)(m_ll >> 32)); } > > wxUint32 GetLo() const > { return ((wxUint32)(m_ll)); } > > > unsigned long long GetValue() const { return m_ll; } > > > unsigned long ToULong() const > { > do { if ( wxTheAssertHandler && !(m_ll <= (9223372036854775807L * 2UL + 1UL)) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" ># 406 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" > , > 407 ># 406 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" > , __FUNCTION__, "m_ll <= ULONG_MAX", L"wxULongLong to long conversion loss of precision"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > ; > > return ((unsigned long)(m_ll)); > } ># 421 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" > double ToDouble() const { return ((double)(m_ll)); } > > > > > wxULongLongNative operator+(const wxULongLongNative& ll) const > { return wxULongLongNative(m_ll + ll.m_ll); } > wxULongLongNative& operator+=(const wxULongLongNative& ll) > { m_ll += ll.m_ll; return *this; } > > wxULongLongNative operator+(const unsigned long long ll) const > { return wxULongLongNative(m_ll + ll); } > wxULongLongNative& operator+=(const unsigned long long ll) > { m_ll += ll; return *this; } > > > wxULongLongNative& operator++() > { m_ll++; return *this; } > > > wxULongLongNative operator++(int) > { wxULongLongNative value(*this); m_ll++; return value; } > > > wxULongLongNative operator-(const wxULongLongNative& ll) const > { return wxULongLongNative(m_ll - ll.m_ll); } > wxULongLongNative& operator-=(const wxULongLongNative& ll) > { m_ll -= ll.m_ll; return *this; } > > wxULongLongNative operator-(const unsigned long long ll) const > { return wxULongLongNative(m_ll - ll); } > wxULongLongNative& operator-=(const unsigned long long ll) > { m_ll -= ll; return *this; } > > > wxULongLongNative& operator--() > { m_ll--; return *this; } > > > wxULongLongNative operator--(int) > { wxULongLongNative value(*this); m_ll--; return value; } > > > > wxULongLongNative operator<<(int shift) const > { return wxULongLongNative(m_ll << shift); } > wxULongLongNative& operator<<=(int shift) > { m_ll <<= shift; return *this; } > > > wxULongLongNative operator>>(int shift) const > { return wxULongLongNative(m_ll >> shift); } > wxULongLongNative& operator>>=(int shift) > { m_ll >>= shift; return *this; } > > > wxULongLongNative operator&(const wxULongLongNative& ll) const > { return wxULongLongNative(m_ll & ll.m_ll); } > wxULongLongNative& operator&=(const wxULongLongNative& ll) > { m_ll &= ll.m_ll; return *this; } > > wxULongLongNative operator|(const wxULongLongNative& ll) const > { return wxULongLongNative(m_ll | ll.m_ll); } > wxULongLongNative& operator|=(const wxULongLongNative& ll) > { m_ll |= ll.m_ll; return *this; } > > wxULongLongNative operator^(const wxULongLongNative& ll) const > { return wxULongLongNative(m_ll ^ ll.m_ll); } > wxULongLongNative& operator^=(const wxULongLongNative& ll) > { m_ll ^= ll.m_ll; return *this; } > > > wxULongLongNative operator*(const wxULongLongNative& ll) const > { return wxULongLongNative(m_ll * ll.m_ll); } > wxULongLongNative operator*(unsigned long l) const > { return wxULongLongNative(m_ll * l); } > wxULongLongNative& operator*=(const wxULongLongNative& ll) > { m_ll *= ll.m_ll; return *this; } > wxULongLongNative& operator*=(unsigned long l) > { m_ll *= l; return *this; } > > wxULongLongNative operator/(const wxULongLongNative& ll) const > { return wxULongLongNative(m_ll / ll.m_ll); } > wxULongLongNative operator/(unsigned long l) const > { return wxULongLongNative(m_ll / l); } > wxULongLongNative& operator/=(const wxULongLongNative& ll) > { m_ll /= ll.m_ll; return *this; } > wxULongLongNative& operator/=(unsigned long l) > { m_ll /= l; return *this; } > > wxULongLongNative operator%(const wxULongLongNative& ll) const > { return wxULongLongNative(m_ll % ll.m_ll); } > wxULongLongNative operator%(unsigned long l) const > { return wxULongLongNative(m_ll % l); } > > > bool operator==(const wxULongLongNative& ll) const > { return m_ll == ll.m_ll; } > bool operator==(unsigned long l) const > { return m_ll == l; } > bool operator!=(const wxULongLongNative& ll) const > { return m_ll != ll.m_ll; } > bool operator!=(unsigned long l) const > { return m_ll != l; } > bool operator<(const wxULongLongNative& ll) const > { return m_ll < ll.m_ll; } > bool operator<(unsigned long l) const > { return m_ll < l; } > bool operator>(const wxULongLongNative& ll) const > { return m_ll > ll.m_ll; } > bool operator>(unsigned long l) const > { return m_ll > l; } > bool operator<=(const wxULongLongNative& ll) const > { return m_ll <= ll.m_ll; } > bool operator<=(unsigned long l) const > { return m_ll <= l; } > bool operator>=(const wxULongLongNative& ll) const > { return m_ll >= ll.m_ll; } > bool operator>=(unsigned long l) const > { return m_ll >= l; } > > > > > wxString ToString() const; > > > void *asArray() const; > > > > friend > std:: ostream& operator<<(std:: ostream&, const wxULongLongNative&); > > > friend > wxString& operator<<(wxString&, const wxULongLongNative&); > > > friend > class wxTextOutputStream& operator<<(class wxTextOutputStream&, const wxULongLongNative&); > friend > class wxTextInputStream& operator>>(class wxTextInputStream&, wxULongLongNative&); > > >private: > unsigned long long m_ll; >}; > >inline >wxLongLongNative& wxLongLongNative::operator=(const wxULongLongNative &ll) >{ > m_ll = ll.GetValue(); > return *this; >} ># 1044 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" >inline bool operator<(long l, const wxLongLong& ll) { return ll > l; } >inline bool operator>(long l, const wxLongLong& ll) { return ll < l; } >inline bool operator<=(long l, const wxLongLong& ll) { return ll >= l; } >inline bool operator>=(long l, const wxLongLong& ll) { return ll <= l; } >inline bool operator==(long l, const wxLongLong& ll) { return ll == l; } >inline bool operator!=(long l, const wxLongLong& ll) { return ll != l; } > >inline wxLongLong operator+(long l, const wxLongLong& ll) { return ll + l; } >inline wxLongLong operator-(long l, const wxLongLong& ll) >{ > return wxLongLong(l) - ll; >} > >inline bool operator<(unsigned long l, const wxULongLong& ull) { return ull > l; } >inline bool operator>(unsigned long l, const wxULongLong& ull) { return ull < l; } >inline bool operator<=(unsigned long l, const wxULongLong& ull) { return ull >= l; } >inline bool operator>=(unsigned long l, const wxULongLong& ull) { return ull <= l; } >inline bool operator==(unsigned long l, const wxULongLong& ull) { return ull == l; } >inline bool operator!=(unsigned long l, const wxULongLong& ull) { return ull != l; } > >inline wxULongLong operator+(unsigned long l, const wxULongLong& ull) { return ull + l; } > >inline wxLongLong operator-(unsigned long l, const wxULongLong& ull) >{ > wxULongLong ret = wxULongLong(l) - ull; > return wxLongLong((wxInt32)ret.GetHi(),ret.GetLo()); >} > > > > class wxTextOutputStream &operator<<(class wxTextOutputStream &stream, unsigned long long value); > class wxTextOutputStream &operator<<(class wxTextOutputStream &stream, long long value); > > class wxTextInputStream &operator>>(class wxTextInputStream &stream, unsigned long long &value); > class wxTextInputStream &operator>>(class wxTextInputStream &stream, long long &value); ># 1094 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" ># 1 "/usr/include/c++/4.9.1/limits" 1 3 ># 40 "/usr/include/c++/4.9.1/limits" 3 ># 41 "/usr/include/c++/4.9.1/limits" 3 ># 147 "/usr/include/c++/4.9.1/limits" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > > > > > enum float_round_style > { > round_indeterminate = -1, > round_toward_zero = 0, > round_to_nearest = 1, > round_toward_infinity = 2, > round_toward_neg_infinity = 3 > }; > > > > > > > > enum float_denorm_style > { > > denorm_indeterminate = -1, > > denorm_absent = 0, > > denorm_present = 1 > }; ># 191 "/usr/include/c++/4.9.1/limits" 3 > struct __numeric_limits_base > { > > > static constexpr bool is_specialized = false; > > > > > static constexpr int digits = 0; > > > static constexpr int digits10 = 0; > > > > > static constexpr int max_digits10 = 0; > > > > static constexpr bool is_signed = false; > > > static constexpr bool is_integer = false; > > > > > static constexpr bool is_exact = false; > > > > static constexpr int radix = 0; > > > > static constexpr int min_exponent = 0; > > > > static constexpr int min_exponent10 = 0; > > > > > static constexpr int max_exponent = 0; > > > > static constexpr int max_exponent10 = 0; > > > static constexpr bool has_infinity = false; > > > > static constexpr bool has_quiet_NaN = false; > > > > static constexpr bool has_signaling_NaN = false; > > > static constexpr float_denorm_style has_denorm = denorm_absent; > > > > static constexpr bool has_denorm_loss = false; > > > > static constexpr bool is_iec559 = false; > > > > > static constexpr bool is_bounded = false; ># 277 "/usr/include/c++/4.9.1/limits" 3 > static constexpr bool is_modulo = false; > > > static constexpr bool traps = false; > > > static constexpr bool tinyness_before = false; > > > > > static constexpr float_round_style round_style = > round_toward_zero; > }; ># 303 "/usr/include/c++/4.9.1/limits" 3 > template<typename _Tp> > struct numeric_limits : public __numeric_limits_base > { > > > static constexpr _Tp > min() noexcept { return _Tp(); } > > > static constexpr _Tp > max() noexcept { return _Tp(); } > > > > > static constexpr _Tp > lowest() noexcept { return _Tp(); } > > > > > static constexpr _Tp > epsilon() noexcept { return _Tp(); } > > > static constexpr _Tp > round_error() noexcept { return _Tp(); } > > > static constexpr _Tp > infinity() noexcept { return _Tp(); } > > > > static constexpr _Tp > quiet_NaN() noexcept { return _Tp(); } > > > > static constexpr _Tp > signaling_NaN() noexcept { return _Tp(); } > > > > > static constexpr _Tp > denorm_min() noexcept { return _Tp(); } > }; > > > template<typename _Tp> > struct numeric_limits<const _Tp> > : public numeric_limits<_Tp> { }; > > template<typename _Tp> > struct numeric_limits<volatile _Tp> > : public numeric_limits<_Tp> { }; > > template<typename _Tp> > struct numeric_limits<const volatile _Tp> > : public numeric_limits<_Tp> { }; > > > > > > > template<> > struct numeric_limits<bool> > { > static constexpr bool is_specialized = true; > > static constexpr bool > min() noexcept { return false; } > > static constexpr bool > max() noexcept { return true; } > > > static constexpr bool > lowest() noexcept { return min(); } > > static constexpr int digits = 1; > static constexpr int digits10 = 0; > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = false; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr bool > epsilon() noexcept { return false; } > > static constexpr bool > round_error() noexcept { return false; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr bool > infinity() noexcept { return false; } > > static constexpr bool > quiet_NaN() noexcept { return false; } > > static constexpr bool > signaling_NaN() noexcept { return false; } > > static constexpr bool > denorm_min() noexcept { return false; } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = false; > > > > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<char> > { > static constexpr bool is_specialized = true; > > static constexpr char > min() noexcept { return (((char)(-1) < 0) ? -(((char)(-1) < 0) ? (((((char)1 << ((sizeof(char) * 8 - ((char)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char)0) - 1 : (char)0); } > > static constexpr char > max() noexcept { return (((char)(-1) < 0) ? (((((char)1 << ((sizeof(char) * 8 - ((char)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char)0); } > > > static constexpr char > lowest() noexcept { return min(); } > > > static constexpr int digits = (sizeof(char) * 8 - ((char)(-1) < 0)); > static constexpr int digits10 = ((sizeof(char) * 8 - ((char)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = ((char)(-1) < 0); > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr char > epsilon() noexcept { return 0; } > > static constexpr char > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr > char infinity() noexcept { return char(); } > > static constexpr char > quiet_NaN() noexcept { return char(); } > > static constexpr char > signaling_NaN() noexcept { return char(); } > > static constexpr char > denorm_min() noexcept { return static_cast<char>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = !is_signed; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<signed char> > { > static constexpr bool is_specialized = true; > > static constexpr signed char > min() noexcept { return -127 - 1; } > > static constexpr signed char > max() noexcept { return 127; } > > > static constexpr signed char > lowest() noexcept { return min(); } > > > static constexpr int digits = (sizeof(signed char) * 8 - ((signed char)(-1) < 0)); > static constexpr int digits10 > = ((sizeof(signed char) * 8 - ((signed char)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = true; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr signed char > epsilon() noexcept { return 0; } > > static constexpr signed char > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr signed char > infinity() noexcept { return static_cast<signed char>(0); } > > static constexpr signed char > quiet_NaN() noexcept { return static_cast<signed char>(0); } > > static constexpr signed char > signaling_NaN() noexcept > { return static_cast<signed char>(0); } > > static constexpr signed char > denorm_min() noexcept > { return static_cast<signed char>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = false; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<unsigned char> > { > static constexpr bool is_specialized = true; > > static constexpr unsigned char > min() noexcept { return 0; } > > static constexpr unsigned char > max() noexcept { return 127 * 2U + 1; } > > > static constexpr unsigned char > lowest() noexcept { return min(); } > > > static constexpr int digits > = (sizeof(unsigned char) * 8 - ((unsigned char)(-1) < 0)); > static constexpr int digits10 > = ((sizeof(unsigned char) * 8 - ((unsigned char)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = false; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr unsigned char > epsilon() noexcept { return 0; } > > static constexpr unsigned char > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr unsigned char > infinity() noexcept > { return static_cast<unsigned char>(0); } > > static constexpr unsigned char > quiet_NaN() noexcept > { return static_cast<unsigned char>(0); } > > static constexpr unsigned char > signaling_NaN() noexcept > { return static_cast<unsigned char>(0); } > > static constexpr unsigned char > denorm_min() noexcept > { return static_cast<unsigned char>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = true; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<wchar_t> > { > static constexpr bool is_specialized = true; > > static constexpr wchar_t > min() noexcept { return (((wchar_t)(-1) < 0) ? -(((wchar_t)(-1) < 0) ? (((((wchar_t)1 << ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(wchar_t)0) - 1 : (wchar_t)0); } > > static constexpr wchar_t > max() noexcept { return (((wchar_t)(-1) < 0) ? (((((wchar_t)1 << ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(wchar_t)0); } > > > static constexpr wchar_t > lowest() noexcept { return min(); } > > > static constexpr int digits = (sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)); > static constexpr int digits10 > = ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = ((wchar_t)(-1) < 0); > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr wchar_t > epsilon() noexcept { return 0; } > > static constexpr wchar_t > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr wchar_t > infinity() noexcept { return wchar_t(); } > > static constexpr wchar_t > quiet_NaN() noexcept { return wchar_t(); } > > static constexpr wchar_t > signaling_NaN() noexcept { return wchar_t(); } > > static constexpr wchar_t > denorm_min() noexcept { return wchar_t(); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = !is_signed; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > > template<> > struct numeric_limits<char16_t> > { > static constexpr bool is_specialized = true; > > static constexpr char16_t > min() noexcept { return (((char16_t)(-1) < 0) ? -(((char16_t)(-1) < 0) ? (((((char16_t)1 << ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char16_t)0) - 1 : (char16_t)0); } > > static constexpr char16_t > max() noexcept { return (((char16_t)(-1) < 0) ? (((((char16_t)1 << ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char16_t)0); } > > static constexpr char16_t > lowest() noexcept { return min(); } > > static constexpr int digits = (sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)); > static constexpr int digits10 = ((sizeof(char16_t) * 8 - ((char16_t)(-1) < 0)) * 643L / 2136); > static constexpr int max_digits10 = 0; > static constexpr bool is_signed = ((char16_t)(-1) < 0); > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr char16_t > epsilon() noexcept { return 0; } > > static constexpr char16_t > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr char16_t > infinity() noexcept { return char16_t(); } > > static constexpr char16_t > quiet_NaN() noexcept { return char16_t(); } > > static constexpr char16_t > signaling_NaN() noexcept { return char16_t(); } > > static constexpr char16_t > denorm_min() noexcept { return char16_t(); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = !is_signed; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style = round_toward_zero; > }; > > > template<> > struct numeric_limits<char32_t> > { > static constexpr bool is_specialized = true; > > static constexpr char32_t > min() noexcept { return (((char32_t)(-1) < 0) ? -(((char32_t)(-1) < 0) ? (((((char32_t)1 << ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char32_t)0) - 1 : (char32_t)0); } > > static constexpr char32_t > max() noexcept { return (((char32_t)(-1) < 0) ? (((((char32_t)1 << ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(char32_t)0); } > > static constexpr char32_t > lowest() noexcept { return min(); } > > static constexpr int digits = (sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)); > static constexpr int digits10 = ((sizeof(char32_t) * 8 - ((char32_t)(-1) < 0)) * 643L / 2136); > static constexpr int max_digits10 = 0; > static constexpr bool is_signed = ((char32_t)(-1) < 0); > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr char32_t > epsilon() noexcept { return 0; } > > static constexpr char32_t > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr char32_t > infinity() noexcept { return char32_t(); } > > static constexpr char32_t > quiet_NaN() noexcept { return char32_t(); } > > static constexpr char32_t > signaling_NaN() noexcept { return char32_t(); } > > static constexpr char32_t > denorm_min() noexcept { return char32_t(); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = !is_signed; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style = round_toward_zero; > }; > > > > template<> > struct numeric_limits<short> > { > static constexpr bool is_specialized = true; > > static constexpr short > min() noexcept { return -32767 - 1; } > > static constexpr short > max() noexcept { return 32767; } > > > static constexpr short > lowest() noexcept { return min(); } > > > static constexpr int digits = (sizeof(short) * 8 - ((short)(-1) < 0)); > static constexpr int digits10 = ((sizeof(short) * 8 - ((short)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = true; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr short > epsilon() noexcept { return 0; } > > static constexpr short > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr short > infinity() noexcept { return short(); } > > static constexpr short > quiet_NaN() noexcept { return short(); } > > static constexpr short > signaling_NaN() noexcept { return short(); } > > static constexpr short > denorm_min() noexcept { return short(); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = false; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<unsigned short> > { > static constexpr bool is_specialized = true; > > static constexpr unsigned short > min() noexcept { return 0; } > > static constexpr unsigned short > max() noexcept { return 32767 * 2U + 1; } > > > static constexpr unsigned short > lowest() noexcept { return min(); } > > > static constexpr int digits > = (sizeof(unsigned short) * 8 - ((unsigned short)(-1) < 0)); > static constexpr int digits10 > = ((sizeof(unsigned short) * 8 - ((unsigned short)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = false; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr unsigned short > epsilon() noexcept { return 0; } > > static constexpr unsigned short > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr unsigned short > infinity() noexcept > { return static_cast<unsigned short>(0); } > > static constexpr unsigned short > quiet_NaN() noexcept > { return static_cast<unsigned short>(0); } > > static constexpr unsigned short > signaling_NaN() noexcept > { return static_cast<unsigned short>(0); } > > static constexpr unsigned short > denorm_min() noexcept > { return static_cast<unsigned short>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = true; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<int> > { > static constexpr bool is_specialized = true; > > static constexpr int > min() noexcept { return -2147483647 - 1; } > > static constexpr int > max() noexcept { return 2147483647; } > > > static constexpr int > lowest() noexcept { return min(); } > > > static constexpr int digits = (sizeof(int) * 8 - ((int)(-1) < 0)); > static constexpr int digits10 = ((sizeof(int) * 8 - ((int)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = true; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr int > epsilon() noexcept { return 0; } > > static constexpr int > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr int > infinity() noexcept { return static_cast<int>(0); } > > static constexpr int > quiet_NaN() noexcept { return static_cast<int>(0); } > > static constexpr int > signaling_NaN() noexcept { return static_cast<int>(0); } > > static constexpr int > denorm_min() noexcept { return static_cast<int>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = false; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<unsigned int> > { > static constexpr bool is_specialized = true; > > static constexpr unsigned int > min() noexcept { return 0; } > > static constexpr unsigned int > max() noexcept { return 2147483647 * 2U + 1; } > > > static constexpr unsigned int > lowest() noexcept { return min(); } > > > static constexpr int digits > = (sizeof(unsigned int) * 8 - ((unsigned int)(-1) < 0)); > static constexpr int digits10 > = ((sizeof(unsigned int) * 8 - ((unsigned int)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = false; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr unsigned int > epsilon() noexcept { return 0; } > > static constexpr unsigned int > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr unsigned int > infinity() noexcept { return static_cast<unsigned int>(0); } > > static constexpr unsigned int > quiet_NaN() noexcept > { return static_cast<unsigned int>(0); } > > static constexpr unsigned int > signaling_NaN() noexcept > { return static_cast<unsigned int>(0); } > > static constexpr unsigned int > denorm_min() noexcept > { return static_cast<unsigned int>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = true; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<long> > { > static constexpr bool is_specialized = true; > > static constexpr long > min() noexcept { return -9223372036854775807L - 1; } > > static constexpr long > max() noexcept { return 9223372036854775807L; } > > > static constexpr long > lowest() noexcept { return min(); } > > > static constexpr int digits = (sizeof(long) * 8 - ((long)(-1) < 0)); > static constexpr int digits10 = ((sizeof(long) * 8 - ((long)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = true; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr long > epsilon() noexcept { return 0; } > > static constexpr long > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr long > infinity() noexcept { return static_cast<long>(0); } > > static constexpr long > quiet_NaN() noexcept { return static_cast<long>(0); } > > static constexpr long > signaling_NaN() noexcept { return static_cast<long>(0); } > > static constexpr long > denorm_min() noexcept { return static_cast<long>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = false; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<unsigned long> > { > static constexpr bool is_specialized = true; > > static constexpr unsigned long > min() noexcept { return 0; } > > static constexpr unsigned long > max() noexcept { return 9223372036854775807L * 2UL + 1; } > > > static constexpr unsigned long > lowest() noexcept { return min(); } > > > static constexpr int digits > = (sizeof(unsigned long) * 8 - ((unsigned long)(-1) < 0)); > static constexpr int digits10 > = ((sizeof(unsigned long) * 8 - ((unsigned long)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = false; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr unsigned long > epsilon() noexcept { return 0; } > > static constexpr unsigned long > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr unsigned long > infinity() noexcept > { return static_cast<unsigned long>(0); } > > static constexpr unsigned long > quiet_NaN() noexcept > { return static_cast<unsigned long>(0); } > > static constexpr unsigned long > signaling_NaN() noexcept > { return static_cast<unsigned long>(0); } > > static constexpr unsigned long > denorm_min() noexcept > { return static_cast<unsigned long>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = true; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<long long> > { > static constexpr bool is_specialized = true; > > static constexpr long long > min() noexcept { return -9223372036854775807LL - 1; } > > static constexpr long long > max() noexcept { return 9223372036854775807LL; } > > > static constexpr long long > lowest() noexcept { return min(); } > > > static constexpr int digits > = (sizeof(long long) * 8 - ((long long)(-1) < 0)); > static constexpr int digits10 > = ((sizeof(long long) * 8 - ((long long)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = true; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr long long > epsilon() noexcept { return 0; } > > static constexpr long long > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr long long > infinity() noexcept { return static_cast<long long>(0); } > > static constexpr long long > quiet_NaN() noexcept { return static_cast<long long>(0); } > > static constexpr long long > signaling_NaN() noexcept > { return static_cast<long long>(0); } > > static constexpr long long > denorm_min() noexcept { return static_cast<long long>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = false; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<unsigned long long> > { > static constexpr bool is_specialized = true; > > static constexpr unsigned long long > min() noexcept { return 0; } > > static constexpr unsigned long long > max() noexcept { return 9223372036854775807LL * 2ULL + 1; } > > > static constexpr unsigned long long > lowest() noexcept { return min(); } > > > static constexpr int digits > = (sizeof(unsigned long long) * 8 - ((unsigned long long)(-1) < 0)); > static constexpr int digits10 > = ((sizeof(unsigned long long) * 8 - ((unsigned long long)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = false; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr unsigned long long > epsilon() noexcept { return 0; } > > static constexpr unsigned long long > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr unsigned long long > infinity() noexcept > { return static_cast<unsigned long long>(0); } > > static constexpr unsigned long long > quiet_NaN() noexcept > { return static_cast<unsigned long long>(0); } > > static constexpr unsigned long long > signaling_NaN() noexcept > { return static_cast<unsigned long long>(0); } > > static constexpr unsigned long long > denorm_min() noexcept > { return static_cast<unsigned long long>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = true; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > > template<> > struct numeric_limits<__int128> > { > static constexpr bool is_specialized = true; > > static constexpr __int128 > min() noexcept { return (((__int128)(-1) < 0) ? -(((__int128)(-1) < 0) ? (((((__int128)1 << ((sizeof(__int128) * 8 - ((__int128)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(__int128)0) - 1 : (__int128)0); } > > static constexpr __int128 > max() noexcept { return (((__int128)(-1) < 0) ? (((((__int128)1 << ((sizeof(__int128) * 8 - ((__int128)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(__int128)0); } > > > static constexpr __int128 > lowest() noexcept { return min(); } > > > static constexpr int digits > = (sizeof(__int128) * 8 - ((__int128)(-1) < 0)); > static constexpr int digits10 > = ((sizeof(__int128) * 8 - ((__int128)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = true; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr __int128 > epsilon() noexcept { return 0; } > > static constexpr __int128 > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr __int128 > infinity() noexcept > { return static_cast<__int128>(0); } > > static constexpr __int128 > quiet_NaN() noexcept > { return static_cast<__int128>(0); } > > static constexpr __int128 > signaling_NaN() noexcept > { return static_cast<__int128>(0); } > > static constexpr __int128 > denorm_min() noexcept > { return static_cast<__int128>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = false; > > static constexpr bool traps > = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > template<> > struct numeric_limits<unsigned __int128> > { > static constexpr bool is_specialized = true; > > static constexpr unsigned __int128 > min() noexcept { return 0; } > > static constexpr unsigned __int128 > max() noexcept { return (((unsigned __int128)(-1) < 0) ? (((((unsigned __int128)1 << ((sizeof(unsigned __int128) * 8 - ((unsigned __int128)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(unsigned __int128)0); } > > > static constexpr unsigned __int128 > lowest() noexcept { return min(); } > > > static constexpr int digits > = (sizeof(unsigned __int128) * 8 - ((unsigned __int128)(-1) < 0)); > static constexpr int digits10 > = ((sizeof(unsigned __int128) * 8 - ((unsigned __int128)(-1) < 0)) * 643L / 2136); > > static constexpr int max_digits10 = 0; > > static constexpr bool is_signed = false; > static constexpr bool is_integer = true; > static constexpr bool is_exact = true; > static constexpr int radix = 2; > > static constexpr unsigned __int128 > epsilon() noexcept { return 0; } > > static constexpr unsigned __int128 > round_error() noexcept { return 0; } > > static constexpr int min_exponent = 0; > static constexpr int min_exponent10 = 0; > static constexpr int max_exponent = 0; > static constexpr int max_exponent10 = 0; > > static constexpr bool has_infinity = false; > static constexpr bool has_quiet_NaN = false; > static constexpr bool has_signaling_NaN = false; > static constexpr float_denorm_style has_denorm > = denorm_absent; > static constexpr bool has_denorm_loss = false; > > static constexpr unsigned __int128 > infinity() noexcept > { return static_cast<unsigned __int128>(0); } > > static constexpr unsigned __int128 > quiet_NaN() noexcept > { return static_cast<unsigned __int128>(0); } > > static constexpr unsigned __int128 > signaling_NaN() noexcept > { return static_cast<unsigned __int128>(0); } > > static constexpr unsigned __int128 > denorm_min() noexcept > { return static_cast<unsigned __int128>(0); } > > static constexpr bool is_iec559 = false; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = true; > > static constexpr bool traps = true; > static constexpr bool tinyness_before = false; > static constexpr float_round_style round_style > = round_toward_zero; > }; > > > > template<> > struct numeric_limits<float> > { > static constexpr bool is_specialized = true; > > static constexpr float > min() noexcept { return 1.17549435082228750797e-38F; } > > static constexpr float > max() noexcept { return 3.40282346638528859812e+38F; } > > > static constexpr float > lowest() noexcept { return -3.40282346638528859812e+38F; } > > > static constexpr int digits = 24; > static constexpr int digits10 = 6; > > static constexpr int max_digits10 > = (2 + (24) * 643L / 2136); > > static constexpr bool is_signed = true; > static constexpr bool is_integer = false; > static constexpr bool is_exact = false; > static constexpr int radix = 2; > > static constexpr float > epsilon() noexcept { return 1.19209289550781250000e-7F; } > > static constexpr float > round_error() noexcept { return 0.5F; } > > static constexpr int min_exponent = (-125); > static constexpr int min_exponent10 = (-37); > static constexpr int max_exponent = 128; > static constexpr int max_exponent10 = 38; > > static constexpr bool has_infinity = 1; > static constexpr bool has_quiet_NaN = 1; > static constexpr bool has_signaling_NaN = has_quiet_NaN; > static constexpr float_denorm_style has_denorm > = bool(1) ? denorm_present : denorm_absent; > static constexpr bool has_denorm_loss > = false; > > static constexpr float > infinity() noexcept { return __builtin_huge_valf(); } > > static constexpr float > quiet_NaN() noexcept { return __builtin_nanf(""); } > > static constexpr float > signaling_NaN() noexcept { return __builtin_nansf(""); } > > static constexpr float > denorm_min() noexcept { return 1.40129846432481707092e-45F; } > > static constexpr bool is_iec559 > = has_infinity && has_quiet_NaN && has_denorm == denorm_present; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = false; > > static constexpr bool traps = false; > static constexpr bool tinyness_before > = false; > static constexpr float_round_style round_style > = round_to_nearest; > }; > > > > > > > template<> > struct numeric_limits<double> > { > static constexpr bool is_specialized = true; > > static constexpr double > min() noexcept { return double(2.22507385850720138309e-308L); } > > static constexpr double > max() noexcept { return double(1.79769313486231570815e+308L); } > > > static constexpr double > lowest() noexcept { return -double(1.79769313486231570815e+308L); } > > > static constexpr int digits = 53; > static constexpr int digits10 = 15; > > static constexpr int max_digits10 > = (2 + (53) * 643L / 2136); > > static constexpr bool is_signed = true; > static constexpr bool is_integer = false; > static constexpr bool is_exact = false; > static constexpr int radix = 2; > > static constexpr double > epsilon() noexcept { return double(2.22044604925031308085e-16L); } > > static constexpr double > round_error() noexcept { return 0.5; } > > static constexpr int min_exponent = (-1021); > static constexpr int min_exponent10 = (-307); > static constexpr int max_exponent = 1024; > static constexpr int max_exponent10 = 308; > > static constexpr bool has_infinity = 1; > static constexpr bool has_quiet_NaN = 1; > static constexpr bool has_signaling_NaN = has_quiet_NaN; > static constexpr float_denorm_style has_denorm > = bool(1) ? denorm_present : denorm_absent; > static constexpr bool has_denorm_loss > = false; > > static constexpr double > infinity() noexcept { return __builtin_huge_val(); } > > static constexpr double > quiet_NaN() noexcept { return __builtin_nan(""); } > > static constexpr double > signaling_NaN() noexcept { return __builtin_nans(""); } > > static constexpr double > denorm_min() noexcept { return double(4.94065645841246544177e-324L); } > > static constexpr bool is_iec559 > = has_infinity && has_quiet_NaN && has_denorm == denorm_present; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = false; > > static constexpr bool traps = false; > static constexpr bool tinyness_before > = false; > static constexpr float_round_style round_style > = round_to_nearest; > }; > > > > > > > template<> > struct numeric_limits<long double> > { > static constexpr bool is_specialized = true; > > static constexpr long double > min() noexcept { return 3.36210314311209350626e-4932L; } > > static constexpr long double > max() noexcept { return 1.18973149535723176502e+4932L; } > > > static constexpr long double > lowest() noexcept { return -1.18973149535723176502e+4932L; } > > > static constexpr int digits = 64; > static constexpr int digits10 = 18; > > static constexpr int max_digits10 > = (2 + (64) * 643L / 2136); > > static constexpr bool is_signed = true; > static constexpr bool is_integer = false; > static constexpr bool is_exact = false; > static constexpr int radix = 2; > > static constexpr long double > epsilon() noexcept { return 1.08420217248550443401e-19L; } > > static constexpr long double > round_error() noexcept { return 0.5L; } > > static constexpr int min_exponent = (-16381); > static constexpr int min_exponent10 = (-4931); > static constexpr int max_exponent = 16384; > static constexpr int max_exponent10 = 4932; > > static constexpr bool has_infinity = 1; > static constexpr bool has_quiet_NaN = 1; > static constexpr bool has_signaling_NaN = has_quiet_NaN; > static constexpr float_denorm_style has_denorm > = bool(1) ? denorm_present : denorm_absent; > static constexpr bool has_denorm_loss > = false; > > static constexpr long double > infinity() noexcept { return __builtin_huge_vall(); } > > static constexpr long double > quiet_NaN() noexcept { return __builtin_nanl(""); } > > static constexpr long double > signaling_NaN() noexcept { return __builtin_nansl(""); } > > static constexpr long double > denorm_min() noexcept { return 3.64519953188247460253e-4951L; } > > static constexpr bool is_iec559 > = has_infinity && has_quiet_NaN && has_denorm == denorm_present; > static constexpr bool is_bounded = true; > static constexpr bool is_modulo = false; > > static constexpr bool traps = false; > static constexpr bool tinyness_before = > false; > static constexpr float_round_style round_style = > round_to_nearest; > }; > > > > > > >} ># 1095 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" 2 > >namespace std >{ > > > > > > > > template<> class numeric_limits<wxLongLong> : public numeric_limits<long long> {}; > template<> class numeric_limits<wxULongLong> : public numeric_limits<unsigned long long> {}; > > >} ># 1127 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h" >template<> >struct wxArgNormalizer<wxLongLong> >{ > wxArgNormalizer(wxLongLong value, > const wxFormatString *fmt, unsigned index) > : m_value(value) > { > do { if ( !fmt ) break; const int argtype = fmt->GetArgumentType(index); do { if ( wxTheAssertHandler && !((argtype & (wxFormatString::Arg_LongLongInt)) == argtype) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/longlong.h", 1134, __FUNCTION__, "(argtype & (wxFormatString::Arg_LongLongInt)) == argtype", "format specifier doesn't match argument type"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); } while ( (void)0, 0 ); > } > > long long get() const { return m_value.GetValue(); } > > wxLongLong m_value; >}; ># 24 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h" 2 > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" 1 ># 25 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/limits.h" 1 3 4 ># 26 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" 2 > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/anystr.h" 1 ># 29 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/anystr.h" >class wxAnyStrPtr >{ >public: > > > > > > wxAnyStrPtr() > : m_str(__null) > { > } > > > > wxAnyStrPtr(const wxString& str, const wxString::const_iterator& iter) > : m_str(&str), > m_iter(iter) > { > } ># 61 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/anystr.h" > operator bool() const { return m_str != __null; } > > > > bool operator!() const { return !((bool)*this); } > > > > > operator const char *() const > { > if ( !m_str ) > return __null; > > > > > > > > const char *p = m_str->c_str().AsChar(); > if ( *p ) > { > > > > > > > > p += strlen(wxString(m_str->begin(), m_iter).mb_str()); > } > > > return p; > } > > operator const wchar_t *() const > { > if ( !m_str ) > return __null; > > > > > > > > return m_str->c_str().AsWChar() + (m_iter - m_str->begin()); > } ># 129 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/anystr.h" >private: > > > const wxString * const m_str; > const wxString::const_iterator m_iter; > > private: wxAnyStrPtr& operator=(const wxAnyStrPtr&); >}; ># 29 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" 2 > >class wxDateTime; >class wxTimeSpan; >class wxDateSpan; > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h" 1 ># 68 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h" >extern "C" >{ >typedef int ( *CMPFUNC)(const void* pItem1, const void* pItem2); >} ># 837 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h" >typedef const void * _wxArraywxBaseArrayPtrVoid; class wxBaseArrayPtrVoid { typedef CMPFUNC SCMPFUNC; public: wxBaseArrayPtrVoid(); wxBaseArrayPtrVoid(const wxBaseArrayPtrVoid& array); wxBaseArrayPtrVoid& operator=(const wxBaseArrayPtrVoid& src); ~wxBaseArrayPtrVoid(); void Empty() { m_nCount = 0; } void Clear(); void Alloc(size_t n) { if ( n > m_nSize ) Realloc(n); } void Shrink(); size_t GetCount() const { return m_nCount; } void SetCount(size_t n, _wxArraywxBaseArrayPtrVoid defval = _wxArraywxBaseArrayPtrVoid()); bool IsEmpty() const { return m_nCount == 0; } size_t Count() const { return m_nCount; } typedef _wxArraywxBaseArrayPtrVoid base_type; protected: _wxArraywxBaseArrayPtrVoid& Item(size_t uiIndex) const { do { if ( wxTheAssertHandler && !(uiIndex < m_nCount) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h" ># 837 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h" > , > 838 ># 837 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h" > , __FUNCTION__, "uiIndex < m_nCount", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return m_pItems[uiIndex]; } _wxArraywxBaseArrayPtrVoid& operator[](size_t uiIndex) const { return Item(uiIndex); } int Index(_wxArraywxBaseArrayPtrVoid lItem, bool bFromEnd = false) const; int Index(_wxArraywxBaseArrayPtrVoid lItem, CMPFUNC fnCompare) const; size_t IndexForInsert(_wxArraywxBaseArrayPtrVoid lItem, CMPFUNC fnCompare) const; void Add(_wxArraywxBaseArrayPtrVoid lItem, size_t nInsert = 1); size_t Add(_wxArraywxBaseArrayPtrVoid lItem, CMPFUNC fnCompare); void Insert(_wxArraywxBaseArrayPtrVoid lItem, size_t uiIndex, size_t nInsert = 1); void Remove(_wxArraywxBaseArrayPtrVoid lItem); void RemoveAt(size_t uiIndex, size_t nRemove = 1); void Sort(CMPFUNC fnCompare); typedef _wxArraywxBaseArrayPtrVoid value_type; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef ptrdiff_t difference_type; typedef size_t size_type; void assign(const_iterator first, const_iterator last); void assign(size_type n, const_reference v); size_type capacity() const { return m_nSize; } iterator erase(iterator first, iterator last) { size_type idx = first - begin(); RemoveAt(idx, last - first); return begin() + idx; } iterator erase(iterator it) { return erase(it, it + 1); } void insert(iterator it, size_type n, const value_type& v) { Insert(v, it - begin(), n); } iterator insert(iterator it, const value_type& v = value_type()) { size_type idx = it - begin(); Insert(v, idx); return begin() + idx; } void insert(iterator it, const_iterator first, const_iterator last); void pop_back() { RemoveAt(size() - 1); } void push_back(const value_type& v) { Add(v); } void reserve(size_type n) { Alloc(n); } void resize(size_type count, value_type defval = value_type()) { if ( count < m_nCount ) m_nCount = count; else SetCount(count, defval); } iterator begin() { return m_pItems; } iterator end() { return m_pItems + m_nCount; } const_iterator begin() const { return m_pItems; } const_iterator end() const { return m_pItems + m_nCount; } void swap(wxBaseArrayPtrVoid& other) { wxSwap(m_nSize, other.m_nSize); wxSwap(m_nCount, other.m_nCount); wxSwap(m_pItems, other.m_pItems); } public: void clear() { Clear(); } bool empty() const { return IsEmpty(); } size_type max_size() const { return 2147483647; } size_type size() const { return GetCount(); } private: void Grow(size_t nIncrement = 0); bool Realloc(size_t nSize); size_t m_nSize, m_nCount; _wxArraywxBaseArrayPtrVoid *m_pItems; } > ; >typedef char _wxArraywxBaseArrayChar; class wxBaseArrayChar { typedef CMPFUNC SCMPFUNC; public: wxBaseArrayChar(); wxBaseArrayChar(const wxBaseArrayChar& array); wxBaseArrayChar& operator=(const wxBaseArrayChar& src); ~wxBaseArrayChar(); void Empty() { m_nCount = 0; } void Clear(); void Alloc(size_t n) { if ( n > m_nSize ) Realloc(n); } void Shrink(); size_t GetCount() const { return m_nCount; } void SetCount(size_t n, _wxArraywxBaseArrayChar defval = _wxArraywxBaseArrayChar()); bool IsEmpty() const { return m_nCount == 0; } size_t Count() const { return m_nCount; } typedef _wxArraywxBaseArrayChar base_type; protected: _wxArraywxBaseArrayChar& Item(size_t uiIndex) const { do { if ( wxTheAssertHandler && !(uiIndex < m_nCount) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h", 839, __FUNCTION__, "uiIndex < m_nCount", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return m_pItems[uiIndex]; } _wxArraywxBaseArrayChar& operator[](size_t uiIndex) const { return Item(uiIndex); } int Index(_wxArraywxBaseArrayChar lItem, bool bFromEnd = false) const; int Index(_wxArraywxBaseArrayChar lItem, CMPFUNC fnCompare) const; size_t IndexForInsert(_wxArraywxBaseArrayChar lItem, CMPFUNC fnCompare) const; void Add(_wxArraywxBaseArrayChar lItem, size_t nInsert = 1); size_t Add(_wxArraywxBaseArrayChar lItem, CMPFUNC fnCompare); void Insert(_wxArraywxBaseArrayChar lItem, size_t uiIndex, size_t nInsert = 1); void Remove(_wxArraywxBaseArrayChar lItem); void RemoveAt(size_t uiIndex, size_t nRemove = 1); void Sort(CMPFUNC fnCompare); typedef _wxArraywxBaseArrayChar value_type; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef ptrdiff_t difference_type; typedef size_t size_type; void assign(const_iterator first, const_iterator last); void assign(size_type n, const_reference v); size_type capacity() const { return m_nSize; } iterator erase(iterator first, iterator last) { size_type idx = first - begin(); RemoveAt(idx, last - first); return begin() + idx; } iterator erase(iterator it) { return erase(it, it + 1); } void insert(iterator it, size_type n, const value_type& v) { Insert(v, it - begin(), n); } iterator insert(iterator it, const value_type& v = value_type()) { size_type idx = it - begin(); Insert(v, idx); return begin() + idx; } void insert(iterator it, const_iterator first, const_iterator last); void pop_back() { RemoveAt(size() - 1); } void push_back(const value_type& v) { Add(v); } void reserve(size_type n) { Alloc(n); } void resize(size_type count, value_type defval = value_type()) { if ( count < m_nCount ) m_nCount = count; else SetCount(count, defval); } iterator begin() { return m_pItems; } iterator end() { return m_pItems + m_nCount; } const_iterator begin() const { return m_pItems; } const_iterator end() const { return m_pItems + m_nCount; } void swap(wxBaseArrayChar& other) { wxSwap(m_nSize, other.m_nSize); wxSwap(m_nCount, other.m_nCount); wxSwap(m_pItems, other.m_pItems); } public: void clear() { Clear(); } bool empty() const { return IsEmpty(); } size_type max_size() const { return 2147483647; } size_type size() const { return GetCount(); } private: void Grow(size_t nIncrement = 0); bool Realloc(size_t nSize); size_t m_nSize, m_nCount; _wxArraywxBaseArrayChar *m_pItems; }; >typedef short _wxArraywxBaseArrayShort; class wxBaseArrayShort { typedef CMPFUNC SCMPFUNC; public: wxBaseArrayShort(); wxBaseArrayShort(const wxBaseArrayShort& array); wxBaseArrayShort& operator=(const wxBaseArrayShort& src); ~wxBaseArrayShort(); void Empty() { m_nCount = 0; } void Clear(); void Alloc(size_t n) { if ( n > m_nSize ) Realloc(n); } void Shrink(); size_t GetCount() const { return m_nCount; } void SetCount(size_t n, _wxArraywxBaseArrayShort defval = _wxArraywxBaseArrayShort()); bool IsEmpty() const { return m_nCount == 0; } size_t Count() const { return m_nCount; } typedef _wxArraywxBaseArrayShort base_type; protected: _wxArraywxBaseArrayShort& Item(size_t uiIndex) const { do { if ( wxTheAssertHandler && !(uiIndex < m_nCount) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h", 840, __FUNCTION__, "uiIndex < m_nCount", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return m_pItems[uiIndex]; } _wxArraywxBaseArrayShort& operator[](size_t uiIndex) const { return Item(uiIndex); } int Index(_wxArraywxBaseArrayShort lItem, bool bFromEnd = false) const; int Index(_wxArraywxBaseArrayShort lItem, CMPFUNC fnCompare) const; size_t IndexForInsert(_wxArraywxBaseArrayShort lItem, CMPFUNC fnCompare) const; void Add(_wxArraywxBaseArrayShort lItem, size_t nInsert = 1); size_t Add(_wxArraywxBaseArrayShort lItem, CMPFUNC fnCompare); void Insert(_wxArraywxBaseArrayShort lItem, size_t uiIndex, size_t nInsert = 1); void Remove(_wxArraywxBaseArrayShort lItem); void RemoveAt(size_t uiIndex, size_t nRemove = 1); void Sort(CMPFUNC fnCompare); typedef _wxArraywxBaseArrayShort value_type; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef ptrdiff_t difference_type; typedef size_t size_type; void assign(const_iterator first, const_iterator last); void assign(size_type n, const_reference v); size_type capacity() const { return m_nSize; } iterator erase(iterator first, iterator last) { size_type idx = first - begin(); RemoveAt(idx, last - first); return begin() + idx; } iterator erase(iterator it) { return erase(it, it + 1); } void insert(iterator it, size_type n, const value_type& v) { Insert(v, it - begin(), n); } iterator insert(iterator it, const value_type& v = value_type()) { size_type idx = it - begin(); Insert(v, idx); return begin() + idx; } void insert(iterator it, const_iterator first, const_iterator last); void pop_back() { RemoveAt(size() - 1); } void push_back(const value_type& v) { Add(v); } void reserve(size_type n) { Alloc(n); } void resize(size_type count, value_type defval = value_type()) { if ( count < m_nCount ) m_nCount = count; else SetCount(count, defval); } iterator begin() { return m_pItems; } iterator end() { return m_pItems + m_nCount; } const_iterator begin() const { return m_pItems; } const_iterator end() const { return m_pItems + m_nCount; } void swap(wxBaseArrayShort& other) { wxSwap(m_nSize, other.m_nSize); wxSwap(m_nCount, other.m_nCount); wxSwap(m_pItems, other.m_pItems); } public: void clear() { Clear(); } bool empty() const { return IsEmpty(); } size_type max_size() const { return 2147483647; } size_type size() const { return GetCount(); } private: void Grow(size_t nIncrement = 0); bool Realloc(size_t nSize); size_t m_nSize, m_nCount; _wxArraywxBaseArrayShort *m_pItems; }; >typedef int _wxArraywxBaseArrayInt; class wxBaseArrayInt { typedef CMPFUNC SCMPFUNC; public: wxBaseArrayInt(); wxBaseArrayInt(const wxBaseArrayInt& array); wxBaseArrayInt& operator=(const wxBaseArrayInt& src); ~wxBaseArrayInt(); void Empty() { m_nCount = 0; } void Clear(); void Alloc(size_t n) { if ( n > m_nSize ) Realloc(n); } void Shrink(); size_t GetCount() const { return m_nCount; } void SetCount(size_t n, _wxArraywxBaseArrayInt defval = _wxArraywxBaseArrayInt()); bool IsEmpty() const { return m_nCount == 0; } size_t Count() const { return m_nCount; } typedef _wxArraywxBaseArrayInt base_type; protected: _wxArraywxBaseArrayInt& Item(size_t uiIndex) const { do { if ( wxTheAssertHandler && !(uiIndex < m_nCount) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h", 841, __FUNCTION__, "uiIndex < m_nCount", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return m_pItems[uiIndex]; } _wxArraywxBaseArrayInt& operator[](size_t uiIndex) const { return Item(uiIndex); } int Index(_wxArraywxBaseArrayInt lItem, bool bFromEnd = false) const; int Index(_wxArraywxBaseArrayInt lItem, CMPFUNC fnCompare) const; size_t IndexForInsert(_wxArraywxBaseArrayInt lItem, CMPFUNC fnCompare) const; void Add(_wxArraywxBaseArrayInt lItem, size_t nInsert = 1); size_t Add(_wxArraywxBaseArrayInt lItem, CMPFUNC fnCompare); void Insert(_wxArraywxBaseArrayInt lItem, size_t uiIndex, size_t nInsert = 1); void Remove(_wxArraywxBaseArrayInt lItem); void RemoveAt(size_t uiIndex, size_t nRemove = 1); void Sort(CMPFUNC fnCompare); typedef _wxArraywxBaseArrayInt value_type; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef ptrdiff_t difference_type; typedef size_t size_type; void assign(const_iterator first, const_iterator last); void assign(size_type n, const_reference v); size_type capacity() const { return m_nSize; } iterator erase(iterator first, iterator last) { size_type idx = first - begin(); RemoveAt(idx, last - first); return begin() + idx; } iterator erase(iterator it) { return erase(it, it + 1); } void insert(iterator it, size_type n, const value_type& v) { Insert(v, it - begin(), n); } iterator insert(iterator it, const value_type& v = value_type()) { size_type idx = it - begin(); Insert(v, idx); return begin() + idx; } void insert(iterator it, const_iterator first, const_iterator last); void pop_back() { RemoveAt(size() - 1); } void push_back(const value_type& v) { Add(v); } void reserve(size_type n) { Alloc(n); } void resize(size_type count, value_type defval = value_type()) { if ( count < m_nCount ) m_nCount = count; else SetCount(count, defval); } iterator begin() { return m_pItems; } iterator end() { return m_pItems + m_nCount; } const_iterator begin() const { return m_pItems; } const_iterator end() const { return m_pItems + m_nCount; } void swap(wxBaseArrayInt& other) { wxSwap(m_nSize, other.m_nSize); wxSwap(m_nCount, other.m_nCount); wxSwap(m_pItems, other.m_pItems); } public: void clear() { Clear(); } bool empty() const { return IsEmpty(); } size_type max_size() const { return 2147483647; } size_type size() const { return GetCount(); } private: void Grow(size_t nIncrement = 0); bool Realloc(size_t nSize); size_t m_nSize, m_nCount; _wxArraywxBaseArrayInt *m_pItems; }; >typedef long _wxArraywxBaseArrayLong; class wxBaseArrayLong { typedef CMPFUNC SCMPFUNC; public: wxBaseArrayLong(); wxBaseArrayLong(const wxBaseArrayLong& array); wxBaseArrayLong& operator=(const wxBaseArrayLong& src); ~wxBaseArrayLong(); void Empty() { m_nCount = 0; } void Clear(); void Alloc(size_t n) { if ( n > m_nSize ) Realloc(n); } void Shrink(); size_t GetCount() const { return m_nCount; } void SetCount(size_t n, _wxArraywxBaseArrayLong defval = _wxArraywxBaseArrayLong()); bool IsEmpty() const { return m_nCount == 0; } size_t Count() const { return m_nCount; } typedef _wxArraywxBaseArrayLong base_type; protected: _wxArraywxBaseArrayLong& Item(size_t uiIndex) const { do { if ( wxTheAssertHandler && !(uiIndex < m_nCount) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h", 842, __FUNCTION__, "uiIndex < m_nCount", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return m_pItems[uiIndex]; } _wxArraywxBaseArrayLong& operator[](size_t uiIndex) const { return Item(uiIndex); } int Index(_wxArraywxBaseArrayLong lItem, bool bFromEnd = false) const; int Index(_wxArraywxBaseArrayLong lItem, CMPFUNC fnCompare) const; size_t IndexForInsert(_wxArraywxBaseArrayLong lItem, CMPFUNC fnCompare) const; void Add(_wxArraywxBaseArrayLong lItem, size_t nInsert = 1); size_t Add(_wxArraywxBaseArrayLong lItem, CMPFUNC fnCompare); void Insert(_wxArraywxBaseArrayLong lItem, size_t uiIndex, size_t nInsert = 1); void Remove(_wxArraywxBaseArrayLong lItem); void RemoveAt(size_t uiIndex, size_t nRemove = 1); void Sort(CMPFUNC fnCompare); typedef _wxArraywxBaseArrayLong value_type; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef ptrdiff_t difference_type; typedef size_t size_type; void assign(const_iterator first, const_iterator last); void assign(size_type n, const_reference v); size_type capacity() const { return m_nSize; } iterator erase(iterator first, iterator last) { size_type idx = first - begin(); RemoveAt(idx, last - first); return begin() + idx; } iterator erase(iterator it) { return erase(it, it + 1); } void insert(iterator it, size_type n, const value_type& v) { Insert(v, it - begin(), n); } iterator insert(iterator it, const value_type& v = value_type()) { size_type idx = it - begin(); Insert(v, idx); return begin() + idx; } void insert(iterator it, const_iterator first, const_iterator last); void pop_back() { RemoveAt(size() - 1); } void push_back(const value_type& v) { Add(v); } void reserve(size_type n) { Alloc(n); } void resize(size_type count, value_type defval = value_type()) { if ( count < m_nCount ) m_nCount = count; else SetCount(count, defval); } iterator begin() { return m_pItems; } iterator end() { return m_pItems + m_nCount; } const_iterator begin() const { return m_pItems; } const_iterator end() const { return m_pItems + m_nCount; } void swap(wxBaseArrayLong& other) { wxSwap(m_nSize, other.m_nSize); wxSwap(m_nCount, other.m_nCount); wxSwap(m_pItems, other.m_pItems); } public: void clear() { Clear(); } bool empty() const { return IsEmpty(); } size_type max_size() const { return 2147483647; } size_type size() const { return GetCount(); } private: void Grow(size_t nIncrement = 0); bool Realloc(size_t nSize); size_t m_nSize, m_nCount; _wxArraywxBaseArrayLong *m_pItems; }; >typedef size_t _wxArraywxBaseArraySizeT; class wxBaseArraySizeT { typedef CMPFUNC SCMPFUNC; public: wxBaseArraySizeT(); wxBaseArraySizeT(const wxBaseArraySizeT& array); wxBaseArraySizeT& operator=(const wxBaseArraySizeT& src); ~wxBaseArraySizeT(); void Empty() { m_nCount = 0; } void Clear(); void Alloc(size_t n) { if ( n > m_nSize ) Realloc(n); } void Shrink(); size_t GetCount() const { return m_nCount; } void SetCount(size_t n, _wxArraywxBaseArraySizeT defval = _wxArraywxBaseArraySizeT()); bool IsEmpty() const { return m_nCount == 0; } size_t Count() const { return m_nCount; } typedef _wxArraywxBaseArraySizeT base_type; protected: _wxArraywxBaseArraySizeT& Item(size_t uiIndex) const { do { if ( wxTheAssertHandler && !(uiIndex < m_nCount) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h", 843, __FUNCTION__, "uiIndex < m_nCount", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return m_pItems[uiIndex]; } _wxArraywxBaseArraySizeT& operator[](size_t uiIndex) const { return Item(uiIndex); } int Index(_wxArraywxBaseArraySizeT lItem, bool bFromEnd = false) const; int Index(_wxArraywxBaseArraySizeT lItem, CMPFUNC fnCompare) const; size_t IndexForInsert(_wxArraywxBaseArraySizeT lItem, CMPFUNC fnCompare) const; void Add(_wxArraywxBaseArraySizeT lItem, size_t nInsert = 1); size_t Add(_wxArraywxBaseArraySizeT lItem, CMPFUNC fnCompare); void Insert(_wxArraywxBaseArraySizeT lItem, size_t uiIndex, size_t nInsert = 1); void Remove(_wxArraywxBaseArraySizeT lItem); void RemoveAt(size_t uiIndex, size_t nRemove = 1); void Sort(CMPFUNC fnCompare); typedef _wxArraywxBaseArraySizeT value_type; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef ptrdiff_t difference_type; typedef size_t size_type; void assign(const_iterator first, const_iterator last); void assign(size_type n, const_reference v); size_type capacity() const { return m_nSize; } iterator erase(iterator first, iterator last) { size_type idx = first - begin(); RemoveAt(idx, last - first); return begin() + idx; } iterator erase(iterator it) { return erase(it, it + 1); } void insert(iterator it, size_type n, const value_type& v) { Insert(v, it - begin(), n); } iterator insert(iterator it, const value_type& v = value_type()) { size_type idx = it - begin(); Insert(v, idx); return begin() + idx; } void insert(iterator it, const_iterator first, const_iterator last); void pop_back() { RemoveAt(size() - 1); } void push_back(const value_type& v) { Add(v); } void reserve(size_type n) { Alloc(n); } void resize(size_type count, value_type defval = value_type()) { if ( count < m_nCount ) m_nCount = count; else SetCount(count, defval); } iterator begin() { return m_pItems; } iterator end() { return m_pItems + m_nCount; } const_iterator begin() const { return m_pItems; } const_iterator end() const { return m_pItems + m_nCount; } void swap(wxBaseArraySizeT& other) { wxSwap(m_nSize, other.m_nSize); wxSwap(m_nCount, other.m_nCount); wxSwap(m_pItems, other.m_pItems); } public: void clear() { Clear(); } bool empty() const { return IsEmpty(); } size_type max_size() const { return 2147483647; } size_type size() const { return GetCount(); } private: void Grow(size_t nIncrement = 0); bool Realloc(size_t nSize); size_t m_nSize, m_nCount; _wxArraywxBaseArraySizeT *m_pItems; }; >typedef double _wxArraywxBaseArrayDouble; class wxBaseArrayDouble { typedef CMPFUNC SCMPFUNC; public: wxBaseArrayDouble(); wxBaseArrayDouble(const wxBaseArrayDouble& array); wxBaseArrayDouble& operator=(const wxBaseArrayDouble& src); ~wxBaseArrayDouble(); void Empty() { m_nCount = 0; } void Clear(); void Alloc(size_t n) { if ( n > m_nSize ) Realloc(n); } void Shrink(); size_t GetCount() const { return m_nCount; } void SetCount(size_t n, _wxArraywxBaseArrayDouble defval = _wxArraywxBaseArrayDouble()); bool IsEmpty() const { return m_nCount == 0; } size_t Count() const { return m_nCount; } typedef _wxArraywxBaseArrayDouble base_type; protected: _wxArraywxBaseArrayDouble& Item(size_t uiIndex) const { do { if ( wxTheAssertHandler && !(uiIndex < m_nCount) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h", 844, __FUNCTION__, "uiIndex < m_nCount", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return m_pItems[uiIndex]; } _wxArraywxBaseArrayDouble& operator[](size_t uiIndex) const { return Item(uiIndex); } int Index(_wxArraywxBaseArrayDouble lItem, bool bFromEnd = false) const; int Index(_wxArraywxBaseArrayDouble lItem, CMPFUNC fnCompare) const; size_t IndexForInsert(_wxArraywxBaseArrayDouble lItem, CMPFUNC fnCompare) const; void Add(_wxArraywxBaseArrayDouble lItem, size_t nInsert = 1); size_t Add(_wxArraywxBaseArrayDouble lItem, CMPFUNC fnCompare); void Insert(_wxArraywxBaseArrayDouble lItem, size_t uiIndex, size_t nInsert = 1); void Remove(_wxArraywxBaseArrayDouble lItem); void RemoveAt(size_t uiIndex, size_t nRemove = 1); void Sort(CMPFUNC fnCompare); typedef _wxArraywxBaseArrayDouble value_type; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef ptrdiff_t difference_type; typedef size_t size_type; void assign(const_iterator first, const_iterator last); void assign(size_type n, const_reference v); size_type capacity() const { return m_nSize; } iterator erase(iterator first, iterator last) { size_type idx = first - begin(); RemoveAt(idx, last - first); return begin() + idx; } iterator erase(iterator it) { return erase(it, it + 1); } void insert(iterator it, size_type n, const value_type& v) { Insert(v, it - begin(), n); } iterator insert(iterator it, const value_type& v = value_type()) { size_type idx = it - begin(); Insert(v, idx); return begin() + idx; } void insert(iterator it, const_iterator first, const_iterator last); void pop_back() { RemoveAt(size() - 1); } void push_back(const value_type& v) { Add(v); } void reserve(size_type n) { Alloc(n); } void resize(size_type count, value_type defval = value_type()) { if ( count < m_nCount ) m_nCount = count; else SetCount(count, defval); } iterator begin() { return m_pItems; } iterator end() { return m_pItems + m_nCount; } const_iterator begin() const { return m_pItems; } const_iterator end() const { return m_pItems + m_nCount; } void swap(wxBaseArrayDouble& other) { wxSwap(m_nSize, other.m_nSize); wxSwap(m_nCount, other.m_nCount); wxSwap(m_pItems, other.m_pItems); } public: void clear() { Clear(); } bool empty() const { return IsEmpty(); } size_type max_size() const { return 2147483647; } size_type size() const { return GetCount(); } private: void Grow(size_t nIncrement = 0); bool Realloc(size_t nSize); size_t m_nSize, m_nCount; _wxArraywxBaseArrayDouble *m_pItems; }; ># 1021 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h" >typedef short _wxArraywxArrayShort; struct wxAssert_wxArrayShort { unsigned int TypeTooBigToBeStoredInwxBaseArrayShort: sizeof(_wxArraywxArrayShort) <= sizeof(wxBaseArrayShort::base_type); }; typedef int ( *CMPFUNC_wxArraywxArrayShort)(_wxArraywxArrayShort *pItem1, _wxArraywxArrayShort *pItem2); class wxArrayShort : public wxBaseArrayShort { public: wxArrayShort() { } ~wxArrayShort() { } _wxArraywxArrayShort& operator[](size_t uiIndex) const { return (_wxArraywxArrayShort&)(wxBaseArrayShort::operator[](uiIndex)); } _wxArraywxArrayShort& Item(size_t uiIndex) const { return (_wxArraywxArrayShort&)(wxBaseArrayShort::operator[](uiIndex)); } _wxArraywxArrayShort& Last() const { return (_wxArraywxArrayShort&)(wxBaseArrayShort::operator[](GetCount() - 1)); } int Index(_wxArraywxArrayShort lItem, bool bFromEnd = false) const { return wxBaseArrayShort::Index((base_type)lItem, bFromEnd); } void Add(_wxArraywxArrayShort lItem, size_t nInsert = 1) { wxBaseArrayShort::Add((base_type)lItem, nInsert); } void Insert(_wxArraywxArrayShort lItem, size_t uiIndex, size_t nInsert = 1) { wxBaseArrayShort::Insert((base_type)lItem, uiIndex, nInsert) ; } void RemoveAt(size_t uiIndex, size_t nRemove = 1) { wxBaseArrayShort::RemoveAt(uiIndex, nRemove); } void Remove(_wxArraywxArrayShort lItem) { int iIndex = Index(lItem); if ( iIndex != (-1) ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h", 1021, __FUNCTION__, "iIndex != (-1)", "removing inexistent element in wxArray::Remove"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; wxBaseArrayShort::RemoveAt((size_t)iIndex); } void Sort(CMPFUNC_wxArraywxArrayShort fCmp) { wxBaseArrayShort::Sort((CMPFUNC)fCmp); } private: typedef wxBaseArrayShort::iterator biterator; typedef wxBaseArrayShort::const_iterator bconst_iterator; typedef wxBaseArrayShort::value_type bvalue_type; typedef wxBaseArrayShort::const_reference bconst_reference; public: typedef _wxArraywxArrayShort value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef wxBaseArrayShort::difference_type difference_type; typedef wxBaseArrayShort::size_type size_type; class reverse_iterator { typedef _wxArraywxArrayShort value_type; typedef value_type& reference; typedef value_type* pointer; typedef reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; reverse_iterator() : m_ptr(__null) { } reverse_iterator(pointer ptr) : m_ptr(ptr) { } reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { reverse_iterator tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; class const_reverse_iterator { typedef _wxArraywxArrayShort value_type; typedef const value_type& reference; typedef const value_type* pointer; typedef const_reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; const_reverse_iterator() : m_ptr(__null) { } const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } const_reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { itor tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; wxArrayShort(size_type n) { assign(n, value_type()); } wxArrayShort(size_type n, const_reference v) { assign(n, v); } wxArrayShort(const_iterator first, const_iterator last) { assign(first, last); } void assign(const_iterator first, const_iterator last) { wxBaseArrayShort::assign((bconst_iterator)first, (bconst_iterator)last); } void assign(size_type n, const_reference v) { wxBaseArrayShort::assign(n, (bconst_reference)v); } reference back() { return *(end() - 1); } const_reference back() const { return *(end() - 1); } iterator begin() { return (iterator)wxBaseArrayShort::begin(); } const_iterator begin() const { return (const_iterator)wxBaseArrayShort::begin(); } size_type capacity() const { return wxBaseArrayShort::capacity(); } iterator end() { return (iterator)wxBaseArrayShort::end(); } const_iterator end() const { return (const_iterator)wxBaseArrayShort::end(); } iterator erase(iterator first, iterator last) { return (iterator)wxBaseArrayShort::erase((biterator)first, (biterator)last); } iterator erase(iterator it) { return (iterator)wxBaseArrayShort::erase((biterator)it); } reference front() { return *begin(); } const_reference front() const { return *begin(); } void insert(iterator it, size_type n, const_reference v) { wxBaseArrayShort::insert((biterator)it, n, (bconst_reference)v); } iterator insert(iterator it, const_reference v = value_type()) { return (iterator)wxBaseArrayShort::insert((biterator)it, (bconst_reference)v); } void insert(iterator it, const_iterator first, const_iterator last) { wxBaseArrayShort::insert((biterator)it, (bconst_iterator)first, (bconst_iterator)last); } void pop_back() { wxBaseArrayShort::pop_back(); } void push_back(const_reference v) { wxBaseArrayShort::push_back((bconst_reference)v); } reverse_iterator rbegin() { return reverse_iterator(end() - 1); } const_reverse_iterator rbegin() const; reverse_iterator rend() { return reverse_iterator(begin() - 1); } const_reverse_iterator rend() const; void reserve(size_type n) { wxBaseArrayShort::reserve(n); } void resize(size_type n, value_type v = value_type()) { wxBaseArrayShort::resize(n, v); } void swap(wxArrayShort& other) { wxBaseArrayShort::swap(other); } }; >typedef int _wxArraywxArrayInt; struct wxAssert_wxArrayInt { unsigned int TypeTooBigToBeStoredInwxBaseArrayInt: sizeof(_wxArraywxArrayInt) <= sizeof(wxBaseArrayInt::base_type); }; typedef int ( *CMPFUNC_wxArraywxArrayInt)(_wxArraywxArrayInt *pItem1, _wxArraywxArrayInt *pItem2); class wxArrayInt : public wxBaseArrayInt { public: wxArrayInt() { } ~wxArrayInt() { } _wxArraywxArrayInt& operator[](size_t uiIndex) const { return (_wxArraywxArrayInt&)(wxBaseArrayInt::operator[](uiIndex)); } _wxArraywxArrayInt& Item(size_t uiIndex) const { return (_wxArraywxArrayInt&)(wxBaseArrayInt::operator[](uiIndex)); } _wxArraywxArrayInt& Last() const { return (_wxArraywxArrayInt&)(wxBaseArrayInt::operator[](GetCount() - 1)); } int Index(_wxArraywxArrayInt lItem, bool bFromEnd = false) const { return wxBaseArrayInt::Index((base_type)lItem, bFromEnd); } void Add(_wxArraywxArrayInt lItem, size_t nInsert = 1) { wxBaseArrayInt::Add((base_type)lItem, nInsert); } void Insert(_wxArraywxArrayInt lItem, size_t uiIndex, size_t nInsert = 1) { wxBaseArrayInt::Insert((base_type)lItem, uiIndex, nInsert) ; } void RemoveAt(size_t uiIndex, size_t nRemove = 1) { wxBaseArrayInt::RemoveAt(uiIndex, nRemove); } void Remove(_wxArraywxArrayInt lItem) { int iIndex = Index(lItem); if ( iIndex != (-1) ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h", 1022, __FUNCTION__, "iIndex != (-1)", "removing inexistent element in wxArray::Remove"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; wxBaseArrayInt::RemoveAt((size_t)iIndex); } void Sort(CMPFUNC_wxArraywxArrayInt fCmp) { wxBaseArrayInt::Sort((CMPFUNC)fCmp); } private: typedef wxBaseArrayInt::iterator biterator; typedef wxBaseArrayInt::const_iterator bconst_iterator; typedef wxBaseArrayInt::value_type bvalue_type; typedef wxBaseArrayInt::const_reference bconst_reference; public: typedef _wxArraywxArrayInt value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef wxBaseArrayInt::difference_type difference_type; typedef wxBaseArrayInt::size_type size_type; class reverse_iterator { typedef _wxArraywxArrayInt value_type; typedef value_type& reference; typedef value_type* pointer; typedef reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; reverse_iterator() : m_ptr(__null) { } reverse_iterator(pointer ptr) : m_ptr(ptr) { } reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { reverse_iterator tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; class const_reverse_iterator { typedef _wxArraywxArrayInt value_type; typedef const value_type& reference; typedef const value_type* pointer; typedef const_reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; const_reverse_iterator() : m_ptr(__null) { } const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } const_reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { itor tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; wxArrayInt(size_type n) { assign(n, value_type()); } wxArrayInt(size_type n, const_reference v) { assign(n, v); } wxArrayInt(const_iterator first, const_iterator last) { assign(first, last); } void assign(const_iterator first, const_iterator last) { wxBaseArrayInt::assign((bconst_iterator)first, (bconst_iterator)last); } void assign(size_type n, const_reference v) { wxBaseArrayInt::assign(n, (bconst_reference)v); } reference back() { return *(end() - 1); } const_reference back() const { return *(end() - 1); } iterator begin() { return (iterator)wxBaseArrayInt::begin(); } const_iterator begin() const { return (const_iterator)wxBaseArrayInt::begin(); } size_type capacity() const { return wxBaseArrayInt::capacity(); } iterator end() { return (iterator)wxBaseArrayInt::end(); } const_iterator end() const { return (const_iterator)wxBaseArrayInt::end(); } iterator erase(iterator first, iterator last) { return (iterator)wxBaseArrayInt::erase((biterator)first, (biterator)last); } iterator erase(iterator it) { return (iterator)wxBaseArrayInt::erase((biterator)it); } reference front() { return *begin(); } const_reference front() const { return *begin(); } void insert(iterator it, size_type n, const_reference v) { wxBaseArrayInt::insert((biterator)it, n, (bconst_reference)v); } iterator insert(iterator it, const_reference v = value_type()) { return (iterator)wxBaseArrayInt::insert((biterator)it, (bconst_reference)v); } void insert(iterator it, const_iterator first, const_iterator last) { wxBaseArrayInt::insert((biterator)it, (bconst_iterator)first, (bconst_iterator)last); } void pop_back() { wxBaseArrayInt::pop_back(); } void push_back(const_reference v) { wxBaseArrayInt::push_back((bconst_reference)v); } reverse_iterator rbegin() { return reverse_iterator(end() - 1); } const_reverse_iterator rbegin() const; reverse_iterator rend() { return reverse_iterator(begin() - 1); } const_reverse_iterator rend() const; void reserve(size_type n) { wxBaseArrayInt::reserve(n); } void resize(size_type n, value_type v = value_type()) { wxBaseArrayInt::resize(n, v); } void swap(wxArrayInt& other) { wxBaseArrayInt::swap(other); } }; >typedef double _wxArraywxArrayDouble; struct wxAssert_wxArrayDouble { unsigned int TypeTooBigToBeStoredInwxBaseArrayDouble: sizeof(_wxArraywxArrayDouble) <= sizeof(wxBaseArrayDouble::base_type); }; typedef int ( *CMPFUNC_wxArraywxArrayDouble)(_wxArraywxArrayDouble *pItem1, _wxArraywxArrayDouble *pItem2); class wxArrayDouble : public wxBaseArrayDouble { public: wxArrayDouble() { } ~wxArrayDouble() { } _wxArraywxArrayDouble& operator[](size_t uiIndex) const { return (_wxArraywxArrayDouble&)(wxBaseArrayDouble::operator[](uiIndex)); } _wxArraywxArrayDouble& Item(size_t uiIndex) const { return (_wxArraywxArrayDouble&)(wxBaseArrayDouble::operator[](uiIndex)); } _wxArraywxArrayDouble& Last() const { return (_wxArraywxArrayDouble&)(wxBaseArrayDouble::operator[](GetCount() - 1)); } int Index(_wxArraywxArrayDouble lItem, bool bFromEnd = false) const { return wxBaseArrayDouble::Index((base_type)lItem, bFromEnd); } void Add(_wxArraywxArrayDouble lItem, size_t nInsert = 1) { wxBaseArrayDouble::Add((base_type)lItem, nInsert); } void Insert(_wxArraywxArrayDouble lItem, size_t uiIndex, size_t nInsert = 1) { wxBaseArrayDouble::Insert((base_type)lItem, uiIndex, nInsert) ; } void RemoveAt(size_t uiIndex, size_t nRemove = 1) { wxBaseArrayDouble::RemoveAt(uiIndex, nRemove); } void Remove(_wxArraywxArrayDouble lItem) { int iIndex = Index(lItem); if ( iIndex != (-1) ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h", 1023, __FUNCTION__, "iIndex != (-1)", "removing inexistent element in wxArray::Remove"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; wxBaseArrayDouble::RemoveAt((size_t)iIndex); } void Sort(CMPFUNC_wxArraywxArrayDouble fCmp) { wxBaseArrayDouble::Sort((CMPFUNC)fCmp); } private: typedef wxBaseArrayDouble::iterator biterator; typedef wxBaseArrayDouble::const_iterator bconst_iterator; typedef wxBaseArrayDouble::value_type bvalue_type; typedef wxBaseArrayDouble::const_reference bconst_reference; public: typedef _wxArraywxArrayDouble value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef wxBaseArrayDouble::difference_type difference_type; typedef wxBaseArrayDouble::size_type size_type; class reverse_iterator { typedef _wxArraywxArrayDouble value_type; typedef value_type& reference; typedef value_type* pointer; typedef reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; reverse_iterator() : m_ptr(__null) { } reverse_iterator(pointer ptr) : m_ptr(ptr) { } reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { reverse_iterator tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; class const_reverse_iterator { typedef _wxArraywxArrayDouble value_type; typedef const value_type& reference; typedef const value_type* pointer; typedef const_reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; const_reverse_iterator() : m_ptr(__null) { } const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } const_reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { itor tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; wxArrayDouble(size_type n) { assign(n, value_type()); } wxArrayDouble(size_type n, const_reference v) { assign(n, v); } wxArrayDouble(const_iterator first, const_iterator last) { assign(first, last); } void assign(const_iterator first, const_iterator last) { wxBaseArrayDouble::assign((bconst_iterator)first, (bconst_iterator)last); } void assign(size_type n, const_reference v) { wxBaseArrayDouble::assign(n, (bconst_reference)v); } reference back() { return *(end() - 1); } const_reference back() const { return *(end() - 1); } iterator begin() { return (iterator)wxBaseArrayDouble::begin(); } const_iterator begin() const { return (const_iterator)wxBaseArrayDouble::begin(); } size_type capacity() const { return wxBaseArrayDouble::capacity(); } iterator end() { return (iterator)wxBaseArrayDouble::end(); } const_iterator end() const { return (const_iterator)wxBaseArrayDouble::end(); } iterator erase(iterator first, iterator last) { return (iterator)wxBaseArrayDouble::erase((biterator)first, (biterator)last); } iterator erase(iterator it) { return (iterator)wxBaseArrayDouble::erase((biterator)it); } reference front() { return *begin(); } const_reference front() const { return *begin(); } void insert(iterator it, size_type n, const_reference v) { wxBaseArrayDouble::insert((biterator)it, n, (bconst_reference)v); } iterator insert(iterator it, const_reference v = value_type()) { return (iterator)wxBaseArrayDouble::insert((biterator)it, (bconst_reference)v); } void insert(iterator it, const_iterator first, const_iterator last) { wxBaseArrayDouble::insert((biterator)it, (bconst_iterator)first, (bconst_iterator)last); } void pop_back() { wxBaseArrayDouble::pop_back(); } void push_back(const_reference v) { wxBaseArrayDouble::push_back((bconst_reference)v); } reverse_iterator rbegin() { return reverse_iterator(end() - 1); } const_reverse_iterator rbegin() const; reverse_iterator rend() { return reverse_iterator(begin() - 1); } const_reverse_iterator rend() const; void reserve(size_type n) { wxBaseArrayDouble::reserve(n); } void resize(size_type n, value_type v = value_type()) { wxBaseArrayDouble::resize(n, v); } void swap(wxArrayDouble& other) { wxBaseArrayDouble::swap(other); } }; >typedef long _wxArraywxArrayLong; struct wxAssert_wxArrayLong { unsigned int TypeTooBigToBeStoredInwxBaseArrayLong: sizeof(_wxArraywxArrayLong) <= sizeof(wxBaseArrayLong::base_type); }; typedef int ( *CMPFUNC_wxArraywxArrayLong)(_wxArraywxArrayLong *pItem1, _wxArraywxArrayLong *pItem2); class wxArrayLong : public wxBaseArrayLong { public: wxArrayLong() { } ~wxArrayLong() { } _wxArraywxArrayLong& operator[](size_t uiIndex) const { return (_wxArraywxArrayLong&)(wxBaseArrayLong::operator[](uiIndex)); } _wxArraywxArrayLong& Item(size_t uiIndex) const { return (_wxArraywxArrayLong&)(wxBaseArrayLong::operator[](uiIndex)); } _wxArraywxArrayLong& Last() const { return (_wxArraywxArrayLong&)(wxBaseArrayLong::operator[](GetCount() - 1)); } int Index(_wxArraywxArrayLong lItem, bool bFromEnd = false) const { return wxBaseArrayLong::Index((base_type)lItem, bFromEnd); } void Add(_wxArraywxArrayLong lItem, size_t nInsert = 1) { wxBaseArrayLong::Add((base_type)lItem, nInsert); } void Insert(_wxArraywxArrayLong lItem, size_t uiIndex, size_t nInsert = 1) { wxBaseArrayLong::Insert((base_type)lItem, uiIndex, nInsert) ; } void RemoveAt(size_t uiIndex, size_t nRemove = 1) { wxBaseArrayLong::RemoveAt(uiIndex, nRemove); } void Remove(_wxArraywxArrayLong lItem) { int iIndex = Index(lItem); if ( iIndex != (-1) ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h", 1024, __FUNCTION__, "iIndex != (-1)", "removing inexistent element in wxArray::Remove"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; wxBaseArrayLong::RemoveAt((size_t)iIndex); } void Sort(CMPFUNC_wxArraywxArrayLong fCmp) { wxBaseArrayLong::Sort((CMPFUNC)fCmp); } private: typedef wxBaseArrayLong::iterator biterator; typedef wxBaseArrayLong::const_iterator bconst_iterator; typedef wxBaseArrayLong::value_type bvalue_type; typedef wxBaseArrayLong::const_reference bconst_reference; public: typedef _wxArraywxArrayLong value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef wxBaseArrayLong::difference_type difference_type; typedef wxBaseArrayLong::size_type size_type; class reverse_iterator { typedef _wxArraywxArrayLong value_type; typedef value_type& reference; typedef value_type* pointer; typedef reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; reverse_iterator() : m_ptr(__null) { } reverse_iterator(pointer ptr) : m_ptr(ptr) { } reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { reverse_iterator tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; class const_reverse_iterator { typedef _wxArraywxArrayLong value_type; typedef const value_type& reference; typedef const value_type* pointer; typedef const_reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; const_reverse_iterator() : m_ptr(__null) { } const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } const_reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { itor tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; wxArrayLong(size_type n) { assign(n, value_type()); } wxArrayLong(size_type n, const_reference v) { assign(n, v); } wxArrayLong(const_iterator first, const_iterator last) { assign(first, last); } void assign(const_iterator first, const_iterator last) { wxBaseArrayLong::assign((bconst_iterator)first, (bconst_iterator)last); } void assign(size_type n, const_reference v) { wxBaseArrayLong::assign(n, (bconst_reference)v); } reference back() { return *(end() - 1); } const_reference back() const { return *(end() - 1); } iterator begin() { return (iterator)wxBaseArrayLong::begin(); } const_iterator begin() const { return (const_iterator)wxBaseArrayLong::begin(); } size_type capacity() const { return wxBaseArrayLong::capacity(); } iterator end() { return (iterator)wxBaseArrayLong::end(); } const_iterator end() const { return (const_iterator)wxBaseArrayLong::end(); } iterator erase(iterator first, iterator last) { return (iterator)wxBaseArrayLong::erase((biterator)first, (biterator)last); } iterator erase(iterator it) { return (iterator)wxBaseArrayLong::erase((biterator)it); } reference front() { return *begin(); } const_reference front() const { return *begin(); } void insert(iterator it, size_type n, const_reference v) { wxBaseArrayLong::insert((biterator)it, n, (bconst_reference)v); } iterator insert(iterator it, const_reference v = value_type()) { return (iterator)wxBaseArrayLong::insert((biterator)it, (bconst_reference)v); } void insert(iterator it, const_iterator first, const_iterator last) { wxBaseArrayLong::insert((biterator)it, (bconst_iterator)first, (bconst_iterator)last); } void pop_back() { wxBaseArrayLong::pop_back(); } void push_back(const_reference v) { wxBaseArrayLong::push_back((bconst_reference)v); } reverse_iterator rbegin() { return reverse_iterator(end() - 1); } const_reverse_iterator rbegin() const; reverse_iterator rend() { return reverse_iterator(begin() - 1); } const_reverse_iterator rend() const; void reserve(size_type n) { wxBaseArrayLong::reserve(n); } void resize(size_type n, value_type v = value_type()) { wxBaseArrayLong::resize(n, v); } void swap(wxArrayLong& other) { wxBaseArrayLong::swap(other); } }; >typedef void * _wxArraywxArrayPtrVoid; struct wxAssert_wxArrayPtrVoid { unsigned int TypeTooBigToBeStoredInwxBaseArrayPtrVoid: sizeof(_wxArraywxArrayPtrVoid) <= sizeof(wxBaseArrayPtrVoid::base_type); }; typedef int ( *CMPFUNC_wxArraywxArrayPtrVoid)(_wxArraywxArrayPtrVoid *pItem1, _wxArraywxArrayPtrVoid *pItem2); class wxArrayPtrVoid : public wxBaseArrayPtrVoid { public: wxArrayPtrVoid() { } ~wxArrayPtrVoid() { } _wxArraywxArrayPtrVoid& operator[](size_t uiIndex) const { return (_wxArraywxArrayPtrVoid&)(wxBaseArrayPtrVoid::operator[](uiIndex)); } _wxArraywxArrayPtrVoid& Item(size_t uiIndex) const { return (_wxArraywxArrayPtrVoid&)(wxBaseArrayPtrVoid::operator[](uiIndex)); } _wxArraywxArrayPtrVoid& Last() const { return (_wxArraywxArrayPtrVoid&)(wxBaseArrayPtrVoid::operator[](GetCount() - 1)); } int Index(_wxArraywxArrayPtrVoid lItem, bool bFromEnd = false) const { return wxBaseArrayPtrVoid::Index((base_type)lItem, bFromEnd); } void Add(_wxArraywxArrayPtrVoid lItem, size_t nInsert = 1) { wxBaseArrayPtrVoid::Add((base_type)lItem, nInsert); } void Insert(_wxArraywxArrayPtrVoid lItem, size_t uiIndex, size_t nInsert = 1) { wxBaseArrayPtrVoid::Insert((base_type)lItem, uiIndex, nInsert) ; } void RemoveAt(size_t uiIndex, size_t nRemove = 1) { wxBaseArrayPtrVoid::RemoveAt(uiIndex, nRemove); } void Remove(_wxArraywxArrayPtrVoid lItem) { int iIndex = Index(lItem); if ( iIndex != (-1) ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/dynarray.h", 1025, __FUNCTION__, "iIndex != (-1)", "removing inexistent element in wxArray::Remove"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; wxBaseArrayPtrVoid::RemoveAt((size_t)iIndex); } void Sort(CMPFUNC_wxArraywxArrayPtrVoid fCmp) { wxBaseArrayPtrVoid::Sort((CMPFUNC)fCmp); } private: typedef wxBaseArrayPtrVoid::iterator biterator; typedef wxBaseArrayPtrVoid::const_iterator bconst_iterator; typedef wxBaseArrayPtrVoid::value_type bvalue_type; typedef wxBaseArrayPtrVoid::const_reference bconst_reference; public: typedef _wxArraywxArrayPtrVoid value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef wxBaseArrayPtrVoid::difference_type difference_type; typedef wxBaseArrayPtrVoid::size_type size_type; class reverse_iterator { typedef _wxArraywxArrayPtrVoid value_type; typedef value_type& reference; typedef value_type* pointer; typedef reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; reverse_iterator() : m_ptr(__null) { } reverse_iterator(pointer ptr) : m_ptr(ptr) { } reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { reverse_iterator tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; class const_reverse_iterator { typedef _wxArraywxArrayPtrVoid value_type; typedef const value_type& reference; typedef const value_type* pointer; typedef const_reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; const_reverse_iterator() : m_ptr(__null) { } const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } const_reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { itor tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; wxArrayPtrVoid(size_type n) { assign(n, value_type()); } wxArrayPtrVoid(size_type n, const_reference v) { assign(n, v); } wxArrayPtrVoid(const_iterator first, const_iterator last) { assign(first, last); } void assign(const_iterator first, const_iterator last) { wxBaseArrayPtrVoid::assign((bconst_iterator)first, (bconst_iterator)last); } void assign(size_type n, const_reference v) { wxBaseArrayPtrVoid::assign(n, (bconst_reference)v); } reference back() { return *(end() - 1); } const_reference back() const { return *(end() - 1); } iterator begin() { return (iterator)wxBaseArrayPtrVoid::begin(); } const_iterator begin() const { return (const_iterator)wxBaseArrayPtrVoid::begin(); } size_type capacity() const { return wxBaseArrayPtrVoid::capacity(); } iterator end() { return (iterator)wxBaseArrayPtrVoid::end(); } const_iterator end() const { return (const_iterator)wxBaseArrayPtrVoid::end(); } iterator erase(iterator first, iterator last) { return (iterator)wxBaseArrayPtrVoid::erase((biterator)first, (biterator)last); } iterator erase(iterator it) { return (iterator)wxBaseArrayPtrVoid::erase((biterator)it); } reference front() { return *begin(); } const_reference front() const { return *begin(); } void insert(iterator it, size_type n, const_reference v) { wxBaseArrayPtrVoid::insert((biterator)it, n, (bconst_reference)v); } iterator insert(iterator it, const_reference v = value_type()) { return (iterator)wxBaseArrayPtrVoid::insert((biterator)it, (bconst_reference)v); } void insert(iterator it, const_iterator first, const_iterator last) { wxBaseArrayPtrVoid::insert((biterator)it, (bconst_iterator)first, (bconst_iterator)last); } void pop_back() { wxBaseArrayPtrVoid::pop_back(); } void push_back(const_reference v) { wxBaseArrayPtrVoid::push_back((bconst_reference)v); } reverse_iterator rbegin() { return reverse_iterator(end() - 1); } const_reverse_iterator rbegin() const; reverse_iterator rend() { return reverse_iterator(begin() - 1); } const_reverse_iterator rend() const; void reserve(size_type n) { wxBaseArrayPtrVoid::reserve(n); } void resize(size_type n, value_type v = value_type()) { wxBaseArrayPtrVoid::resize(n, v); } void swap(wxArrayPtrVoid& other) { wxBaseArrayPtrVoid::swap(other); } }; ># 38 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" 2 ># 107 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" >class wxDateTime; > >extern const char wxDefaultDateTimeFormat[]; >extern const char wxDefaultTimeSpanFormat[]; >extern const wxDateTime wxDefaultDateTime; ># 132 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" >class wxDateTime >{ >public: ># 143 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > typedef unsigned short wxDateTime_t; > > > > > > enum TZ > { > > Local, > > > > > > > GMT_12, GMT_11, GMT_10, GMT_9, GMT_8, GMT_7, > GMT_6, GMT_5, GMT_4, GMT_3, GMT_2, GMT_1, > GMT0, > GMT1, GMT2, GMT3, GMT4, GMT5, GMT6, > GMT7, GMT8, GMT9, GMT10, GMT11, GMT12, GMT13, > > > > > > > WET = GMT0, > WEST = GMT1, > CET = GMT1, > CEST = GMT2, > EET = GMT2, > EEST = GMT3, > MSK = GMT3, > MSD = GMT4, > > > AST = GMT_4, > ADT = GMT_3, > EST = GMT_5, > EDT = GMT_4, > CST = GMT_6, > CDT = GMT_5, > MST = GMT_7, > MDT = GMT_6, > PST = GMT_8, > PDT = GMT_7, > HST = GMT_10, > AKST = GMT_9, > AKDT = GMT_8, > > > > A_WST = GMT8, > A_CST = GMT13 + 1, > A_EST = GMT10, > A_ESST = GMT11, > > > NZST = GMT12, > NZDT = GMT13, > > > > > > UTC = GMT0 > }; > > > > > > enum Calendar > { > Gregorian, > Julian > > > }; ># 235 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > enum Country > { > Country_Unknown, > Country_Default, > > > > > > > > Country_WesternEurope_Start, > Country_EEC = Country_WesternEurope_Start, > France, > Germany, > UK, > Country_WesternEurope_End = UK, > > Russia, > USA > }; > > enum Month > { > Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, Inv_Month > }; > > > enum WeekDay > { > Sun, Mon, Tue, Wed, Thu, Fri, Sat, Inv_WeekDay > }; > > > enum Year > { > Inv_Year = (-32767 - 1) > }; > > > enum NameFlags > { > Name_Full = 0x01, > Name_Abbr = 0x02 > }; > > > enum WeekFlags > { > Default_First, > Monday_First, > Sunday_First > }; > > > > > > > class TimeZone > { > public: > TimeZone(TZ tz); > > > TimeZone(long offset = 0) { m_offset = offset; } > > static TimeZone Make(long offset) > { > TimeZone tz; > tz.m_offset = offset; > return tz; > } > > long GetOffset() const { return m_offset; } > > private: > > long m_offset; > }; ># 323 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > struct Tm > { > wxDateTime_t msec, sec, min, hour, > mday, > yday; > Month mon; > int year; > > > Tm(); > > > Tm(const struct tm& tm, const TimeZone& tz); > > > bool IsValid() const; > > > WeekDay GetWeekDay() > { > if ( wday == Inv_WeekDay ) > ComputeWeekDay(); > > return (WeekDay)wday; > } > > > void AddMonths(int monDiff); > > > void AddDays(int dayDiff); > > private: > > void ComputeWeekDay(); > > > TimeZone m_tz; > > > > > wxDateTime_t wday; > }; > > > > > > static void SetCountry(Country country); > > static Country GetCountry(); > > > > static bool IsWestEuropeanCountry(Country country = Country_Default); > > > static int GetCurrentYear(Calendar cal = Gregorian); > > > > > > static int ConvertYearToBC(int year); > > > static Month GetCurrentMonth(Calendar cal = Gregorian); > > > static bool IsLeapYear(int year = Inv_Year, Calendar cal = Gregorian); > > > static int GetCentury(int year); > > > > static wxDateTime_t GetNumberOfDays(int year, Calendar cal = Gregorian); > > > > static wxDateTime_t GetNumberOfDays(Month month, > int year = Inv_Year, > Calendar cal = Gregorian); > > > > > static wxString GetMonthName(Month month, > NameFlags flags = Name_Full); > > > static wxString GetEnglishMonthName(Month month, > NameFlags flags = Name_Full); > > > > static wxString GetWeekDayName(WeekDay weekday, > NameFlags flags = Name_Full); > > > static wxString GetEnglishWeekDayName(WeekDay weekday, > NameFlags flags = Name_Full); > > > static void GetAmPmStrings(wxString *am, wxString *pm); > > > static bool IsDSTApplicable(int year = Inv_Year, > Country country = Country_Default); > > > > > static wxDateTime GetBeginDST(int year = Inv_Year, > Country country = Country_Default); > > > > static wxDateTime GetEndDST(int year = Inv_Year, > Country country = Country_Default); > > > static inline wxDateTime Now(); > > > > static wxDateTime UNow(); > > > > static inline wxDateTime Today(); > > > > > > > > wxDateTime() { m_time = wxLongLong((-2147483647 - 1), 0); } > > > > > inline wxDateTime(time_t timet); > > > inline wxDateTime(const struct tm& tm); > > inline wxDateTime(const Tm& tm); > > > inline wxDateTime(double jdn); > > > inline wxDateTime(wxDateTime_t hour, > wxDateTime_t minute = 0, > wxDateTime_t second = 0, > wxDateTime_t millisec = 0); > > inline wxDateTime(wxDateTime_t day, > Month month, > int year = Inv_Year, > wxDateTime_t hour = 0, > wxDateTime_t minute = 0, > wxDateTime_t second = 0, > wxDateTime_t millisec = 0); ># 507 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > inline wxDateTime& SetToCurrent(); > > > > > inline wxDateTime& Set(time_t timet); > > > > wxDateTime& Set(const struct tm& tm); > > > inline wxDateTime& Set(const Tm& tm); > > > wxDateTime& Set(double jdn); > > > wxDateTime& Set(wxDateTime_t hour, > wxDateTime_t minute = 0, > wxDateTime_t second = 0, > wxDateTime_t millisec = 0); > > > > wxDateTime& Set(wxDateTime_t day, > Month month, > int year = Inv_Year, > wxDateTime_t hour = 0, > wxDateTime_t minute = 0, > wxDateTime_t second = 0, > wxDateTime_t millisec = 0); > > > wxDateTime& ResetTime(); > > > > wxDateTime GetDateOnly() const; > > > > > > wxDateTime& SetYear(int year); > > wxDateTime& SetMonth(Month month); > > wxDateTime& SetDay(wxDateTime_t day); > > wxDateTime& SetHour(wxDateTime_t hour); > > wxDateTime& SetMinute(wxDateTime_t minute); > > wxDateTime& SetSecond(wxDateTime_t second); > > wxDateTime& SetMillisecond(wxDateTime_t millisecond); > > > wxDateTime& operator=(time_t timet) { return Set(timet); } > > > wxDateTime& operator=(const struct tm& tm) { return Set(tm); } > > > wxDateTime& operator=(const Tm& tm) { return Set(tm); } ># 582 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > wxDateTime& SetToWeekDayInSameWeek(WeekDay weekday, > WeekFlags flags = Monday_First); > inline wxDateTime GetWeekDayInSameWeek(WeekDay weekday, > WeekFlags flags = Monday_First) const; > > > wxDateTime& SetToNextWeekDay(WeekDay weekday); > inline wxDateTime GetNextWeekDay(WeekDay weekday) const; > > > wxDateTime& SetToPrevWeekDay(WeekDay weekday); > inline wxDateTime GetPrevWeekDay(WeekDay weekday) const; > > > > > > bool SetToWeekDay(WeekDay weekday, > int n = 1, > Month month = Inv_Month, > int year = Inv_Year); > inline wxDateTime GetWeekDay(WeekDay weekday, > int n = 1, > Month month = Inv_Month, > int year = Inv_Year) const; > > > inline bool SetToLastWeekDay(WeekDay weekday, > Month month = Inv_Month, > int year = Inv_Year); > inline wxDateTime GetLastWeekDay(WeekDay weekday, > Month month = Inv_Month, > int year = Inv_Year); ># 633 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > static wxDateTime SetToWeekOfYear(int year, > wxDateTime_t numWeek, > WeekDay weekday = Mon); > > > > wxDateTime& SetToLastMonthDay(Month month = Inv_Month, > int year = Inv_Year); > inline wxDateTime GetLastMonthDay(Month month = Inv_Month, > int year = Inv_Year) const; > > > wxDateTime& SetToYearDay(wxDateTime_t yday); > inline wxDateTime GetYearDay(wxDateTime_t yday) const; ># 672 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > double GetJulianDayNumber() const; > double GetJDN() const { return GetJulianDayNumber(); } > > > > > double GetModifiedJulianDayNumber() const { return GetJDN() - 2400000.5; } > double GetMJD() const { return GetModifiedJulianDayNumber(); } > > > double GetRataDie() const; ># 701 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > inline wxDateTime ToTimezone(const TimeZone& tz, bool noDST = false) const; > wxDateTime& MakeTimezone(const TimeZone& tz, bool noDST = false); > > > > inline wxDateTime FromTimezone(const TimeZone& tz, bool noDST = false) const; > wxDateTime& MakeFromTimezone(const TimeZone& tz, bool noDST = false); > > > wxDateTime ToUTC(bool noDST = false) const { return ToTimezone(UTC, noDST); } > wxDateTime& MakeUTC(bool noDST = false) { return MakeTimezone(UTC, noDST); } > > wxDateTime ToGMT(bool noDST = false) const { return ToUTC(noDST); } > wxDateTime& MakeGMT(bool noDST = false) { return MakeUTC(noDST); } > > wxDateTime FromUTC(bool noDST = false) const > { return FromTimezone(UTC, noDST); } > wxDateTime& MakeFromUTC(bool noDST = false) > { return MakeFromTimezone(UTC, noDST); } > > > > > > > int IsDST(Country country = Country_Default) const; ># 737 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > inline bool IsValid() const { return m_time != wxDefaultDateTime.m_time; } > > > > > > > Tm GetTm(const TimeZone& tz = Local) const; > > > > inline time_t GetTicks() const; > > > int GetCentury(const TimeZone& tz = Local) const > { return GetCentury(GetYear(tz)); } > > int GetYear(const TimeZone& tz = Local) const > { return GetTm(tz).year; } > > Month GetMonth(const TimeZone& tz = Local) const > { return (Month)GetTm(tz).mon; } > > wxDateTime_t GetDay(const TimeZone& tz = Local) const > { return GetTm(tz).mday; } > > WeekDay GetWeekDay(const TimeZone& tz = Local) const > { return GetTm(tz).GetWeekDay(); } > > wxDateTime_t GetHour(const TimeZone& tz = Local) const > { return GetTm(tz).hour; } > > wxDateTime_t GetMinute(const TimeZone& tz = Local) const > { return GetTm(tz).min; } > > wxDateTime_t GetSecond(const TimeZone& tz = Local) const > { return GetTm(tz).sec; } > > wxDateTime_t GetMillisecond(const TimeZone& tz = Local) const > { return GetTm(tz).msec; } > > > wxDateTime_t GetDayOfYear(const TimeZone& tz = Local) const; > > > wxDateTime_t GetWeekOfYear(WeekFlags flags = Monday_First, > const TimeZone& tz = Local) const; > > > wxDateTime_t GetWeekOfMonth(WeekFlags flags = Monday_First, > const TimeZone& tz = Local) const; > > > > bool IsWorkDay(Country country = Country_Default) const; > > > > > > wxDateTime& SetFromDOS(unsigned long ddt); > > > unsigned long GetAsDOS() const; ># 820 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > inline bool IsEqualTo(const wxDateTime& datetime) const; > > > inline bool IsEarlierThan(const wxDateTime& datetime) const; > > > inline bool IsLaterThan(const wxDateTime& datetime) const; > > > inline bool IsStrictlyBetween(const wxDateTime& t1, > const wxDateTime& t2) const; > > > inline bool IsBetween(const wxDateTime& t1, const wxDateTime& t2) const; > > > inline bool IsSameDate(const wxDateTime& dt) const; > > > inline bool IsSameTime(const wxDateTime& dt) const; > > > inline bool IsEqualUpTo(const wxDateTime& dt, const wxTimeSpan& ts) const; > > inline bool operator<(const wxDateTime& dt) const > { > do { if ( wxTheAssertHandler && !(IsValid() && dt.IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 846, __FUNCTION__, "IsValid() && dt.IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return GetValue() < dt.GetValue(); > } > > inline bool operator<=(const wxDateTime& dt) const > { > do { if ( wxTheAssertHandler && !(IsValid() && dt.IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 852, __FUNCTION__, "IsValid() && dt.IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return GetValue() <= dt.GetValue(); > } > > inline bool operator>(const wxDateTime& dt) const > { > do { if ( wxTheAssertHandler && !(IsValid() && dt.IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 858, __FUNCTION__, "IsValid() && dt.IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return GetValue() > dt.GetValue(); > } > > inline bool operator>=(const wxDateTime& dt) const > { > do { if ( wxTheAssertHandler && !(IsValid() && dt.IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 864, __FUNCTION__, "IsValid() && dt.IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return GetValue() >= dt.GetValue(); > } > > inline bool operator==(const wxDateTime& dt) const > { > do { if ( wxTheAssertHandler && !(IsValid() && dt.IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 870, __FUNCTION__, "IsValid() && dt.IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return GetValue() == dt.GetValue(); > } > > inline bool operator!=(const wxDateTime& dt) const > { > do { if ( wxTheAssertHandler && !(IsValid() && dt.IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 876, __FUNCTION__, "IsValid() && dt.IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return GetValue() != dt.GetValue(); > } > > > > > > inline wxDateTime Add(const wxTimeSpan& diff) const; > > inline wxDateTime& Add(const wxTimeSpan& diff); > > inline wxDateTime& operator+=(const wxTimeSpan& diff); > inline wxDateTime operator+(const wxTimeSpan& ts) const > { > wxDateTime dt(*this); > dt.Add(ts); > return dt; > } > > > inline wxDateTime Subtract(const wxTimeSpan& diff) const; > > inline wxDateTime& Subtract(const wxTimeSpan& diff); > > inline wxDateTime& operator-=(const wxTimeSpan& diff); > inline wxDateTime operator-(const wxTimeSpan& ts) const > { > wxDateTime dt(*this); > dt.Subtract(ts); > return dt; > } > > > inline wxDateTime Add(const wxDateSpan& diff) const; > > wxDateTime& Add(const wxDateSpan& diff); > > inline wxDateTime& operator+=(const wxDateSpan& diff); > inline wxDateTime operator+(const wxDateSpan& ds) const > { > wxDateTime dt(*this); > dt.Add(ds); > return dt; > } > > > inline wxDateTime Subtract(const wxDateSpan& diff) const; > > inline wxDateTime& Subtract(const wxDateSpan& diff); > > inline wxDateTime& operator-=(const wxDateSpan& diff); > inline wxDateTime operator-(const wxDateSpan& ds) const > { > wxDateTime dt(*this); > dt.Subtract(ds); > return dt; > } > > > inline wxTimeSpan Subtract(const wxDateTime& dt) const; > inline wxTimeSpan operator-(const wxDateTime& dt2) const; > > wxDateSpan DiffAsDateSpan(const wxDateTime& dt) const; ># 952 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > bool ParseRfc822Date(const wxString& date, > wxString::const_iterator *end); > > > > > > bool ParseFormat(const wxString& date, > const wxString& format, > const wxDateTime& dateDef, > wxString::const_iterator *end); > > bool ParseFormat(const wxString& date, > const wxString& format, > wxString::const_iterator *end) > { > return ParseFormat(date, format, wxDefaultDateTime, end); > } > > bool ParseFormat(const wxString& date, > wxString::const_iterator *end) > { > return ParseFormat(date, wxDefaultDateTimeFormat, wxDefaultDateTime, end); > } > > > > > > bool ParseISODate(const wxString& date) > { > wxString::const_iterator end; > return ParseFormat(date, "%Y-%m-%d", &end) && end == date.end(); > } > > bool ParseISOTime(const wxString& time) > { > wxString::const_iterator end; > return ParseFormat(time, "%H:%M:%S", &end) && end == time.end(); > } > > bool ParseISOCombined(const wxString& datetime, char sep = 'T') > { > wxString::const_iterator end; > const wxString fmt = "%Y-%m-%d" + wxString(sep) + "%H:%M:%S"; > return ParseFormat(datetime, fmt, &end) && end == datetime.end(); > } > > > > bool ParseDateTime(const wxString& datetime, > wxString::const_iterator *end); > > > > bool ParseDate(const wxString& date, > wxString::const_iterator *end); > > > bool ParseTime(const wxString& time, > wxString::const_iterator *end); > > > > > > > wxString Format(const wxString& format = wxDefaultDateTimeFormat, > const TimeZone& tz = Local) const; > > wxString FormatDate() const { return Format("%x"); } > > wxString FormatTime() const { return Format("%X"); } > > > wxString FormatISODate() const { return Format("%Y-%m-%d"); } > > > wxString FormatISOTime() const { return Format("%H:%M:%S"); } > > > > wxString FormatISOCombined(char sep = 'T') const > { return FormatISODate() + sep + FormatISOTime(); } ># 1046 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > wxAnyStrPtr ParseRfc822Date(const wxString& date) > { > wxString::const_iterator end; > return ParseRfc822Date(date, &end) ? wxAnyStrPtr(date, end) > : wxAnyStrPtr(); > } > > wxAnyStrPtr ParseFormat(const wxString& date, > const wxString& format = wxDefaultDateTimeFormat, > const wxDateTime& dateDef = wxDefaultDateTime) > { > wxString::const_iterator end; > return ParseFormat(date, format, dateDef, &end) ? wxAnyStrPtr(date, end) > : wxAnyStrPtr(); > } > > wxAnyStrPtr ParseDateTime(const wxString& datetime) > { > wxString::const_iterator end; > return ParseDateTime(datetime, &end) ? wxAnyStrPtr(datetime, end) > : wxAnyStrPtr(); > } > > wxAnyStrPtr ParseDate(const wxString& date) > { > wxString::const_iterator end; > return ParseDate(date, &end) ? wxAnyStrPtr(date, end) > : wxAnyStrPtr(); > } > > wxAnyStrPtr ParseTime(const wxString& time) > { > wxString::const_iterator end; > return ParseTime(time, &end) ? wxAnyStrPtr(time, end) > : wxAnyStrPtr(); > } ># 1097 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > void ParseRfc822Date(const wxCStrData& date) > { ParseRfc822Date(wxString(date)); } > const char* ParseRfc822Date(const char* date); > const wchar_t* ParseRfc822Date(const wchar_t* date); > > void ParseFormat(const wxCStrData& date, > const wxString& format = wxDefaultDateTimeFormat, > const wxDateTime& dateDef = wxDefaultDateTime) > { ParseFormat(wxString(date), format, dateDef); } > const char* ParseFormat(const char* date, > const wxString& format = wxDefaultDateTimeFormat, > const wxDateTime& dateDef = wxDefaultDateTime); > const wchar_t* ParseFormat(const wchar_t* date, > const wxString& format = wxDefaultDateTimeFormat, > const wxDateTime& dateDef = wxDefaultDateTime); > > void ParseDateTime(const wxCStrData& datetime) > { ParseDateTime(wxString(datetime)); } > const char* ParseDateTime(const char* datetime); > const wchar_t* ParseDateTime(const wchar_t* datetime); > > void ParseDate(const wxCStrData& date) > { ParseDate(wxString(date)); } > const char* ParseDate(const char* date); > const wchar_t* ParseDate(const wchar_t* date); > > void ParseTime(const wxCStrData& time) > { ParseTime(wxString(time)); } > const char* ParseTime(const char* time); > const wchar_t* ParseTime(const wchar_t* time); > > > > > > > wxDateTime(const wxLongLong& time) { m_time = time; } > > > inline wxLongLong GetValue() const; > > > static time_t GetTimeNow() { return time(__null); } > > > static struct tm *GetTmNow() > { > static struct tm l_CurrentTime; > return GetTmNow(&l_CurrentTime); > } > > > static struct tm *GetTmNow(struct tm *tmstruct); > >private: > > > > static Country ms_country; > > > > > static const long TIME_T_FACTOR; > > > > inline bool IsInStdRange() const; > > > > > wxLongLong m_time; >}; > > > > > > > >class wxTimeSpan >{ >public: > > > > > static wxTimeSpan Milliseconds(wxLongLong ms) { return wxTimeSpan(0, 0, 0, ms); } > static wxTimeSpan Millisecond() { return Milliseconds(1); } > > > static wxTimeSpan Seconds(wxLongLong sec) { return wxTimeSpan(0, 0, sec); } > static wxTimeSpan Second() { return Seconds(1); } > > > static wxTimeSpan Minutes(long min) { return wxTimeSpan(0, min, 0 ); } > static wxTimeSpan Minute() { return Minutes(1); } > > > static wxTimeSpan Hours(long hours) { return wxTimeSpan(hours, 0, 0); } > static wxTimeSpan Hour() { return Hours(1); } > > > static wxTimeSpan Days(long days) { return Hours(24 * days); } > static wxTimeSpan Day() { return Days(1); } > > > static wxTimeSpan Weeks(long days) { return Days(7 * days); } > static wxTimeSpan Week() { return Weeks(1); } > > > wxTimeSpan() { } > > > > > inline wxTimeSpan(long hours, > long minutes = 0, > wxLongLong seconds = 0, > wxLongLong milliseconds = 0); ># 1227 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > inline wxTimeSpan Add(const wxTimeSpan& diff) const; > > inline wxTimeSpan& Add(const wxTimeSpan& diff); > > wxTimeSpan& operator+=(const wxTimeSpan& diff) { return Add(diff); } > inline wxTimeSpan operator+(const wxTimeSpan& ts) const > { > return wxTimeSpan(GetValue() + ts.GetValue()); > } > > > inline wxTimeSpan Subtract(const wxTimeSpan& diff) const; > > inline wxTimeSpan& Subtract(const wxTimeSpan& diff); > > wxTimeSpan& operator-=(const wxTimeSpan& diff) { return Subtract(diff); } > inline wxTimeSpan operator-(const wxTimeSpan& ts) > { > return wxTimeSpan(GetValue() - ts.GetValue()); > } > > > inline wxTimeSpan Multiply(int n) const; > > inline wxTimeSpan& Multiply(int n); > > wxTimeSpan& operator*=(int n) { return Multiply(n); } > inline wxTimeSpan operator*(int n) const > { > return wxTimeSpan(*this).Multiply(n); > } > > > wxTimeSpan Negate() const { return wxTimeSpan(-GetValue()); } > > wxTimeSpan& Neg() { m_diff = -GetValue(); return *this; } > > wxTimeSpan& operator-() { return Neg(); } > > > > inline wxTimeSpan Abs() const; ># 1277 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > bool IsNull() const { return m_diff == 0l; } > > bool operator!() const { return !IsNull(); } > > > bool IsPositive() const { return m_diff > 0l; } > > > bool IsNegative() const { return m_diff < 0l; } > > > inline bool IsEqualTo(const wxTimeSpan& ts) const; > > > > inline bool IsLongerThan(const wxTimeSpan& ts) const; > > > > bool IsShorterThan(const wxTimeSpan& t) const; > > inline bool operator<(const wxTimeSpan &ts) const > { > return GetValue() < ts.GetValue(); > } > > inline bool operator<=(const wxTimeSpan &ts) const > { > return GetValue() <= ts.GetValue(); > } > > inline bool operator>(const wxTimeSpan &ts) const > { > return GetValue() > ts.GetValue(); > } > > inline bool operator>=(const wxTimeSpan &ts) const > { > return GetValue() >= ts.GetValue(); > } > > inline bool operator==(const wxTimeSpan &ts) const > { > return GetValue() == ts.GetValue(); > } > > inline bool operator!=(const wxTimeSpan &ts) const > { > return GetValue() != ts.GetValue(); > } > > > > > > inline int GetWeeks() const; > > inline int GetDays() const; > > inline int GetHours() const; > > inline int GetMinutes() const; > > inline wxLongLong GetSeconds() const; > > wxLongLong GetMilliseconds() const { return m_diff; } ># 1353 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > wxString Format(const wxString& format = wxDefaultTimeSpanFormat) const; > > > > > > wxTimeSpan(const wxLongLong& diff) { m_diff = diff; } > > > wxLongLong GetValue() const { return m_diff; } > >private: > > wxLongLong m_diff; >}; ># 1404 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" >class wxDateSpan >{ >public: > > > > > wxDateSpan(int years = 0, int months = 0, int weeks = 0, int days = 0) > { > m_years = years; > m_months = months; > m_weeks = weeks; > m_days = days; > } > > > static wxDateSpan Days(int days) { return wxDateSpan(0, 0, 0, days); } > static wxDateSpan Day() { return Days(1); } > > > static wxDateSpan Weeks(int weeks) { return wxDateSpan(0, 0, weeks, 0); } > static wxDateSpan Week() { return Weeks(1); } > > > static wxDateSpan Months(int mon) { return wxDateSpan(0, mon, 0, 0); } > static wxDateSpan Month() { return Months(1); } > > > static wxDateSpan Years(int years) { return wxDateSpan(years, 0, 0, 0); } > static wxDateSpan Year() { return Years(1); } ># 1443 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > wxDateSpan& SetYears(int n) { m_years = n; return *this; } > > wxDateSpan& SetMonths(int n) { m_months = n; return *this; } > > wxDateSpan& SetWeeks(int n) { m_weeks = n; return *this; } > > wxDateSpan& SetDays(int n) { m_days = n; return *this; } > > > int GetYears() const { return m_years; } > > int GetMonths() const { return m_months; } > > int GetTotalMonths() const { return 12*m_years + m_months; } > > int GetWeeks() const { return m_weeks; } > > int GetDays() const { return m_days; } > > int GetTotalDays() const { return 7*m_weeks + m_days; } > > > > > > inline wxDateSpan Add(const wxDateSpan& other) const; > > inline wxDateSpan& Add(const wxDateSpan& other); > > inline wxDateSpan& operator+=(const wxDateSpan& other); > inline wxDateSpan operator+(const wxDateSpan& ds) const > { > return wxDateSpan(GetYears() + ds.GetYears(), > GetMonths() + ds.GetMonths(), > GetWeeks() + ds.GetWeeks(), > GetDays() + ds.GetDays()); > } > > > inline wxDateSpan Subtract(const wxDateSpan& other) const; > > inline wxDateSpan& Subtract(const wxDateSpan& other); > > inline wxDateSpan& operator-=(const wxDateSpan& other); > inline wxDateSpan operator-(const wxDateSpan& ds) const > { > return wxDateSpan(GetYears() - ds.GetYears(), > GetMonths() - ds.GetMonths(), > GetWeeks() - ds.GetWeeks(), > GetDays() - ds.GetDays()); > } > > > inline wxDateSpan Negate() const; > > inline wxDateSpan& Neg(); > > wxDateSpan& operator-() { return Neg(); } > > > inline wxDateSpan Multiply(int factor) const; > > inline wxDateSpan& Multiply(int factor); > > inline wxDateSpan& operator*=(int factor) { return Multiply(factor); } > inline wxDateSpan operator*(int n) const > { > return wxDateSpan(*this).Multiply(n); > } > > > inline bool operator==(const wxDateSpan& ds) const > { > return GetYears() == ds.GetYears() && > GetMonths() == ds.GetMonths() && > GetTotalDays() == ds.GetTotalDays(); > } > > inline bool operator!=(const wxDateSpan& ds) const > { > return !(*this == ds); > } > >private: > int m_years, > m_months, > m_weeks, > m_days; >}; > > > > > >typedef wxDateTime _wxObjArraywxDateTimeArray; typedef int ( *CMPFUNC_wxObjArraywxDateTimeArray)(_wxObjArraywxDateTimeArray **pItem1, _wxObjArraywxDateTimeArray **pItem2); class wxDateTimeArray : protected wxArrayPtrVoid { typedef int ( *CMPFUNCwxArrayPtrVoid)(void **pItem1, void **pItem2); typedef wxArrayPtrVoid base_array; public: wxDateTimeArray() { } wxDateTimeArray(const wxDateTimeArray& src); wxDateTimeArray& operator=(const wxDateTimeArray& src); ~wxDateTimeArray(); void Alloc(size_t count) { wxArrayPtrVoid::reserve(count); } void reserve(size_t count) { wxArrayPtrVoid::reserve(count); } size_t GetCount() const { return base_array::size(); } size_t size() const { return base_array::size(); } bool IsEmpty() const { return base_array::empty(); } bool empty() const { return base_array::empty(); } size_t Count() const { return base_array::size(); } void Shrink() { wxArrayPtrVoid::Shrink(); } _wxObjArraywxDateTimeArray& operator[](size_t uiIndex) const { return *(_wxObjArraywxDateTimeArray*)wxArrayPtrVoid::operator[](uiIndex); } _wxObjArraywxDateTimeArray& Item(size_t uiIndex) const { return *(_wxObjArraywxDateTimeArray*)wxArrayPtrVoid::operator[](uiIndex); } _wxObjArraywxDateTimeArray& Last() const { return *(_wxObjArraywxDateTimeArray*)(wxArrayPtrVoid::operator[](size() - 1)); } int Index(const _wxObjArraywxDateTimeArray& lItem, bool bFromEnd = false) const; void Add(const _wxObjArraywxDateTimeArray& lItem, size_t nInsert = 1); void Add(const _wxObjArraywxDateTimeArray* pItem) { wxArrayPtrVoid::push_back((_wxObjArraywxDateTimeArray*)pItem); } void push_back(const _wxObjArraywxDateTimeArray* pItem) { wxArrayPtrVoid::push_back((_wxObjArraywxDateTimeArray*)pItem); } void push_back(const _wxObjArraywxDateTimeArray& lItem) { Add(lItem); } void Insert(const _wxObjArraywxDateTimeArray& lItem, size_t uiIndex, size_t nInsert = 1); void Insert(const _wxObjArraywxDateTimeArray* pItem, size_t uiIndex) { wxArrayPtrVoid::insert(begin() + uiIndex, (_wxObjArraywxDateTimeArray*)pItem); } void Empty() { DoEmpty(); wxArrayPtrVoid::clear(); } void Clear() { DoEmpty(); wxArrayPtrVoid::clear(); } _wxObjArraywxDateTimeArray* Detach(size_t uiIndex) { _wxObjArraywxDateTimeArray* p = (_wxObjArraywxDateTimeArray*)wxArrayPtrVoid::operator[](uiIndex); wxArrayPtrVoid::erase(begin() + uiIndex); return p; } void RemoveAt(size_t uiIndex, size_t nRemove = 1); void Sort(CMPFUNC_wxObjArraywxDateTimeArray fCmp) { wxArrayPtrVoid::Sort((CMPFUNCwxArrayPtrVoid)fCmp); } private: void DoEmpty(); void DoCopy(const wxDateTimeArray& src); }; ># 1548 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" >class wxDateTimeHolidayAuthority; >typedef wxDateTimeHolidayAuthority * _wxArraywxHolidayAuthoritiesArray; struct wxAssert_wxHolidayAuthoritiesArray { unsigned int TypeTooBigToBeStoredInwxBaseArrayPtrVoid: sizeof(_wxArraywxHolidayAuthoritiesArray) <= sizeof(wxBaseArrayPtrVoid::base_type); }; typedef int ( *CMPFUNC_wxArraywxHolidayAuthoritiesArray)(_wxArraywxHolidayAuthoritiesArray *pItem1, _wxArraywxHolidayAuthoritiesArray *pItem2); class wxHolidayAuthoritiesArray : public wxBaseArrayPtrVoid { public: wxHolidayAuthoritiesArray() { } ~wxHolidayAuthoritiesArray() { } _wxArraywxHolidayAuthoritiesArray& operator[](size_t uiIndex) const { return (_wxArraywxHolidayAuthoritiesArray&)(wxBaseArrayPtrVoid::operator[](uiIndex)); } _wxArraywxHolidayAuthoritiesArray& Item(size_t uiIndex) const { return (_wxArraywxHolidayAuthoritiesArray&)(wxBaseArrayPtrVoid::operator[](uiIndex)); } _wxArraywxHolidayAuthoritiesArray& Last() const { return (_wxArraywxHolidayAuthoritiesArray&)(wxBaseArrayPtrVoid::operator[](GetCount() - 1)); } int Index(_wxArraywxHolidayAuthoritiesArray lItem, bool bFromEnd = false) const { return wxBaseArrayPtrVoid::Index((base_type)lItem, bFromEnd); } void Add(_wxArraywxHolidayAuthoritiesArray lItem, size_t nInsert = 1) { wxBaseArrayPtrVoid::Add((base_type)lItem, nInsert); } void Insert(_wxArraywxHolidayAuthoritiesArray lItem, size_t uiIndex, size_t nInsert = 1) { wxBaseArrayPtrVoid::Insert((base_type)lItem, uiIndex, nInsert) ; } void RemoveAt(size_t uiIndex, size_t nRemove = 1) { wxBaseArrayPtrVoid::RemoveAt(uiIndex, nRemove); } void Remove(_wxArraywxHolidayAuthoritiesArray lItem) { int iIndex = Index(lItem); if ( iIndex != (-1) ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert( > > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" ># 1549 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > , > > 1551 ># 1549 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > , __FUNCTION__, "iIndex != (-1)", "removing inexistent element in wxArray::Remove"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; wxBaseArrayPtrVoid::RemoveAt((size_t)iIndex); } void Sort(CMPFUNC_wxArraywxHolidayAuthoritiesArray fCmp) { wxBaseArrayPtrVoid::Sort((CMPFUNC)fCmp); } private: typedef wxBaseArrayPtrVoid::iterator biterator; typedef wxBaseArrayPtrVoid::const_iterator bconst_iterator; typedef wxBaseArrayPtrVoid::value_type bvalue_type; typedef wxBaseArrayPtrVoid::const_reference bconst_reference; public: typedef _wxArraywxHolidayAuthoritiesArray value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef wxBaseArrayPtrVoid::difference_type difference_type; typedef wxBaseArrayPtrVoid::size_type size_type; class reverse_iterator { typedef _wxArraywxHolidayAuthoritiesArray value_type; typedef value_type& reference; typedef value_type* pointer; typedef reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; reverse_iterator() : m_ptr(__null) { } reverse_iterator(pointer ptr) : m_ptr(ptr) { } reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { reverse_iterator tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; class const_reverse_iterator { typedef _wxArraywxHolidayAuthoritiesArray value_type; typedef const value_type& reference; typedef const value_type* pointer; typedef const_reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; const_reverse_iterator() : m_ptr(__null) { } const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } const_reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { itor tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; wxHolidayAuthoritiesArray(size_type n) { assign(n, value_type()); } wxHolidayAuthoritiesArray(size_type n, const_reference v) { assign(n, v); } wxHolidayAuthoritiesArray(const_iterator first, const_iterator last) { assign(first, last); } void assign(const_iterator first, const_iterator last) { wxBaseArrayPtrVoid::assign((bconst_iterator)first, (bconst_iterator)last); } void assign(size_type n, const_reference v) { wxBaseArrayPtrVoid::assign(n, (bconst_reference)v); } reference back() { return *(end() - 1); } const_reference back() const { return *(end() - 1); } iterator begin() { return (iterator)wxBaseArrayPtrVoid::begin(); } const_iterator begin() const { return (const_iterator)wxBaseArrayPtrVoid::begin(); } size_type capacity() const { return wxBaseArrayPtrVoid::capacity(); } iterator end() { return (iterator)wxBaseArrayPtrVoid::end(); } const_iterator end() const { return (const_iterator)wxBaseArrayPtrVoid::end(); } iterator erase(iterator first, iterator last) { return (iterator)wxBaseArrayPtrVoid::erase((biterator)first, (biterator)last); } iterator erase(iterator it) { return (iterator)wxBaseArrayPtrVoid::erase((biterator)it); } reference front() { return *begin(); } const_reference front() const { return *begin(); } void insert(iterator it, size_type n, const_reference v) { wxBaseArrayPtrVoid::insert((biterator)it, n, (bconst_reference)v); } iterator insert(iterator it, const_reference v = value_type()) { return (iterator)wxBaseArrayPtrVoid::insert((biterator)it, (bconst_reference)v); } void insert(iterator it, const_iterator first, const_iterator last) { wxBaseArrayPtrVoid::insert((biterator)it, (bconst_iterator)first, (bconst_iterator)last); } void pop_back() { wxBaseArrayPtrVoid::pop_back(); } void push_back(const_reference v) { wxBaseArrayPtrVoid::push_back((bconst_reference)v); } reverse_iterator rbegin() { return reverse_iterator(end() - 1); } const_reverse_iterator rbegin() const; reverse_iterator rend() { return reverse_iterator(begin() - 1); } const_reverse_iterator rend() const; void reserve(size_type n) { wxBaseArrayPtrVoid::reserve(n); } void resize(size_type n, value_type v = value_type()) { wxBaseArrayPtrVoid::resize(n, v); } void swap(wxHolidayAuthoritiesArray& other) { wxBaseArrayPtrVoid::swap(other); } } > > ; > >class wxDateTimeHolidaysModule; >class wxDateTimeHolidayAuthority >{ >friend class wxDateTimeHolidaysModule; >public: > > static bool IsHoliday(const wxDateTime& dt); > > > > static size_t GetHolidaysInRange(const wxDateTime& dtStart, > const wxDateTime& dtEnd, > wxDateTimeArray& holidays); > > > static void ClearAllAuthorities(); > > > > static void AddAuthority(wxDateTimeHolidayAuthority *auth); > > > virtual ~wxDateTimeHolidayAuthority(); > >protected: > > virtual bool DoIsHoliday(const wxDateTime& dt) const = 0; ># 1589 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > virtual size_t DoGetHolidaysInRange(const wxDateTime& dtStart, > const wxDateTime& dtEnd, > wxDateTimeArray& holidays) const = 0; > >private: > > static wxHolidayAuthoritiesArray ms_authorities; >}; > > >class wxDateTimeWorkDays : public wxDateTimeHolidayAuthority >{ >protected: > virtual bool DoIsHoliday(const wxDateTime& dt) const; > virtual size_t DoGetHolidaysInRange(const wxDateTime& dtStart, > const wxDateTime& dtEnd, > wxDateTimeArray& holidays) const; >}; ># 1631 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" >inline bool wxDateTime::IsInStdRange() const >{ > > > return m_time >= 0l && (m_time / TIME_T_FACTOR) < 2147483647; >} > > >inline wxDateTime wxDateTime::Now() >{ > struct tm tmstruct; > return wxDateTime(*GetTmNow(&tmstruct)); >} > > >inline wxDateTime wxDateTime::Today() >{ > wxDateTime dt(Now()); > dt.ResetTime(); > > return dt; >} > > >inline wxDateTime& wxDateTime::Set(time_t timet) >{ > if ( timet == (time_t)-1 ) > { > m_time = wxDefaultDateTime.m_time; > } > else > { > > m_time = timet - 0; > m_time *= TIME_T_FACTOR; > } > > return *this; >} > > >inline wxDateTime& wxDateTime::SetToCurrent() >{ > *this = Now(); > return *this; >} > > >inline wxDateTime::wxDateTime(time_t timet) >{ > Set(timet); >} > > >inline wxDateTime::wxDateTime(const struct tm& tm) >{ > Set(tm); >} > >inline wxDateTime::wxDateTime(const Tm& tm) >{ > Set(tm); >} > >inline wxDateTime::wxDateTime(double jdn) >{ > Set(jdn); >} > >inline wxDateTime& wxDateTime::Set(const Tm& tm) >{ > do { if ( wxTheAssertHandler && !(tm.IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 1702, __FUNCTION__, "tm.IsValid()", L"invalid broken down date/time"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return Set(tm.mday, (Month)tm.mon, tm.year, > tm.hour, tm.min, tm.sec, tm.msec); >} > >inline wxDateTime::wxDateTime(wxDateTime_t hour, > wxDateTime_t minute, > wxDateTime_t second, > wxDateTime_t millisec) >{ > Set(hour, minute, second, millisec); >} > >inline wxDateTime::wxDateTime(wxDateTime_t day, > Month month, > int year, > wxDateTime_t hour, > wxDateTime_t minute, > wxDateTime_t second, > wxDateTime_t millisec) >{ > Set(day, month, year, hour, minute, second, millisec); >} > > > > > >inline wxLongLong wxDateTime::GetValue() const >{ > do { if ( wxTheAssertHandler && !(IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 1733, __FUNCTION__, "IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return m_time; >} > >inline time_t wxDateTime::GetTicks() const >{ > do { if ( wxTheAssertHandler && !(IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 1740, __FUNCTION__, "IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > if ( !IsInStdRange() ) > { > return (time_t)-1; > } > > return (time_t)((m_time / (long)TIME_T_FACTOR).ToLong()) + 0; >} > >inline bool wxDateTime::SetToLastWeekDay(WeekDay weekday, > Month month, > int year) >{ > return SetToWeekDay(weekday, -1, month, year); >} > >inline wxDateTime >wxDateTime::GetWeekDayInSameWeek(WeekDay weekday, > WeekFlags ) const >{ > return wxDateTime(*this).SetToWeekDayInSameWeek(weekday); >} > >inline wxDateTime wxDateTime::GetNextWeekDay(WeekDay weekday) const >{ > return wxDateTime(*this).SetToNextWeekDay(weekday); >} > >inline wxDateTime wxDateTime::GetPrevWeekDay(WeekDay weekday) const >{ > return wxDateTime(*this).SetToPrevWeekDay(weekday); >} > >inline wxDateTime wxDateTime::GetWeekDay(WeekDay weekday, > int n, > Month month, > int year) const >{ > wxDateTime dt(*this); > > return dt.SetToWeekDay(weekday, n, month, year) ? dt : wxDefaultDateTime; >} > >inline wxDateTime wxDateTime::GetLastWeekDay(WeekDay weekday, > Month month, > int year) >{ > wxDateTime dt(*this); > > return dt.SetToLastWeekDay(weekday, month, year) ? dt : wxDefaultDateTime; >} > >inline wxDateTime wxDateTime::GetLastMonthDay(Month month, int year) const >{ > return wxDateTime(*this).SetToLastMonthDay(month, year); >} > >inline wxDateTime wxDateTime::GetYearDay(wxDateTime_t yday) const >{ > return wxDateTime(*this).SetToYearDay(yday); >} > > > > > >inline bool wxDateTime::IsEqualTo(const wxDateTime& datetime) const >{ > do { if ( wxTheAssertHandler && !(IsValid() && datetime.IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 1808, __FUNCTION__, "IsValid() && datetime.IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return m_time == datetime.m_time; >} > >inline bool wxDateTime::IsEarlierThan(const wxDateTime& datetime) const >{ > do { if ( wxTheAssertHandler && !(IsValid() && datetime.IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 1815, __FUNCTION__, "IsValid() && datetime.IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return m_time < datetime.m_time; >} > >inline bool wxDateTime::IsLaterThan(const wxDateTime& datetime) const >{ > do { if ( wxTheAssertHandler && !(IsValid() && datetime.IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 1822, __FUNCTION__, "IsValid() && datetime.IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return m_time > datetime.m_time; >} > >inline bool wxDateTime::IsStrictlyBetween(const wxDateTime& t1, > const wxDateTime& t2) const >{ > > return IsLaterThan(t1) && IsEarlierThan(t2); >} > >inline bool wxDateTime::IsBetween(const wxDateTime& t1, > const wxDateTime& t2) const >{ > > return IsEqualTo(t1) || IsEqualTo(t2) || IsStrictlyBetween(t1, t2); >} > >inline bool wxDateTime::IsSameDate(const wxDateTime& dt) const >{ > Tm tm1 = GetTm(), > tm2 = dt.GetTm(); > > return tm1.year == tm2.year && > tm1.mon == tm2.mon && > tm1.mday == tm2.mday; >} > >inline bool wxDateTime::IsSameTime(const wxDateTime& dt) const >{ > > > > > > Tm tm1 = GetTm(), > tm2 = dt.GetTm(); > > return tm1.hour == tm2.hour && > tm1.min == tm2.min && > tm1.sec == tm2.sec && > tm1.msec == tm2.msec; >} > >inline bool wxDateTime::IsEqualUpTo(const wxDateTime& dt, > const wxTimeSpan& ts) const >{ > return IsBetween(dt.Subtract(ts), dt.Add(ts)); >} > > > > > >inline wxDateTime wxDateTime::Add(const wxTimeSpan& diff) const >{ > do { if ( wxTheAssertHandler && !(IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 1879, __FUNCTION__, "IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return wxDateTime(m_time + diff.GetValue()); >} > >inline wxDateTime& wxDateTime::Add(const wxTimeSpan& diff) >{ > do { if ( wxTheAssertHandler && !(IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 1886, __FUNCTION__, "IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > m_time += diff.GetValue(); > > return *this; >} > >inline wxDateTime& wxDateTime::operator+=(const wxTimeSpan& diff) >{ > return Add(diff); >} > >inline wxDateTime wxDateTime::Subtract(const wxTimeSpan& diff) const >{ > do { if ( wxTheAssertHandler && !(IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 1900, __FUNCTION__, "IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return wxDateTime(m_time - diff.GetValue()); >} > >inline wxDateTime& wxDateTime::Subtract(const wxTimeSpan& diff) >{ > do { if ( wxTheAssertHandler && !(IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 1907, __FUNCTION__, "IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > m_time -= diff.GetValue(); > > return *this; >} > >inline wxDateTime& wxDateTime::operator-=(const wxTimeSpan& diff) >{ > return Subtract(diff); >} > >inline wxTimeSpan wxDateTime::Subtract(const wxDateTime& datetime) const >{ > do { if ( wxTheAssertHandler && !(IsValid() && datetime.IsValid()) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h", 1921, __FUNCTION__, "IsValid() && datetime.IsValid()", L"invalid wxDateTime"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return wxTimeSpan(GetValue() - datetime.GetValue()); >} > >inline wxTimeSpan wxDateTime::operator-(const wxDateTime& dt2) const >{ > return this->Subtract(dt2); >} > >inline wxDateTime wxDateTime::Add(const wxDateSpan& diff) const >{ > return wxDateTime(*this).Add(diff); >} > >inline wxDateTime& wxDateTime::Subtract(const wxDateSpan& diff) >{ > return Add(diff.Negate()); >} > >inline wxDateTime wxDateTime::Subtract(const wxDateSpan& diff) const >{ > return wxDateTime(*this).Subtract(diff); >} > >inline wxDateTime& wxDateTime::operator-=(const wxDateSpan& diff) >{ > return Subtract(diff); >} > >inline wxDateTime& wxDateTime::operator+=(const wxDateSpan& diff) >{ > return Add(diff); >} > > > > > >inline wxDateTime >wxDateTime::ToTimezone(const wxDateTime::TimeZone& tz, bool noDST) const >{ > return wxDateTime(*this).MakeTimezone(tz, noDST); >} > >inline wxDateTime >wxDateTime::FromTimezone(const wxDateTime::TimeZone& tz, bool noDST) const >{ > return wxDateTime(*this).MakeFromTimezone(tz, noDST); >} > > > > > >inline wxTimeSpan::wxTimeSpan(long hours, > long minutes, > wxLongLong seconds, > wxLongLong milliseconds) >{ > > m_diff = hours; > m_diff *= 60l; > m_diff += minutes; > m_diff *= 60l; > m_diff += seconds; > m_diff *= 1000l; > m_diff += milliseconds; >} > > > > > >inline wxLongLong wxTimeSpan::GetSeconds() const >{ > return m_diff / 1000l; >} > >inline int wxTimeSpan::GetMinutes() const >{ > > > return static_cast<int>((GetSeconds() / 60l).GetLo()); >} > >inline int wxTimeSpan::GetHours() const >{ > return GetMinutes() / 60; >} > >inline int wxTimeSpan::GetDays() const >{ > return GetHours() / 24; >} > >inline int wxTimeSpan::GetWeeks() const >{ > return GetDays() / 7; >} > > > > > >inline wxTimeSpan wxTimeSpan::Add(const wxTimeSpan& diff) const >{ > return wxTimeSpan(m_diff + diff.GetValue()); >} > >inline wxTimeSpan& wxTimeSpan::Add(const wxTimeSpan& diff) >{ > m_diff += diff.GetValue(); > > return *this; >} > >inline wxTimeSpan wxTimeSpan::Subtract(const wxTimeSpan& diff) const >{ > return wxTimeSpan(m_diff - diff.GetValue()); >} > >inline wxTimeSpan& wxTimeSpan::Subtract(const wxTimeSpan& diff) >{ > m_diff -= diff.GetValue(); > > return *this; >} > >inline wxTimeSpan& wxTimeSpan::Multiply(int n) >{ > m_diff *= (long)n; > > return *this; >} > >inline wxTimeSpan wxTimeSpan::Multiply(int n) const >{ > return wxTimeSpan(m_diff * (long)n); >} > >inline wxTimeSpan wxTimeSpan::Abs() const >{ > return wxTimeSpan(GetValue().Abs()); >} > >inline bool wxTimeSpan::IsEqualTo(const wxTimeSpan& ts) const >{ > return GetValue() == ts.GetValue(); >} > >inline bool wxTimeSpan::IsLongerThan(const wxTimeSpan& ts) const >{ > return GetValue().Abs() > ts.GetValue().Abs(); >} > >inline bool wxTimeSpan::IsShorterThan(const wxTimeSpan& ts) const >{ > return GetValue().Abs() < ts.GetValue().Abs(); >} > > > > > >inline wxDateSpan& wxDateSpan::operator+=(const wxDateSpan& other) >{ > m_years += other.m_years; > m_months += other.m_months; > m_weeks += other.m_weeks; > m_days += other.m_days; > > return *this; >} > >inline wxDateSpan& wxDateSpan::Add(const wxDateSpan& other) >{ > return *this += other; >} > >inline wxDateSpan wxDateSpan::Add(const wxDateSpan& other) const >{ > wxDateSpan ds(*this); > ds.Add(other); > return ds; >} > >inline wxDateSpan& wxDateSpan::Multiply(int factor) >{ > m_years *= factor; > m_months *= factor; > m_weeks *= factor; > m_days *= factor; > > return *this; >} > >inline wxDateSpan wxDateSpan::Multiply(int factor) const >{ > wxDateSpan ds(*this); > ds.Multiply(factor); > return ds; >} > >inline wxDateSpan wxDateSpan::Negate() const >{ > return wxDateSpan(-m_years, -m_months, -m_weeks, -m_days); >} > >inline wxDateSpan& wxDateSpan::Neg() >{ > m_years = -m_years; > m_months = -m_months; > m_weeks = -m_weeks; > m_days = -m_days; > > return *this; >} > >inline wxDateSpan& wxDateSpan::operator-=(const wxDateSpan& other) >{ > return *this += other.Negate(); >} > >inline wxDateSpan& wxDateSpan::Subtract(const wxDateSpan& other) >{ > return *this -= other; >} > >inline wxDateSpan wxDateSpan::Subtract(const wxDateSpan& other) const >{ > wxDateSpan ds(*this); > ds.Subtract(other); > return ds; >} ># 2169 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" >wxTimeSpan operator*(int n, const wxTimeSpan& ts); > > > > > >wxDateSpan operator*(int n, const wxDateSpan& ds); ># 2187 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/datetime.h" > void wxNextMonth(wxDateTime::Month& m); > void wxPrevMonth(wxDateTime::Month& m); > void wxNextWDay(wxDateTime::WeekDay& wd); > void wxPrevWDay(wxDateTime::WeekDay& wd); ># 27 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h" 2 > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/iosfwrap.h" 1 ># 30 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h" 2 > >class wxAny; ># 56 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h" >class wxVariantData : public wxObjectRefData >{ > friend class wxVariant; >public: > wxVariantData() { } > > > virtual bool Eq(wxVariantData& data) const = 0; > > > virtual bool Write(std:: ostream& ) const { return false; } > > virtual bool Write(wxString& ) const { return false; } > > virtual bool Read(std:: istream& ) { return false; } > > virtual bool Read(wxString& ) { return false; } > > virtual wxString GetType() const = 0; > > virtual wxClassInfo* GetValueClassInfo() { return __null; } > > > > virtual wxVariantData* Clone() const { return __null; } > > > > virtual bool GetAsAny(wxAny* ) const { return false; } > > >protected: > > > > virtual ~wxVariantData() { } >}; > > > > > > >class wxVariant; > >typedef wxVariant _WX_LIST_ITEM_TYPE_wxVariantList; typedef int (*wxSortFuncFor_wxVariantList)(const wxVariant **, const wxVariant **); class wxwxVariantListNode : public wxNodeBase { public: wxwxVariantListNode(wxListBase *list = __null, wxwxVariantListNode *previous = __null, wxwxVariantListNode *next = __null, wxVariant *data = __null, const wxListKey& key = wxDefaultListKey) : wxNodeBase(list, previous, next, data, key) { } wxwxVariantListNode *GetNext() const { return (wxwxVariantListNode *)wxNodeBase::GetNext(); } wxwxVariantListNode *GetPrevious() const { return (wxwxVariantListNode *)wxNodeBase::GetPrevious(); } wxVariant *GetData() const { return (wxVariant *)wxNodeBase::GetData(); } void SetData(wxVariant *data) { wxNodeBase::SetData(data); } protected: virtual void DeleteData(); private: wxwxVariantListNode(const wxwxVariantListNode&); wxwxVariantListNode& operator=(const wxwxVariantListNode&); }; class wxVariantList : public wxListBase { public: typedef wxwxVariantListNode Node; class compatibility_iterator { public: compatibility_iterator(Node *ptr = __null) : m_ptr(ptr) { } Node *operator->() const { return m_ptr; } operator Node *() const { return m_ptr; } private: Node *m_ptr; }; wxVariantList(wxKeyType keyType = wxKEY_NONE) : wxListBase(keyType) { } wxVariantList(const wxVariantList& list) : wxListBase(list.GetKeyType()) { Assign(list); } wxVariantList(size_t count, wxVariant *elements[]) : wxListBase(count, (void **)elements) { } wxVariantList& operator=(const wxVariantList& list) { if (&list != this) Assign(list); return *this; } wxwxVariantListNode *GetFirst() const { return (wxwxVariantListNode *)wxListBase::GetFirst(); } wxwxVariantListNode *GetLast() const { return (wxwxVariantListNode *)wxListBase::GetLast(); } wxwxVariantListNode *Item(size_t index) const { return (wxwxVariantListNode *)wxListBase::Item(index); } wxVariant *operator[](size_t index) const { wxwxVariantListNode *node = Item(index); return node ? (wxVariant*)(node->GetData()) : __null; } wxwxVariantListNode *Append(wxVariant *object) { return (wxwxVariantListNode *)wxListBase::Append(object); } wxwxVariantListNode *Insert(wxVariant *object) { return (wxwxVariantListNode *)Insert(static_cast<wxwxVariantListNode *>(__null), object); } wxwxVariantListNode *Insert(size_t pos, wxVariant *object) { return (wxwxVariantListNode *)wxListBase::Insert(pos, object); } wxwxVariantListNode *Insert(wxwxVariantListNode *prev, wxVariant *object) { return (wxwxVariantListNode *)wxListBase::Insert(prev, object); } wxwxVariantListNode *Append(long key, void *object) { return (wxwxVariantListNode *)wxListBase::Append(key, object); } wxwxVariantListNode *Append(const wxChar *key, void *object) { return (wxwxVariantListNode *)wxListBase::Append(key, object); } wxwxVariantListNode *DetachNode(wxwxVariantListNode *node) { return (wxwxVariantListNode *)wxListBase::DetachNode(node); } bool DeleteNode(wxwxVariantListNode *node) { return wxListBase::DeleteNode(node); } bool DeleteObject(wxVariant *object) { return wxListBase::DeleteObject(object); } void Erase(wxwxVariantListNode *it) { DeleteNode(it); } wxwxVariantListNode *Find(const wxVariant *object) const { return (wxwxVariantListNode *)wxListBase::Find(object); } virtual wxwxVariantListNode *Find(const wxListKey& key) const { return (wxwxVariantListNode *)wxListBase::Find(key); } bool Member(const wxVariant *object) const { return Find(object) != __null; } int IndexOf(wxVariant *object) const { return wxListBase::IndexOf(object); } void Sort(wxSortCompareFunction func) { wxListBase::Sort(func); } void Sort(wxSortFuncFor_wxVariantList func) { Sort((wxSortCompareFunction)func); } protected: virtual wxNodeBase *CreateNode(wxNodeBase *prev, wxNodeBase *next, void *data, const wxListKey& key = wxDefaultListKey) { return new wxwxVariantListNode(this, (wxwxVariantListNode *)prev, (wxwxVariantListNode *)next, (wxVariant *)data, key); } public: typedef size_t size_type; typedef int difference_type; typedef wxVariant* value_type; typedef wxVariant* base_value_type; typedef value_type& reference; typedef const value_type& const_reference; typedef base_value_type& base_reference; typedef const base_value_type& const_base_reference; class iterator { typedef wxVariantList list; public: typedef wxwxVariantListNode Node; typedef iterator itor; typedef wxVariant* value_type; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; iterator(Node* node, Node* init) : m_node(node), m_init(init) {} iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h", 101, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h", 101, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_iterator { typedef wxVariantList list; public: typedef wxwxVariantListNode Node; typedef wxVariant* value_type; typedef const value_type& const_reference; typedef const_iterator itor; typedef value_type* ptr_type; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_iterator() : m_node(__null), m_init(__null) { } const_iterator(const iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h", 101, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h", 101, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class reverse_iterator { typedef wxVariantList list; public: typedef wxwxVariantListNode Node; typedef wxVariant* value_type; typedef reverse_iterator itor; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } reverse_iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_reverse_iterator { typedef wxVariantList list; public: typedef wxwxVariantListNode Node; typedef wxVariant* value_type; typedef const_reverse_iterator itor; typedef value_type* ptr_type; typedef const value_type& const_reference; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_reverse_iterator() : m_node(__null), m_init(__null) { } const_reverse_iterator(const reverse_iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this;} const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; explicit wxVariantList(size_type n, const_reference v = value_type()) { assign(n, v); } wxVariantList(const const_iterator& first, const const_iterator& last) { assign(first, last); } iterator begin() { return iterator(GetFirst(), GetLast()); } const_iterator begin() const { return const_iterator(GetFirst(), GetLast()); } iterator end() { return iterator(__null, GetLast()); } const_iterator end() const { return const_iterator(__null, GetLast()); } reverse_iterator rbegin() { return reverse_iterator(GetLast(), GetFirst()); } const_reverse_iterator rbegin() const { return const_reverse_iterator(GetLast(), GetFirst()); } reverse_iterator rend() { return reverse_iterator(__null, GetFirst()); } const_reverse_iterator rend() const { return const_reverse_iterator(__null, GetFirst()); } void resize(size_type n, value_type v = value_type()) { while (n < size()) pop_back(); while (n > size()) push_back(v); } size_type size() const { return GetCount(); } size_type max_size() const { return 2147483647; } bool empty() const { return IsEmpty(); } reference front() { return *begin(); } const_reference front() const { return *begin(); } reference back() { iterator tmp = end(); return *--tmp; } const_reference back() const { const_iterator tmp = end(); return *--tmp; } void push_front(const_reference v = value_type()) { Insert(GetFirst(), (const_base_reference)v); } void pop_front() { DeleteNode(GetFirst()); } void push_back(const_reference v = value_type()) { Append((const_base_reference)v); } void pop_back() { DeleteNode(GetLast()); } void assign(const_iterator first, const const_iterator& last) { clear(); for(; first != last; ++first) Append((const_base_reference)*first); } void assign(size_type n, const_reference v = value_type()) { clear(); for(size_type i = 0; i < n; ++i) Append((const_base_reference)v); } iterator insert(const iterator& it, const_reference v) { if ( it == end() ) { Append((const_base_reference)v); iterator itins(end()); return --itins; } else { Insert(it.m_node, (const_base_reference)v); iterator itins(it); return --itins; } } void insert(const iterator& it, size_type n, const_reference v) { for(size_type i = 0; i < n; ++i) insert(it, v); } void insert(const iterator& it, const_iterator first, const const_iterator& last) { for(; first != last; ++first) insert(it, *first); } iterator erase(const iterator& it) { iterator next = iterator(it.m_node->GetNext(), GetLast()); DeleteNode(it.m_node); return next; } iterator erase(const iterator& first, const iterator& last) { iterator next = last; if ( next != end() ) ++next; DeleteNodes(first.m_node, last.m_node); return next; } void clear() { Clear(); } void splice(const iterator& it, wxVariantList& l, const iterator& first, const iterator& last) { insert(it, first, last); l.erase(first, last); } void splice(const iterator& it, wxVariantList& l) { splice(it, l, l.begin(), l.end() ); } void splice(const iterator& it, wxVariantList& l, const iterator& first) { if ( it != first ) { insert(it, *first); l.erase(first); } } void remove(const_reference v) { DeleteObject((const_base_reference)v); } void reverse() { Reverse(); } }; > >class wxVariant: public wxObject >{ >public: > wxVariant(); > > wxVariant(const wxVariant& variant); > wxVariant(wxVariantData* data, const wxString& name = wxEmptyString); > > wxVariant(const wxAny& any); > > virtual ~wxVariant(); > > > void operator= (const wxVariant& variant); > > > > void operator= (wxVariantData* variantData); > > bool operator== (const wxVariant& variant) const; > bool operator!= (const wxVariant& variant) const; > > > inline void SetName(const wxString& name) { m_name = name; } > inline const wxString& GetName() const { return m_name; } > > > bool IsNull() const; > > > > wxVariantData* GetData() const > { > return (wxVariantData*) m_refData; > } > void SetData(wxVariantData* data) ; > > > void Ref(const wxVariant& clone) { wxObject::Ref(clone); } > > > bool Unshare(); > > > void MakeNull(); > > > void Clear(); > > > > wxString GetType() const; > > bool IsType(const wxString& type) const; > bool IsValueKindOf(const wxClassInfo* type) const; > > > wxString MakeString() const; > > > wxAny GetAny() const; > > > > wxVariant(double val, const wxString& name = wxEmptyString); > bool operator== (double value) const; > bool operator!= (double value) const; > void operator= (double value) ; > inline operator double () const { return GetDouble(); } > inline double GetReal() const { return GetDouble(); } > double GetDouble() const; > > > wxVariant(long val, const wxString& name = wxEmptyString); > wxVariant(int val, const wxString& name = wxEmptyString); > wxVariant(short val, const wxString& name = wxEmptyString); > bool operator== (long value) const; > bool operator!= (long value) const; > void operator= (long value) ; > inline operator long () const { return GetLong(); } > inline long GetInteger() const { return GetLong(); } > long GetLong() const; > > > wxVariant(bool val, const wxString& name = wxEmptyString); > bool operator== (bool value) const; > bool operator!= (bool value) const; > void operator= (bool value) ; > inline operator bool () const { return GetBool(); } > bool GetBool() const ; > > > > wxVariant(const wxDateTime& val, const wxString& name = wxEmptyString); > bool operator== (const wxDateTime& value) const; > bool operator!= (const wxDateTime& value) const; > void operator= (const wxDateTime& value) ; > inline operator wxDateTime () const { return GetDateTime(); } > wxDateTime GetDateTime() const; > > > > wxVariant(const wxString& val, const wxString& name = wxEmptyString); > > > wxVariant(const char* val, const wxString& name = wxEmptyString); > wxVariant(const wchar_t* val, const wxString& name = wxEmptyString); > wxVariant(const wxCStrData& val, const wxString& name = wxEmptyString); > wxVariant(const wxScopedCharBuffer& val, const wxString& name = wxEmptyString); > wxVariant(const wxScopedWCharBuffer& val, const wxString& name = wxEmptyString); > > bool operator== (const wxString& value) const; > bool operator!= (const wxString& value) const; > wxVariant& operator=(const wxString& value); > > > wxVariant& operator=(const char* value) > { return *this = wxString(value); } > wxVariant& operator=(const wchar_t* value) > { return *this = wxString(value); } > wxVariant& operator=(const wxCStrData& value) > { return *this = value.AsString(); } > template<typename T> > wxVariant& operator=(const wxScopedCharTypeBuffer<T>& value) > { return *this = value.data(); } > > inline operator wxString () const { return MakeString(); } > wxString GetString() const; > > > wxVariant(const std::string& val, const wxString& name = wxEmptyString); > bool operator==(const std::string& value) const > { return operator==(wxString(value)); } > bool operator!=(const std::string& value) const > { return operator!=(wxString(value)); } > wxVariant& operator=(const std::string& value) > { return operator=(wxString(value)); } > operator std::string() const { return (operator wxString()).ToStdString(); } > > wxVariant(const wxStdWideString& val, const wxString& name = wxEmptyString); > bool operator==(const wxStdWideString& value) const > { return operator==(wxString(value)); } > bool operator!=(const wxStdWideString& value) const > { return operator!=(wxString(value)); } > wxVariant& operator=(const wxStdWideString& value) > { return operator=(wxString(value)); } > operator wxStdWideString() const { return (operator wxString()).ToStdWstring(); } > > > > wxVariant(const wxUniChar& val, const wxString& name = wxEmptyString); > wxVariant(const wxUniCharRef& val, const wxString& name = wxEmptyString); > wxVariant(char val, const wxString& name = wxEmptyString); > wxVariant(wchar_t val, const wxString& name = wxEmptyString); > bool operator==(const wxUniChar& value) const; > bool operator==(const wxUniCharRef& value) const { return *this == wxUniChar(value); } > bool operator==(char value) const { return *this == wxUniChar(value); } > bool operator==(wchar_t value) const { return *this == wxUniChar(value); } > bool operator!=(const wxUniChar& value) const { return !(*this == value); } > bool operator!=(const wxUniCharRef& value) const { return !(*this == value); } > bool operator!=(char value) const { return !(*this == value); } > bool operator!=(wchar_t value) const { return !(*this == value); } > wxVariant& operator=(const wxUniChar& value); > wxVariant& operator=(const wxUniCharRef& value) { return *this = wxUniChar(value); } > wxVariant& operator=(char value) { return *this = wxUniChar(value); } > wxVariant& operator=(wchar_t value) { return *this = wxUniChar(value); } > operator wxUniChar() const { return GetChar(); } > operator char() const { return GetChar(); } > operator wchar_t() const { return GetChar(); } > wxUniChar GetChar() const; > > > wxVariant(const wxArrayString& val, const wxString& name = wxEmptyString); > bool operator== (const wxArrayString& value) const; > bool operator!= (const wxArrayString& value) const; > void operator= (const wxArrayString& value); > operator wxArrayString () const { return GetArrayString(); } > wxArrayString GetArrayString() const; > > > wxVariant(void* ptr, const wxString& name = wxEmptyString); > bool operator== (void* value) const; > bool operator!= (void* value) const; > void operator= (void* value); > operator void* () const { return GetVoidPtr(); } > void* GetVoidPtr() const; > > > wxVariant(wxObject* ptr, const wxString& name = wxEmptyString); > bool operator== (wxObject* value) const; > bool operator!= (wxObject* value) const; > void operator= (wxObject* value); > wxObject* GetWxObjectPtr() const; > > > > wxVariant(wxLongLong, const wxString& name = wxEmptyString); > bool operator==(wxLongLong value) const; > bool operator!=(wxLongLong value) const; > void operator=(wxLongLong value); > operator wxLongLong() const { return GetLongLong(); } > wxLongLong GetLongLong() const; > > > wxVariant(wxULongLong, const wxString& name = wxEmptyString); > bool operator==(wxULongLong value) const; > bool operator!=(wxULongLong value) const; > void operator=(wxULongLong value); > operator wxULongLong() const { return GetULongLong(); } > wxULongLong GetULongLong() const; > > > > > > > wxVariant(const wxVariantList& val, const wxString& name = wxEmptyString); > bool operator== (const wxVariantList& value) const; > bool operator!= (const wxVariantList& value) const; > void operator= (const wxVariantList& value) ; > > wxVariant operator[] (size_t idx) const; > wxVariant& operator[] (size_t idx) ; > wxVariantList& GetList() const ; > > > size_t GetCount() const; > > > void NullList(); > > > void Append(const wxVariant& value); > > > void Insert(const wxVariant& value); > > > bool Member(const wxVariant& value) const; > > > bool Delete(size_t item); > > > void ClearList(); > >public: > > bool Convert(long* value) const; > bool Convert(bool* value) const; > bool Convert(double* value) const; > bool Convert(wxString* value) const; > bool Convert(wxUniChar* value) const; > bool Convert(char* value) const; > bool Convert(wchar_t* value) const; > > bool Convert(wxDateTime* value) const; > > > bool Convert(wxLongLong* value) const; > bool Convert(wxULongLong* value) const; > > bool Convert(long long* value) const > { > wxLongLong temp; > if ( !Convert(&temp) ) > return false; > *value = temp.GetValue(); > return true; > } > bool Convert(unsigned long long* value) const > { > wxULongLong temp; > if ( !Convert(&temp) ) > return false; > *value = temp.GetValue(); > return true; > } > > > > >protected: > virtual wxObjectRefData *CreateRefData() const; > virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const; > > wxString m_name; > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" 1 ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/typeinfo.h" 1 ># 40 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/typeinfo.h" ># 1 "/usr/include/c++/4.9.1/typeinfo" 1 3 ># 32 "/usr/include/c++/4.9.1/typeinfo" 3 ># 33 "/usr/include/c++/4.9.1/typeinfo" 3 > > > > > > >#pragma GCC visibility push(default) > >extern "C++" { > >namespace __cxxabiv1 >{ > class __class_type_info; >} ># 80 "/usr/include/c++/4.9.1/typeinfo" 3 >namespace std >{ > > > > > > > class type_info > { > public: > > > > > virtual ~type_info(); > > > > const char* name() const noexcept > { return __name[0] == '*' ? __name + 1 : __name; } ># 115 "/usr/include/c++/4.9.1/typeinfo" 3 > bool before(const type_info& __arg) const noexcept > { return (__name[0] == '*' && __arg.__name[0] == '*') > ? __name < __arg.__name > : __builtin_strcmp (__name, __arg.__name) < 0; } > > bool operator==(const type_info& __arg) const noexcept > { > return ((__name == __arg.__name) > || (__name[0] != '*' && > __builtin_strcmp (__name, __arg.__name) == 0)); > } ># 136 "/usr/include/c++/4.9.1/typeinfo" 3 > bool operator!=(const type_info& __arg) const noexcept > { return !operator==(__arg); } > > > size_t hash_code() const noexcept > { > > return _Hash_bytes(name(), __builtin_strlen(name()), > static_cast<size_t>(0xc70f6907UL)); > > > > } > > > > virtual bool __is_pointer_p() const; > > > virtual bool __is_function_p() const; > > > > > > > > virtual bool __do_catch(const type_info *__thr_type, void **__thr_obj, > unsigned __outer) const; > > > virtual bool __do_upcast(const __cxxabiv1::__class_type_info *__target, > void **__obj_ptr) const; > > protected: > const char *__name; > > explicit type_info(const char *__n): __name(__n) { } > > private: > > type_info& operator=(const type_info&); > type_info(const type_info&); > }; > > > > > > > > class bad_cast : public exception > { > public: > bad_cast() noexcept { } > > > > virtual ~bad_cast() noexcept; > > > virtual const char* what() const noexcept; > }; > > > > > > class bad_typeid : public exception > { > public: > bad_typeid () noexcept { } > > > > virtual ~bad_typeid() noexcept; > > > virtual const char* what() const noexcept; > }; >} > >} > >#pragma GCC visibility pop ># 41 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/typeinfo.h" 2 ># 63 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/typeinfo.h" >class wxTypeIdentifier >{ >public: > wxTypeIdentifier(const char* className) > { > m_className = className; > } > > bool operator==(const wxTypeIdentifier& other) > { > return strcmp(m_className, other.m_className) == 0; > } > > bool operator!=(const wxTypeIdentifier& other) > { > return strcmp(m_className, other.m_className) != 0; > } >private: > const char* m_className; >}; ># 22 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" 2 > > > >enum >{ > WX_ANY_VALUE_BUFFER_SIZE = 16 >}; > >union wxAnyValueBuffer >{ > union Alignment > { > > wxInt64 m_int64; > > long double m_longDouble; > void ( *m_funcPtr )(void); > void ( wxAnyValueBuffer::*m_mFuncPtr )(void); > } m_alignment; > > void* m_ptr; > wxByte m_buffer[WX_ANY_VALUE_BUFFER_SIZE]; >}; > > > > > > >class wxAnyValueType >{ > >public: > > > > wxAnyValueType() > { > } > > > > > virtual ~wxAnyValueType() > { > } > > > > > virtual bool IsSameType(const wxAnyValueType* otherType) const = 0; > > > > > > virtual void DeleteValue(wxAnyValueBuffer& buf) const = 0; ># 90 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" > virtual void CopyBuffer(const wxAnyValueBuffer& src, > wxAnyValueBuffer& dst) const = 0; > > > > > > virtual bool ConvertValue(const wxAnyValueBuffer& src, > wxAnyValueType* dstType, > wxAnyValueBuffer& dst) const = 0; ># 113 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" > template <typename T> > bool CheckType(T* reserved = __null) const; > > > > >private: >}; ># 131 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >class wxAnyValueTypeScopedPtr >{ >public: > wxAnyValueTypeScopedPtr(wxAnyValueType* ptr) : m_ptr(ptr) { } > ~wxAnyValueTypeScopedPtr() { delete m_ptr; } > wxAnyValueType* get() const { return m_ptr; } >private: > wxAnyValueType* m_ptr; >}; ># 195 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >namespace wxPrivate >{ > >template<typename T> >class wxAnyValueTypeOpsInplace >{ >public: > static void DeleteValue(wxAnyValueBuffer& buf) > { > T* value = reinterpret_cast<T*>(&buf.m_buffer[0]); > value->~T(); > > > wxUnusedVar(value); > } > > static void SetValue(const T& value, > wxAnyValueBuffer& buf) > { > > void* const place = buf.m_buffer; > ::new(place) T(value); > } > > static const T& GetValue(const wxAnyValueBuffer& buf) > { > > > > const T* value = reinterpret_cast<const T*>(&buf.m_buffer[0]); > return *value; > } >}; > > >template<typename T> >class wxAnyValueTypeOpsGeneric >{ >public: > template<typename T2> > class DataHolder > { > public: > DataHolder(const T2& value) > { > m_value = value; > } > virtual ~DataHolder() { } > > T2 m_value; > private: > private: DataHolder(const DataHolder&); DataHolder& operator=(const DataHolder&); > }; > > static void DeleteValue(wxAnyValueBuffer& buf) > { > DataHolder<T>* holder = static_cast<DataHolder<T>*>(buf.m_ptr); > delete holder; > } > > static void SetValue(const T& value, > wxAnyValueBuffer& buf) > { > DataHolder<T>* holder = new DataHolder<T>(value); > buf.m_ptr = holder; > } > > static const T& GetValue(const wxAnyValueBuffer& buf) > { > DataHolder<T>* holder = static_cast<DataHolder<T>*>(buf.m_ptr); > return holder->m_value; > } >}; > >} ># 279 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >template<typename T> >class wxAnyValueTypeImplBase : public wxAnyValueType >{ > typedef typename wxIf< sizeof(T) <= WX_ANY_VALUE_BUFFER_SIZE, > wxPrivate::wxAnyValueTypeOpsInplace<T>, > wxPrivate::wxAnyValueTypeOpsGeneric<T> >::value > Ops; > >public: > wxAnyValueTypeImplBase() : wxAnyValueType() { } > virtual ~wxAnyValueTypeImplBase() { } > > virtual void DeleteValue(wxAnyValueBuffer& buf) const > { > Ops::DeleteValue(buf); > } > > virtual void CopyBuffer(const wxAnyValueBuffer& src, > wxAnyValueBuffer& dst) const > { > Ops::SetValue(Ops::GetValue(src), dst); > } > > > > > > static void SetValue(const T& value, > wxAnyValueBuffer& buf) > { > Ops::SetValue(value, buf); > } > > > > > > static const T& GetValue(const wxAnyValueBuffer& buf) > { > return Ops::GetValue(buf); > } > > > > > > >}; > > > > > > >template<typename T> >class wxAnyValueTypeImpl : public wxAnyValueTypeImplBase<T> >{ > friend class wxAny; public: static bool IsSameClass(const wxAnyValueType* otherType) { return wxTypeIdentifier(typeid(*sm_instance.get()).name()) == wxTypeIdentifier(typeid(*otherType).name()); } virtual bool IsSameType(const wxAnyValueType* otherType) const { return IsSameClass(otherType); } private: static wxAnyValueTypeScopedPtr sm_instance; public: static wxAnyValueType* GetInstance() { return sm_instance.get(); } >public: > wxAnyValueTypeImpl() : wxAnyValueTypeImplBase<T>() { } > virtual ~wxAnyValueTypeImpl() { } > > virtual bool ConvertValue(const wxAnyValueBuffer& src, > wxAnyValueType* dstType, > wxAnyValueBuffer& dst) const > { > wxUnusedVar(src); > wxUnusedVar(dstType); > wxUnusedVar(dst); > return false; > } >}; > >template<typename T> >wxAnyValueTypeScopedPtr wxAnyValueTypeImpl<T>::sm_instance = new wxAnyValueTypeImpl<T>(); ># 402 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" > typedef long long wxAnyBaseIntType; > typedef unsigned long long wxAnyBaseUintType; > > > > > > >class wxAnyValueTypeImplInt : > public wxAnyValueTypeImplBase<wxAnyBaseIntType> >{ > friend class wxAny; public: static bool IsSameClass(const wxAnyValueType* otherType) { return wxTypeIdentifier(typeid(*sm_instance.get()).name()) == wxTypeIdentifier(typeid(*otherType).name()); } virtual bool IsSameType(const wxAnyValueType* otherType) const { return IsSameClass(otherType); } private: static wxAnyValueTypeScopedPtr sm_instance; public: static wxAnyValueType* GetInstance() { return sm_instance.get(); } >public: > wxAnyValueTypeImplInt() : > wxAnyValueTypeImplBase<wxAnyBaseIntType>() { } > virtual ~wxAnyValueTypeImplInt() { } > > virtual bool ConvertValue(const wxAnyValueBuffer& src, > wxAnyValueType* dstType, > wxAnyValueBuffer& dst) const; >}; > > >class wxAnyValueTypeImplUint : > public wxAnyValueTypeImplBase<wxAnyBaseUintType> >{ > friend class wxAny; public: static bool IsSameClass(const wxAnyValueType* otherType) { return wxTypeIdentifier(typeid(*sm_instance.get()).name()) == wxTypeIdentifier(typeid(*otherType).name()); } virtual bool IsSameType(const wxAnyValueType* otherType) const { return IsSameClass(otherType); } private: static wxAnyValueTypeScopedPtr sm_instance; public: static wxAnyValueType* GetInstance() { return sm_instance.get(); } >public: > wxAnyValueTypeImplUint() : > wxAnyValueTypeImplBase<wxAnyBaseUintType>() { } > virtual ~wxAnyValueTypeImplUint() { } > > virtual bool ConvertValue(const wxAnyValueBuffer& src, > wxAnyValueType* dstType, > wxAnyValueBuffer& dst) const; >}; > > >template<> class wxAnyValueTypeImpl<signed long> : public wxAnyValueTypeImplInt { typedef wxAnyBaseIntType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplInt() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const signed long& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static signed long GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<signed long>(*sptr); }}; >template<> class wxAnyValueTypeImpl<signed int> : public wxAnyValueTypeImplInt { typedef wxAnyBaseIntType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplInt() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const signed int& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static signed int GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<signed int>(*sptr); }}; >template<> class wxAnyValueTypeImpl<signed short> : public wxAnyValueTypeImplInt { typedef wxAnyBaseIntType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplInt() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const signed short& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static signed short GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<signed short>(*sptr); }}; >template<> class wxAnyValueTypeImpl<signed char> : public wxAnyValueTypeImplInt { typedef wxAnyBaseIntType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplInt() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const signed char& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static signed char GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<signed char>(*sptr); }}; > >template<> class wxAnyValueTypeImpl<long long> : public wxAnyValueTypeImplInt { typedef wxAnyBaseIntType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplInt() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const long long& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static long long GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<long long>(*sptr); }}; > > >template<> class wxAnyValueTypeImpl<unsigned long> : public wxAnyValueTypeImplUint { typedef wxAnyBaseUintType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplUint() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const unsigned long& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static unsigned long GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<unsigned long>(*sptr); }}; >template<> class wxAnyValueTypeImpl<unsigned int> : public wxAnyValueTypeImplUint { typedef wxAnyBaseUintType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplUint() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const unsigned int& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static unsigned int GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<unsigned int>(*sptr); }}; >template<> class wxAnyValueTypeImpl<unsigned short> : public wxAnyValueTypeImplUint { typedef wxAnyBaseUintType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplUint() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const unsigned short& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static unsigned short GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<unsigned short>(*sptr); }}; >template<> class wxAnyValueTypeImpl<unsigned char> : public wxAnyValueTypeImplUint { typedef wxAnyBaseUintType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplUint() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const unsigned char& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static unsigned char GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<unsigned char>(*sptr); }}; > >template<> class wxAnyValueTypeImpl<unsigned long long> : public wxAnyValueTypeImplUint { typedef wxAnyBaseUintType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplUint() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const unsigned long long& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static unsigned long long GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<unsigned long long>(*sptr); }}; ># 498 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >extern bool wxAnyConvertString(const wxString& value, > wxAnyValueType* dstType, > wxAnyValueBuffer& dst); > >class wxAnyValueTypeImplwxString : public wxAnyValueTypeImplBase<wxString> { friend class wxAny; public: static bool IsSameClass(const wxAnyValueType* otherType) { return wxTypeIdentifier(typeid(*sm_instance.get()).name()) == wxTypeIdentifier(typeid(*otherType).name()); } virtual bool IsSameType(const wxAnyValueType* otherType) const { return IsSameClass(otherType); } private: static wxAnyValueTypeScopedPtr sm_instance; public: static wxAnyValueType* GetInstance() { return sm_instance.get(); } public: wxAnyValueTypeImplwxString() : wxAnyValueTypeImplBase<wxString>() { } virtual ~wxAnyValueTypeImplwxString() { } virtual bool ConvertValue(const wxAnyValueBuffer& src, wxAnyValueType* dstType, wxAnyValueBuffer& dst) const { const wxString& value = GetValue(src); return wxAnyConvertString(value, dstType, dst); } }; template<> class wxAnyValueTypeImpl<wxString> : public wxAnyValueTypeImplwxString { public: wxAnyValueTypeImpl() : wxAnyValueTypeImplwxString() { } virtual ~wxAnyValueTypeImpl() { } }; >class wxAnyValueTypeImplConstCharPtr : public wxAnyValueTypeImplBase<const char*> { friend class wxAny; public: static bool IsSameClass(const wxAnyValueType* otherType) { return wxTypeIdentifier(typeid(*sm_instance.get()).name()) == wxTypeIdentifier(typeid(*otherType).name()); } virtual bool IsSameType(const wxAnyValueType* otherType) const { return IsSameClass(otherType); } private: static wxAnyValueTypeScopedPtr sm_instance; public: static wxAnyValueType* GetInstance() { return sm_instance.get(); } public: wxAnyValueTypeImplConstCharPtr() : wxAnyValueTypeImplBase<const char*>() { } virtual ~wxAnyValueTypeImplConstCharPtr() { } virtual bool ConvertValue(const wxAnyValueBuffer& src, wxAnyValueType* dstType, wxAnyValueBuffer& dst) const { wxString value = GetValue(src); return wxAnyConvertString(value, dstType, dst); } }; template<> class wxAnyValueTypeImpl<const char*> : public wxAnyValueTypeImplConstCharPtr { public: wxAnyValueTypeImpl() : wxAnyValueTypeImplConstCharPtr() { } virtual ~wxAnyValueTypeImpl() { } }; > >class wxAnyValueTypeImplConstWchar_tPtr : public wxAnyValueTypeImplBase<const wchar_t*> { friend class wxAny; public: static bool IsSameClass(const wxAnyValueType* otherType) { return wxTypeIdentifier(typeid(*sm_instance.get()).name()) == wxTypeIdentifier(typeid(*otherType).name()); } virtual bool IsSameType(const wxAnyValueType* otherType) const { return IsSameClass(otherType); } private: static wxAnyValueTypeScopedPtr sm_instance; public: static wxAnyValueType* GetInstance() { return sm_instance.get(); } public: wxAnyValueTypeImplConstWchar_tPtr() : wxAnyValueTypeImplBase<const wchar_t*>() { } virtual ~wxAnyValueTypeImplConstWchar_tPtr() { } virtual bool ConvertValue(const wxAnyValueBuffer& src, wxAnyValueType* dstType, wxAnyValueBuffer& dst) const { wxString value = GetValue(src); return wxAnyConvertString(value, dstType, dst); } }; template<> class wxAnyValueTypeImpl<const wchar_t*> : public wxAnyValueTypeImplConstWchar_tPtr { public: wxAnyValueTypeImpl() : wxAnyValueTypeImplConstWchar_tPtr() { } virtual ~wxAnyValueTypeImpl() { } }; > > > > > >template<> >class wxAnyValueTypeImpl<bool> : > public wxAnyValueTypeImplBase<bool> >{ > friend class wxAny; public: static bool IsSameClass(const wxAnyValueType* otherType) { return wxTypeIdentifier(typeid(*sm_instance.get()).name()) == wxTypeIdentifier(typeid(*otherType).name()); } virtual bool IsSameType(const wxAnyValueType* otherType) const { return IsSameClass(otherType); } private: static wxAnyValueTypeScopedPtr sm_instance; public: static wxAnyValueType* GetInstance() { return sm_instance.get(); } >public: > wxAnyValueTypeImpl() : > wxAnyValueTypeImplBase<bool>() { } > virtual ~wxAnyValueTypeImpl() { } > > virtual bool ConvertValue(const wxAnyValueBuffer& src, > wxAnyValueType* dstType, > wxAnyValueBuffer& dst) const; >}; > > > > >class wxAnyValueTypeImplDouble : > public wxAnyValueTypeImplBase<double> >{ > friend class wxAny; public: static bool IsSameClass(const wxAnyValueType* otherType) { return wxTypeIdentifier(typeid(*sm_instance.get()).name()) == wxTypeIdentifier(typeid(*otherType).name()); } virtual bool IsSameType(const wxAnyValueType* otherType) const { return IsSameClass(otherType); } private: static wxAnyValueTypeScopedPtr sm_instance; public: static wxAnyValueType* GetInstance() { return sm_instance.get(); } >public: > wxAnyValueTypeImplDouble() : > wxAnyValueTypeImplBase<double>() { } > virtual ~wxAnyValueTypeImplDouble() { } > > virtual bool ConvertValue(const wxAnyValueBuffer& src, > wxAnyValueType* dstType, > wxAnyValueBuffer& dst) const; >}; > > >typedef double wxAnyBaseDoubleType; > >template<> class wxAnyValueTypeImpl<float> : public wxAnyValueTypeImplDouble { typedef wxAnyBaseDoubleType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplDouble() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const float& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static float GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<float>(*sptr); }}; >template<> class wxAnyValueTypeImpl<double> : public wxAnyValueTypeImplDouble { typedef wxAnyBaseDoubleType UseDataType; public: wxAnyValueTypeImpl() : wxAnyValueTypeImplDouble() { } virtual ~wxAnyValueTypeImpl() { } static void SetValue(const double& value, wxAnyValueBuffer& buf) { void* voidPtr = reinterpret_cast<void*>(&buf.m_buffer[0]); UseDataType* dptr = reinterpret_cast<UseDataType*>(voidPtr); *dptr = static_cast<UseDataType>(value); } static double GetValue(const wxAnyValueBuffer& buf) { const void* voidPtr = reinterpret_cast<const void*>(&buf.m_buffer[0]); const UseDataType* sptr = reinterpret_cast<const UseDataType*>(voidPtr); return static_cast<double>(*sptr); }}; ># 586 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" > template<> class wxAnyValueTypeImpl<wxDateTime> : public wxAnyValueTypeImplBase<wxDateTime> { friend class wxAny; public: static bool IsSameClass(const wxAnyValueType* otherType) { return wxTypeIdentifier(typeid(*sm_instance.get()).name()) == wxTypeIdentifier(typeid(*otherType).name()); } virtual bool IsSameType(const wxAnyValueType* otherType) const { return IsSameClass(otherType); } private: static wxAnyValueTypeScopedPtr sm_instance; public: static wxAnyValueType* GetInstance() { return sm_instance.get(); } public: wxAnyValueTypeImpl() : wxAnyValueTypeImplBase<wxDateTime>() { } virtual ~wxAnyValueTypeImpl() { } virtual bool ConvertValue(const wxAnyValueBuffer& src, wxAnyValueType* dstType, wxAnyValueBuffer& dst) const { wxUnusedVar(src); wxUnusedVar(dstType); wxUnusedVar(dst); return false; } }; ># 598 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >class wxAnyToVariantRegistration; > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h" 1 ># 602 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" 2 > > > > > > >class wxAnyValueTypeImplVariantData : > public wxAnyValueTypeImplBase<wxVariantData*> >{ > friend class wxAny; public: static bool IsSameClass(const wxAnyValueType* otherType) { return wxTypeIdentifier(typeid(*sm_instance.get()).name()) == wxTypeIdentifier(typeid(*otherType).name()); } virtual bool IsSameType(const wxAnyValueType* otherType) const { return IsSameClass(otherType); } private: static wxAnyValueTypeScopedPtr sm_instance; public: static wxAnyValueType* GetInstance() { return sm_instance.get(); } >public: > wxAnyValueTypeImplVariantData() : > wxAnyValueTypeImplBase<wxVariantData*>() { } > virtual ~wxAnyValueTypeImplVariantData() { } > > virtual void DeleteValue(wxAnyValueBuffer& buf) const > { > wxVariantData* data = static_cast<wxVariantData*>(buf.m_ptr); > if ( data ) > data->DecRef(); > } > > virtual void CopyBuffer(const wxAnyValueBuffer& src, > wxAnyValueBuffer& dst) const > { > wxVariantData* data = static_cast<wxVariantData*>(src.m_ptr); > if ( data ) > data->IncRef(); > dst.m_ptr = data; > } > > static void SetValue(wxVariantData* value, > wxAnyValueBuffer& buf) > { > value->IncRef(); > buf.m_ptr = value; > } > > static wxVariantData* GetValue(const wxAnyValueBuffer& buf) > { > return static_cast<wxVariantData*>(buf.m_ptr); > } > > virtual bool ConvertValue(const wxAnyValueBuffer& src, > wxAnyValueType* dstType, > wxAnyValueBuffer& dst) const > { > wxUnusedVar(src); > wxUnusedVar(dstType); > wxUnusedVar(dst); > return false; > } >}; > >template<> >class wxAnyValueTypeImpl<wxVariantData*> : > public wxAnyValueTypeImplVariantData >{ >public: > wxAnyValueTypeImpl() : wxAnyValueTypeImplVariantData() { } > virtual ~wxAnyValueTypeImpl() { } >}; ># 679 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >extern wxAnyValueType* wxAnyNullValueType; ># 714 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >extern void >wxPreRegisterAnyToVariant(wxAnyToVariantRegistration* reg); > > >extern bool >wxConvertAnyToVariant(const wxAny& any, wxVariant* variant); ># 731 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >class wxAny >{ >public: > > > > wxAny() > { > m_type = wxAnyNullValueType; > } > > > > > ~wxAny() > { > m_type->DeleteValue(m_buffer); > } > > > > > > template<typename T> > wxAny(const T& value) > { > m_type = wxAnyValueTypeImpl<T>::sm_instance.get(); > wxAnyValueTypeImpl<T>::SetValue(value, m_buffer); > } > > > wxAny(const char* value) > { > m_type = wxAnyValueTypeImpl<const char*>::sm_instance.get(); > wxAnyValueTypeImpl<const char*>::SetValue(value, m_buffer); > } > wxAny(const wchar_t* value) > { > m_type = wxAnyValueTypeImpl<const wchar_t*>::sm_instance.get(); > wxAnyValueTypeImpl<const wchar_t*>::SetValue(value, m_buffer); > } > > wxAny(const wxAny& any) > { > m_type = wxAnyNullValueType; > AssignAny(any); > } > > > wxAny(const wxVariant& variant) > { > m_type = wxAnyNullValueType; > AssignVariant(variant); > } ># 800 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" > template <typename T> > bool CheckType(T* = __null) const > { > return m_type->CheckType<T>(); > } ># 815 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" > const wxAnyValueType* GetType() const > { > return m_type; > } > > > > > > bool HasSameType(const wxAny& other) const > { > return GetType()->IsSameType(other.GetType()); > } > > > > > bool IsNull() const > { > return (m_type == wxAnyNullValueType); > } > > > > > void MakeNull() > { > m_type->DeleteValue(m_buffer); > m_type = wxAnyNullValueType; > } > > > > > > template<typename T> > wxAny& operator=(const T &value) > { > m_type->DeleteValue(m_buffer); > m_type = wxAnyValueTypeImpl<T>::sm_instance.get(); > wxAnyValueTypeImpl<T>::SetValue(value, m_buffer); > return *this; > } > > wxAny& operator=(const wxAny &any) > { > if (this != &any) > AssignAny(any); > return *this; > } > > > wxAny& operator=(const wxVariant &variant) > { > AssignVariant(variant); > return *this; > } > > > > wxAny& operator=(const char* value) > { > Assign(value); > return *this; > } > wxAny& operator=(const wchar_t* value) > { > Assign(value); > return *this; > } > > > > > > bool operator==(const wxString& value) const > { > wxString value2; > if ( !GetAs(&value2) ) > return false; > return value == value2; > } > > bool operator==(const char* value) const > { return (*this) == wxString(value); } > bool operator==(const wchar_t* value) const > { return (*this) == wxString(value); } > > > > > bool operator==(signed char value) const { if ( wxAnyValueTypeImpl<signed char>::IsSameClass(m_type) ) return (value == static_cast<signed char> (wxAnyValueTypeImpl<signed char>::GetValue(m_buffer))); if ( wxAnyValueTypeImpl<unsigned char>::IsSameClass(m_type) ) return (value == static_cast<signed char> (wxAnyValueTypeImpl<unsigned char>::GetValue(m_buffer))); return false; } bool operator==(unsigned char value) const { if ( wxAnyValueTypeImpl<unsigned char>::IsSameClass(m_type) ) return (value == static_cast<unsigned char> (wxAnyValueTypeImpl<unsigned char>::GetValue(m_buffer))); if ( wxAnyValueTypeImpl<signed char>::IsSameClass(m_type) ) return (value == static_cast<unsigned char> (wxAnyValueTypeImpl<signed char>::GetValue(m_buffer))); return false; } > bool operator==(signed short value) const { if ( wxAnyValueTypeImpl<signed short>::IsSameClass(m_type) ) return (value == static_cast<signed short> (wxAnyValueTypeImpl<signed short>::GetValue(m_buffer))); if ( wxAnyValueTypeImpl<unsigned short>::IsSameClass(m_type) ) return (value == static_cast<signed short> (wxAnyValueTypeImpl<unsigned short>::GetValue(m_buffer))); return false; } bool operator==(unsigned short value) const { if ( wxAnyValueTypeImpl<unsigned short>::IsSameClass(m_type) ) return (value == static_cast<unsigned short> (wxAnyValueTypeImpl<unsigned short>::GetValue(m_buffer))); if ( wxAnyValueTypeImpl<signed short>::IsSameClass(m_type) ) return (value == static_cast<unsigned short> (wxAnyValueTypeImpl<signed short>::GetValue(m_buffer))); return false; } > bool operator==(signed int value) const { if ( wxAnyValueTypeImpl<signed int>::IsSameClass(m_type) ) return (value == static_cast<signed int> (wxAnyValueTypeImpl<signed int>::GetValue(m_buffer))); if ( wxAnyValueTypeImpl<unsigned int>::IsSameClass(m_type) ) return (value == static_cast<signed int> (wxAnyValueTypeImpl<unsigned int>::GetValue(m_buffer))); return false; } bool operator==(unsigned int value) const { if ( wxAnyValueTypeImpl<unsigned int>::IsSameClass(m_type) ) return (value == static_cast<unsigned int> (wxAnyValueTypeImpl<unsigned int>::GetValue(m_buffer))); if ( wxAnyValueTypeImpl<signed int>::IsSameClass(m_type) ) return (value == static_cast<unsigned int> (wxAnyValueTypeImpl<signed int>::GetValue(m_buffer))); return false; } > bool operator==(signed long value) const { if ( wxAnyValueTypeImpl<signed long>::IsSameClass(m_type) ) return (value == static_cast<signed long> (wxAnyValueTypeImpl<signed long>::GetValue(m_buffer))); if ( wxAnyValueTypeImpl<unsigned long>::IsSameClass(m_type) ) return (value == static_cast<signed long> (wxAnyValueTypeImpl<unsigned long>::GetValue(m_buffer))); return false; } bool operator==(unsigned long value) const { if ( wxAnyValueTypeImpl<unsigned long>::IsSameClass(m_type) ) return (value == static_cast<unsigned long> (wxAnyValueTypeImpl<unsigned long>::GetValue(m_buffer))); if ( wxAnyValueTypeImpl<signed long>::IsSameClass(m_type) ) return (value == static_cast<unsigned long> (wxAnyValueTypeImpl<signed long>::GetValue(m_buffer))); return false; } > > bool operator==(long long value) const { if ( wxAnyValueTypeImpl<long long>::IsSameClass(m_type) ) return (value == static_cast<long long> (wxAnyValueTypeImpl<long long>::GetValue(m_buffer))); if ( wxAnyValueTypeImpl<unsigned long long>::IsSameClass(m_type) ) return (value == static_cast<long long> (wxAnyValueTypeImpl<unsigned long long>::GetValue(m_buffer))); return false; } bool operator==(unsigned long long value) const { if ( wxAnyValueTypeImpl<unsigned long long>::IsSameClass(m_type) ) return (value == static_cast<unsigned long long> (wxAnyValueTypeImpl<unsigned long long>::GetValue(m_buffer))); if ( wxAnyValueTypeImpl<long long>::IsSameClass(m_type) ) return (value == static_cast<unsigned long long> (wxAnyValueTypeImpl<long long>::GetValue(m_buffer))); return false; } ># 914 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >#pragma GCC diagnostic push ># 914 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" ># 914 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >#pragma GCC diagnostic ignored "-Wfloat-equal" ># 914 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" > > > bool operator==(float value) const > { > if ( !wxAnyValueTypeImpl<float>::IsSameClass(m_type) ) > return false; > > return value == > static_cast<float> > (wxAnyValueTypeImpl<float>::GetValue(m_buffer)); > } > > bool operator==(double value) const > { > if ( !wxAnyValueTypeImpl<double>::IsSameClass(m_type) ) > return false; > > return value == > static_cast<double> > (wxAnyValueTypeImpl<double>::GetValue(m_buffer)); > } ># 936 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >#pragma GCC diagnostic pop ># 936 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" > > > bool operator==(bool value) const > { > if ( !wxAnyValueTypeImpl<bool>::IsSameClass(m_type) ) > return false; > > return value == (wxAnyValueTypeImpl<bool>::GetValue(m_buffer)); > } > > > > > > > > template<typename T> > bool operator!=(const T& value) const > { return !((*this) == value); } ># 971 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" > template<typename T> > T As(T* = __null) const > { > if ( !wxAnyValueTypeImpl<T>::IsSameClass(m_type) ) > { > do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h", 976, __FUNCTION__, "Assert failure", "Incorrect or non-convertible data type"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > } > > return static_cast<T>(wxAnyValueTypeImpl<T>::GetValue(m_buffer)); > } > > > > > wxString As(wxString*) const > { > wxString value; > if ( !GetAs(&value) ) > { > do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h", 990, __FUNCTION__, "Assert failure", "Incorrect or non-convertible data type"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > } > return value; > } ># 1007 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" > template<typename T> > bool GetAs(T* value) const > { > if ( !wxAnyValueTypeImpl<T>::IsSameClass(m_type) ) > { > wxAnyValueType* otherType = > wxAnyValueTypeImpl<T>::sm_instance.get(); > wxAnyValueBuffer temp_buf; > > if ( !m_type->ConvertValue(m_buffer, otherType, temp_buf) ) > return false; > > *value = > static_cast<T>(wxAnyValueTypeImpl<T>::GetValue(temp_buf)); > otherType->DeleteValue(temp_buf); > > return true; > } > *value = static_cast<T>(wxAnyValueTypeImpl<T>::GetValue(m_buffer)); > return true; > } > > > > bool GetAs(wxVariant* value) const > { > return wxConvertAnyToVariant(*this, value); > } > > >private: > > void AssignAny(const wxAny& any) > { > > m_type->DeleteValue(m_buffer); > > wxAnyValueType* newType = any.m_type; > > if ( !newType->IsSameType(m_type) ) > m_type = newType; > > newType->CopyBuffer(any.m_buffer, m_buffer); > } > > > void AssignVariant(const wxVariant& variant) > { > wxVariantData* data = variant.GetData(); > > if ( data && data->GetAsAny(this) ) > return; > > m_type->DeleteValue(m_buffer); > > if ( variant.IsNull() ) > { > > m_type = wxAnyNullValueType; > } > else > { > > m_type = wxAnyValueTypeImpl<wxVariantData*>::sm_instance.get(); > wxAnyValueTypeImpl<wxVariantData*>::SetValue(data, m_buffer); > } > } > > > template<typename T> > void Assign(const T &value) > { > m_type->DeleteValue(m_buffer); > m_type = wxAnyValueTypeImpl<T>::sm_instance.get(); > wxAnyValueTypeImpl<T>::SetValue(value, m_buffer); > } > > > wxAnyValueBuffer m_buffer; > wxAnyValueType* m_type; >}; ># 1102 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h" >template<typename T> >inline bool wxAnyValueType::CheckType(T* reserved) const >{ > wxUnusedVar(reserved); > return wxAnyValueTypeImpl<T>::IsSameClass(this); >} > >typedef wxAny _WX_LIST_ITEM_TYPE_wxAnyList; typedef int (*wxSortFuncFor_wxAnyList)(const wxAny **, const wxAny **); class wxwxAnyListNode : public wxNodeBase { public: wxwxAnyListNode(wxListBase *list = __null, wxwxAnyListNode *previous = __null, wxwxAnyListNode *next = __null, wxAny *data = __null, const wxListKey& key = wxDefaultListKey) : wxNodeBase(list, previous, next, data, key) { } wxwxAnyListNode *GetNext() const { return (wxwxAnyListNode *)wxNodeBase::GetNext(); } wxwxAnyListNode *GetPrevious() const { return (wxwxAnyListNode *)wxNodeBase::GetPrevious(); } wxAny *GetData() const { return (wxAny *)wxNodeBase::GetData(); } void SetData(wxAny *data) { wxNodeBase::SetData(data); } protected: virtual void DeleteData(); private: wxwxAnyListNode(const wxwxAnyListNode&); wxwxAnyListNode& operator=(const wxwxAnyListNode&); }; class wxAnyList : public wxListBase { public: typedef wxwxAnyListNode Node; class compatibility_iterator { public: compatibility_iterator(Node *ptr = __null) : m_ptr(ptr) { } Node *operator->() const { return m_ptr; } operator Node *() const { return m_ptr; } private: Node *m_ptr; }; wxAnyList(wxKeyType keyType = wxKEY_NONE) : wxListBase(keyType) { } wxAnyList(const wxAnyList& list) : wxListBase(list.GetKeyType()) { Assign(list); } wxAnyList(size_t count, wxAny *elements[]) : wxListBase(count, (void **)elements) { } wxAnyList& operator=(const wxAnyList& list) { if (&list != this) Assign(list); return *this; } wxwxAnyListNode *GetFirst() const { return (wxwxAnyListNode *)wxListBase::GetFirst(); } wxwxAnyListNode *GetLast() const { return (wxwxAnyListNode *)wxListBase::GetLast(); } wxwxAnyListNode *Item(size_t index) const { return (wxwxAnyListNode *)wxListBase::Item(index); } wxAny *operator[](size_t index) const { wxwxAnyListNode *node = Item(index); return node ? (wxAny*)(node->GetData()) : __null; } wxwxAnyListNode *Append(wxAny *object) { return (wxwxAnyListNode *)wxListBase::Append(object); } wxwxAnyListNode *Insert(wxAny *object) { return (wxwxAnyListNode *)Insert(static_cast<wxwxAnyListNode *>(__null), object); } wxwxAnyListNode *Insert(size_t pos, wxAny *object) { return (wxwxAnyListNode *)wxListBase::Insert(pos, object); } wxwxAnyListNode *Insert(wxwxAnyListNode *prev, wxAny *object) { return (wxwxAnyListNode *)wxListBase::Insert(prev, object); } wxwxAnyListNode *Append(long key, void *object) { return (wxwxAnyListNode *)wxListBase::Append(key, object); } wxwxAnyListNode *Append(const wxChar *key, void *object) { return (wxwxAnyListNode *)wxListBase::Append(key, object); } wxwxAnyListNode *DetachNode(wxwxAnyListNode *node) { return (wxwxAnyListNode *)wxListBase::DetachNode(node); } bool DeleteNode(wxwxAnyListNode *node) { return wxListBase::DeleteNode(node); } bool DeleteObject(wxAny *object) { return wxListBase::DeleteObject(object); } void Erase(wxwxAnyListNode *it) { DeleteNode(it); } wxwxAnyListNode *Find(const wxAny *object) const { return (wxwxAnyListNode *)wxListBase::Find(object); } virtual wxwxAnyListNode *Find(const wxListKey& key) const { return (wxwxAnyListNode *)wxListBase::Find(key); } bool Member(const wxAny *object) const { return Find(object) != __null; } int IndexOf(wxAny *object) const { return wxListBase::IndexOf(object); } void Sort(wxSortCompareFunction func) { wxListBase::Sort(func); } void Sort(wxSortFuncFor_wxAnyList func) { Sort((wxSortCompareFunction)func); } protected: virtual wxNodeBase *CreateNode(wxNodeBase *prev, wxNodeBase *next, void *data, const wxListKey& key = wxDefaultListKey) { return new wxwxAnyListNode(this, (wxwxAnyListNode *)prev, (wxwxAnyListNode *)next, (wxAny *)data, key); } public: typedef size_t size_type; typedef int difference_type; typedef wxAny* value_type; typedef wxAny* base_value_type; typedef value_type& reference; typedef const value_type& const_reference; typedef base_value_type& base_reference; typedef const base_value_type& const_base_reference; class iterator { typedef wxAnyList list; public: typedef wxwxAnyListNode Node; typedef iterator itor; typedef wxAny* value_type; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; iterator(Node* node, Node* init) : m_node(node), m_init(init) {} iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h", 1109, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h", 1109, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_iterator { typedef wxAnyList list; public: typedef wxwxAnyListNode Node; typedef wxAny* value_type; typedef const value_type& const_reference; typedef const_iterator itor; typedef value_type* ptr_type; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_iterator() : m_node(__null), m_init(__null) { } const_iterator(const iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h", 1109, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/any.h", 1109, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class reverse_iterator { typedef wxAnyList list; public: typedef wxwxAnyListNode Node; typedef wxAny* value_type; typedef reverse_iterator itor; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } reverse_iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_reverse_iterator { typedef wxAnyList list; public: typedef wxwxAnyListNode Node; typedef wxAny* value_type; typedef const_reverse_iterator itor; typedef value_type* ptr_type; typedef const value_type& const_reference; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_reverse_iterator() : m_node(__null), m_init(__null) { } const_reverse_iterator(const reverse_iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this;} const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; explicit wxAnyList(size_type n, const_reference v = value_type()) { assign(n, v); } wxAnyList(const const_iterator& first, const const_iterator& last) { assign(first, last); } iterator begin() { return iterator(GetFirst(), GetLast()); } const_iterator begin() const { return const_iterator(GetFirst(), GetLast()); } iterator end() { return iterator(__null, GetLast()); } const_iterator end() const { return const_iterator(__null, GetLast()); } reverse_iterator rbegin() { return reverse_iterator(GetLast(), GetFirst()); } const_reverse_iterator rbegin() const { return const_reverse_iterator(GetLast(), GetFirst()); } reverse_iterator rend() { return reverse_iterator(__null, GetFirst()); } const_reverse_iterator rend() const { return const_reverse_iterator(__null, GetFirst()); } void resize(size_type n, value_type v = value_type()) { while (n < size()) pop_back(); while (n > size()) push_back(v); } size_type size() const { return GetCount(); } size_type max_size() const { return 2147483647; } bool empty() const { return IsEmpty(); } reference front() { return *begin(); } const_reference front() const { return *begin(); } reference back() { iterator tmp = end(); return *--tmp; } const_reference back() const { const_iterator tmp = end(); return *--tmp; } void push_front(const_reference v = value_type()) { Insert(GetFirst(), (const_base_reference)v); } void pop_front() { DeleteNode(GetFirst()); } void push_back(const_reference v = value_type()) { Append((const_base_reference)v); } void pop_back() { DeleteNode(GetLast()); } void assign(const_iterator first, const const_iterator& last) { clear(); for(; first != last; ++first) Append((const_base_reference)*first); } void assign(size_type n, const_reference v = value_type()) { clear(); for(size_type i = 0; i < n; ++i) Append((const_base_reference)v); } iterator insert(const iterator& it, const_reference v) { if ( it == end() ) { Append((const_base_reference)v); iterator itins(end()); return --itins; } else { Insert(it.m_node, (const_base_reference)v); iterator itins(it); return --itins; } } void insert(const iterator& it, size_type n, const_reference v) { for(size_type i = 0; i < n; ++i) insert(it, v); } void insert(const iterator& it, const_iterator first, const const_iterator& last) { for(; first != last; ++first) insert(it, *first); } iterator erase(const iterator& it) { iterator next = iterator(it.m_node->GetNext(), GetLast()); DeleteNode(it.m_node); return next; } iterator erase(const iterator& first, const iterator& last) { iterator next = last; if ( next != end() ) ++next; DeleteNodes(first.m_node, last.m_node); return next; } void clear() { Clear(); } void splice(const iterator& it, wxAnyList& l, const iterator& first, const iterator& last) { insert(it, first, last); l.erase(first, last); } void splice(const iterator& it, wxAnyList& l) { splice(it, l, l.begin(), l.end() ); } void splice(const iterator& it, wxAnyList& l, const iterator& first) { if ( it != first ) { insert(it, *first); l.erase(first); } } void remove(const_reference v) { DeleteObject((const_base_reference)v); } void reverse() { Reverse(); } }; ># 402 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h" 2 > > > >typedef wxVariantData* (*wxVariantDataFactory)(const wxAny& any); > > > > > > >class wxAnyToVariantRegistration >{ >public: > wxAnyToVariantRegistration(wxVariantDataFactory factory); > virtual ~wxAnyToVariantRegistration(); > > virtual wxAnyValueType* GetAssociatedType() = 0; > wxVariantDataFactory GetFactory() const { return m_factory; } >private: > wxVariantDataFactory m_factory; >}; > >template<typename T> >class wxAnyToVariantRegistrationImpl : public wxAnyToVariantRegistration >{ >public: > wxAnyToVariantRegistrationImpl(wxVariantDataFactory factory) > : wxAnyToVariantRegistration(factory) > { > } > > virtual wxAnyValueType* GetAssociatedType() > { > return wxAnyValueTypeImpl<T>::GetInstance(); > } >private: >}; ># 578 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/variant.h" >extern wxVariant wxNullVariant; ># 56 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" 2 > wxColour& operator << ( wxColour &object, const wxVariant &variant ); wxVariant& operator << ( wxVariant &variant, const wxColour &object ); ># 74 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" >class wxColourBase : public > > wxGDIObject > > > >{ >public: > > typedef unsigned char ChannelType; > > wxColourBase() {} > virtual ~wxColourBase() {} > > > > > > void Set(ChannelType red, > ChannelType green, > ChannelType blue, > ChannelType alpha = wxALPHA_OPAQUE) > { InitRGBA(red, green, blue, alpha); } > > > bool Set(const wxString &str) > { return FromString(str); } > > void Set(unsigned long colRGB) > { > > > Set((ChannelType)(0xFF & colRGB), > (ChannelType)(0xFF & (colRGB >> 8)), > (ChannelType)(0xFF & (colRGB >> 16))); > } > > > > > > > virtual ChannelType Red() const = 0; > virtual ChannelType Green() const = 0; > virtual ChannelType Blue() const = 0; > virtual ChannelType Alpha() const > { return wxALPHA_OPAQUE ; } > > > virtual wxString GetAsString(long flags = wxC2S_NAME | wxC2S_CSS_SYNTAX) const; > > void SetRGB(wxUint32 colRGB) > { > Set((ChannelType)(0xFF & colRGB), > (ChannelType)(0xFF & (colRGB >> 8)), > (ChannelType)(0xFF & (colRGB >> 16))); > } > > void SetRGBA(wxUint32 colRGBA) > { > Set((ChannelType)(0xFF & colRGBA), > (ChannelType)(0xFF & (colRGBA >> 8)), > (ChannelType)(0xFF & (colRGBA >> 16)), > (ChannelType)(0xFF & (colRGBA >> 24))); > } > > wxUint32 GetRGB() const > { return Red() | (Green() << 8) | (Blue() << 16); } > > wxUint32 GetRGBA() const > { return Red() | (Green() << 8) | (Blue() << 16) | (Alpha() << 24); } ># 160 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" > static void MakeMono (unsigned char* r, unsigned char* g, unsigned char* b, bool on); > static void MakeDisabled(unsigned char* r, unsigned char* g, unsigned char* b, unsigned char brightness = 255); > static void MakeGrey (unsigned char* r, unsigned char* g, unsigned char* b); > static void MakeGrey (unsigned char* r, unsigned char* g, unsigned char* b, > double weight_r, double weight_g, double weight_b); > static unsigned char AlphaBlend (unsigned char fg, unsigned char bg, double alpha); > static void ChangeLightness(unsigned char* r, unsigned char* g, unsigned char* b, int ialpha); > > wxColour ChangeLightness(int ialpha) const; > wxColour& MakeDisabled(unsigned char brightness = 255); ># 179 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" >protected: > > > void Init() { } > > virtual void > InitRGBA(ChannelType r, ChannelType g, ChannelType b, ChannelType a) = 0; > > virtual bool FromString(const wxString& s); > > > > > > virtual wxGDIRefData *CreateGDIRefData() const > { > do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h", 195, __FUNCTION__, "Assert failure", "must be overridden if used"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return __null; > } > > virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *) const > { > do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h", 202, __FUNCTION__, "Assert failure", "must be overridden if used"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return __null; > } > >}; > > > > wxString wxToString(const wxColourBase& col); > bool wxFromString(const wxString& str, wxColourBase* col); ># 221 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/colour.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/colour.h" >class wxColour : public wxColourBase >{ >public: > > > wxColour() { Init(); } wxColour(ChannelType red, ChannelType green, ChannelType blue, ChannelType alpha = wxALPHA_OPAQUE) { Init(); Set(red, green, blue, alpha); } wxColour(unsigned long colRGB) { Init(); Set(colRGB ); } wxColour(const wxString& colourName) { Init(); Set(colourName); } wxColour(const char *colourName) { Init(); Set(colourName); } wxColour(const wchar_t *colourName) { Init(); Set(colourName); } > wxColour(const GdkColor& gdkColor); > > > > > virtual ~wxColour(); > > bool operator==(const wxColour& col) const; > bool operator!=(const wxColour& col) const { return !(*this == col); } > > unsigned char Red() const; > unsigned char Green() const; > unsigned char Blue() const; > unsigned char Alpha() const; > > > > > > void CalcPixel( GdkColormap *cmap ); > int GetPixel() const; > > const GdkColor *GetColor() const; > >protected: > virtual void > InitRGBA(unsigned char r, unsigned char g, unsigned char b, unsigned char a); > > virtual bool FromString(const wxString& str); > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 222 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/colour.h" 2 ># 7 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/grid.h" 1 ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/grid.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" 1 ># 18 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/hashmap.h" 1 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/hashmap.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" 1 ># 30 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >inline bool wxIsEmpty(const char *s) { return !s || !*s; } >inline bool wxIsEmpty(const wchar_t *s) { return !s || !*s; } >inline bool wxIsEmpty(const wxScopedCharBuffer& s) { return wxIsEmpty(s.data()); } >inline bool wxIsEmpty(const wxScopedWCharBuffer& s) { return wxIsEmpty(s.data()); } >inline bool wxIsEmpty(const wxString& s) { return s.empty(); } >inline bool wxIsEmpty(const wxCStrData& s) { return s.AsString().empty(); } > > > > > > > size_t wxMB2WC(wchar_t *buf, const char *psz, size_t n); > size_t wxWC2MB(char *buf, const wchar_t *psz, size_t n); ># 69 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" > inline wxChar* wxTmemchr(const wxChar* s, wxChar c, size_t l) > { > for(;l && *s != c;--l, ++s) {} > > if(l) > return const_cast<wxChar*>(s); > return __null; > } > > inline int wxTmemcmp(const wxChar* sz1, const wxChar* sz2, size_t len) > { > for(; *sz1 == *sz2 && len; --len, ++sz1, ++sz2) {} > > if(len) > return *sz1 < *sz2 ? -1 : *sz1 > *sz2; > else > return 0; > } > > inline wxChar* wxTmemcpy(wxChar* szOut, const wxChar* szIn, size_t len) > { > return (wxChar*) memcpy(szOut, szIn, len * sizeof(wxChar)); > } > > inline wxChar* wxTmemmove(wxChar* szOut, const wxChar* szIn, size_t len) > { > return (wxChar*) memmove(szOut, szIn, len * sizeof(wxChar)); > } > > inline wxChar* wxTmemset(wxChar* szOut, const wxChar cIn, size_t len) > { > wxChar* szRet = szOut; > > while (len--) > *szOut++ = cIn; > > return szRet; > } > > > > > >inline char* wxTmemchr(const char* s, char c, size_t len) > { return (char*)memchr(s, c, len); } >inline int wxTmemcmp(const char* sz1, const char* sz2, size_t len) > { return memcmp(sz1, sz2, len); } >inline char* wxTmemcpy(char* szOut, const char* szIn, size_t len) > { return (char*)memcpy(szOut, szIn, len); } >inline char* wxTmemmove(char* szOut, const char* szIn, size_t len) > { return (char*)memmove(szOut, szIn, len); } >inline char* wxTmemset(char* szOut, const char cIn, size_t len) > { return (char*)memset(szOut, cIn, len); } ># 149 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" > char* wxSetlocale(int category, const char *locale); >inline char* wxSetlocale(int category, const wxScopedCharBuffer& locale) > { return wxSetlocale(category, locale.data()); } >inline char* wxSetlocale(int category, const wxString& locale) > { return wxSetlocale(category, locale.mb_str()); } >inline char* wxSetlocale(int category, const wxCStrData& locale) > { return wxSetlocale(category, locale.AsCharBuf()); } ># 165 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >inline size_t wxStrlen(const wxScopedCharBuffer& s) { return wxStrlen(s.data()); } >inline size_t wxStrlen(const wxScopedWCharBuffer& s) { return wxStrlen(s.data()); } >inline size_t wxStrlen(const wxString& s) { return s.length(); } >inline size_t wxStrlen(const wxCStrData& s) { return s.AsString().length(); } > > > > > > >inline size_t wxStrnlen(const char *str, size_t maxlen) >{ > size_t n; > for ( n = 0; n < maxlen; n++ ) > if ( !str[n] ) > break; > > return n; >} > > > > > >inline size_t wxStrnlen(const wchar_t *str, size_t maxlen) >{ > size_t n; > for ( n = 0; n < maxlen; n++ ) > if ( !str[n] ) > break; > > return n; >} > > > > > >inline char* wxStrdup(const wxScopedCharBuffer& s) { return wxStrdup(s.data()); } >inline wchar_t* wxStrdup(const wxScopedWCharBuffer& s) { return wxStrdup(s.data()); } >inline char* wxStrdup(const wxString& s) { return wxStrdup(s.mb_str()); } >inline char* wxStrdup(const wxCStrData& s) { return wxStrdup(s.AsCharBuf()); } > >inline char *wxStrcpy(char *dest, const char *src) > { return strcpy(dest, src); } >inline wchar_t *wxStrcpy(wchar_t *dest, const wchar_t *src) > { return wcscpy(dest, src); } >inline char *wxStrcpy(char *dest, const wxString& src) > { return strcpy(dest, src.mb_str()); } >inline char *wxStrcpy(char *dest, const wxCStrData& src) > { return strcpy(dest, src.AsCharBuf()); } >inline char *wxStrcpy(char *dest, const wxScopedCharBuffer& src) > { return strcpy(dest, src.data()); } >inline wchar_t *wxStrcpy(wchar_t *dest, const wxString& src) > { return wcscpy(dest, src.wc_str()); } >inline wchar_t *wxStrcpy(wchar_t *dest, const wxCStrData& src) > { return wcscpy(dest, src.AsWCharBuf()); } >inline wchar_t *wxStrcpy(wchar_t *dest, const wxScopedWCharBuffer& src) > { return wcscpy(dest, src.data()); } >inline char *wxStrcpy(char *dest, const wchar_t *src) > { return strcpy(dest, wxGet_wxConvLibc().cWC2MB(src)); } >inline wchar_t *wxStrcpy(wchar_t *dest, const char *src) > { return wcscpy(dest, wxGet_wxConvLibc().cMB2WC(src)); } > >inline char *wxStrncpy(char *dest, const char *src, size_t n) > { return strncpy(dest, src, n); } >inline wchar_t *wxStrncpy(wchar_t *dest, const wchar_t *src, size_t n) > { return wcsncpy(dest, src, n); } >inline char *wxStrncpy(char *dest, const wxString& src, size_t n) > { return strncpy(dest, src.mb_str(), n); } >inline char *wxStrncpy(char *dest, const wxCStrData& src, size_t n) > { return strncpy(dest, src.AsCharBuf(), n); } >inline char *wxStrncpy(char *dest, const wxScopedCharBuffer& src, size_t n) > { return strncpy(dest, src.data(), n); } >inline wchar_t *wxStrncpy(wchar_t *dest, const wxString& src, size_t n) > { return wcsncpy(dest, src.wc_str(), n); } >inline wchar_t *wxStrncpy(wchar_t *dest, const wxCStrData& src, size_t n) > { return wcsncpy(dest, src.AsWCharBuf(), n); } >inline wchar_t *wxStrncpy(wchar_t *dest, const wxScopedWCharBuffer& src, size_t n) > { return wcsncpy(dest, src.data(), n); } >inline char *wxStrncpy(char *dest, const wchar_t *src, size_t n) > { return strncpy(dest, wxGet_wxConvLibc().cWC2MB(src), n); } >inline wchar_t *wxStrncpy(wchar_t *dest, const char *src, size_t n) > { return wcsncpy(dest, wxGet_wxConvLibc().cMB2WC(src), n); } > > > >inline size_t wxStrlcpy(char *dest, const char *src, size_t n) >{ > const size_t len = strlen(src); > > if ( n ) > { > if ( n-- > len ) > n = len; > strncpy(dest, src, n); > dest[n] = '\0'; > } > > return len; >} >inline size_t wxStrlcpy(wchar_t *dest, const wchar_t *src, size_t n) >{ > const size_t len = wcslen(src); > if ( n ) > { > if ( n-- > len ) > n = len; > wcsncpy(dest, src, n); > dest[n] = L'\0'; > } > > return len; >} > >inline char *wxStrcat(char *dest, const char *src) > { return strcat(dest, src); } >inline wchar_t *wxStrcat(wchar_t *dest, const wchar_t *src) > { return wcscat(dest, src); } >inline char *wxStrcat(char *dest, const wxString& src) > { return strcat(dest, src.mb_str()); } >inline char *wxStrcat(char *dest, const wxCStrData& src) > { return strcat(dest, src.AsCharBuf()); } >inline char *wxStrcat(char *dest, const wxScopedCharBuffer& src) > { return strcat(dest, src.data()); } >inline wchar_t *wxStrcat(wchar_t *dest, const wxString& src) > { return wcscat(dest, src.wc_str()); } >inline wchar_t *wxStrcat(wchar_t *dest, const wxCStrData& src) > { return wcscat(dest, src.AsWCharBuf()); } >inline wchar_t *wxStrcat(wchar_t *dest, const wxScopedWCharBuffer& src) > { return wcscat(dest, src.data()); } >inline char *wxStrcat(char *dest, const wchar_t *src) > { return strcat(dest, wxGet_wxConvLibc().cWC2MB(src)); } >inline wchar_t *wxStrcat(wchar_t *dest, const char *src) > { return wcscat(dest, wxGet_wxConvLibc().cMB2WC(src)); } > >inline char *wxStrncat(char *dest, const char *src, size_t n) > { return strncat(dest, src, n); } >inline wchar_t *wxStrncat(wchar_t *dest, const wchar_t *src, size_t n) > { return wcsncat(dest, src, n); } >inline char *wxStrncat(char *dest, const wxString& src, size_t n) > { return strncat(dest, src.mb_str(), n); } >inline char *wxStrncat(char *dest, const wxCStrData& src, size_t n) > { return strncat(dest, src.AsCharBuf(), n); } >inline char *wxStrncat(char *dest, const wxScopedCharBuffer& src, size_t n) > { return strncat(dest, src.data(), n); } >inline wchar_t *wxStrncat(wchar_t *dest, const wxString& src, size_t n) > { return wcsncat(dest, src.wc_str(), n); } >inline wchar_t *wxStrncat(wchar_t *dest, const wxCStrData& src, size_t n) > { return wcsncat(dest, src.AsWCharBuf(), n); } >inline wchar_t *wxStrncat(wchar_t *dest, const wxScopedWCharBuffer& src, size_t n) > { return wcsncat(dest, src.data(), n); } >inline char *wxStrncat(char *dest, const wchar_t *src, size_t n) > { return strncat(dest, wxGet_wxConvLibc().cWC2MB(src), n); } >inline wchar_t *wxStrncat(wchar_t *dest, const char *src, size_t n) > { return wcsncat(dest, wxGet_wxConvLibc().cMB2WC(src), n); } ># 451 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >template<typename T> >inline int wxStrcmp_String(const wxString& s1, const T& s2) > { return s1.compare(s2); } >inline int wxStrcmp(const char * s1, const char * s2) { return strcmp(s1, s2); } inline int wxStrcmp(const char * s1, const wchar_t * s2) { return wxStrcmp_String(wxString(s1), wxString(s2)); } inline int wxStrcmp(const char * s1, const wxScopedCharBuffer& s2) { return strcmp(s1, s2.data()); } inline int wxStrcmp(const char * s1, const wxScopedWCharBuffer& s2) { return wxStrcmp_String(wxString(s1), s2.data()); } inline int wxStrcmp(const wchar_t * s1, const wchar_t * s2) { return wcscmp(s1, s2); } inline int wxStrcmp(const wchar_t * s1, const char * s2) { return wxStrcmp_String(wxString(s1), wxString(s2)); } inline int wxStrcmp(const wchar_t * s1, const wxScopedWCharBuffer& s2) { return wcscmp(s1, s2.data()); } inline int wxStrcmp(const wchar_t * s1, const wxScopedCharBuffer& s2) { return wxStrcmp_String(wxString(s1), s2.data()); } inline int wxStrcmp(const wxScopedCharBuffer& s1, const char * s2) { return strcmp(s1.data(), s2); } inline int wxStrcmp(const wxScopedCharBuffer& s1, const wchar_t * s2) { return wxStrcmp_String(wxString(s1), wxString(s2)); } inline int wxStrcmp(const wxScopedCharBuffer& s1, const wxScopedCharBuffer& s2) { return strcmp(s1.data(), s2.data()); } inline int wxStrcmp(const wxScopedCharBuffer& s1, const wxScopedWCharBuffer& s2) { return wxStrcmp_String(wxString(s1), wxString(s2)); } inline int wxStrcmp(const wxScopedWCharBuffer& s1, const wchar_t * s2) { return wcscmp(s1.data(), s2); } inline int wxStrcmp(const wxScopedWCharBuffer& s1, const char * s2) { return wxStrcmp_String(wxString(s1), wxString(s2)); } inline int wxStrcmp(const wxScopedWCharBuffer& s1, const wxScopedWCharBuffer& s2) { return wcscmp(s1.data(), s2.data()); } inline int wxStrcmp(const wxScopedWCharBuffer& s1, const wxScopedCharBuffer& s2) { return wxStrcmp_String(wxString(s1), wxString(s2)); } inline int wxStrcmp(const wxString& s1, const char* s2) { return wxStrcmp_String(s1, s2); } inline int wxStrcmp(const wxString& s1, const wchar_t* s2) { return wxStrcmp_String(s1, s2); } inline int wxStrcmp(const wxString& s1, const wxScopedCharBuffer& s2) { return wxStrcmp_String(s1, s2); } inline int wxStrcmp(const wxString& s1, const wxScopedWCharBuffer& s2) { return wxStrcmp_String(s1, s2); } inline int wxStrcmp(const wxString& s1, const wxString& s2) { return wxStrcmp_String(s1, s2); } inline int wxStrcmp(const wxString& s1, const wxCStrData& s2) { return wxStrcmp_String(s1, s2); } inline int wxStrcmp(const wxCStrData& s1, const char* s2) { return wxStrcmp_String(s1.AsString(), s2); } inline int wxStrcmp(const wxCStrData& s1, const wchar_t* s2) { return wxStrcmp_String(s1.AsString(), s2); } inline int wxStrcmp(const wxCStrData& s1, const wxScopedCharBuffer& s2) { return wxStrcmp_String(s1.AsString(), s2); } inline int wxStrcmp(const wxCStrData& s1, const wxScopedWCharBuffer& s2) { return wxStrcmp_String(s1.AsString(), s2); } inline int wxStrcmp(const wxCStrData& s1, const wxString& s2) { return wxStrcmp_String(s1.AsString(), s2); } inline int wxStrcmp(const wxCStrData& s1, const wxCStrData& s2) { return wxStrcmp_String(s1.AsString(), s2); } inline int wxStrcmp(const char * s1, const wxCStrData& s2) { return -wxStrcmp_String(s2.AsString(), s1); } inline int wxStrcmp(const char * s1, const wxString& s2) { return -wxStrcmp_String(s2, s1); } inline int wxStrcmp(const wchar_t * s1, const wxCStrData& s2) { return -wxStrcmp_String(s2.AsString(), s1); } inline int wxStrcmp(const wchar_t * s1, const wxString& s2) { return -wxStrcmp_String(s2, s1); } inline int wxStrcmp(const wxScopedCharBuffer& s1, const wxCStrData& s2) { return -wxStrcmp_String(s2.AsString(), s1.data()); } inline int wxStrcmp(const wxScopedCharBuffer& s1, const wxString& s2) { return -wxStrcmp_String(s2, s1.data()); } inline int wxStrcmp(const wxScopedWCharBuffer& s1, const wxCStrData& s2) { return -wxStrcmp_String(s2.AsString(), s1.data()); } inline int wxStrcmp(const wxScopedWCharBuffer& s1, const wxString& s2) { return -wxStrcmp_String(s2, s1.data()); } > >template<typename T> >inline int wxStricmp_String(const wxString& s1, const T& s2) > { return s1.CmpNoCase(s2); } >inline int wxStricmp(const char * s1, const char * s2) { return strcasecmp(s1, s2); } inline int wxStricmp(const char * s1, const wchar_t * s2) { return wxStricmp_String(wxString(s1), wxString(s2)); } inline int wxStricmp(const char * s1, const wxScopedCharBuffer& s2) { return strcasecmp(s1, s2.data()); } inline int wxStricmp(const char * s1, const wxScopedWCharBuffer& s2) { return wxStricmp_String(wxString(s1), s2.data()); } inline int wxStricmp(const wchar_t * s1, const wchar_t * s2) { return wxCRT_StricmpW(s1, s2); } inline int wxStricmp(const wchar_t * s1, const char * s2) { return wxStricmp_String(wxString(s1), wxString(s2)); } inline int wxStricmp(const wchar_t * s1, const wxScopedWCharBuffer& s2) { return wxCRT_StricmpW(s1, s2.data()); } inline int wxStricmp(const wchar_t * s1, const wxScopedCharBuffer& s2) { return wxStricmp_String(wxString(s1), s2.data()); } inline int wxStricmp(const wxScopedCharBuffer& s1, const char * s2) { return strcasecmp(s1.data(), s2); } inline int wxStricmp(const wxScopedCharBuffer& s1, const wchar_t * s2) { return wxStricmp_String(wxString(s1), wxString(s2)); } inline int wxStricmp(const wxScopedCharBuffer& s1, const wxScopedCharBuffer& s2) { return strcasecmp(s1.data(), s2.data()); } inline int wxStricmp(const wxScopedCharBuffer& s1, const wxScopedWCharBuffer& s2) { return wxStricmp_String(wxString(s1), wxString(s2)); } inline int wxStricmp(const wxScopedWCharBuffer& s1, const wchar_t * s2) { return wxCRT_StricmpW(s1.data(), s2); } inline int wxStricmp(const wxScopedWCharBuffer& s1, const char * s2) { return wxStricmp_String(wxString(s1), wxString(s2)); } inline int wxStricmp(const wxScopedWCharBuffer& s1, const wxScopedWCharBuffer& s2) { return wxCRT_StricmpW(s1.data(), s2.data()); } inline int wxStricmp(const wxScopedWCharBuffer& s1, const wxScopedCharBuffer& s2) { return wxStricmp_String(wxString(s1), wxString(s2)); } inline int wxStricmp(const wxString& s1, const char* s2) { return wxStricmp_String(s1, s2); } inline int wxStricmp(const wxString& s1, const wchar_t* s2) { return wxStricmp_String(s1, s2); } inline int wxStricmp(const wxString& s1, const wxScopedCharBuffer& s2) { return wxStricmp_String(s1, s2); } inline int wxStricmp(const wxString& s1, const wxScopedWCharBuffer& s2) { return wxStricmp_String(s1, s2); } inline int wxStricmp(const wxString& s1, const wxString& s2) { return wxStricmp_String(s1, s2); } inline int wxStricmp(const wxString& s1, const wxCStrData& s2) { return wxStricmp_String(s1, s2); } inline int wxStricmp(const wxCStrData& s1, const char* s2) { return wxStricmp_String(s1.AsString(), s2); } inline int wxStricmp(const wxCStrData& s1, const wchar_t* s2) { return wxStricmp_String(s1.AsString(), s2); } inline int wxStricmp(const wxCStrData& s1, const wxScopedCharBuffer& s2) { return wxStricmp_String(s1.AsString(), s2); } inline int wxStricmp(const wxCStrData& s1, const wxScopedWCharBuffer& s2) { return wxStricmp_String(s1.AsString(), s2); } inline int wxStricmp(const wxCStrData& s1, const wxString& s2) { return wxStricmp_String(s1.AsString(), s2); } inline int wxStricmp(const wxCStrData& s1, const wxCStrData& s2) { return wxStricmp_String(s1.AsString(), s2); } inline int wxStricmp(const char * s1, const wxCStrData& s2) { return -wxStricmp_String(s2.AsString(), s1); } inline int wxStricmp(const char * s1, const wxString& s2) { return -wxStricmp_String(s2, s1); } inline int wxStricmp(const wchar_t * s1, const wxCStrData& s2) { return -wxStricmp_String(s2.AsString(), s1); } inline int wxStricmp(const wchar_t * s1, const wxString& s2) { return -wxStricmp_String(s2, s1); } inline int wxStricmp(const wxScopedCharBuffer& s1, const wxCStrData& s2) { return -wxStricmp_String(s2.AsString(), s1.data()); } inline int wxStricmp(const wxScopedCharBuffer& s1, const wxString& s2) { return -wxStricmp_String(s2, s1.data()); } inline int wxStricmp(const wxScopedWCharBuffer& s1, const wxCStrData& s2) { return -wxStricmp_String(s2.AsString(), s1.data()); } inline int wxStricmp(const wxScopedWCharBuffer& s1, const wxString& s2) { return -wxStricmp_String(s2, s1.data()); } ># 474 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >template<typename T> >inline int wxStrcoll_String(const wxString& s1, const T& s2); >inline int wxStrcoll(const char * s1, const char * s2) { return strcoll(s1, s2); } inline int wxStrcoll(const char * s1, const wchar_t * s2) { return wxStrcoll_String(wxString(s1), wxString(s2)); } inline int wxStrcoll(const char * s1, const wxScopedCharBuffer& s2) { return strcoll(s1, s2.data()); } inline int wxStrcoll(const char * s1, const wxScopedWCharBuffer& s2) { return wxStrcoll_String(wxString(s1), s2.data()); } inline int wxStrcoll(const wchar_t * s1, const wchar_t * s2) { return wcscoll(s1, s2); } inline int wxStrcoll(const wchar_t * s1, const char * s2) { return wxStrcoll_String(wxString(s1), wxString(s2)); } inline int wxStrcoll(const wchar_t * s1, const wxScopedWCharBuffer& s2) { return wcscoll(s1, s2.data()); } inline int wxStrcoll(const wchar_t * s1, const wxScopedCharBuffer& s2) { return wxStrcoll_String(wxString(s1), s2.data()); } inline int wxStrcoll(const wxScopedCharBuffer& s1, const char * s2) { return strcoll(s1.data(), s2); } inline int wxStrcoll(const wxScopedCharBuffer& s1, const wchar_t * s2) { return wxStrcoll_String(wxString(s1), wxString(s2)); } inline int wxStrcoll(const wxScopedCharBuffer& s1, const wxScopedCharBuffer& s2) { return strcoll(s1.data(), s2.data()); } inline int wxStrcoll(const wxScopedCharBuffer& s1, const wxScopedWCharBuffer& s2) { return wxStrcoll_String(wxString(s1), wxString(s2)); } inline int wxStrcoll(const wxScopedWCharBuffer& s1, const wchar_t * s2) { return wcscoll(s1.data(), s2); } inline int wxStrcoll(const wxScopedWCharBuffer& s1, const char * s2) { return wxStrcoll_String(wxString(s1), wxString(s2)); } inline int wxStrcoll(const wxScopedWCharBuffer& s1, const wxScopedWCharBuffer& s2) { return wcscoll(s1.data(), s2.data()); } inline int wxStrcoll(const wxScopedWCharBuffer& s1, const wxScopedCharBuffer& s2) { return wxStrcoll_String(wxString(s1), wxString(s2)); } inline int wxStrcoll(const wxString& s1, const char* s2) { return wxStrcoll_String(s1, s2); } inline int wxStrcoll(const wxString& s1, const wchar_t* s2) { return wxStrcoll_String(s1, s2); } inline int wxStrcoll(const wxString& s1, const wxScopedCharBuffer& s2) { return wxStrcoll_String(s1, s2); } inline int wxStrcoll(const wxString& s1, const wxScopedWCharBuffer& s2) { return wxStrcoll_String(s1, s2); } inline int wxStrcoll(const wxString& s1, const wxString& s2) { return wxStrcoll_String(s1, s2); } inline int wxStrcoll(const wxString& s1, const wxCStrData& s2) { return wxStrcoll_String(s1, s2); } inline int wxStrcoll(const wxCStrData& s1, const char* s2) { return wxStrcoll_String(s1.AsString(), s2); } inline int wxStrcoll(const wxCStrData& s1, const wchar_t* s2) { return wxStrcoll_String(s1.AsString(), s2); } inline int wxStrcoll(const wxCStrData& s1, const wxScopedCharBuffer& s2) { return wxStrcoll_String(s1.AsString(), s2); } inline int wxStrcoll(const wxCStrData& s1, const wxScopedWCharBuffer& s2) { return wxStrcoll_String(s1.AsString(), s2); } inline int wxStrcoll(const wxCStrData& s1, const wxString& s2) { return wxStrcoll_String(s1.AsString(), s2); } inline int wxStrcoll(const wxCStrData& s1, const wxCStrData& s2) { return wxStrcoll_String(s1.AsString(), s2); } inline int wxStrcoll(const char * s1, const wxCStrData& s2) { return -wxStrcoll_String(s2.AsString(), s1); } inline int wxStrcoll(const char * s1, const wxString& s2) { return -wxStrcoll_String(s2, s1); } inline int wxStrcoll(const wchar_t * s1, const wxCStrData& s2) { return -wxStrcoll_String(s2.AsString(), s1); } inline int wxStrcoll(const wchar_t * s1, const wxString& s2) { return -wxStrcoll_String(s2, s1); } inline int wxStrcoll(const wxScopedCharBuffer& s1, const wxCStrData& s2) { return -wxStrcoll_String(s2.AsString(), s1.data()); } inline int wxStrcoll(const wxScopedCharBuffer& s1, const wxString& s2) { return -wxStrcoll_String(s2, s1.data()); } inline int wxStrcoll(const wxScopedWCharBuffer& s1, const wxCStrData& s2) { return -wxStrcoll_String(s2.AsString(), s1.data()); } inline int wxStrcoll(const wxScopedWCharBuffer& s1, const wxString& s2) { return -wxStrcoll_String(s2, s1.data()); } > > >template<typename T> >inline int wxStrcoll_String(const wxString& s1, const T& s2) >{ > > > > > > return wxStrcoll((const wchar_t*)s1.wc_str(), s2); > > > >} ># 501 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >template<typename T> >inline size_t wxStrspn_String(const wxString& s1, const T& s2) >{ > size_t pos = s1.find_first_not_of(s2); > return pos == wxString::npos ? s1.length() : pos; >} >inline size_t wxStrspn(const char * s1, const char * s2) { return strspn(s1, s2); } inline size_t wxStrspn(const char * s1, const wchar_t * s2) { return wxStrspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrspn(const char * s1, const wxScopedCharBuffer& s2) { return strspn(s1, s2.data()); } inline size_t wxStrspn(const char * s1, const wxScopedWCharBuffer& s2) { return wxStrspn_String(wxString(s1), s2.data()); } inline size_t wxStrspn(const wchar_t * s1, const wchar_t * s2) { return wcsspn(s1, s2); } inline size_t wxStrspn(const wchar_t * s1, const char * s2) { return wxStrspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrspn(const wchar_t * s1, const wxScopedWCharBuffer& s2) { return wcsspn(s1, s2.data()); } inline size_t wxStrspn(const wchar_t * s1, const wxScopedCharBuffer& s2) { return wxStrspn_String(wxString(s1), s2.data()); } inline size_t wxStrspn(const wxScopedCharBuffer& s1, const char * s2) { return strspn(s1.data(), s2); } inline size_t wxStrspn(const wxScopedCharBuffer& s1, const wchar_t * s2) { return wxStrspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrspn(const wxScopedCharBuffer& s1, const wxScopedCharBuffer& s2) { return strspn(s1.data(), s2.data()); } inline size_t wxStrspn(const wxScopedCharBuffer& s1, const wxScopedWCharBuffer& s2) { return wxStrspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrspn(const wxScopedWCharBuffer& s1, const wchar_t * s2) { return wcsspn(s1.data(), s2); } inline size_t wxStrspn(const wxScopedWCharBuffer& s1, const char * s2) { return wxStrspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrspn(const wxScopedWCharBuffer& s1, const wxScopedWCharBuffer& s2) { return wcsspn(s1.data(), s2.data()); } inline size_t wxStrspn(const wxScopedWCharBuffer& s1, const wxScopedCharBuffer& s2) { return wxStrspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrspn(const wxString& s1, const char* s2) { return wxStrspn_String(s1, s2); } inline size_t wxStrspn(const wxString& s1, const wchar_t* s2) { return wxStrspn_String(s1, s2); } inline size_t wxStrspn(const wxString& s1, const wxScopedCharBuffer& s2) { return wxStrspn_String(s1, s2); } inline size_t wxStrspn(const wxString& s1, const wxScopedWCharBuffer& s2) { return wxStrspn_String(s1, s2); } inline size_t wxStrspn(const wxString& s1, const wxString& s2) { return wxStrspn_String(s1, s2); } inline size_t wxStrspn(const wxString& s1, const wxCStrData& s2) { return wxStrspn_String(s1, s2); } inline size_t wxStrspn(const wxCStrData& s1, const char* s2) { return wxStrspn_String(s1.AsString(), s2); } inline size_t wxStrspn(const wxCStrData& s1, const wchar_t* s2) { return wxStrspn_String(s1.AsString(), s2); } inline size_t wxStrspn(const wxCStrData& s1, const wxScopedCharBuffer& s2) { return wxStrspn_String(s1.AsString(), s2); } inline size_t wxStrspn(const wxCStrData& s1, const wxScopedWCharBuffer& s2) { return wxStrspn_String(s1.AsString(), s2); } inline size_t wxStrspn(const wxCStrData& s1, const wxString& s2) { return wxStrspn_String(s1.AsString(), s2); } inline size_t wxStrspn(const wxCStrData& s1, const wxCStrData& s2) { return wxStrspn_String(s1.AsString(), s2); } inline size_t wxStrspn(const char * s1, const wxCStrData& s2) { return strspn(s1, s2.AsCharBuf()); } inline size_t wxStrspn(const char * s1, const wxString& s2) { return strspn(s1, s2.mb_str()); } inline size_t wxStrspn(const wchar_t * s1, const wxCStrData& s2) { return wcsspn(s1, s2.AsWCharBuf()); } inline size_t wxStrspn(const wchar_t * s1, const wxString& s2) { return wcsspn(s1, s2.wc_str()); } inline size_t wxStrspn(const wxScopedCharBuffer& s1, const wxCStrData& s2) { return strspn(s1.data(), s2.AsCharBuf()); } inline size_t wxStrspn(const wxScopedCharBuffer& s1, const wxString& s2) { return strspn(s1.data(), s2.mb_str()); } inline size_t wxStrspn(const wxScopedWCharBuffer& s1, const wxCStrData& s2) { return wcsspn(s1.data(), s2.AsWCharBuf()); } inline size_t wxStrspn(const wxScopedWCharBuffer& s1, const wxString& s2) { return wcsspn(s1.data(), s2.wc_str()); } > >template<typename T> >inline size_t wxStrcspn_String(const wxString& s1, const T& s2) >{ > size_t pos = s1.find_first_of(s2); > return pos == wxString::npos ? s1.length() : pos; >} >inline size_t wxStrcspn(const char * s1, const char * s2) { return strcspn(s1, s2); } inline size_t wxStrcspn(const char * s1, const wchar_t * s2) { return wxStrcspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrcspn(const char * s1, const wxScopedCharBuffer& s2) { return strcspn(s1, s2.data()); } inline size_t wxStrcspn(const char * s1, const wxScopedWCharBuffer& s2) { return wxStrcspn_String(wxString(s1), s2.data()); } inline size_t wxStrcspn(const wchar_t * s1, const wchar_t * s2) { return wcscspn(s1, s2); } inline size_t wxStrcspn(const wchar_t * s1, const char * s2) { return wxStrcspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrcspn(const wchar_t * s1, const wxScopedWCharBuffer& s2) { return wcscspn(s1, s2.data()); } inline size_t wxStrcspn(const wchar_t * s1, const wxScopedCharBuffer& s2) { return wxStrcspn_String(wxString(s1), s2.data()); } inline size_t wxStrcspn(const wxScopedCharBuffer& s1, const char * s2) { return strcspn(s1.data(), s2); } inline size_t wxStrcspn(const wxScopedCharBuffer& s1, const wchar_t * s2) { return wxStrcspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrcspn(const wxScopedCharBuffer& s1, const wxScopedCharBuffer& s2) { return strcspn(s1.data(), s2.data()); } inline size_t wxStrcspn(const wxScopedCharBuffer& s1, const wxScopedWCharBuffer& s2) { return wxStrcspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrcspn(const wxScopedWCharBuffer& s1, const wchar_t * s2) { return wcscspn(s1.data(), s2); } inline size_t wxStrcspn(const wxScopedWCharBuffer& s1, const char * s2) { return wxStrcspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrcspn(const wxScopedWCharBuffer& s1, const wxScopedWCharBuffer& s2) { return wcscspn(s1.data(), s2.data()); } inline size_t wxStrcspn(const wxScopedWCharBuffer& s1, const wxScopedCharBuffer& s2) { return wxStrcspn_String(wxString(s1), wxString(s2)); } inline size_t wxStrcspn(const wxString& s1, const char* s2) { return wxStrcspn_String(s1, s2); } inline size_t wxStrcspn(const wxString& s1, const wchar_t* s2) { return wxStrcspn_String(s1, s2); } inline size_t wxStrcspn(const wxString& s1, const wxScopedCharBuffer& s2) { return wxStrcspn_String(s1, s2); } inline size_t wxStrcspn(const wxString& s1, const wxScopedWCharBuffer& s2) { return wxStrcspn_String(s1, s2); } inline size_t wxStrcspn(const wxString& s1, const wxString& s2) { return wxStrcspn_String(s1, s2); } inline size_t wxStrcspn(const wxString& s1, const wxCStrData& s2) { return wxStrcspn_String(s1, s2); } inline size_t wxStrcspn(const wxCStrData& s1, const char* s2) { return wxStrcspn_String(s1.AsString(), s2); } inline size_t wxStrcspn(const wxCStrData& s1, const wchar_t* s2) { return wxStrcspn_String(s1.AsString(), s2); } inline size_t wxStrcspn(const wxCStrData& s1, const wxScopedCharBuffer& s2) { return wxStrcspn_String(s1.AsString(), s2); } inline size_t wxStrcspn(const wxCStrData& s1, const wxScopedWCharBuffer& s2) { return wxStrcspn_String(s1.AsString(), s2); } inline size_t wxStrcspn(const wxCStrData& s1, const wxString& s2) { return wxStrcspn_String(s1.AsString(), s2); } inline size_t wxStrcspn(const wxCStrData& s1, const wxCStrData& s2) { return wxStrcspn_String(s1.AsString(), s2); } inline size_t wxStrcspn(const char * s1, const wxCStrData& s2) { return strcspn(s1, s2.AsCharBuf()); } inline size_t wxStrcspn(const char * s1, const wxString& s2) { return strcspn(s1, s2.mb_str()); } inline size_t wxStrcspn(const wchar_t * s1, const wxCStrData& s2) { return wcscspn(s1, s2.AsWCharBuf()); } inline size_t wxStrcspn(const wchar_t * s1, const wxString& s2) { return wcscspn(s1, s2.wc_str()); } inline size_t wxStrcspn(const wxScopedCharBuffer& s1, const wxCStrData& s2) { return strcspn(s1.data(), s2.AsCharBuf()); } inline size_t wxStrcspn(const wxScopedCharBuffer& s1, const wxString& s2) { return strcspn(s1.data(), s2.mb_str()); } inline size_t wxStrcspn(const wxScopedWCharBuffer& s1, const wxCStrData& s2) { return wcscspn(s1.data(), s2.AsWCharBuf()); } inline size_t wxStrcspn(const wxScopedWCharBuffer& s1, const wxString& s2) { return wcscspn(s1.data(), s2.wc_str()); } > > > > > > >template<typename T> >inline int wxStrncmp_String(const wxString& s1, const T& s2, size_t n) > { return s1.compare(0, n, s2, 0, n); } >inline int wxStrncmp(const char * s1, const char * s2, size_t n) { return strncmp(s1, s2, n); } inline int wxStrncmp(const char * s1, const wchar_t * s2, size_t n) { return wxStrncmp_String(wxString(s1), wxString(s2), n); } inline int wxStrncmp(const char * s1, const wxScopedCharBuffer& s2, size_t n) { return strncmp(s1, s2.data(), n); } inline int wxStrncmp(const char * s1, const wxScopedWCharBuffer& s2, size_t n) { return wxStrncmp_String(wxString(s1), s2.data(), n); } inline int wxStrncmp(const wchar_t * s1, const wchar_t * s2, size_t n) { return wcsncmp(s1, s2, n); } inline int wxStrncmp(const wchar_t * s1, const char * s2, size_t n) { return wxStrncmp_String(wxString(s1), wxString(s2), n); } inline int wxStrncmp(const wchar_t * s1, const wxScopedWCharBuffer& s2, size_t n) { return wcsncmp(s1, s2.data(), n); } inline int wxStrncmp(const wchar_t * s1, const wxScopedCharBuffer& s2, size_t n) { return wxStrncmp_String(wxString(s1), s2.data(), n); } inline int wxStrncmp(const wxScopedCharBuffer& s1, const char * s2, size_t n) { return strncmp(s1.data(), s2, n); } inline int wxStrncmp(const wxScopedCharBuffer& s1, const wchar_t * s2, size_t n) { return wxStrncmp_String(wxString(s1), wxString(s2), n); } inline int wxStrncmp(const wxScopedCharBuffer& s1, const wxScopedCharBuffer& s2, size_t n) { return strncmp(s1.data(), s2.data(), n); } inline int wxStrncmp(const wxScopedCharBuffer& s1, const wxScopedWCharBuffer& s2, size_t n) { return wxStrncmp_String(wxString(s1), wxString(s2), n); } inline int wxStrncmp(const wxScopedWCharBuffer& s1, const wchar_t * s2, size_t n) { return wcsncmp(s1.data(), s2, n); } inline int wxStrncmp(const wxScopedWCharBuffer& s1, const char * s2, size_t n) { return wxStrncmp_String(wxString(s1), wxString(s2), n); } inline int wxStrncmp(const wxScopedWCharBuffer& s1, const wxScopedWCharBuffer& s2, size_t n) { return wcsncmp(s1.data(), s2.data(), n); } inline int wxStrncmp(const wxScopedWCharBuffer& s1, const wxScopedCharBuffer& s2, size_t n) { return wxStrncmp_String(wxString(s1), wxString(s2), n); } inline int wxStrncmp(const wxString& s1, const char* s2, size_t n) { return wxStrncmp_String(s1, s2, n); } inline int wxStrncmp(const wxString& s1, const wchar_t* s2, size_t n) { return wxStrncmp_String(s1, s2, n); } inline int wxStrncmp(const wxString& s1, const wxScopedCharBuffer& s2, size_t n) { return wxStrncmp_String(s1, s2, n); } inline int wxStrncmp(const wxString& s1, const wxScopedWCharBuffer& s2, size_t n) { return wxStrncmp_String(s1, s2, n); } inline int wxStrncmp(const wxString& s1, const wxString& s2, size_t n) { return wxStrncmp_String(s1, s2, n); } inline int wxStrncmp(const wxString& s1, const wxCStrData& s2, size_t n) { return wxStrncmp_String(s1, s2, n); } inline int wxStrncmp(const wxCStrData& s1, const char* s2, size_t n) { return wxStrncmp_String(s1.AsString(), s2, n); } inline int wxStrncmp(const wxCStrData& s1, const wchar_t* s2, size_t n) { return wxStrncmp_String(s1.AsString(), s2, n); } inline int wxStrncmp(const wxCStrData& s1, const wxScopedCharBuffer& s2, size_t n) { return wxStrncmp_String(s1.AsString(), s2, n); } inline int wxStrncmp(const wxCStrData& s1, const wxScopedWCharBuffer& s2, size_t n) { return wxStrncmp_String(s1.AsString(), s2, n); } inline int wxStrncmp(const wxCStrData& s1, const wxString& s2, size_t n) { return wxStrncmp_String(s1.AsString(), s2, n); } inline int wxStrncmp(const wxCStrData& s1, const wxCStrData& s2, size_t n) { return wxStrncmp_String(s1.AsString(), s2, n); } inline int wxStrncmp(const char * s1, const wxCStrData& s2, size_t n) { return -wxStrncmp_String(s2.AsString(), s1, n); } inline int wxStrncmp(const char * s1, const wxString& s2, size_t n) { return -wxStrncmp_String(s2, s1, n); } inline int wxStrncmp(const wchar_t * s1, const wxCStrData& s2, size_t n) { return -wxStrncmp_String(s2.AsString(), s1, n); } inline int wxStrncmp(const wchar_t * s1, const wxString& s2, size_t n) { return -wxStrncmp_String(s2, s1, n); } inline int wxStrncmp(const wxScopedCharBuffer& s1, const wxCStrData& s2, size_t n) { return -wxStrncmp_String(s2.AsString(), s1.data(), n); } inline int wxStrncmp(const wxScopedCharBuffer& s1, const wxString& s2, size_t n) { return -wxStrncmp_String(s2, s1.data(), n); } inline int wxStrncmp(const wxScopedWCharBuffer& s1, const wxCStrData& s2, size_t n) { return -wxStrncmp_String(s2.AsString(), s1.data(), n); } inline int wxStrncmp(const wxScopedWCharBuffer& s1, const wxString& s2, size_t n) { return -wxStrncmp_String(s2, s1.data(), n); } > >template<typename T> >inline int wxStrnicmp_String(const wxString& s1, const T& s2, size_t n) > { return s1.substr(0, n).CmpNoCase(wxString(s2).substr(0, n)); } >inline int wxStrnicmp(const char * s1, const char * s2, size_t n) { return strncasecmp(s1, s2, n); } inline int wxStrnicmp(const char * s1, const wchar_t * s2, size_t n) { return wxStrnicmp_String(wxString(s1), wxString(s2), n); } inline int wxStrnicmp(const char * s1, const wxScopedCharBuffer& s2, size_t n) { return strncasecmp(s1, s2.data(), n); } inline int wxStrnicmp(const char * s1, const wxScopedWCharBuffer& s2, size_t n) { return wxStrnicmp_String(wxString(s1), s2.data(), n); } inline int wxStrnicmp(const wchar_t * s1, const wchar_t * s2, size_t n) { return wxCRT_StrnicmpW(s1, s2, n); } inline int wxStrnicmp(const wchar_t * s1, const char * s2, size_t n) { return wxStrnicmp_String(wxString(s1), wxString(s2), n); } inline int wxStrnicmp(const wchar_t * s1, const wxScopedWCharBuffer& s2, size_t n) { return wxCRT_StrnicmpW(s1, s2.data(), n); } inline int wxStrnicmp(const wchar_t * s1, const wxScopedCharBuffer& s2, size_t n) { return wxStrnicmp_String(wxString(s1), s2.data(), n); } inline int wxStrnicmp(const wxScopedCharBuffer& s1, const char * s2, size_t n) { return strncasecmp(s1.data(), s2, n); } inline int wxStrnicmp(const wxScopedCharBuffer& s1, const wchar_t * s2, size_t n) { return wxStrnicmp_String(wxString(s1), wxString(s2), n); } inline int wxStrnicmp(const wxScopedCharBuffer& s1, const wxScopedCharBuffer& s2, size_t n) { return strncasecmp(s1.data(), s2.data(), n); } inline int wxStrnicmp(const wxScopedCharBuffer& s1, const wxScopedWCharBuffer& s2, size_t n) { return wxStrnicmp_String(wxString(s1), wxString(s2), n); } inline int wxStrnicmp(const wxScopedWCharBuffer& s1, const wchar_t * s2, size_t n) { return wxCRT_StrnicmpW(s1.data(), s2, n); } inline int wxStrnicmp(const wxScopedWCharBuffer& s1, const char * s2, size_t n) { return wxStrnicmp_String(wxString(s1), wxString(s2), n); } inline int wxStrnicmp(const wxScopedWCharBuffer& s1, const wxScopedWCharBuffer& s2, size_t n) { return wxCRT_StrnicmpW(s1.data(), s2.data(), n); } inline int wxStrnicmp(const wxScopedWCharBuffer& s1, const wxScopedCharBuffer& s2, size_t n) { return wxStrnicmp_String(wxString(s1), wxString(s2), n); } inline int wxStrnicmp(const wxString& s1, const char* s2, size_t n) { return wxStrnicmp_String(s1, s2, n); } inline int wxStrnicmp(const wxString& s1, const wchar_t* s2, size_t n) { return wxStrnicmp_String(s1, s2, n); } inline int wxStrnicmp(const wxString& s1, const wxScopedCharBuffer& s2, size_t n) { return wxStrnicmp_String(s1, s2, n); } inline int wxStrnicmp(const wxString& s1, const wxScopedWCharBuffer& s2, size_t n) { return wxStrnicmp_String(s1, s2, n); } inline int wxStrnicmp(const wxString& s1, const wxString& s2, size_t n) { return wxStrnicmp_String(s1, s2, n); } inline int wxStrnicmp(const wxString& s1, const wxCStrData& s2, size_t n) { return wxStrnicmp_String(s1, s2, n); } inline int wxStrnicmp(const wxCStrData& s1, const char* s2, size_t n) { return wxStrnicmp_String(s1.AsString(), s2, n); } inline int wxStrnicmp(const wxCStrData& s1, const wchar_t* s2, size_t n) { return wxStrnicmp_String(s1.AsString(), s2, n); } inline int wxStrnicmp(const wxCStrData& s1, const wxScopedCharBuffer& s2, size_t n) { return wxStrnicmp_String(s1.AsString(), s2, n); } inline int wxStrnicmp(const wxCStrData& s1, const wxScopedWCharBuffer& s2, size_t n) { return wxStrnicmp_String(s1.AsString(), s2, n); } inline int wxStrnicmp(const wxCStrData& s1, const wxString& s2, size_t n) { return wxStrnicmp_String(s1.AsString(), s2, n); } inline int wxStrnicmp(const wxCStrData& s1, const wxCStrData& s2, size_t n) { return wxStrnicmp_String(s1.AsString(), s2, n); } inline int wxStrnicmp(const char * s1, const wxCStrData& s2, size_t n) { return -wxStrnicmp_String(s2.AsString(), s1, n); } inline int wxStrnicmp(const char * s1, const wxString& s2, size_t n) { return -wxStrnicmp_String(s2, s1, n); } inline int wxStrnicmp(const wchar_t * s1, const wxCStrData& s2, size_t n) { return -wxStrnicmp_String(s2.AsString(), s1, n); } inline int wxStrnicmp(const wchar_t * s1, const wxString& s2, size_t n) { return -wxStrnicmp_String(s2, s1, n); } inline int wxStrnicmp(const wxScopedCharBuffer& s1, const wxCStrData& s2, size_t n) { return -wxStrnicmp_String(s2.AsString(), s1.data(), n); } inline int wxStrnicmp(const wxScopedCharBuffer& s1, const wxString& s2, size_t n) { return -wxStrnicmp_String(s2, s1.data(), n); } inline int wxStrnicmp(const wxScopedWCharBuffer& s1, const wxCStrData& s2, size_t n) { return -wxStrnicmp_String(s2.AsString(), s1.data(), n); } inline int wxStrnicmp(const wxScopedWCharBuffer& s1, const wxString& s2, size_t n) { return -wxStrnicmp_String(s2, s1.data(), n); } ># 540 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >inline size_t wxStrxfrm(char *dest, const char *src, size_t n) > { return strxfrm(dest, src, n); } >inline size_t wxStrxfrm(wchar_t *dest, const wchar_t *src, size_t n) > { return wcsxfrm(dest, src, n); } >template<typename T> >inline size_t wxStrxfrm(T *dest, const wxScopedCharTypeBuffer<T>& src, size_t n) > { return wxStrxfrm(dest, src.data(), n); } >inline size_t wxStrxfrm(char *dest, const wxString& src, size_t n) > { return strxfrm(dest, src.mb_str(), n); } >inline size_t wxStrxfrm(wchar_t *dest, const wxString& src, size_t n) > { return wcsxfrm(dest, src.wc_str(), n); } >inline size_t wxStrxfrm(char *dest, const wxCStrData& src, size_t n) > { return strxfrm(dest, src.AsCharBuf(), n); } >inline size_t wxStrxfrm(wchar_t *dest, const wxCStrData& src, size_t n) > { return wcsxfrm(dest, src.AsWCharBuf(), n); } > > > >inline char *wxStrtok(char *str, const char *delim, char **saveptr) > { return strtok_r(str, delim, saveptr); } >inline wchar_t *wxStrtok(wchar_t *str, const wchar_t *delim, wchar_t **saveptr) > { return wxCRT_StrtokW(str, delim, saveptr); } >template<typename T> >inline T *wxStrtok(T *str, const wxScopedCharTypeBuffer<T>& delim, T **saveptr) > { return wxStrtok(str, delim.data(), saveptr); } >inline char *wxStrtok(char *str, const wxCStrData& delim, char **saveptr) > { return strtok_r(str, delim.AsCharBuf(), saveptr); } >inline wchar_t *wxStrtok(wchar_t *str, const wxCStrData& delim, wchar_t **saveptr) > { return wxCRT_StrtokW(str, delim.AsWCharBuf(), saveptr); } >inline char *wxStrtok(char *str, const wxString& delim, char **saveptr) > { return strtok_r(str, delim.mb_str(), saveptr); } >inline wchar_t *wxStrtok(wchar_t *str, const wxString& delim, wchar_t **saveptr) > { return wxCRT_StrtokW(str, delim.wc_str(), saveptr); } > >inline const char *wxStrstr(const char *haystack, const char *needle) > { return strstr(haystack, needle); } >inline const wchar_t *wxStrstr(const wchar_t *haystack, const wchar_t *needle) > { return wcsstr(haystack, needle); } >inline const char *wxStrstr(const char *haystack, const wxString& needle) > { return strstr(haystack, needle.mb_str()); } >inline const wchar_t *wxStrstr(const wchar_t *haystack, const wxString& needle) > { return wcsstr(haystack, needle.wc_str()); } > > >inline const char *wxStrstr(const wxString& haystack, const wxString& needle) > { return strstr(haystack.c_str(), needle.mb_str()); } >inline const char *wxStrstr(const wxCStrData& haystack, const wxString& needle) > { return strstr(haystack, needle.mb_str()); } >inline const char *wxStrstr(const wxCStrData& haystack, const wxCStrData& needle) > { return strstr(haystack, needle.AsCharBuf()); } > >inline const char *wxStrstr(const wxString& haystack, const char *needle) > { return strstr(haystack.c_str(), needle); } >inline const char *wxStrstr(const wxCStrData& haystack, const char *needle) > { return strstr(haystack, needle); } >inline const wchar_t *wxStrstr(const wxString& haystack, const wchar_t *needle) > { return wcsstr(haystack.c_str(), needle); } >inline const wchar_t *wxStrstr(const wxCStrData& haystack, const wchar_t *needle) > { return wcsstr(haystack, needle); } > >inline const char *wxStrchr(const char *s, char c) > { return strchr(s, c); } >inline const wchar_t *wxStrchr(const wchar_t *s, wchar_t c) > { return wcschr(s, c); } >inline const char *wxStrrchr(const char *s, char c) > { return strrchr(s, c); } >inline const wchar_t *wxStrrchr(const wchar_t *s, wchar_t c) > { return wcsrchr(s, c); } >inline const char *wxStrchr(const char *s, const wxUniChar& uc) > { char c; return uc.GetAsChar(&c) ? strchr(s, c) : __null; } >inline const wchar_t *wxStrchr(const wchar_t *s, const wxUniChar& c) > { return wcschr(s, (wchar_t)c); } >inline const char *wxStrrchr(const char *s, const wxUniChar& uc) > { char c; return uc.GetAsChar(&c) ? strrchr(s, c) : __null; } >inline const wchar_t *wxStrrchr(const wchar_t *s, const wxUniChar& c) > { return wcsrchr(s, (wchar_t)c); } >inline const char *wxStrchr(const char *s, const wxUniCharRef& uc) > { char c; return uc.GetAsChar(&c) ? strchr(s, c) : __null; } >inline const wchar_t *wxStrchr(const wchar_t *s, const wxUniCharRef& c) > { return wcschr(s, (wchar_t)c); } >inline const char *wxStrrchr(const char *s, const wxUniCharRef& uc) > { char c; return uc.GetAsChar(&c) ? strrchr(s, c) : __null; } >inline const wchar_t *wxStrrchr(const wchar_t *s, const wxUniCharRef& c) > { return wcsrchr(s, (wchar_t)c); } >template<typename T> >inline const T* wxStrchr(const wxScopedCharTypeBuffer<T>& s, T c) > { return wxStrchr(s.data(), c); } >template<typename T> >inline const T* wxStrrchr(const wxScopedCharTypeBuffer<T>& s, T c) > { return wxStrrchr(s.data(), c); } >template<typename T> >inline const T* wxStrchr(const wxScopedCharTypeBuffer<T>& s, const wxUniChar& c) > { return wxStrchr(s.data(), (T)c); } >template<typename T> >inline const T* wxStrrchr(const wxScopedCharTypeBuffer<T>& s, const wxUniChar& c) > { return wxStrrchr(s.data(), (T)c); } >template<typename T> >inline const T* wxStrchr(const wxScopedCharTypeBuffer<T>& s, const wxUniCharRef& c) > { return wxStrchr(s.data(), (T)c); } >template<typename T> >inline const T* wxStrrchr(const wxScopedCharTypeBuffer<T>& s, const wxUniCharRef& c) > { return wxStrrchr(s.data(), (T)c); } > > >inline const char* wxStrchr(const wxString& s, char c) > { return strchr((const char*)s.c_str(), c); } >inline const char* wxStrrchr(const wxString& s, char c) > { return strrchr((const char*)s.c_str(), c); } >inline const char* wxStrchr(const wxString& s, int c) > { return strchr((const char*)s.c_str(), c); } >inline const char* wxStrrchr(const wxString& s, int c) > { return strrchr((const char*)s.c_str(), c); } >inline const char* wxStrchr(const wxString& s, const wxUniChar& uc) > { char c; return uc.GetAsChar(&c) ? strchr(s.c_str(), c) : __null; } >inline const char* wxStrrchr(const wxString& s, const wxUniChar& uc) > { char c; return uc.GetAsChar(&c) ? strrchr(s.c_str(), c) : __null; } >inline const char* wxStrchr(const wxString& s, const wxUniCharRef& uc) > { char c; return uc.GetAsChar(&c) ? strchr(s.c_str(), c) : __null; } >inline const char* wxStrrchr(const wxString& s, const wxUniCharRef& uc) > { char c; return uc.GetAsChar(&c) ? strrchr(s.c_str(), c) : __null; } >inline const wchar_t* wxStrchr(const wxString& s, wchar_t c) > { return wcschr((const wchar_t*)s.c_str(), c); } >inline const wchar_t* wxStrrchr(const wxString& s, wchar_t c) > { return wcsrchr((const wchar_t*)s.c_str(), c); } >inline const char* wxStrchr(const wxCStrData& s, char c) > { return strchr(s.AsChar(), c); } >inline const char* wxStrrchr(const wxCStrData& s, char c) > { return strrchr(s.AsChar(), c); } >inline const char* wxStrchr(const wxCStrData& s, int c) > { return strchr(s.AsChar(), c); } >inline const char* wxStrrchr(const wxCStrData& s, int c) > { return strrchr(s.AsChar(), c); } >inline const char* wxStrchr(const wxCStrData& s, const wxUniChar& uc) > { char c; return uc.GetAsChar(&c) ? strchr(s, c) : __null; } >inline const char* wxStrrchr(const wxCStrData& s, const wxUniChar& uc) > { char c; return uc.GetAsChar(&c) ? strrchr(s, c) : __null; } >inline const char* wxStrchr(const wxCStrData& s, const wxUniCharRef& uc) > { char c; return uc.GetAsChar(&c) ? strchr(s, c) : __null; } >inline const char* wxStrrchr(const wxCStrData& s, const wxUniCharRef& uc) > { char c; return uc.GetAsChar(&c) ? strrchr(s, c) : __null; } >inline const wchar_t* wxStrchr(const wxCStrData& s, wchar_t c) > { return wcschr(s.AsWChar(), c); } >inline const wchar_t* wxStrrchr(const wxCStrData& s, wchar_t c) > { return wcsrchr(s.AsWChar(), c); } > >inline const char *wxStrpbrk(const char *s, const char *accept) > { return strpbrk(s, accept); } >inline const wchar_t *wxStrpbrk(const wchar_t *s, const wchar_t *accept) > { return wcspbrk(s, accept); } >inline const char *wxStrpbrk(const char *s, const wxString& accept) > { return strpbrk(s, accept.mb_str()); } >inline const char *wxStrpbrk(const char *s, const wxCStrData& accept) > { return strpbrk(s, accept.AsCharBuf()); } >inline const wchar_t *wxStrpbrk(const wchar_t *s, const wxString& accept) > { return wcspbrk(s, accept.wc_str()); } >inline const wchar_t *wxStrpbrk(const wchar_t *s, const wxCStrData& accept) > { return wcspbrk(s, accept.AsWCharBuf()); } >inline const char *wxStrpbrk(const wxString& s, const wxString& accept) > { return strpbrk(s.c_str(), accept.mb_str()); } >inline const char *wxStrpbrk(const wxString& s, const char *accept) > { return strpbrk(s.c_str(), accept); } >inline const wchar_t *wxStrpbrk(const wxString& s, const wchar_t *accept) > { return wcspbrk(s.wc_str(), accept); } >inline const char *wxStrpbrk(const wxString& s, const wxCStrData& accept) > { return strpbrk(s.c_str(), accept.AsCharBuf()); } >inline const char *wxStrpbrk(const wxCStrData& s, const wxString& accept) > { return strpbrk(s.AsChar(), accept.mb_str()); } >inline const char *wxStrpbrk(const wxCStrData& s, const char *accept) > { return strpbrk(s.AsChar(), accept); } >inline const wchar_t *wxStrpbrk(const wxCStrData& s, const wchar_t *accept) > { return wcspbrk(s.AsWChar(), accept); } >inline const char *wxStrpbrk(const wxCStrData& s, const wxCStrData& accept) > { return strpbrk(s.AsChar(), accept.AsCharBuf()); } >template <typename S, typename T> >inline const T *wxStrpbrk(const S& s, const wxScopedCharTypeBuffer<T>& accept) > { return wxStrpbrk(s, accept.data()); } > > > >template <typename T> >inline char *wxStrstr(char *haystack, T needle) > { return const_cast<char*>(wxStrstr(const_cast<const char*>(haystack), needle)); } >template <typename T> >inline wchar_t *wxStrstr(wchar_t *haystack, T needle) > { return const_cast<wchar_t*>(wxStrstr(const_cast<const wchar_t*>(haystack), needle)); } > >template <typename T> >inline char * wxStrchr(char *s, T c) > { return const_cast<char*>(wxStrchr(const_cast<const char*>(s), c)); } >template <typename T> >inline wchar_t * wxStrchr(wchar_t *s, T c) > { return (wchar_t *)wxStrchr((const wchar_t *)s, c); } >template <typename T> >inline char * wxStrrchr(char *s, T c) > { return const_cast<char*>(wxStrrchr(const_cast<const char*>(s), c)); } >template <typename T> >inline wchar_t * wxStrrchr(wchar_t *s, T c) > { return const_cast<wchar_t*>(wxStrrchr(const_cast<const wchar_t*>(s), c)); } > >template <typename T> >inline char * wxStrpbrk(char *s, T accept) > { return const_cast<char*>(wxStrpbrk(const_cast<const char*>(s), accept)); } >template <typename T> >inline wchar_t * wxStrpbrk(wchar_t *s, T accept) > { return const_cast<wchar_t*>(wxStrpbrk(const_cast<const wchar_t*>(s), accept)); } ># 753 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >inline FILE *wxFopen(const wxString& path, const wxString& mode) > { return fopen(path.fn_str(), mode.fn_str()); } >inline FILE *wxFreopen(const wxString& path, const wxString& mode, FILE *stream) > { return freopen(path.fn_str(), mode.fn_str(), stream); } >inline int wxRemove(const wxString& path) > { return remove(path.fn_str()); } >inline int wxRename(const wxString& oldpath, const wxString& newpath) > { return rename(oldpath.fn_str(), newpath.fn_str()); } > >extern int wxPuts(const wxString& s); >extern int wxFputs(const wxString& s, FILE *stream); >extern void wxPerror(const wxString& s); > >extern int wxFputc(const wxUniChar& c, FILE *stream); > > > > > > > >inline char *wxFgets(char *s, int size, FILE *stream) > { return fgets(s, size, stream); } > >extern wchar_t *wxFgets(wchar_t *s, int size, FILE *stream); > > > > > >inline int wxFgetc(FILE *stream) { return fgetc(stream); } >inline int wxUngetc(int c, FILE *stream) { return ungetc(c, stream); } ># 797 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >inline int wxAtoi(const wxString& str) { return atoi(str.mb_str()); } > > > >inline long wxAtol(const wxString& str) { return wcstol(str.wc_str(), __null, 10); } > > > > > >inline double wxAtof(const wxString& str) { return wcstod(str.wc_str(), __null); } > > > > >inline double wxStrtod(const char *nptr, char **endptr) > { return strtod(nptr, endptr); } >inline double wxStrtod(const wchar_t *nptr, wchar_t **endptr) > { return wcstod(nptr, endptr); } >template<typename T> >inline double wxStrtod(const wxScopedCharTypeBuffer<T>& nptr, T **endptr) > { return wxStrtod(nptr.data(), endptr); } ># 828 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >template<typename T> struct wxStrtoxCharType {}; >template<> struct wxStrtoxCharType<char**> >{ > typedef const char* Type; > static char** AsPointer(char **p) { return p; } >}; >template<> struct wxStrtoxCharType<wchar_t**> >{ > typedef const wchar_t* Type; > static wchar_t** AsPointer(wchar_t **p) { return p; } >}; >template<> struct wxStrtoxCharType<int> >{ > typedef const char* Type; > static char** AsPointer(int p) > { > do { if ( wxTheAssertHandler && !(p == 0) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h", 844, __FUNCTION__, "p == 0", "passing non-NULL int is invalid"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return __null; > } >}; > >template<typename T> >inline double wxStrtod(const wxString& nptr, T endptr) >{ > if ( endptr == 0 ) > { > > > > return wxStrtod(nptr.wx_str(), (wxStringCharType**)__null); > } > else > { > > > > typedef typename wxStrtoxCharType<T>::Type CharType; > return wxStrtod((CharType)nptr.c_str(), > wxStrtoxCharType<T>::AsPointer(endptr)); > } >} >template<typename T> >inline double wxStrtod(const wxCStrData& nptr, T endptr) > { return wxStrtod(nptr.AsString(), endptr); } ># 900 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >inline long wxStrtol(const char *nptr, char **endptr, int base) { return strtol(nptr, endptr, base); } inline long wxStrtol(const wchar_t *nptr, wchar_t **endptr, int base) { return wcstol(nptr, endptr, base); } template<typename T> inline long wxStrtol(const wxScopedCharTypeBuffer<T>& nptr, T **endptr, int) { return wxStrtol(nptr.data(), endptr); } template<typename T> inline long wxStrtol(const wxString& nptr, T endptr, int base) { if ( endptr == 0 ) return wxStrtol(nptr.wx_str(), (wxStringCharType**)__null, base); else { typedef typename wxStrtoxCharType<T>::Type CharType; return wxStrtol((CharType)nptr.c_str(), wxStrtoxCharType<T>::AsPointer(endptr), base); } } template<typename T> inline long wxStrtol(const wxCStrData& nptr, T endptr, int base) { return wxStrtol(nptr.AsString(), endptr, base); } >inline unsigned long wxStrtoul(const char *nptr, char **endptr, int base) { return strtoul(nptr, endptr, base); } inline unsigned long wxStrtoul(const wchar_t *nptr, wchar_t **endptr, int base) { return wcstoul(nptr, endptr, base); } template<typename T> inline unsigned long wxStrtoul(const wxScopedCharTypeBuffer<T>& nptr, T **endptr, int) { return wxStrtoul(nptr.data(), endptr); } template<typename T> inline unsigned long wxStrtoul(const wxString& nptr, T endptr, int base) { if ( endptr == 0 ) return wxStrtoul(nptr.wx_str(), (wxStringCharType**)__null, base); else { typedef typename wxStrtoxCharType<T>::Type CharType; return wxStrtoul((CharType)nptr.c_str(), wxStrtoxCharType<T>::AsPointer(endptr), base); } } template<typename T> inline unsigned long wxStrtoul(const wxCStrData& nptr, T endptr, int base) { return wxStrtoul(nptr.AsString(), endptr, base); } > >inline long long wxStrtoll(const char *nptr, char **endptr, int base) { return strtoll(nptr, endptr, base); } inline long long wxStrtoll(const wchar_t *nptr, wchar_t **endptr, int base) { return wxCRT_StrtollW(nptr, endptr, base); } template<typename T> inline long long wxStrtoll(const wxScopedCharTypeBuffer<T>& nptr, T **endptr, int) { return wxStrtoll(nptr.data(), endptr); } template<typename T> inline long long wxStrtoll(const wxString& nptr, T endptr, int base) { if ( endptr == 0 ) return wxStrtoll(nptr.wx_str(), (wxStringCharType**)__null, base); else { typedef typename wxStrtoxCharType<T>::Type CharType; return wxStrtoll((CharType)nptr.c_str(), wxStrtoxCharType<T>::AsPointer(endptr), base); } } template<typename T> inline long long wxStrtoll(const wxCStrData& nptr, T endptr, int base) { return wxStrtoll(nptr.AsString(), endptr, base); } >inline unsigned long long wxStrtoull(const char *nptr, char **endptr, int base) { return strtoull(nptr, endptr, base); } inline unsigned long long wxStrtoull(const wchar_t *nptr, wchar_t **endptr, int base) { return wxCRT_StrtoullW(nptr, endptr, base); } template<typename T> inline unsigned long long wxStrtoull(const wxScopedCharTypeBuffer<T>& nptr, T **endptr, int) { return wxStrtoull(nptr.data(), endptr); } template<typename T> inline unsigned long long wxStrtoull(const wxString& nptr, T endptr, int base) { if ( endptr == 0 ) return wxStrtoull(nptr.wx_str(), (wxStringCharType**)__null, base); else { typedef typename wxStrtoxCharType<T>::Type CharType; return wxStrtoull((CharType)nptr.c_str(), wxStrtoxCharType<T>::AsPointer(endptr), base); } } template<typename T> inline unsigned long long wxStrtoull(const wxCStrData& nptr, T endptr, int base) { return wxStrtoull(nptr.AsString(), endptr, base); } ># 918 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >inline int wxSystem(const wxString& str) { return system(str.mb_str()); } > > > > >inline char* wxGetenv(const char *name) { return getenv(name); } >inline wchar_t* wxGetenv(const wchar_t *name) { return wxCRT_GetenvW(name); } >inline char* wxGetenv(const wxString& name) { return getenv(name.mb_str()); } >inline char* wxGetenv(const wxCStrData& name) { return getenv(name.AsCharBuf()); } >inline char* wxGetenv(const wxScopedCharBuffer& name) { return getenv(name.data()); } >inline wchar_t* wxGetenv(const wxScopedWCharBuffer& name) { return wxCRT_GetenvW(name.data()); } > > > > > >inline size_t wxStrftime(char *s, size_t max, > const wxString& format, const struct tm *tm) > { return strftime(s, max, format.mb_str(), tm); } > >inline size_t wxStrftime(wchar_t *s, size_t max, > const wxString& format, const struct tm *tm) > { return wcsftime(s, max, format.wc_str(), tm); } ># 960 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >inline bool wxIsalnum(const wxUniChar& c) { return iswalnum(c) != 0; } >inline bool wxIsalpha(const wxUniChar& c) { return iswalpha(c) != 0; } >inline bool wxIscntrl(const wxUniChar& c) { return iswcntrl(c) != 0; } >inline bool wxIsdigit(const wxUniChar& c) { return iswdigit(c) != 0; } >inline bool wxIsgraph(const wxUniChar& c) { return iswgraph(c) != 0; } >inline bool wxIslower(const wxUniChar& c) { return iswlower(c) != 0; } >inline bool wxIsprint(const wxUniChar& c) { return iswprint(c) != 0; } >inline bool wxIspunct(const wxUniChar& c) { return iswpunct(c) != 0; } >inline bool wxIsspace(const wxUniChar& c) { return iswspace(c) != 0; } >inline bool wxIsupper(const wxUniChar& c) { return iswupper(c) != 0; } >inline bool wxIsxdigit(const wxUniChar& c) { return iswxdigit(c) != 0; } > >inline wxUniChar wxTolower(const wxUniChar& c) { return towlower(c); } >inline wxUniChar wxToupper(const wxUniChar& c) { return towupper(c); } ># 984 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/wxcrt.h" >inline bool wxIsascii(const wxUniChar& c) { return c.IsAscii(); } ># 16 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/hashmap.h" 2 ># 68 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/hashmap.h" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 69 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/hashmap.h" 2 > > > >struct _wxHashTable_NodeBase >{ > _wxHashTable_NodeBase() : m_next(__null) {} > > _wxHashTable_NodeBase* m_next; > > > > >}; > > >class _wxHashTableBase2 >{ >public: > typedef void (*NodeDtor)(_wxHashTable_NodeBase*); > typedef unsigned long (*BucketFromNode)(_wxHashTableBase2*,_wxHashTable_NodeBase*); > typedef _wxHashTable_NodeBase* (*ProcessNode)(_wxHashTable_NodeBase*); >protected: > static _wxHashTable_NodeBase* DummyProcessNode(_wxHashTable_NodeBase* node); > static void DeleteNodes( size_t buckets, _wxHashTable_NodeBase** table, > NodeDtor dtor ); > static _wxHashTable_NodeBase* GetFirstNode( size_t buckets, > _wxHashTable_NodeBase** table ) > { > for( size_t i = 0; i < buckets; ++i ) > if( table[i] ) > return table[i]; > return __null; > } > > > enum { prime_count = 31 }; > static const unsigned long ms_primes[prime_count]; > > > static unsigned long GetNextPrime( unsigned long n ); > > > > static unsigned long GetPreviousPrime( unsigned long n ); > > static void CopyHashTable( _wxHashTable_NodeBase** srcTable, > size_t srcBuckets, _wxHashTableBase2* dst, > _wxHashTable_NodeBase** dstTable, > BucketFromNode func, ProcessNode proc ); > > static void** AllocTable( size_t sz ) > { > return (void **)calloc(sz, sizeof(void*)); > } > static void FreeTable(void *table) > { > free(table); > } >}; ># 465 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/hashmap.h" >inline bool never_grow( size_t, size_t ) { return false; } >inline bool never_shrink( size_t, size_t ) { return false; } >inline bool grow_lf70( size_t buckets, size_t items ) >{ > return float(items)/float(buckets) >= 0.85f; >} ># 530 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/hashmap.h" >struct wxIntegerHash >{ > wxIntegerHash() { } > unsigned long operator()( long x ) const { return (unsigned long)x; } > unsigned long operator()( unsigned long x ) const { return x; } > unsigned long operator()( int x ) const { return (unsigned long)x; } > unsigned long operator()( unsigned int x ) const { return x; } > unsigned long operator()( short x ) const { return (unsigned long)x; } > unsigned long operator()( unsigned short x ) const { return x; } > > unsigned long long operator()( long long x ) const { return static_cast<unsigned long long>(x); } > unsigned long long operator()( unsigned long long x ) const { return x; } > > > wxIntegerHash& operator=(const wxIntegerHash&) { return *this; } >}; > > > >struct wxIntegerEqual >{ > wxIntegerEqual() { } > bool operator()( long a, long b ) const { return a == b; } > bool operator()( unsigned long a, unsigned long b ) const { return a == b; } > bool operator()( int a, int b ) const { return a == b; } > bool operator()( unsigned int a, unsigned int b ) const { return a == b; } > bool operator()( short a, short b ) const { return a == b; } > bool operator()( unsigned short a, unsigned short b ) const { return a == b; } > > bool operator()( long long a, long long b ) const { return a == b; } > bool operator()( unsigned long long a, unsigned long long b ) const { return a == b; } > > > wxIntegerEqual& operator=(const wxIntegerEqual&) { return *this; } >}; > > >struct wxPointerHash >{ > wxPointerHash() { } > > > wxUIntPtr operator()( const void* k ) const { return wxPtrToUInt(k); } > > > > > wxPointerHash& operator=(const wxPointerHash&) { return *this; } >}; > >struct wxPointerEqual >{ > wxPointerEqual() { } > bool operator()( const void* a, const void* b ) const { return a == b; } > > wxPointerEqual& operator=(const wxPointerEqual&) { return *this; } >}; > > >struct wxStringHash >{ > wxStringHash() {} > unsigned long operator()( const wxString& x ) const > { return stringHash( x.wx_str() ); } > unsigned long operator()( const wchar_t* x ) const > { return stringHash( x ); } > unsigned long operator()( const char* x ) const > { return stringHash( x ); } ># 608 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/hashmap.h" > static unsigned long stringHash( const wchar_t* ); > static unsigned long stringHash( const char* ); > > wxStringHash& operator=(const wxStringHash&) { return *this; } >}; > >struct wxStringEqual >{ > wxStringEqual() {} > bool operator()( const wxString& a, const wxString& b ) const > { return a == b; } > bool operator()( const wxChar* a, const wxChar* b ) const > { return wxStrcmp( a, b ) == 0; } > > bool operator()( const char* a, const char* b ) const > { return strcmp( a, b ) == 0; } > > > wxStringEqual& operator=(const wxStringEqual&) { return *this; } >}; ># 746 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/hashmap.h" >class wxLongToLongHashMap_wxImplementation_Pair { public: typedef long first_type; typedef long second_type; typedef long t1; typedef long t2; typedef const long const_t1; typedef const long const_t2; wxLongToLongHashMap_wxImplementation_Pair(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; class wxLongToLongHashMap_wxImplementation_KeyEx { typedef long key_type; typedef wxLongToLongHashMap_wxImplementation_Pair pair_type; typedef const key_type const_key_type; typedef const pair_type const_pair_type; typedef const_key_type& const_key_reference; typedef const_pair_type& const_pair_reference; public: wxLongToLongHashMap_wxImplementation_KeyEx() { } const_key_reference operator()( const_pair_reference pair ) const { return pair.first; } wxLongToLongHashMap_wxImplementation_KeyEx& operator=(const wxLongToLongHashMap_wxImplementation_KeyEx&) { return *this; } }; class wxLongToLongHashMap_wxImplementation_HashTable : protected _wxHashTableBase2 { public: typedef long key_type; typedef wxLongToLongHashMap_wxImplementation_Pair value_type; typedef wxIntegerHash hasher; typedef wxIntegerEqual key_equal; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type& reference; typedef const value_type& const_reference; typedef const long const_key_type; typedef const wxLongToLongHashMap_wxImplementation_Pair const_mapped_type; public: typedef wxLongToLongHashMap_wxImplementation_KeyEx key_extractor; typedef wxLongToLongHashMap_wxImplementation_HashTable Self; protected: _wxHashTable_NodeBase** m_table; size_t m_tableBuckets; size_t m_items; hasher m_hasher; key_equal m_equals; key_extractor m_getKey; public: struct Node:public _wxHashTable_NodeBase { public: Node( const value_type& value ) : m_value( value ) {} Node* next() { return static_cast<Node*>(m_next); } value_type m_value; }; protected: static void DeleteNode( _wxHashTable_NodeBase* node ) { delete static_cast<Node*>(node); } public: class Iterator { public: Node* m_node; Self* m_ht; Iterator() : m_node(__null), m_ht(__null) {} Iterator( Node* node, const Self* ht ) : m_node(node), m_ht(const_cast<Self*>(ht)) {} bool operator ==( const Iterator& it ) const { return m_node == it.m_node; } bool operator !=( const Iterator& it ) const { return m_node != it.m_node; } protected: Node* GetNextNode() { size_type bucket = GetBucketForNode(m_ht,m_node); for( size_type i = bucket + 1; i < m_ht->m_tableBuckets; ++i ) { if( m_ht->m_table[i] ) return static_cast<Node*>(m_ht->m_table[i]); } return __null; } void PlusPlus() { Node* next = m_node->next(); m_node = next ? next : GetNextNode(); } }; friend class Iterator; public: class iterator : public Iterator { public: iterator() : Iterator() {} iterator( Node* node, Self* ht ) : Iterator( node, ht ) {} iterator& operator++() { PlusPlus(); return *this; } iterator operator++(int) { iterator it=*this;PlusPlus();return it; } reference operator *() const { return m_node->m_value; } pointer operator ->() const { return &(m_node->m_value); } }; class const_iterator : public Iterator { public: const_iterator() : Iterator() {} const_iterator(iterator i) : Iterator(i) {} const_iterator( Node* node, const Self* ht ) : Iterator(node, const_cast<Self*>(ht)) {} const_iterator& operator++() { PlusPlus();return *this; } const_iterator operator++(int) { const_iterator it=*this;PlusPlus();return it; } const_reference operator *() const { return m_node->m_value; } const_pointer operator ->() const { return &(m_node->m_value); } }; wxLongToLongHashMap_wxImplementation_HashTable( size_type sz = 10, const hasher& hfun = hasher(), const key_equal& k_eq = key_equal(), const key_extractor& k_ex = key_extractor() ) : m_tableBuckets( GetNextPrime( (unsigned long) sz ) ), m_items( 0 ), m_hasher( hfun ), m_equals( k_eq ), m_getKey( k_ex ) { m_table = (_wxHashTable_NodeBase**)AllocTable(m_tableBuckets); } wxLongToLongHashMap_wxImplementation_HashTable( const Self& ht ) : m_table(__null), m_tableBuckets( 0 ), m_items( ht.m_items ), m_hasher( ht.m_hasher ), m_equals( ht.m_equals ), m_getKey( ht.m_getKey ) { HashCopy( ht ); } const Self& operator=( const Self& ht ) { if (&ht != this) { clear(); m_hasher = ht.m_hasher; m_equals = ht.m_equals; m_getKey = ht.m_getKey; m_items = ht.m_items; HashCopy( ht ); } return *this; } ~wxLongToLongHashMap_wxImplementation_HashTable() { clear(); FreeTable(m_table); } hasher hash_funct() { return m_hasher; } key_equal key_eq() { return m_equals; } void clear() { DeleteNodes(m_tableBuckets, m_table, DeleteNode); m_items = 0; } size_type size() const { return m_items; } size_type max_size() const { return size_type(-1); } bool empty() const { return size() == 0; } const_iterator end() const { return const_iterator(__null, this); } iterator end() { return iterator(__null, this); } const_iterator begin() const { return const_iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } iterator begin() { return iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } size_type erase( const const_key_type& key ) { _wxHashTable_NodeBase** node = GetNodePtr(key); if( !node ) return 0; --m_items; _wxHashTable_NodeBase* temp = (*node)->m_next; delete static_cast<Node*>(*node); (*node) = temp; if( never_shrink( m_tableBuckets, m_items ) ) ResizeTable( GetPreviousPrime( (unsigned long) m_tableBuckets ) - 1 ); return 1; } protected: static size_type GetBucketForNode( Self* ht, Node* node ) { return ht->m_hasher( ht->m_getKey( node->m_value ) ) % ht->m_tableBuckets; } static Node* CopyNode( Node* node ) { return new Node( *node ); } Node* GetOrCreateNode( const value_type& value, bool& created ) { const const_key_type& key = m_getKey( value ); size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) { created = false; return node; } node = node->next(); } created = true; return CreateNode( value, bucket); } Node * CreateNode( const value_type& value, size_t bucket ) { Node* node = new Node( value ); node->m_next = m_table[bucket]; m_table[bucket] = node; ++m_items; if( grow_lf70( m_tableBuckets, m_items ) ) ResizeTable( m_tableBuckets ); return node; } void CreateNode( const value_type& value ) { CreateNode(value, m_hasher( m_getKey(value) ) % m_tableBuckets ); } _wxHashTable_NodeBase** GetNodePtr(const const_key_type& key) const { size_t bucket = m_hasher( key ) % m_tableBuckets; _wxHashTable_NodeBase** node = &m_table[bucket]; while( *node ) { if (m_equals(m_getKey(static_cast<Node*>(*node)->m_value), key)) return node; node = &(*node)->m_next; } return __null; } Node* GetNode( const const_key_type& key ) const { size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) return node; node = node->next(); } return __null; } void ResizeTable( size_t newSize ) { newSize = GetNextPrime( (unsigned long)newSize ); _wxHashTable_NodeBase** srcTable = m_table; size_t srcBuckets = m_tableBuckets; m_table = (_wxHashTable_NodeBase**)AllocTable( newSize ); m_tableBuckets = newSize; CopyHashTable( srcTable, srcBuckets, this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)&DummyProcessNode ); FreeTable(srcTable); } void HashCopy( const Self& ht ) { ResizeTable( ht.size() ); CopyHashTable( ht.m_table, ht.m_tableBuckets, (_wxHashTableBase2*)this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)CopyNode ); } }; class wxLongToLongHashMap:public wxLongToLongHashMap_wxImplementation_HashTable { public: typedef long mapped_type; class Insert_Result { public: typedef iterator first_type; typedef bool second_type; typedef iterator t1; typedef bool t2; typedef const iterator const_t1; typedef const bool const_t2; Insert_Result(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; explicit wxLongToLongHashMap( size_type hint = 100, hasher hf = hasher(), key_equal eq = key_equal() ) : wxLongToLongHashMap_wxImplementation_HashTable( hint, hf, eq, wxLongToLongHashMap_wxImplementation_KeyEx() ) {} mapped_type& operator[]( const const_key_type& key ) { bool created; return GetOrCreateNode( wxLongToLongHashMap_wxImplementation_Pair( key, mapped_type() ), created)->m_value.second; } const_iterator find( const const_key_type& key ) const { return const_iterator( GetNode( key ), this ); } iterator find( const const_key_type& key ) { return iterator( GetNode( key ), this ); } Insert_Result insert( const value_type& v ) { bool created; Node *node = GetOrCreateNode( wxLongToLongHashMap_wxImplementation_Pair( v.first, v.second ), created); return Insert_Result(iterator(node, this), created); } size_type erase( const key_type& k ) { return wxLongToLongHashMap_wxImplementation_HashTable::erase( k ); } void erase( const iterator& it ) { erase( (*it).first ); } size_type count( const const_key_type& key ) { return GetNode( key ) ? 1u : 0u; } } > ; > >class wxStringToStringHashMap_wxImplementation_Pair { public: typedef wxString first_type; typedef wxString second_type; typedef wxString t1; typedef wxString t2; typedef const wxString const_t1; typedef const wxString const_t2; wxStringToStringHashMap_wxImplementation_Pair(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; class wxStringToStringHashMap_wxImplementation_KeyEx { typedef wxString key_type; typedef wxStringToStringHashMap_wxImplementation_Pair pair_type; typedef const key_type const_key_type; typedef const pair_type const_pair_type; typedef const_key_type& const_key_reference; typedef const_pair_type& const_pair_reference; public: wxStringToStringHashMap_wxImplementation_KeyEx() { } const_key_reference operator()( const_pair_reference pair ) const { return pair.first; } wxStringToStringHashMap_wxImplementation_KeyEx& operator=(const wxStringToStringHashMap_wxImplementation_KeyEx&) { return *this; } }; class wxStringToStringHashMap_wxImplementation_HashTable : protected _wxHashTableBase2 { public: typedef wxString key_type; typedef wxStringToStringHashMap_wxImplementation_Pair value_type; typedef wxStringHash hasher; typedef wxStringEqual key_equal; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type& reference; typedef const value_type& const_reference; typedef const wxString const_key_type; typedef const wxStringToStringHashMap_wxImplementation_Pair const_mapped_type; public: typedef wxStringToStringHashMap_wxImplementation_KeyEx key_extractor; typedef wxStringToStringHashMap_wxImplementation_HashTable Self; protected: _wxHashTable_NodeBase** m_table; size_t m_tableBuckets; size_t m_items; hasher m_hasher; key_equal m_equals; key_extractor m_getKey; public: struct Node:public _wxHashTable_NodeBase { public: Node( const value_type& value ) : m_value( value ) {} Node* next() { return static_cast<Node*>(m_next); } value_type m_value; }; protected: static void DeleteNode( _wxHashTable_NodeBase* node ) { delete static_cast<Node*>(node); } public: class Iterator { public: Node* m_node; Self* m_ht; Iterator() : m_node(__null), m_ht(__null) {} Iterator( Node* node, const Self* ht ) : m_node(node), m_ht(const_cast<Self*>(ht)) {} bool operator ==( const Iterator& it ) const { return m_node == it.m_node; } bool operator !=( const Iterator& it ) const { return m_node != it.m_node; } protected: Node* GetNextNode() { size_type bucket = GetBucketForNode(m_ht,m_node); for( size_type i = bucket + 1; i < m_ht->m_tableBuckets; ++i ) { if( m_ht->m_table[i] ) return static_cast<Node*>(m_ht->m_table[i]); } return __null; } void PlusPlus() { Node* next = m_node->next(); m_node = next ? next : GetNextNode(); } }; friend class Iterator; public: class iterator : public Iterator { public: iterator() : Iterator() {} iterator( Node* node, Self* ht ) : Iterator( node, ht ) {} iterator& operator++() { PlusPlus(); return *this; } iterator operator++(int) { iterator it=*this;PlusPlus();return it; } reference operator *() const { return m_node->m_value; } pointer operator ->() const { return &(m_node->m_value); } }; class const_iterator : public Iterator { public: const_iterator() : Iterator() {} const_iterator(iterator i) : Iterator(i) {} const_iterator( Node* node, const Self* ht ) : Iterator(node, const_cast<Self*>(ht)) {} const_iterator& operator++() { PlusPlus();return *this; } const_iterator operator++(int) { const_iterator it=*this;PlusPlus();return it; } const_reference operator *() const { return m_node->m_value; } const_pointer operator ->() const { return &(m_node->m_value); } }; wxStringToStringHashMap_wxImplementation_HashTable( size_type sz = 10, const hasher& hfun = hasher(), const key_equal& k_eq = key_equal(), const key_extractor& k_ex = key_extractor() ) : m_tableBuckets( GetNextPrime( (unsigned long) sz ) ), m_items( 0 ), m_hasher( hfun ), m_equals( k_eq ), m_getKey( k_ex ) { m_table = (_wxHashTable_NodeBase**)AllocTable(m_tableBuckets); } wxStringToStringHashMap_wxImplementation_HashTable( const Self& ht ) : m_table(__null), m_tableBuckets( 0 ), m_items( ht.m_items ), m_hasher( ht.m_hasher ), m_equals( ht.m_equals ), m_getKey( ht.m_getKey ) { HashCopy( ht ); } const Self& operator=( const Self& ht ) { if (&ht != this) { clear(); m_hasher = ht.m_hasher; m_equals = ht.m_equals; m_getKey = ht.m_getKey; m_items = ht.m_items; HashCopy( ht ); } return *this; } ~wxStringToStringHashMap_wxImplementation_HashTable() { clear(); FreeTable(m_table); } hasher hash_funct() { return m_hasher; } key_equal key_eq() { return m_equals; } void clear() { DeleteNodes(m_tableBuckets, m_table, DeleteNode); m_items = 0; } size_type size() const { return m_items; } size_type max_size() const { return size_type(-1); } bool empty() const { return size() == 0; } const_iterator end() const { return const_iterator(__null, this); } iterator end() { return iterator(__null, this); } const_iterator begin() const { return const_iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } iterator begin() { return iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } size_type erase( const const_key_type& key ) { _wxHashTable_NodeBase** node = GetNodePtr(key); if( !node ) return 0; --m_items; _wxHashTable_NodeBase* temp = (*node)->m_next; delete static_cast<Node*>(*node); (*node) = temp; if( never_shrink( m_tableBuckets, m_items ) ) ResizeTable( GetPreviousPrime( (unsigned long) m_tableBuckets ) - 1 ); return 1; } protected: static size_type GetBucketForNode( Self* ht, Node* node ) { return ht->m_hasher( ht->m_getKey( node->m_value ) ) % ht->m_tableBuckets; } static Node* CopyNode( Node* node ) { return new Node( *node ); } Node* GetOrCreateNode( const value_type& value, bool& created ) { const const_key_type& key = m_getKey( value ); size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) { created = false; return node; } node = node->next(); } created = true; return CreateNode( value, bucket); } Node * CreateNode( const value_type& value, size_t bucket ) { Node* node = new Node( value ); node->m_next = m_table[bucket]; m_table[bucket] = node; ++m_items; if( grow_lf70( m_tableBuckets, m_items ) ) ResizeTable( m_tableBuckets ); return node; } void CreateNode( const value_type& value ) { CreateNode(value, m_hasher( m_getKey(value) ) % m_tableBuckets ); } _wxHashTable_NodeBase** GetNodePtr(const const_key_type& key) const { size_t bucket = m_hasher( key ) % m_tableBuckets; _wxHashTable_NodeBase** node = &m_table[bucket]; while( *node ) { if (m_equals(m_getKey(static_cast<Node*>(*node)->m_value), key)) return node; node = &(*node)->m_next; } return __null; } Node* GetNode( const const_key_type& key ) const { size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) return node; node = node->next(); } return __null; } void ResizeTable( size_t newSize ) { newSize = GetNextPrime( (unsigned long)newSize ); _wxHashTable_NodeBase** srcTable = m_table; size_t srcBuckets = m_tableBuckets; m_table = (_wxHashTable_NodeBase**)AllocTable( newSize ); m_tableBuckets = newSize; CopyHashTable( srcTable, srcBuckets, this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)&DummyProcessNode ); FreeTable(srcTable); } void HashCopy( const Self& ht ) { ResizeTable( ht.size() ); CopyHashTable( ht.m_table, ht.m_tableBuckets, (_wxHashTableBase2*)this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)CopyNode ); } }; class wxStringToStringHashMap:public wxStringToStringHashMap_wxImplementation_HashTable { public: typedef wxString mapped_type; class Insert_Result { public: typedef iterator first_type; typedef bool second_type; typedef iterator t1; typedef bool t2; typedef const iterator const_t1; typedef const bool const_t2; Insert_Result(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; explicit wxStringToStringHashMap( size_type hint = 100, hasher hf = hasher(), key_equal eq = key_equal() ) : wxStringToStringHashMap_wxImplementation_HashTable( hint, hf, eq, wxStringToStringHashMap_wxImplementation_KeyEx() ) {} mapped_type& operator[]( const const_key_type& key ) { bool created; return GetOrCreateNode( wxStringToStringHashMap_wxImplementation_Pair( key, mapped_type() ), created)->m_value.second; } const_iterator find( const const_key_type& key ) const { return const_iterator( GetNode( key ), this ); } iterator find( const const_key_type& key ) { return iterator( GetNode( key ), this ); } Insert_Result insert( const value_type& v ) { bool created; Node *node = GetOrCreateNode( wxStringToStringHashMap_wxImplementation_Pair( v.first, v.second ), created); return Insert_Result(iterator(node, this), created); } size_type erase( const key_type& k ) { return wxStringToStringHashMap_wxImplementation_HashTable::erase( k ); } void erase( const iterator& it ) { erase( (*it).first ); } size_type count( const const_key_type& key ) { return GetNode( key ) ? 1u : 0u; } } > ; > >class wxStringToNumHashMap_wxImplementation_Pair { public: typedef wxString first_type; typedef wxUIntPtr second_type; typedef wxString t1; typedef wxUIntPtr t2; typedef const wxString const_t1; typedef const wxUIntPtr const_t2; wxStringToNumHashMap_wxImplementation_Pair(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; class wxStringToNumHashMap_wxImplementation_KeyEx { typedef wxString key_type; typedef wxStringToNumHashMap_wxImplementation_Pair pair_type; typedef const key_type const_key_type; typedef const pair_type const_pair_type; typedef const_key_type& const_key_reference; typedef const_pair_type& const_pair_reference; public: wxStringToNumHashMap_wxImplementation_KeyEx() { } const_key_reference operator()( const_pair_reference pair ) const { return pair.first; } wxStringToNumHashMap_wxImplementation_KeyEx& operator=(const wxStringToNumHashMap_wxImplementation_KeyEx&) { return *this; } }; class wxStringToNumHashMap_wxImplementation_HashTable : protected _wxHashTableBase2 { public: typedef wxString key_type; typedef wxStringToNumHashMap_wxImplementation_Pair value_type; typedef wxStringHash hasher; typedef wxStringEqual key_equal; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type& reference; typedef const value_type& const_reference; typedef const wxString const_key_type; typedef const wxStringToNumHashMap_wxImplementation_Pair const_mapped_type; public: typedef wxStringToNumHashMap_wxImplementation_KeyEx key_extractor; typedef wxStringToNumHashMap_wxImplementation_HashTable Self; protected: _wxHashTable_NodeBase** m_table; size_t m_tableBuckets; size_t m_items; hasher m_hasher; key_equal m_equals; key_extractor m_getKey; public: struct Node:public _wxHashTable_NodeBase { public: Node( const value_type& value ) : m_value( value ) {} Node* next() { return static_cast<Node*>(m_next); } value_type m_value; }; protected: static void DeleteNode( _wxHashTable_NodeBase* node ) { delete static_cast<Node*>(node); } public: class Iterator { public: Node* m_node; Self* m_ht; Iterator() : m_node(__null), m_ht(__null) {} Iterator( Node* node, const Self* ht ) : m_node(node), m_ht(const_cast<Self*>(ht)) {} bool operator ==( const Iterator& it ) const { return m_node == it.m_node; } bool operator !=( const Iterator& it ) const { return m_node != it.m_node; } protected: Node* GetNextNode() { size_type bucket = GetBucketForNode(m_ht,m_node); for( size_type i = bucket + 1; i < m_ht->m_tableBuckets; ++i ) { if( m_ht->m_table[i] ) return static_cast<Node*>(m_ht->m_table[i]); } return __null; } void PlusPlus() { Node* next = m_node->next(); m_node = next ? next : GetNextNode(); } }; friend class Iterator; public: class iterator : public Iterator { public: iterator() : Iterator() {} iterator( Node* node, Self* ht ) : Iterator( node, ht ) {} iterator& operator++() { PlusPlus(); return *this; } iterator operator++(int) { iterator it=*this;PlusPlus();return it; } reference operator *() const { return m_node->m_value; } pointer operator ->() const { return &(m_node->m_value); } }; class const_iterator : public Iterator { public: const_iterator() : Iterator() {} const_iterator(iterator i) : Iterator(i) {} const_iterator( Node* node, const Self* ht ) : Iterator(node, const_cast<Self*>(ht)) {} const_iterator& operator++() { PlusPlus();return *this; } const_iterator operator++(int) { const_iterator it=*this;PlusPlus();return it; } const_reference operator *() const { return m_node->m_value; } const_pointer operator ->() const { return &(m_node->m_value); } }; wxStringToNumHashMap_wxImplementation_HashTable( size_type sz = 10, const hasher& hfun = hasher(), const key_equal& k_eq = key_equal(), const key_extractor& k_ex = key_extractor() ) : m_tableBuckets( GetNextPrime( (unsigned long) sz ) ), m_items( 0 ), m_hasher( hfun ), m_equals( k_eq ), m_getKey( k_ex ) { m_table = (_wxHashTable_NodeBase**)AllocTable(m_tableBuckets); } wxStringToNumHashMap_wxImplementation_HashTable( const Self& ht ) : m_table(__null), m_tableBuckets( 0 ), m_items( ht.m_items ), m_hasher( ht.m_hasher ), m_equals( ht.m_equals ), m_getKey( ht.m_getKey ) { HashCopy( ht ); } const Self& operator=( const Self& ht ) { if (&ht != this) { clear(); m_hasher = ht.m_hasher; m_equals = ht.m_equals; m_getKey = ht.m_getKey; m_items = ht.m_items; HashCopy( ht ); } return *this; } ~wxStringToNumHashMap_wxImplementation_HashTable() { clear(); FreeTable(m_table); } hasher hash_funct() { return m_hasher; } key_equal key_eq() { return m_equals; } void clear() { DeleteNodes(m_tableBuckets, m_table, DeleteNode); m_items = 0; } size_type size() const { return m_items; } size_type max_size() const { return size_type(-1); } bool empty() const { return size() == 0; } const_iterator end() const { return const_iterator(__null, this); } iterator end() { return iterator(__null, this); } const_iterator begin() const { return const_iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } iterator begin() { return iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } size_type erase( const const_key_type& key ) { _wxHashTable_NodeBase** node = GetNodePtr(key); if( !node ) return 0; --m_items; _wxHashTable_NodeBase* temp = (*node)->m_next; delete static_cast<Node*>(*node); (*node) = temp; if( never_shrink( m_tableBuckets, m_items ) ) ResizeTable( GetPreviousPrime( (unsigned long) m_tableBuckets ) - 1 ); return 1; } protected: static size_type GetBucketForNode( Self* ht, Node* node ) { return ht->m_hasher( ht->m_getKey( node->m_value ) ) % ht->m_tableBuckets; } static Node* CopyNode( Node* node ) { return new Node( *node ); } Node* GetOrCreateNode( const value_type& value, bool& created ) { const const_key_type& key = m_getKey( value ); size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) { created = false; return node; } node = node->next(); } created = true; return CreateNode( value, bucket); } Node * CreateNode( const value_type& value, size_t bucket ) { Node* node = new Node( value ); node->m_next = m_table[bucket]; m_table[bucket] = node; ++m_items; if( grow_lf70( m_tableBuckets, m_items ) ) ResizeTable( m_tableBuckets ); return node; } void CreateNode( const value_type& value ) { CreateNode(value, m_hasher( m_getKey(value) ) % m_tableBuckets ); } _wxHashTable_NodeBase** GetNodePtr(const const_key_type& key) const { size_t bucket = m_hasher( key ) % m_tableBuckets; _wxHashTable_NodeBase** node = &m_table[bucket]; while( *node ) { if (m_equals(m_getKey(static_cast<Node*>(*node)->m_value), key)) return node; node = &(*node)->m_next; } return __null; } Node* GetNode( const const_key_type& key ) const { size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) return node; node = node->next(); } return __null; } void ResizeTable( size_t newSize ) { newSize = GetNextPrime( (unsigned long)newSize ); _wxHashTable_NodeBase** srcTable = m_table; size_t srcBuckets = m_tableBuckets; m_table = (_wxHashTable_NodeBase**)AllocTable( newSize ); m_tableBuckets = newSize; CopyHashTable( srcTable, srcBuckets, this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)&DummyProcessNode ); FreeTable(srcTable); } void HashCopy( const Self& ht ) { ResizeTable( ht.size() ); CopyHashTable( ht.m_table, ht.m_tableBuckets, (_wxHashTableBase2*)this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)CopyNode ); } }; class wxStringToNumHashMap:public wxStringToNumHashMap_wxImplementation_HashTable { public: typedef wxUIntPtr mapped_type; class Insert_Result { public: typedef iterator first_type; typedef bool second_type; typedef iterator t1; typedef bool t2; typedef const iterator const_t1; typedef const bool const_t2; Insert_Result(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; explicit wxStringToNumHashMap( size_type hint = 100, hasher hf = hasher(), key_equal eq = key_equal() ) : wxStringToNumHashMap_wxImplementation_HashTable( hint, hf, eq, wxStringToNumHashMap_wxImplementation_KeyEx() ) {} mapped_type& operator[]( const const_key_type& key ) { bool created; return GetOrCreateNode( wxStringToNumHashMap_wxImplementation_Pair( key, mapped_type() ), created)->m_value.second; } const_iterator find( const const_key_type& key ) const { return const_iterator( GetNode( key ), this ); } iterator find( const const_key_type& key ) { return iterator( GetNode( key ), this ); } Insert_Result insert( const value_type& v ) { bool created; Node *node = GetOrCreateNode( wxStringToNumHashMap_wxImplementation_Pair( v.first, v.second ), created); return Insert_Result(iterator(node, this), created); } size_type erase( const key_type& k ) { return wxStringToNumHashMap_wxImplementation_HashTable::erase( k ); } void erase( const iterator& it ) { erase( (*it).first ); } size_type count( const const_key_type& key ) { return GetNode( key ) ? 1u : 0u; } } > ; ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" 1 ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/panel.h" 1 ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/panel.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" 1 ># 18 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" 1 ># 17 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/clntdata.h" 1 ># 18 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/clntdata.h" >typedef int (*wxShadowObjectMethod)(void*, void*); >class wxShadowObjectMethods_wxImplementation_Pair { public: typedef wxString first_type; typedef wxShadowObjectMethod second_type; typedef wxString t1; typedef wxShadowObjectMethod t2; typedef const wxString const_t1; typedef const wxShadowObjectMethod const_t2; wxShadowObjectMethods_wxImplementation_Pair(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; class wxShadowObjectMethods_wxImplementation_KeyEx { typedef wxString key_type; typedef wxShadowObjectMethods_wxImplementation_Pair pair_type; typedef const key_type const_key_type; typedef const pair_type const_pair_type; typedef const_key_type& const_key_reference; typedef const_pair_type& const_pair_reference; public: wxShadowObjectMethods_wxImplementation_KeyEx() { } const_key_reference operator()( const_pair_reference pair ) const { return pair.first; } wxShadowObjectMethods_wxImplementation_KeyEx& operator=(const wxShadowObjectMethods_wxImplementation_KeyEx&) { return *this; } }; class wxShadowObjectMethods_wxImplementation_HashTable : protected _wxHashTableBase2 { public: typedef wxString key_type; typedef wxShadowObjectMethods_wxImplementation_Pair value_type; typedef wxStringHash hasher; typedef wxStringEqual key_equal; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type& reference; typedef const value_type& const_reference; typedef const wxString const_key_type; typedef const wxShadowObjectMethods_wxImplementation_Pair const_mapped_type; public: typedef wxShadowObjectMethods_wxImplementation_KeyEx key_extractor; typedef wxShadowObjectMethods_wxImplementation_HashTable Self; protected: _wxHashTable_NodeBase** m_table; size_t m_tableBuckets; size_t m_items; hasher m_hasher; key_equal m_equals; key_extractor m_getKey; public: struct Node:public _wxHashTable_NodeBase { public: Node( const value_type& value ) : m_value( value ) {} Node* next() { return static_cast<Node*>(m_next); } value_type m_value; }; protected: static void DeleteNode( _wxHashTable_NodeBase* node ) { delete static_cast<Node*>(node); } public: class Iterator { public: Node* m_node; Self* m_ht; Iterator() : m_node(__null), m_ht(__null) {} Iterator( Node* node, const Self* ht ) : m_node(node), m_ht(const_cast<Self*>(ht)) {} bool operator ==( const Iterator& it ) const { return m_node == it.m_node; } bool operator !=( const Iterator& it ) const { return m_node != it.m_node; } protected: Node* GetNextNode() { size_type bucket = GetBucketForNode(m_ht,m_node); for( size_type i = bucket + 1; i < m_ht->m_tableBuckets; ++i ) { if( m_ht->m_table[i] ) return static_cast<Node*>(m_ht->m_table[i]); } return __null; } void PlusPlus() { Node* next = m_node->next(); m_node = next ? next : GetNextNode(); } }; friend class Iterator; public: class iterator : public Iterator { public: iterator() : Iterator() {} iterator( Node* node, Self* ht ) : Iterator( node, ht ) {} iterator& operator++() { PlusPlus(); return *this; } iterator operator++(int) { iterator it=*this;PlusPlus();return it; } reference operator *() const { return m_node->m_value; } pointer operator ->() const { return &(m_node->m_value); } }; class const_iterator : public Iterator { public: const_iterator() : Iterator() {} const_iterator(iterator i) : Iterator(i) {} const_iterator( Node* node, const Self* ht ) : Iterator(node, const_cast<Self*>(ht)) {} const_iterator& operator++() { PlusPlus();return *this; } const_iterator operator++(int) { const_iterator it=*this;PlusPlus();return it; } const_reference operator *() const { return m_node->m_value; } const_pointer operator ->() const { return &(m_node->m_value); } }; wxShadowObjectMethods_wxImplementation_HashTable( size_type sz = 10, const hasher& hfun = hasher(), const key_equal& k_eq = key_equal(), const key_extractor& k_ex = key_extractor() ) : m_tableBuckets( GetNextPrime( (unsigned long) sz ) ), m_items( 0 ), m_hasher( hfun ), m_equals( k_eq ), m_getKey( k_ex ) { m_table = (_wxHashTable_NodeBase**)AllocTable(m_tableBuckets); } wxShadowObjectMethods_wxImplementation_HashTable( const Self& ht ) : m_table(__null), m_tableBuckets( 0 ), m_items( ht.m_items ), m_hasher( ht.m_hasher ), m_equals( ht.m_equals ), m_getKey( ht.m_getKey ) { HashCopy( ht ); } const Self& operator=( const Self& ht ) { if (&ht != this) { clear(); m_hasher = ht.m_hasher; m_equals = ht.m_equals; m_getKey = ht.m_getKey; m_items = ht.m_items; HashCopy( ht ); } return *this; } ~wxShadowObjectMethods_wxImplementation_HashTable() { clear(); FreeTable(m_table); } hasher hash_funct() { return m_hasher; } key_equal key_eq() { return m_equals; } void clear() { DeleteNodes(m_tableBuckets, m_table, DeleteNode); m_items = 0; } size_type size() const { return m_items; } size_type max_size() const { return size_type(-1); } bool empty() const { return size() == 0; } const_iterator end() const { return const_iterator(__null, this); } iterator end() { return iterator(__null, this); } const_iterator begin() const { return const_iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } iterator begin() { return iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } size_type erase( const const_key_type& key ) { _wxHashTable_NodeBase** node = GetNodePtr(key); if( !node ) return 0; --m_items; _wxHashTable_NodeBase* temp = (*node)->m_next; delete static_cast<Node*>(*node); (*node) = temp; if( never_shrink( m_tableBuckets, m_items ) ) ResizeTable( GetPreviousPrime( (unsigned long) m_tableBuckets ) - 1 ); return 1; } protected: static size_type GetBucketForNode( Self* ht, Node* node ) { return ht->m_hasher( ht->m_getKey( node->m_value ) ) % ht->m_tableBuckets; } static Node* CopyNode( Node* node ) { return new Node( *node ); } Node* GetOrCreateNode( const value_type& value, bool& created ) { const const_key_type& key = m_getKey( value ); size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) { created = false; return node; } node = node->next(); } created = true; return CreateNode( value, bucket); } Node * CreateNode( const value_type& value, size_t bucket ) { Node* node = new Node( value ); node->m_next = m_table[bucket]; m_table[bucket] = node; ++m_items; if( grow_lf70( m_tableBuckets, m_items ) ) ResizeTable( m_tableBuckets ); return node; } void CreateNode( const value_type& value ) { CreateNode(value, m_hasher( m_getKey(value) ) % m_tableBuckets ); } _wxHashTable_NodeBase** GetNodePtr(const const_key_type& key) const { size_t bucket = m_hasher( key ) % m_tableBuckets; _wxHashTable_NodeBase** node = &m_table[bucket]; while( *node ) { if (m_equals(m_getKey(static_cast<Node*>(*node)->m_value), key)) return node; node = &(*node)->m_next; } return __null; } Node* GetNode( const const_key_type& key ) const { size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) return node; node = node->next(); } return __null; } void ResizeTable( size_t newSize ) { newSize = GetNextPrime( (unsigned long)newSize ); _wxHashTable_NodeBase** srcTable = m_table; size_t srcBuckets = m_tableBuckets; m_table = (_wxHashTable_NodeBase**)AllocTable( newSize ); m_tableBuckets = newSize; CopyHashTable( srcTable, srcBuckets, this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)&DummyProcessNode ); FreeTable(srcTable); } void HashCopy( const Self& ht ) { ResizeTable( ht.size() ); CopyHashTable( ht.m_table, ht.m_tableBuckets, (_wxHashTableBase2*)this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)CopyNode ); } }; class wxShadowObjectMethods:public wxShadowObjectMethods_wxImplementation_HashTable { public: typedef wxShadowObjectMethod mapped_type; class Insert_Result { public: typedef iterator first_type; typedef bool second_type; typedef iterator t1; typedef bool t2; typedef const iterator const_t1; typedef const bool const_t2; Insert_Result(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; explicit wxShadowObjectMethods( size_type hint = 100, hasher hf = hasher(), key_equal eq = key_equal() ) : wxShadowObjectMethods_wxImplementation_HashTable( hint, hf, eq, wxShadowObjectMethods_wxImplementation_KeyEx() ) {} mapped_type& operator[]( const const_key_type& key ) { bool created; return GetOrCreateNode( wxShadowObjectMethods_wxImplementation_Pair( key, mapped_type() ), created)->m_value.second; } const_iterator find( const const_key_type& key ) const { return const_iterator( GetNode( key ), this ); } iterator find( const const_key_type& key ) { return iterator( GetNode( key ), this ); } Insert_Result insert( const value_type& v ) { bool created; Node *node = GetOrCreateNode( wxShadowObjectMethods_wxImplementation_Pair( v.first, v.second ), created); return Insert_Result(iterator(node, this), created); } size_type erase( const key_type& k ) { return wxShadowObjectMethods_wxImplementation_HashTable::erase( k ); } void erase( const iterator& it ) { erase( (*it).first ); } size_type count( const const_key_type& key ) { return GetNode( key ) ? 1u : 0u; } } > > > > ; >class wxShadowObjectFields_wxImplementation_Pair { public: typedef wxString first_type; typedef void * second_type; typedef wxString t1; typedef void * t2; typedef const wxString const_t1; typedef const void * const_t2; wxShadowObjectFields_wxImplementation_Pair(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; class wxShadowObjectFields_wxImplementation_KeyEx { typedef wxString key_type; typedef wxShadowObjectFields_wxImplementation_Pair pair_type; typedef const key_type const_key_type; typedef const pair_type const_pair_type; typedef const_key_type& const_key_reference; typedef const_pair_type& const_pair_reference; public: wxShadowObjectFields_wxImplementation_KeyEx() { } const_key_reference operator()( const_pair_reference pair ) const { return pair.first; } wxShadowObjectFields_wxImplementation_KeyEx& operator=(const wxShadowObjectFields_wxImplementation_KeyEx&) { return *this; } }; class wxShadowObjectFields_wxImplementation_HashTable : protected _wxHashTableBase2 { public: typedef wxString key_type; typedef wxShadowObjectFields_wxImplementation_Pair value_type; typedef wxStringHash hasher; typedef wxStringEqual key_equal; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type& reference; typedef const value_type& const_reference; typedef const wxString const_key_type; typedef const wxShadowObjectFields_wxImplementation_Pair const_mapped_type; public: typedef wxShadowObjectFields_wxImplementation_KeyEx key_extractor; typedef wxShadowObjectFields_wxImplementation_HashTable Self; protected: _wxHashTable_NodeBase** m_table; size_t m_tableBuckets; size_t m_items; hasher m_hasher; key_equal m_equals; key_extractor m_getKey; public: struct Node:public _wxHashTable_NodeBase { public: Node( const value_type& value ) : m_value( value ) {} Node* next() { return static_cast<Node*>(m_next); } value_type m_value; }; protected: static void DeleteNode( _wxHashTable_NodeBase* node ) { delete static_cast<Node*>(node); } public: class Iterator { public: Node* m_node; Self* m_ht; Iterator() : m_node(__null), m_ht(__null) {} Iterator( Node* node, const Self* ht ) : m_node(node), m_ht(const_cast<Self*>(ht)) {} bool operator ==( const Iterator& it ) const { return m_node == it.m_node; } bool operator !=( const Iterator& it ) const { return m_node != it.m_node; } protected: Node* GetNextNode() { size_type bucket = GetBucketForNode(m_ht,m_node); for( size_type i = bucket + 1; i < m_ht->m_tableBuckets; ++i ) { if( m_ht->m_table[i] ) return static_cast<Node*>(m_ht->m_table[i]); } return __null; } void PlusPlus() { Node* next = m_node->next(); m_node = next ? next : GetNextNode(); } }; friend class Iterator; public: class iterator : public Iterator { public: iterator() : Iterator() {} iterator( Node* node, Self* ht ) : Iterator( node, ht ) {} iterator& operator++() { PlusPlus(); return *this; } iterator operator++(int) { iterator it=*this;PlusPlus();return it; } reference operator *() const { return m_node->m_value; } pointer operator ->() const { return &(m_node->m_value); } }; class const_iterator : public Iterator { public: const_iterator() : Iterator() {} const_iterator(iterator i) : Iterator(i) {} const_iterator( Node* node, const Self* ht ) : Iterator(node, const_cast<Self*>(ht)) {} const_iterator& operator++() { PlusPlus();return *this; } const_iterator operator++(int) { const_iterator it=*this;PlusPlus();return it; } const_reference operator *() const { return m_node->m_value; } const_pointer operator ->() const { return &(m_node->m_value); } }; wxShadowObjectFields_wxImplementation_HashTable( size_type sz = 10, const hasher& hfun = hasher(), const key_equal& k_eq = key_equal(), const key_extractor& k_ex = key_extractor() ) : m_tableBuckets( GetNextPrime( (unsigned long) sz ) ), m_items( 0 ), m_hasher( hfun ), m_equals( k_eq ), m_getKey( k_ex ) { m_table = (_wxHashTable_NodeBase**)AllocTable(m_tableBuckets); } wxShadowObjectFields_wxImplementation_HashTable( const Self& ht ) : m_table(__null), m_tableBuckets( 0 ), m_items( ht.m_items ), m_hasher( ht.m_hasher ), m_equals( ht.m_equals ), m_getKey( ht.m_getKey ) { HashCopy( ht ); } const Self& operator=( const Self& ht ) { if (&ht != this) { clear(); m_hasher = ht.m_hasher; m_equals = ht.m_equals; m_getKey = ht.m_getKey; m_items = ht.m_items; HashCopy( ht ); } return *this; } ~wxShadowObjectFields_wxImplementation_HashTable() { clear(); FreeTable(m_table); } hasher hash_funct() { return m_hasher; } key_equal key_eq() { return m_equals; } void clear() { DeleteNodes(m_tableBuckets, m_table, DeleteNode); m_items = 0; } size_type size() const { return m_items; } size_type max_size() const { return size_type(-1); } bool empty() const { return size() == 0; } const_iterator end() const { return const_iterator(__null, this); } iterator end() { return iterator(__null, this); } const_iterator begin() const { return const_iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } iterator begin() { return iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } size_type erase( const const_key_type& key ) { _wxHashTable_NodeBase** node = GetNodePtr(key); if( !node ) return 0; --m_items; _wxHashTable_NodeBase* temp = (*node)->m_next; delete static_cast<Node*>(*node); (*node) = temp; if( never_shrink( m_tableBuckets, m_items ) ) ResizeTable( GetPreviousPrime( (unsigned long) m_tableBuckets ) - 1 ); return 1; } protected: static size_type GetBucketForNode( Self* ht, Node* node ) { return ht->m_hasher( ht->m_getKey( node->m_value ) ) % ht->m_tableBuckets; } static Node* CopyNode( Node* node ) { return new Node( *node ); } Node* GetOrCreateNode( const value_type& value, bool& created ) { const const_key_type& key = m_getKey( value ); size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) { created = false; return node; } node = node->next(); } created = true; return CreateNode( value, bucket); } Node * CreateNode( const value_type& value, size_t bucket ) { Node* node = new Node( value ); node->m_next = m_table[bucket]; m_table[bucket] = node; ++m_items; if( grow_lf70( m_tableBuckets, m_items ) ) ResizeTable( m_tableBuckets ); return node; } void CreateNode( const value_type& value ) { CreateNode(value, m_hasher( m_getKey(value) ) % m_tableBuckets ); } _wxHashTable_NodeBase** GetNodePtr(const const_key_type& key) const { size_t bucket = m_hasher( key ) % m_tableBuckets; _wxHashTable_NodeBase** node = &m_table[bucket]; while( *node ) { if (m_equals(m_getKey(static_cast<Node*>(*node)->m_value), key)) return node; node = &(*node)->m_next; } return __null; } Node* GetNode( const const_key_type& key ) const { size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) return node; node = node->next(); } return __null; } void ResizeTable( size_t newSize ) { newSize = GetNextPrime( (unsigned long)newSize ); _wxHashTable_NodeBase** srcTable = m_table; size_t srcBuckets = m_tableBuckets; m_table = (_wxHashTable_NodeBase**)AllocTable( newSize ); m_tableBuckets = newSize; CopyHashTable( srcTable, srcBuckets, this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)&DummyProcessNode ); FreeTable(srcTable); } void HashCopy( const Self& ht ) { ResizeTable( ht.size() ); CopyHashTable( ht.m_table, ht.m_tableBuckets, (_wxHashTableBase2*)this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)CopyNode ); } }; class wxShadowObjectFields:public wxShadowObjectFields_wxImplementation_HashTable { public: typedef void * mapped_type; class Insert_Result { public: typedef iterator first_type; typedef bool second_type; typedef iterator t1; typedef bool t2; typedef const iterator const_t1; typedef const bool const_t2; Insert_Result(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; explicit wxShadowObjectFields( size_type hint = 100, hasher hf = hasher(), key_equal eq = key_equal() ) : wxShadowObjectFields_wxImplementation_HashTable( hint, hf, eq, wxShadowObjectFields_wxImplementation_KeyEx() ) {} mapped_type& operator[]( const const_key_type& key ) { bool created; return GetOrCreateNode( wxShadowObjectFields_wxImplementation_Pair( key, mapped_type() ), created)->m_value.second; } const_iterator find( const const_key_type& key ) const { return const_iterator( GetNode( key ), this ); } iterator find( const const_key_type& key ) { return iterator( GetNode( key ), this ); } Insert_Result insert( const value_type& v ) { bool created; Node *node = GetOrCreateNode( wxShadowObjectFields_wxImplementation_Pair( v.first, v.second ), created); return Insert_Result(iterator(node, this), created); } size_type erase( const key_type& k ) { return wxShadowObjectFields_wxImplementation_HashTable::erase( k ); } void erase( const iterator& it ) { erase( (*it).first ); } size_type count( const const_key_type& key ) { return GetNode( key ) ? 1u : 0u; } } > > > > ; > >class wxShadowObject >{ >public: > wxShadowObject() { } > > void AddMethod( const wxString &name, wxShadowObjectMethod method ) > { > wxShadowObjectMethods::iterator it = m_methods.find( name ); > if (it == m_methods.end()) > m_methods[ name ] = method; > else > it->second = method; > } > > bool InvokeMethod( const wxString &name, void* window, void* param, int* returnValue ) > { > wxShadowObjectMethods::iterator it = m_methods.find( name ); > if (it == m_methods.end()) > return false; > wxShadowObjectMethod method = it->second; > int ret = (*method)(window, param); > if (returnValue) > *returnValue = ret; > return true; > } > > void AddField( const wxString &name, void* initialValue = __null ) > { > wxShadowObjectFields::iterator it = m_fields.find( name ); > if (it == m_fields.end()) > m_fields[ name ] = initialValue; > else > it->second = initialValue; > } > > void SetField( const wxString &name, void* value ) > { > wxShadowObjectFields::iterator it = m_fields.find( name ); > if (it == m_fields.end()) > return; > it->second = value; > } > > void* GetField( const wxString &name, void *defaultValue = __null ) > { > wxShadowObjectFields::iterator it = m_fields.find( name ); > if (it == m_fields.end()) > return defaultValue; > return it->second; > } > >private: > wxShadowObjectMethods m_methods; > wxShadowObjectFields m_fields; >}; > > > > > >enum wxClientDataType >{ > wxClientData_None, > wxClientData_Object, > wxClientData_Void >}; > >class wxClientData >{ >public: > wxClientData() { } > virtual ~wxClientData() { } >}; > >class wxStringClientData : public wxClientData >{ >public: > wxStringClientData() : m_data() { } > wxStringClientData( const wxString &data ) : m_data(data) { } > void SetData( const wxString &data ) { m_data = data; } > const wxString& GetData() const { return m_data; } > >private: > wxString m_data; >}; ># 125 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/clntdata.h" >class wxClientDataContainer >{ >public: > wxClientDataContainer(); > virtual ~wxClientDataContainer(); > > void SetClientObject( wxClientData *data ) { DoSetClientObject(data); } > wxClientData *GetClientObject() const { return DoGetClientObject(); } > > void SetClientData( void *data ) { DoSetClientData(data); } > void *GetClientData() const { return DoGetClientData(); } > >protected: > > > > > > union > { > wxClientData *m_clientObject; > void *m_clientData; > }; > > > virtual void DoSetClientObject( wxClientData *data ); > virtual wxClientData *DoGetClientObject() const; > > virtual void DoSetClientData( void *data ); > virtual void *DoGetClientData() const; > > > wxClientDataType m_clientDataType; > >}; ># 18 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" 2 > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h" 1 ># 23 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" 1 ># 18 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" ># 1 "/usr/include/math.h" 1 3 4 ># 28 "/usr/include/math.h" 3 4 >extern "C" { > > > ># 1 "/usr/include/bits/huge_val.h" 1 3 4 ># 33 "/usr/include/math.h" 2 3 4 > ># 1 "/usr/include/bits/huge_valf.h" 1 3 4 ># 35 "/usr/include/math.h" 2 3 4 ># 1 "/usr/include/bits/huge_vall.h" 1 3 4 ># 36 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/inf.h" 1 3 4 ># 39 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/nan.h" 1 3 4 ># 42 "/usr/include/math.h" 2 3 4 > > > ># 1 "/usr/include/bits/mathdef.h" 1 3 4 ># 28 "/usr/include/bits/mathdef.h" 3 4 >typedef float float_t; >typedef double double_t; ># 46 "/usr/include/math.h" 2 3 4 ># 69 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 52 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acos (double __x) throw (); extern double __acos (double __x) throw (); > >extern double asin (double __x) throw (); extern double __asin (double __x) throw (); > >extern double atan (double __x) throw (); extern double __atan (double __x) throw (); > >extern double atan2 (double __y, double __x) throw (); extern double __atan2 (double __y, double __x) throw (); > > >extern double cos (double __x) throw (); extern double __cos (double __x) throw (); > >extern double sin (double __x) throw (); extern double __sin (double __x) throw (); > >extern double tan (double __x) throw (); extern double __tan (double __x) throw (); > > > > >extern double cosh (double __x) throw (); extern double __cosh (double __x) throw (); > >extern double sinh (double __x) throw (); extern double __sinh (double __x) throw (); > >extern double tanh (double __x) throw (); extern double __tanh (double __x) throw (); > > > > >extern void sincos (double __x, double *__sinx, double *__cosx) throw (); extern void __sincos (double __x, double *__sinx, double *__cosx) throw () > ; > > > > > >extern double acosh (double __x) throw (); extern double __acosh (double __x) throw (); > >extern double asinh (double __x) throw (); extern double __asinh (double __x) throw (); > >extern double atanh (double __x) throw (); extern double __atanh (double __x) throw (); > > > > > > > >extern double exp (double __x) throw (); extern double __exp (double __x) throw (); > > >extern double frexp (double __x, int *__exponent) throw (); extern double __frexp (double __x, int *__exponent) throw (); > > >extern double ldexp (double __x, int __exponent) throw (); extern double __ldexp (double __x, int __exponent) throw (); > > >extern double log (double __x) throw (); extern double __log (double __x) throw (); > > >extern double log10 (double __x) throw (); extern double __log10 (double __x) throw (); > > >extern double modf (double __x, double *__iptr) throw (); extern double __modf (double __x, double *__iptr) throw () __attribute__ ((__nonnull__ (2))); > > > > >extern double exp10 (double __x) throw (); extern double __exp10 (double __x) throw (); > >extern double pow10 (double __x) throw (); extern double __pow10 (double __x) throw (); > > > > > >extern double expm1 (double __x) throw (); extern double __expm1 (double __x) throw (); > > >extern double log1p (double __x) throw (); extern double __log1p (double __x) throw (); > > >extern double logb (double __x) throw (); extern double __logb (double __x) throw (); > > > > > > >extern double exp2 (double __x) throw (); extern double __exp2 (double __x) throw (); > > >extern double log2 (double __x) throw (); extern double __log2 (double __x) throw (); ># 153 "/usr/include/bits/mathcalls.h" 3 4 >extern double pow (double __x, double __y) throw (); extern double __pow (double __x, double __y) throw (); > > >extern double sqrt (double __x) throw (); extern double __sqrt (double __x) throw (); > > > > > >extern double hypot (double __x, double __y) throw (); extern double __hypot (double __x, double __y) throw (); > > > > > > >extern double cbrt (double __x) throw (); extern double __cbrt (double __x) throw (); ># 178 "/usr/include/bits/mathcalls.h" 3 4 >extern double ceil (double __x) throw () __attribute__ ((__const__)); extern double __ceil (double __x) throw () __attribute__ ((__const__)); > > >extern double fabs (double __x) throw () __attribute__ ((__const__)); extern double __fabs (double __x) throw () __attribute__ ((__const__)); > > >extern double floor (double __x) throw () __attribute__ ((__const__)); extern double __floor (double __x) throw () __attribute__ ((__const__)); > > >extern double fmod (double __x, double __y) throw (); extern double __fmod (double __x, double __y) throw (); > > > > >extern int __isinf (double __value) throw () __attribute__ ((__const__)); > > >extern int __finite (double __value) throw () __attribute__ ((__const__)); > > > > > >extern int isinf (double __value) throw () __attribute__ ((__const__)); > > >extern int finite (double __value) throw () __attribute__ ((__const__)); > > >extern double drem (double __x, double __y) throw (); extern double __drem (double __x, double __y) throw (); > > > >extern double significand (double __x) throw (); extern double __significand (double __x) throw (); > > > > > >extern double copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double __copysign (double __x, double __y) throw () __attribute__ ((__const__)); > > > > > > >extern double nan (const char *__tagb) throw () __attribute__ ((__const__)); extern double __nan (const char *__tagb) throw () __attribute__ ((__const__)); > > > > > >extern int __isnan (double __value) throw () __attribute__ ((__const__)); > > > >extern int isnan (double __value) throw () __attribute__ ((__const__)); > > >extern double j0 (double) throw (); extern double __j0 (double) throw (); >extern double j1 (double) throw (); extern double __j1 (double) throw (); >extern double jn (int, double) throw (); extern double __jn (int, double) throw (); >extern double y0 (double) throw (); extern double __y0 (double) throw (); >extern double y1 (double) throw (); extern double __y1 (double) throw (); >extern double yn (int, double) throw (); extern double __yn (int, double) throw (); > > > > > > >extern double erf (double) throw (); extern double __erf (double) throw (); >extern double erfc (double) throw (); extern double __erfc (double) throw (); >extern double lgamma (double) throw (); extern double __lgamma (double) throw (); > > > > > > >extern double tgamma (double) throw (); extern double __tgamma (double) throw (); > > > > > >extern double gamma (double) throw (); extern double __gamma (double) throw (); > > > > > > >extern double lgamma_r (double, int *__signgamp) throw (); extern double __lgamma_r (double, int *__signgamp) throw (); > > > > > > > >extern double rint (double __x) throw (); extern double __rint (double __x) throw (); > > >extern double nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) throw () __attribute__ ((__const__)); > >extern double nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); > > > >extern double remainder (double __x, double __y) throw (); extern double __remainder (double __x, double __y) throw (); > > > >extern double scalbn (double __x, int __n) throw (); extern double __scalbn (double __x, int __n) throw (); > > > >extern int ilogb (double __x) throw (); extern int __ilogb (double __x) throw (); > > > > >extern double scalbln (double __x, long int __n) throw (); extern double __scalbln (double __x, long int __n) throw (); > > > >extern double nearbyint (double __x) throw (); extern double __nearbyint (double __x) throw (); > > > >extern double round (double __x) throw () __attribute__ ((__const__)); extern double __round (double __x) throw () __attribute__ ((__const__)); > > > >extern double trunc (double __x) throw () __attribute__ ((__const__)); extern double __trunc (double __x) throw () __attribute__ ((__const__)); > > > > >extern double remquo (double __x, double __y, int *__quo) throw (); extern double __remquo (double __x, double __y, int *__quo) throw (); > > > > > > >extern long int lrint (double __x) throw (); extern long int __lrint (double __x) throw (); >__extension__ >extern long long int llrint (double __x) throw (); extern long long int __llrint (double __x) throw (); > > > >extern long int lround (double __x) throw (); extern long int __lround (double __x) throw (); >__extension__ >extern long long int llround (double __x) throw (); extern long long int __llround (double __x) throw (); > > > >extern double fdim (double __x, double __y) throw (); extern double __fdim (double __x, double __y) throw (); > > >extern double fmax (double __x, double __y) throw () __attribute__ ((__const__)); extern double __fmax (double __x, double __y) throw () __attribute__ ((__const__)); > > >extern double fmin (double __x, double __y) throw () __attribute__ ((__const__)); extern double __fmin (double __x, double __y) throw () __attribute__ ((__const__)); > > > >extern int __fpclassify (double __value) throw () > __attribute__ ((__const__)); > > >extern int __signbit (double __value) throw () > __attribute__ ((__const__)); > > > >extern double fma (double __x, double __y, double __z) throw (); extern double __fma (double __x, double __y, double __z) throw (); ># 365 "/usr/include/bits/mathcalls.h" 3 4 >extern int __issignaling (double __value) throw () > __attribute__ ((__const__)); > > > > >extern double scalb (double __x, double __n) throw (); extern double __scalb (double __x, double __n) throw (); ># 70 "/usr/include/math.h" 2 3 4 ># 88 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 52 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acosf (float __x) throw (); extern float __acosf (float __x) throw (); > >extern float asinf (float __x) throw (); extern float __asinf (float __x) throw (); > >extern float atanf (float __x) throw (); extern float __atanf (float __x) throw (); > >extern float atan2f (float __y, float __x) throw (); extern float __atan2f (float __y, float __x) throw (); > > >extern float cosf (float __x) throw (); extern float __cosf (float __x) throw (); > >extern float sinf (float __x) throw (); extern float __sinf (float __x) throw (); > >extern float tanf (float __x) throw (); extern float __tanf (float __x) throw (); > > > > >extern float coshf (float __x) throw (); extern float __coshf (float __x) throw (); > >extern float sinhf (float __x) throw (); extern float __sinhf (float __x) throw (); > >extern float tanhf (float __x) throw (); extern float __tanhf (float __x) throw (); > > > > >extern void sincosf (float __x, float *__sinx, float *__cosx) throw (); extern void __sincosf (float __x, float *__sinx, float *__cosx) throw () > ; > > > > > >extern float acoshf (float __x) throw (); extern float __acoshf (float __x) throw (); > >extern float asinhf (float __x) throw (); extern float __asinhf (float __x) throw (); > >extern float atanhf (float __x) throw (); extern float __atanhf (float __x) throw (); > > > > > > > >extern float expf (float __x) throw (); extern float __expf (float __x) throw (); > > >extern float frexpf (float __x, int *__exponent) throw (); extern float __frexpf (float __x, int *__exponent) throw (); > > >extern float ldexpf (float __x, int __exponent) throw (); extern float __ldexpf (float __x, int __exponent) throw (); > > >extern float logf (float __x) throw (); extern float __logf (float __x) throw (); > > >extern float log10f (float __x) throw (); extern float __log10f (float __x) throw (); > > >extern float modff (float __x, float *__iptr) throw (); extern float __modff (float __x, float *__iptr) throw () __attribute__ ((__nonnull__ (2))); > > > > >extern float exp10f (float __x) throw (); extern float __exp10f (float __x) throw (); > >extern float pow10f (float __x) throw (); extern float __pow10f (float __x) throw (); > > > > > >extern float expm1f (float __x) throw (); extern float __expm1f (float __x) throw (); > > >extern float log1pf (float __x) throw (); extern float __log1pf (float __x) throw (); > > >extern float logbf (float __x) throw (); extern float __logbf (float __x) throw (); > > > > > > >extern float exp2f (float __x) throw (); extern float __exp2f (float __x) throw (); > > >extern float log2f (float __x) throw (); extern float __log2f (float __x) throw (); ># 153 "/usr/include/bits/mathcalls.h" 3 4 >extern float powf (float __x, float __y) throw (); extern float __powf (float __x, float __y) throw (); > > >extern float sqrtf (float __x) throw (); extern float __sqrtf (float __x) throw (); > > > > > >extern float hypotf (float __x, float __y) throw (); extern float __hypotf (float __x, float __y) throw (); > > > > > > >extern float cbrtf (float __x) throw (); extern float __cbrtf (float __x) throw (); ># 178 "/usr/include/bits/mathcalls.h" 3 4 >extern float ceilf (float __x) throw () __attribute__ ((__const__)); extern float __ceilf (float __x) throw () __attribute__ ((__const__)); > > >extern float fabsf (float __x) throw () __attribute__ ((__const__)); extern float __fabsf (float __x) throw () __attribute__ ((__const__)); > > >extern float floorf (float __x) throw () __attribute__ ((__const__)); extern float __floorf (float __x) throw () __attribute__ ((__const__)); > > >extern float fmodf (float __x, float __y) throw (); extern float __fmodf (float __x, float __y) throw (); > > > > >extern int __isinff (float __value) throw () __attribute__ ((__const__)); > > >extern int __finitef (float __value) throw () __attribute__ ((__const__)); > > > > > >extern int isinff (float __value) throw () __attribute__ ((__const__)); > > >extern int finitef (float __value) throw () __attribute__ ((__const__)); > > >extern float dremf (float __x, float __y) throw (); extern float __dremf (float __x, float __y) throw (); > > > >extern float significandf (float __x) throw (); extern float __significandf (float __x) throw (); > > > > > >extern float copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) throw () __attribute__ ((__const__)); > > > > > > >extern float nanf (const char *__tagb) throw () __attribute__ ((__const__)); extern float __nanf (const char *__tagb) throw () __attribute__ ((__const__)); > > > > > >extern int __isnanf (float __value) throw () __attribute__ ((__const__)); > > > >extern int isnanf (float __value) throw () __attribute__ ((__const__)); > > >extern float j0f (float) throw (); extern float __j0f (float) throw (); >extern float j1f (float) throw (); extern float __j1f (float) throw (); >extern float jnf (int, float) throw (); extern float __jnf (int, float) throw (); >extern float y0f (float) throw (); extern float __y0f (float) throw (); >extern float y1f (float) throw (); extern float __y1f (float) throw (); >extern float ynf (int, float) throw (); extern float __ynf (int, float) throw (); > > > > > > >extern float erff (float) throw (); extern float __erff (float) throw (); >extern float erfcf (float) throw (); extern float __erfcf (float) throw (); >extern float lgammaf (float) throw (); extern float __lgammaf (float) throw (); > > > > > > >extern float tgammaf (float) throw (); extern float __tgammaf (float) throw (); > > > > > >extern float gammaf (float) throw (); extern float __gammaf (float) throw (); > > > > > > >extern float lgammaf_r (float, int *__signgamp) throw (); extern float __lgammaf_r (float, int *__signgamp) throw (); > > > > > > > >extern float rintf (float __x) throw (); extern float __rintf (float __x) throw (); > > >extern float nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); > >extern float nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); > > > >extern float remainderf (float __x, float __y) throw (); extern float __remainderf (float __x, float __y) throw (); > > > >extern float scalbnf (float __x, int __n) throw (); extern float __scalbnf (float __x, int __n) throw (); > > > >extern int ilogbf (float __x) throw (); extern int __ilogbf (float __x) throw (); > > > > >extern float scalblnf (float __x, long int __n) throw (); extern float __scalblnf (float __x, long int __n) throw (); > > > >extern float nearbyintf (float __x) throw (); extern float __nearbyintf (float __x) throw (); > > > >extern float roundf (float __x) throw () __attribute__ ((__const__)); extern float __roundf (float __x) throw () __attribute__ ((__const__)); > > > >extern float truncf (float __x) throw () __attribute__ ((__const__)); extern float __truncf (float __x) throw () __attribute__ ((__const__)); > > > > >extern float remquof (float __x, float __y, int *__quo) throw (); extern float __remquof (float __x, float __y, int *__quo) throw (); > > > > > > >extern long int lrintf (float __x) throw (); extern long int __lrintf (float __x) throw (); >__extension__ >extern long long int llrintf (float __x) throw (); extern long long int __llrintf (float __x) throw (); > > > >extern long int lroundf (float __x) throw (); extern long int __lroundf (float __x) throw (); >__extension__ >extern long long int llroundf (float __x) throw (); extern long long int __llroundf (float __x) throw (); > > > >extern float fdimf (float __x, float __y) throw (); extern float __fdimf (float __x, float __y) throw (); > > >extern float fmaxf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __fmaxf (float __x, float __y) throw () __attribute__ ((__const__)); > > >extern float fminf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __fminf (float __x, float __y) throw () __attribute__ ((__const__)); > > > >extern int __fpclassifyf (float __value) throw () > __attribute__ ((__const__)); > > >extern int __signbitf (float __value) throw () > __attribute__ ((__const__)); > > > >extern float fmaf (float __x, float __y, float __z) throw (); extern float __fmaf (float __x, float __y, float __z) throw (); ># 365 "/usr/include/bits/mathcalls.h" 3 4 >extern int __issignalingf (float __value) throw () > __attribute__ ((__const__)); > > > > >extern float scalbf (float __x, float __n) throw (); extern float __scalbf (float __x, float __n) throw (); ># 89 "/usr/include/math.h" 2 3 4 ># 132 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 52 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double acosl (long double __x) throw (); extern long double __acosl (long double __x) throw (); > >extern long double asinl (long double __x) throw (); extern long double __asinl (long double __x) throw (); > >extern long double atanl (long double __x) throw (); extern long double __atanl (long double __x) throw (); > >extern long double atan2l (long double __y, long double __x) throw (); extern long double __atan2l (long double __y, long double __x) throw (); > > >extern long double cosl (long double __x) throw (); extern long double __cosl (long double __x) throw (); > >extern long double sinl (long double __x) throw (); extern long double __sinl (long double __x) throw (); > >extern long double tanl (long double __x) throw (); extern long double __tanl (long double __x) throw (); > > > > >extern long double coshl (long double __x) throw (); extern long double __coshl (long double __x) throw (); > >extern long double sinhl (long double __x) throw (); extern long double __sinhl (long double __x) throw (); > >extern long double tanhl (long double __x) throw (); extern long double __tanhl (long double __x) throw (); > > > > >extern void sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) throw () > ; > > > > > >extern long double acoshl (long double __x) throw (); extern long double __acoshl (long double __x) throw (); > >extern long double asinhl (long double __x) throw (); extern long double __asinhl (long double __x) throw (); > >extern long double atanhl (long double __x) throw (); extern long double __atanhl (long double __x) throw (); > > > > > > > >extern long double expl (long double __x) throw (); extern long double __expl (long double __x) throw (); > > >extern long double frexpl (long double __x, int *__exponent) throw (); extern long double __frexpl (long double __x, int *__exponent) throw (); > > >extern long double ldexpl (long double __x, int __exponent) throw (); extern long double __ldexpl (long double __x, int __exponent) throw (); > > >extern long double logl (long double __x) throw (); extern long double __logl (long double __x) throw (); > > >extern long double log10l (long double __x) throw (); extern long double __log10l (long double __x) throw (); > > >extern long double modfl (long double __x, long double *__iptr) throw (); extern long double __modfl (long double __x, long double *__iptr) throw () __attribute__ ((__nonnull__ (2))); > > > > >extern long double exp10l (long double __x) throw (); extern long double __exp10l (long double __x) throw (); > >extern long double pow10l (long double __x) throw (); extern long double __pow10l (long double __x) throw (); > > > > > >extern long double expm1l (long double __x) throw (); extern long double __expm1l (long double __x) throw (); > > >extern long double log1pl (long double __x) throw (); extern long double __log1pl (long double __x) throw (); > > >extern long double logbl (long double __x) throw (); extern long double __logbl (long double __x) throw (); > > > > > > >extern long double exp2l (long double __x) throw (); extern long double __exp2l (long double __x) throw (); > > >extern long double log2l (long double __x) throw (); extern long double __log2l (long double __x) throw (); ># 153 "/usr/include/bits/mathcalls.h" 3 4 >extern long double powl (long double __x, long double __y) throw (); extern long double __powl (long double __x, long double __y) throw (); > > >extern long double sqrtl (long double __x) throw (); extern long double __sqrtl (long double __x) throw (); > > > > > >extern long double hypotl (long double __x, long double __y) throw (); extern long double __hypotl (long double __x, long double __y) throw (); > > > > > > >extern long double cbrtl (long double __x) throw (); extern long double __cbrtl (long double __x) throw (); ># 178 "/usr/include/bits/mathcalls.h" 3 4 >extern long double ceill (long double __x) throw () __attribute__ ((__const__)); extern long double __ceill (long double __x) throw () __attribute__ ((__const__)); > > >extern long double fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double __fabsl (long double __x) throw () __attribute__ ((__const__)); > > >extern long double floorl (long double __x) throw () __attribute__ ((__const__)); extern long double __floorl (long double __x) throw () __attribute__ ((__const__)); > > >extern long double fmodl (long double __x, long double __y) throw (); extern long double __fmodl (long double __x, long double __y) throw (); > > > > >extern int __isinfl (long double __value) throw () __attribute__ ((__const__)); > > >extern int __finitel (long double __value) throw () __attribute__ ((__const__)); > > > > > >extern int isinfl (long double __value) throw () __attribute__ ((__const__)); > > >extern int finitel (long double __value) throw () __attribute__ ((__const__)); > > >extern long double dreml (long double __x, long double __y) throw (); extern long double __dreml (long double __x, long double __y) throw (); > > > >extern long double significandl (long double __x) throw (); extern long double __significandl (long double __x) throw (); > > > > > >extern long double copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); > > > > > > >extern long double nanl (const char *__tagb) throw () __attribute__ ((__const__)); extern long double __nanl (const char *__tagb) throw () __attribute__ ((__const__)); > > > > > >extern int __isnanl (long double __value) throw () __attribute__ ((__const__)); > > > >extern int isnanl (long double __value) throw () __attribute__ ((__const__)); > > >extern long double j0l (long double) throw (); extern long double __j0l (long double) throw (); >extern long double j1l (long double) throw (); extern long double __j1l (long double) throw (); >extern long double jnl (int, long double) throw (); extern long double __jnl (int, long double) throw (); >extern long double y0l (long double) throw (); extern long double __y0l (long double) throw (); >extern long double y1l (long double) throw (); extern long double __y1l (long double) throw (); >extern long double ynl (int, long double) throw (); extern long double __ynl (int, long double) throw (); > > > > > > >extern long double erfl (long double) throw (); extern long double __erfl (long double) throw (); >extern long double erfcl (long double) throw (); extern long double __erfcl (long double) throw (); >extern long double lgammal (long double) throw (); extern long double __lgammal (long double) throw (); > > > > > > >extern long double tgammal (long double) throw (); extern long double __tgammal (long double) throw (); > > > > > >extern long double gammal (long double) throw (); extern long double __gammal (long double) throw (); > > > > > > >extern long double lgammal_r (long double, int *__signgamp) throw (); extern long double __lgammal_r (long double, int *__signgamp) throw (); > > > > > > > >extern long double rintl (long double __x) throw (); extern long double __rintl (long double __x) throw (); > > >extern long double nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) throw () __attribute__ ((__const__)); > >extern long double nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) throw () __attribute__ ((__const__)); > > > >extern long double remainderl (long double __x, long double __y) throw (); extern long double __remainderl (long double __x, long double __y) throw (); > > > >extern long double scalbnl (long double __x, int __n) throw (); extern long double __scalbnl (long double __x, int __n) throw (); > > > >extern int ilogbl (long double __x) throw (); extern int __ilogbl (long double __x) throw (); > > > > >extern long double scalblnl (long double __x, long int __n) throw (); extern long double __scalblnl (long double __x, long int __n) throw (); > > > >extern long double nearbyintl (long double __x) throw (); extern long double __nearbyintl (long double __x) throw (); > > > >extern long double roundl (long double __x) throw () __attribute__ ((__const__)); extern long double __roundl (long double __x) throw () __attribute__ ((__const__)); > > > >extern long double truncl (long double __x) throw () __attribute__ ((__const__)); extern long double __truncl (long double __x) throw () __attribute__ ((__const__)); > > > > >extern long double remquol (long double __x, long double __y, int *__quo) throw (); extern long double __remquol (long double __x, long double __y, int *__quo) throw (); > > > > > > >extern long int lrintl (long double __x) throw (); extern long int __lrintl (long double __x) throw (); >__extension__ >extern long long int llrintl (long double __x) throw (); extern long long int __llrintl (long double __x) throw (); > > > >extern long int lroundl (long double __x) throw (); extern long int __lroundl (long double __x) throw (); >__extension__ >extern long long int llroundl (long double __x) throw (); extern long long int __llroundl (long double __x) throw (); > > > >extern long double fdiml (long double __x, long double __y) throw (); extern long double __fdiml (long double __x, long double __y) throw (); > > >extern long double fmaxl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __fmaxl (long double __x, long double __y) throw () __attribute__ ((__const__)); > > >extern long double fminl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __fminl (long double __x, long double __y) throw () __attribute__ ((__const__)); > > > >extern int __fpclassifyl (long double __value) throw () > __attribute__ ((__const__)); > > >extern int __signbitl (long double __value) throw () > __attribute__ ((__const__)); > > > >extern long double fmal (long double __x, long double __y, long double __z) throw (); extern long double __fmal (long double __x, long double __y, long double __z) throw (); ># 365 "/usr/include/bits/mathcalls.h" 3 4 >extern int __issignalingl (long double __value) throw () > __attribute__ ((__const__)); > > > > >extern long double scalbl (long double __x, long double __n) throw (); extern long double __scalbl (long double __x, long double __n) throw (); ># 133 "/usr/include/math.h" 2 3 4 ># 148 "/usr/include/math.h" 3 4 >extern int signgam; ># 189 "/usr/include/math.h" 3 4 >enum > { > FP_NAN = > > 0, > FP_INFINITE = > > 1, > FP_ZERO = > > 2, > FP_SUBNORMAL = > > 3, > FP_NORMAL = > > 4 > }; ># 301 "/usr/include/math.h" 3 4 >typedef enum >{ > _IEEE_ = -1, > _SVID_, > _XOPEN_, > _POSIX_, > _ISOC_ >} _LIB_VERSION_TYPE; > > > > >extern _LIB_VERSION_TYPE _LIB_VERSION; ># 324 "/usr/include/math.h" 3 4 >struct __exception > > > > { > int type; > char *name; > double arg1; > double arg2; > double retval; > }; > > >extern int matherr (struct __exception *__exc) throw (); ># 426 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathinline.h" 1 3 4 ># 123 "/usr/include/bits/mathinline.h" 3 4 > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) __signbitf (float __x) throw () >{ > > int __m; > __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); > return (__m & 0x8) != 0; > > > > >} >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) __signbit (double __x) throw () >{ > > int __m; > __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); > return (__m & 0x80) != 0; > > > > >} >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) __signbitl (long double __x) throw () >{ > __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; > return (__u.__i[2] & 0x8000) != 0; >} ># 427 "/usr/include/math.h" 2 3 4 ># 488 "/usr/include/math.h" 3 4 >} ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" 2 ># 58 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" ># 1 "/usr/include/c++/4.9.1/cmath" 1 3 ># 39 "/usr/include/c++/4.9.1/cmath" 3 ># 40 "/usr/include/c++/4.9.1/cmath" 3 ># 75 "/usr/include/c++/4.9.1/cmath" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > inline constexpr double > abs(double __x) > { return __builtin_fabs(__x); } > > > > inline constexpr float > abs(float __x) > { return __builtin_fabsf(__x); } > > inline constexpr long double > abs(long double __x) > { return __builtin_fabsl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > abs(_Tp __x) > { return __builtin_fabs(__x); } > > using ::acos; > > > inline constexpr float > acos(float __x) > { return __builtin_acosf(__x); } > > inline constexpr long double > acos(long double __x) > { return __builtin_acosl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > acos(_Tp __x) > { return __builtin_acos(__x); } > > using ::asin; > > > inline constexpr float > asin(float __x) > { return __builtin_asinf(__x); } > > inline constexpr long double > asin(long double __x) > { return __builtin_asinl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > asin(_Tp __x) > { return __builtin_asin(__x); } > > using ::atan; > > > inline constexpr float > atan(float __x) > { return __builtin_atanf(__x); } > > inline constexpr long double > atan(long double __x) > { return __builtin_atanl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > atan(_Tp __x) > { return __builtin_atan(__x); } > > using ::atan2; > > > inline constexpr float > atan2(float __y, float __x) > { return __builtin_atan2f(__y, __x); } > > inline constexpr long double > atan2(long double __y, long double __x) > { return __builtin_atan2l(__y, __x); } > > > template<typename _Tp, typename _Up> > inline constexpr > typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > atan2(_Tp __y, _Up __x) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return atan2(__type(__y), __type(__x)); > } > > using ::ceil; > > > inline constexpr float > ceil(float __x) > { return __builtin_ceilf(__x); } > > inline constexpr long double > ceil(long double __x) > { return __builtin_ceill(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > ceil(_Tp __x) > { return __builtin_ceil(__x); } > > using ::cos; > > > inline constexpr float > cos(float __x) > { return __builtin_cosf(__x); } > > inline constexpr long double > cos(long double __x) > { return __builtin_cosl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > cos(_Tp __x) > { return __builtin_cos(__x); } > > using ::cosh; > > > inline constexpr float > cosh(float __x) > { return __builtin_coshf(__x); } > > inline constexpr long double > cosh(long double __x) > { return __builtin_coshl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > cosh(_Tp __x) > { return __builtin_cosh(__x); } > > using ::exp; > > > inline constexpr float > exp(float __x) > { return __builtin_expf(__x); } > > inline constexpr long double > exp(long double __x) > { return __builtin_expl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > exp(_Tp __x) > { return __builtin_exp(__x); } > > using ::fabs; > > > inline constexpr float > fabs(float __x) > { return __builtin_fabsf(__x); } > > inline constexpr long double > fabs(long double __x) > { return __builtin_fabsl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > fabs(_Tp __x) > { return __builtin_fabs(__x); } > > using ::floor; > > > inline constexpr float > floor(float __x) > { return __builtin_floorf(__x); } > > inline constexpr long double > floor(long double __x) > { return __builtin_floorl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > floor(_Tp __x) > { return __builtin_floor(__x); } > > using ::fmod; > > > inline constexpr float > fmod(float __x, float __y) > { return __builtin_fmodf(__x, __y); } > > inline constexpr long double > fmod(long double __x, long double __y) > { return __builtin_fmodl(__x, __y); } > > > template<typename _Tp, typename _Up> > inline constexpr > typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > fmod(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return fmod(__type(__x), __type(__y)); > } > > using ::frexp; > > > inline float > frexp(float __x, int* __exp) > { return __builtin_frexpf(__x, __exp); } > > inline long double > frexp(long double __x, int* __exp) > { return __builtin_frexpl(__x, __exp); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > frexp(_Tp __x, int* __exp) > { return __builtin_frexp(__x, __exp); } > > using ::ldexp; > > > inline constexpr float > ldexp(float __x, int __exp) > { return __builtin_ldexpf(__x, __exp); } > > inline constexpr long double > ldexp(long double __x, int __exp) > { return __builtin_ldexpl(__x, __exp); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > ldexp(_Tp __x, int __exp) > { return __builtin_ldexp(__x, __exp); } > > using ::log; > > > inline constexpr float > log(float __x) > { return __builtin_logf(__x); } > > inline constexpr long double > log(long double __x) > { return __builtin_logl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > log(_Tp __x) > { return __builtin_log(__x); } > > using ::log10; > > > inline constexpr float > log10(float __x) > { return __builtin_log10f(__x); } > > inline constexpr long double > log10(long double __x) > { return __builtin_log10l(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > log10(_Tp __x) > { return __builtin_log10(__x); } > > using ::modf; > > > inline float > modf(float __x, float* __iptr) > { return __builtin_modff(__x, __iptr); } > > inline long double > modf(long double __x, long double* __iptr) > { return __builtin_modfl(__x, __iptr); } > > > using ::pow; > > > inline constexpr float > pow(float __x, float __y) > { return __builtin_powf(__x, __y); } > > inline constexpr long double > pow(long double __x, long double __y) > { return __builtin_powl(__x, __y); } ># 431 "/usr/include/c++/4.9.1/cmath" 3 > template<typename _Tp, typename _Up> > inline constexpr > typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > pow(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return pow(__type(__x), __type(__y)); > } > > using ::sin; > > > inline constexpr float > sin(float __x) > { return __builtin_sinf(__x); } > > inline constexpr long double > sin(long double __x) > { return __builtin_sinl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > sin(_Tp __x) > { return __builtin_sin(__x); } > > using ::sinh; > > > inline constexpr float > sinh(float __x) > { return __builtin_sinhf(__x); } > > inline constexpr long double > sinh(long double __x) > { return __builtin_sinhl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > sinh(_Tp __x) > { return __builtin_sinh(__x); } > > using ::sqrt; > > > inline constexpr float > sqrt(float __x) > { return __builtin_sqrtf(__x); } > > inline constexpr long double > sqrt(long double __x) > { return __builtin_sqrtl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > sqrt(_Tp __x) > { return __builtin_sqrt(__x); } > > using ::tan; > > > inline constexpr float > tan(float __x) > { return __builtin_tanf(__x); } > > inline constexpr long double > tan(long double __x) > { return __builtin_tanl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > tan(_Tp __x) > { return __builtin_tan(__x); } > > using ::tanh; > > > inline constexpr float > tanh(float __x) > { return __builtin_tanhf(__x); } > > inline constexpr long double > tanh(long double __x) > { return __builtin_tanhl(__x); } > > > template<typename _Tp> > inline constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > tanh(_Tp __x) > { return __builtin_tanh(__x); } > > >} ># 555 "/usr/include/c++/4.9.1/cmath" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > constexpr int > fpclassify(float __x) > { return __builtin_fpclassify(0, 1, 4, > 3, 2, __x); } > > constexpr int > fpclassify(double __x) > { return __builtin_fpclassify(0, 1, 4, > 3, 2, __x); } > > constexpr int > fpclassify(long double __x) > { return __builtin_fpclassify(0, 1, 4, > 3, 2, __x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > int>::__type > fpclassify(_Tp __x) > { return __x != 0 ? 4 : 2; } > > constexpr bool > isfinite(float __x) > { return __builtin_isfinite(__x); } > > constexpr bool > isfinite(double __x) > { return __builtin_isfinite(__x); } > > constexpr bool > isfinite(long double __x) > { return __builtin_isfinite(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > bool>::__type > isfinite(_Tp __x) > { return true; } > > constexpr bool > isinf(float __x) > { return __builtin_isinf(__x); } > > constexpr bool > isinf(double __x) > { return __builtin_isinf(__x); } > > constexpr bool > isinf(long double __x) > { return __builtin_isinf(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > bool>::__type > isinf(_Tp __x) > { return false; } > > constexpr bool > isnan(float __x) > { return __builtin_isnan(__x); } > > constexpr bool > isnan(double __x) > { return __builtin_isnan(__x); } > > constexpr bool > isnan(long double __x) > { return __builtin_isnan(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > bool>::__type > isnan(_Tp __x) > { return false; } > > constexpr bool > isnormal(float __x) > { return __builtin_isnormal(__x); } > > constexpr bool > isnormal(double __x) > { return __builtin_isnormal(__x); } > > constexpr bool > isnormal(long double __x) > { return __builtin_isnormal(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > bool>::__type > isnormal(_Tp __x) > { return __x != 0 ? true : false; } > > > constexpr bool > signbit(float __x) > { return __builtin_signbitf(__x); } > > constexpr bool > signbit(double __x) > { return __builtin_signbit(__x); } > > constexpr bool > signbit(long double __x) > { return __builtin_signbitl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > bool>::__type > signbit(_Tp __x) > { return __x < 0 ? true : false; } > > constexpr bool > isgreater(float __x, float __y) > { return __builtin_isgreater(__x, __y); } > > constexpr bool > isgreater(double __x, double __y) > { return __builtin_isgreater(__x, __y); } > > constexpr bool > isgreater(long double __x, long double __y) > { return __builtin_isgreater(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename > __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value > && __is_arithmetic<_Up>::__value), bool>::__type > isgreater(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return __builtin_isgreater(__type(__x), __type(__y)); > } > > constexpr bool > isgreaterequal(float __x, float __y) > { return __builtin_isgreaterequal(__x, __y); } > > constexpr bool > isgreaterequal(double __x, double __y) > { return __builtin_isgreaterequal(__x, __y); } > > constexpr bool > isgreaterequal(long double __x, long double __y) > { return __builtin_isgreaterequal(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename > __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value > && __is_arithmetic<_Up>::__value), bool>::__type > isgreaterequal(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return __builtin_isgreaterequal(__type(__x), __type(__y)); > } > > constexpr bool > isless(float __x, float __y) > { return __builtin_isless(__x, __y); } > > constexpr bool > isless(double __x, double __y) > { return __builtin_isless(__x, __y); } > > constexpr bool > isless(long double __x, long double __y) > { return __builtin_isless(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename > __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value > && __is_arithmetic<_Up>::__value), bool>::__type > isless(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return __builtin_isless(__type(__x), __type(__y)); > } > > constexpr bool > islessequal(float __x, float __y) > { return __builtin_islessequal(__x, __y); } > > constexpr bool > islessequal(double __x, double __y) > { return __builtin_islessequal(__x, __y); } > > constexpr bool > islessequal(long double __x, long double __y) > { return __builtin_islessequal(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename > __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value > && __is_arithmetic<_Up>::__value), bool>::__type > islessequal(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return __builtin_islessequal(__type(__x), __type(__y)); > } > > constexpr bool > islessgreater(float __x, float __y) > { return __builtin_islessgreater(__x, __y); } > > constexpr bool > islessgreater(double __x, double __y) > { return __builtin_islessgreater(__x, __y); } > > constexpr bool > islessgreater(long double __x, long double __y) > { return __builtin_islessgreater(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename > __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value > && __is_arithmetic<_Up>::__value), bool>::__type > islessgreater(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return __builtin_islessgreater(__type(__x), __type(__y)); > } > > constexpr bool > isunordered(float __x, float __y) > { return __builtin_isunordered(__x, __y); } > > constexpr bool > isunordered(double __x, double __y) > { return __builtin_isunordered(__x, __y); } > > constexpr bool > isunordered(long double __x, long double __y) > { return __builtin_isunordered(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename > __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value > && __is_arithmetic<_Up>::__value), bool>::__type > isunordered(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return __builtin_isunordered(__type(__x), __type(__y)); > } ># 917 "/usr/include/c++/4.9.1/cmath" 3 > >} ># 1033 "/usr/include/c++/4.9.1/cmath" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > using ::double_t; > using ::float_t; > > > using ::acosh; > using ::acoshf; > using ::acoshl; > > using ::asinh; > using ::asinhf; > using ::asinhl; > > using ::atanh; > using ::atanhf; > using ::atanhl; > > using ::cbrt; > using ::cbrtf; > using ::cbrtl; > > using ::copysign; > using ::copysignf; > using ::copysignl; > > using ::erf; > using ::erff; > using ::erfl; > > using ::erfc; > using ::erfcf; > using ::erfcl; > > using ::exp2; > using ::exp2f; > using ::exp2l; > > using ::expm1; > using ::expm1f; > using ::expm1l; > > using ::fdim; > using ::fdimf; > using ::fdiml; > > using ::fma; > using ::fmaf; > using ::fmal; > > using ::fmax; > using ::fmaxf; > using ::fmaxl; > > using ::fmin; > using ::fminf; > using ::fminl; > > using ::hypot; > using ::hypotf; > using ::hypotl; > > using ::ilogb; > using ::ilogbf; > using ::ilogbl; > > using ::lgamma; > using ::lgammaf; > using ::lgammal; > > using ::llrint; > using ::llrintf; > using ::llrintl; > > using ::llround; > using ::llroundf; > using ::llroundl; > > using ::log1p; > using ::log1pf; > using ::log1pl; > > using ::log2; > using ::log2f; > using ::log2l; > > using ::logb; > using ::logbf; > using ::logbl; > > using ::lrint; > using ::lrintf; > using ::lrintl; > > using ::lround; > using ::lroundf; > using ::lroundl; > > using ::nan; > using ::nanf; > using ::nanl; > > using ::nearbyint; > using ::nearbyintf; > using ::nearbyintl; > > using ::nextafter; > using ::nextafterf; > using ::nextafterl; > > using ::nexttoward; > using ::nexttowardf; > using ::nexttowardl; > > using ::remainder; > using ::remainderf; > using ::remainderl; > > using ::remquo; > using ::remquof; > using ::remquol; > > using ::rint; > using ::rintf; > using ::rintl; > > using ::round; > using ::roundf; > using ::roundl; > > using ::scalbln; > using ::scalblnf; > using ::scalblnl; > > using ::scalbn; > using ::scalbnf; > using ::scalbnl; > > using ::tgamma; > using ::tgammaf; > using ::tgammal; > > using ::trunc; > using ::truncf; > using ::truncl; > > > constexpr float > acosh(float __x) > { return __builtin_acoshf(__x); } > > constexpr long double > acosh(long double __x) > { return __builtin_acoshl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > acosh(_Tp __x) > { return __builtin_acosh(__x); } > > constexpr float > asinh(float __x) > { return __builtin_asinhf(__x); } > > constexpr long double > asinh(long double __x) > { return __builtin_asinhl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > asinh(_Tp __x) > { return __builtin_asinh(__x); } > > constexpr float > atanh(float __x) > { return __builtin_atanhf(__x); } > > constexpr long double > atanh(long double __x) > { return __builtin_atanhl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > atanh(_Tp __x) > { return __builtin_atanh(__x); } > > constexpr float > cbrt(float __x) > { return __builtin_cbrtf(__x); } > > constexpr long double > cbrt(long double __x) > { return __builtin_cbrtl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > cbrt(_Tp __x) > { return __builtin_cbrt(__x); } > > constexpr float > copysign(float __x, float __y) > { return __builtin_copysignf(__x, __y); } > > constexpr long double > copysign(long double __x, long double __y) > { return __builtin_copysignl(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > copysign(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return copysign(__type(__x), __type(__y)); > } > > constexpr float > erf(float __x) > { return __builtin_erff(__x); } > > constexpr long double > erf(long double __x) > { return __builtin_erfl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > erf(_Tp __x) > { return __builtin_erf(__x); } > > constexpr float > erfc(float __x) > { return __builtin_erfcf(__x); } > > constexpr long double > erfc(long double __x) > { return __builtin_erfcl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > erfc(_Tp __x) > { return __builtin_erfc(__x); } > > constexpr float > exp2(float __x) > { return __builtin_exp2f(__x); } > > constexpr long double > exp2(long double __x) > { return __builtin_exp2l(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > exp2(_Tp __x) > { return __builtin_exp2(__x); } > > constexpr float > expm1(float __x) > { return __builtin_expm1f(__x); } > > constexpr long double > expm1(long double __x) > { return __builtin_expm1l(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > expm1(_Tp __x) > { return __builtin_expm1(__x); } > > constexpr float > fdim(float __x, float __y) > { return __builtin_fdimf(__x, __y); } > > constexpr long double > fdim(long double __x, long double __y) > { return __builtin_fdiml(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > fdim(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return fdim(__type(__x), __type(__y)); > } > > constexpr float > fma(float __x, float __y, float __z) > { return __builtin_fmaf(__x, __y, __z); } > > constexpr long double > fma(long double __x, long double __y, long double __z) > { return __builtin_fmal(__x, __y, __z); } > > template<typename _Tp, typename _Up, typename _Vp> > constexpr typename __gnu_cxx::__promote_3<_Tp, _Up, _Vp>::__type > fma(_Tp __x, _Up __y, _Vp __z) > { > typedef typename __gnu_cxx::__promote_3<_Tp, _Up, _Vp>::__type __type; > return fma(__type(__x), __type(__y), __type(__z)); > } > > constexpr float > fmax(float __x, float __y) > { return __builtin_fmaxf(__x, __y); } > > constexpr long double > fmax(long double __x, long double __y) > { return __builtin_fmaxl(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > fmax(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return fmax(__type(__x), __type(__y)); > } > > constexpr float > fmin(float __x, float __y) > { return __builtin_fminf(__x, __y); } > > constexpr long double > fmin(long double __x, long double __y) > { return __builtin_fminl(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > fmin(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return fmin(__type(__x), __type(__y)); > } > > constexpr float > hypot(float __x, float __y) > { return __builtin_hypotf(__x, __y); } > > constexpr long double > hypot(long double __x, long double __y) > { return __builtin_hypotl(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > hypot(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return hypot(__type(__x), __type(__y)); > } > > constexpr int > ilogb(float __x) > { return __builtin_ilogbf(__x); } > > constexpr int > ilogb(long double __x) > { return __builtin_ilogbl(__x); } > > template<typename _Tp> > constexpr > typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > int>::__type > ilogb(_Tp __x) > { return __builtin_ilogb(__x); } > > constexpr float > lgamma(float __x) > { return __builtin_lgammaf(__x); } > > constexpr long double > lgamma(long double __x) > { return __builtin_lgammal(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > lgamma(_Tp __x) > { return __builtin_lgamma(__x); } > > constexpr long long > llrint(float __x) > { return __builtin_llrintf(__x); } > > constexpr long long > llrint(long double __x) > { return __builtin_llrintl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > long long>::__type > llrint(_Tp __x) > { return __builtin_llrint(__x); } > > constexpr long long > llround(float __x) > { return __builtin_llroundf(__x); } > > constexpr long long > llround(long double __x) > { return __builtin_llroundl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > long long>::__type > llround(_Tp __x) > { return __builtin_llround(__x); } > > constexpr float > log1p(float __x) > { return __builtin_log1pf(__x); } > > constexpr long double > log1p(long double __x) > { return __builtin_log1pl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > log1p(_Tp __x) > { return __builtin_log1p(__x); } > > > constexpr float > log2(float __x) > { return __builtin_log2f(__x); } > > constexpr long double > log2(long double __x) > { return __builtin_log2l(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > log2(_Tp __x) > { return __builtin_log2(__x); } > > constexpr float > logb(float __x) > { return __builtin_logbf(__x); } > > constexpr long double > logb(long double __x) > { return __builtin_logbl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > logb(_Tp __x) > { return __builtin_logb(__x); } > > constexpr long > lrint(float __x) > { return __builtin_lrintf(__x); } > > constexpr long > lrint(long double __x) > { return __builtin_lrintl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > long>::__type > lrint(_Tp __x) > { return __builtin_lrint(__x); } > > constexpr long > lround(float __x) > { return __builtin_lroundf(__x); } > > constexpr long > lround(long double __x) > { return __builtin_lroundl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > long>::__type > lround(_Tp __x) > { return __builtin_lround(__x); } > > constexpr float > nearbyint(float __x) > { return __builtin_nearbyintf(__x); } > > constexpr long double > nearbyint(long double __x) > { return __builtin_nearbyintl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > nearbyint(_Tp __x) > { return __builtin_nearbyint(__x); } > > constexpr float > nextafter(float __x, float __y) > { return __builtin_nextafterf(__x, __y); } > > constexpr long double > nextafter(long double __x, long double __y) > { return __builtin_nextafterl(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > nextafter(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return nextafter(__type(__x), __type(__y)); > } > > constexpr float > nexttoward(float __x, long double __y) > { return __builtin_nexttowardf(__x, __y); } > > constexpr long double > nexttoward(long double __x, long double __y) > { return __builtin_nexttowardl(__x, __y); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > nexttoward(_Tp __x, long double __y) > { return __builtin_nexttoward(__x, __y); } > > constexpr float > remainder(float __x, float __y) > { return __builtin_remainderf(__x, __y); } > > constexpr long double > remainder(long double __x, long double __y) > { return __builtin_remainderl(__x, __y); } > > template<typename _Tp, typename _Up> > constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > remainder(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return remainder(__type(__x), __type(__y)); > } > > inline float > remquo(float __x, float __y, int* __pquo) > { return __builtin_remquof(__x, __y, __pquo); } > > inline long double > remquo(long double __x, long double __y, int* __pquo) > { return __builtin_remquol(__x, __y, __pquo); } > > template<typename _Tp, typename _Up> > inline typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > remquo(_Tp __x, _Up __y, int* __pquo) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return remquo(__type(__x), __type(__y), __pquo); > } > > constexpr float > rint(float __x) > { return __builtin_rintf(__x); } > > constexpr long double > rint(long double __x) > { return __builtin_rintl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > rint(_Tp __x) > { return __builtin_rint(__x); } > > constexpr float > round(float __x) > { return __builtin_roundf(__x); } > > constexpr long double > round(long double __x) > { return __builtin_roundl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > round(_Tp __x) > { return __builtin_round(__x); } > > constexpr float > scalbln(float __x, long __ex) > { return __builtin_scalblnf(__x, __ex); } > > constexpr long double > scalbln(long double __x, long __ex) > { return __builtin_scalblnl(__x, __ex); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > scalbln(_Tp __x, long __ex) > { return __builtin_scalbln(__x, __ex); } > > constexpr float > scalbn(float __x, int __ex) > { return __builtin_scalbnf(__x, __ex); } > > constexpr long double > scalbn(long double __x, int __ex) > { return __builtin_scalbnl(__x, __ex); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > scalbn(_Tp __x, int __ex) > { return __builtin_scalbn(__x, __ex); } > > constexpr float > tgamma(float __x) > { return __builtin_tgammaf(__x); } > > constexpr long double > tgamma(long double __x) > { return __builtin_tgammal(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > tgamma(_Tp __x) > { return __builtin_tgamma(__x); } > > constexpr float > trunc(float __x) > { return __builtin_truncf(__x); } > > constexpr long double > trunc(long double __x) > { return __builtin_truncl(__x); } > > template<typename _Tp> > constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, > double>::__type > trunc(_Tp __x) > { return __builtin_trunc(__x); } > > >} ># 59 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" 2 ># 116 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" ># 116 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" >#pragma GCC diagnostic push ># 116 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" ># 116 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" >#pragma GCC diagnostic ignored "-Wfloat-equal" ># 116 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" > > inline bool wxIsSameDouble(double x, double y) { return x == y; } ># 118 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" >#pragma GCC diagnostic pop ># 118 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" > > > > >inline bool wxIsNullDouble(double x) { return wxIsSameDouble(x, 0.); } > >inline int wxRound(double x) >{ > do { if ( wxTheAssertHandler && !(x > (-2147483647 - 1) - 0.5 && x < 2147483647 + 0.5) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" ># 126 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" > , > 127 ># 126 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" > , __FUNCTION__, "x > INT_MIN - 0.5 && x < INT_MAX + 0.5", L"argument out of supported range"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > ; > > > return int(round(x)); > > > >} ># 147 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" > extern "C" { > > > wxFloat64 wxConvertFromIeeeExtended(const wxInt8 *bytes); > void wxConvertToIeeeExtended(wxFloat64 num, wxInt8 *bytes); ># 160 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/math.h" > } ># 24 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h" 2 > > > > > >class wxBitmap; >class wxBrush; >class wxColour; >class wxCursor; >class wxFont; >class wxIcon; >class wxPalette; >class wxPen; >class wxRegion; >class wxString; >class wxIconBundle; >class wxPoint; > > > > > > >enum wxBitmapType >{ > wxBITMAP_TYPE_INVALID, > wxBITMAP_TYPE_BMP, > wxBITMAP_TYPE_BMP_RESOURCE, > wxBITMAP_TYPE_RESOURCE = wxBITMAP_TYPE_BMP_RESOURCE, > wxBITMAP_TYPE_ICO, > wxBITMAP_TYPE_ICO_RESOURCE, > wxBITMAP_TYPE_CUR, > wxBITMAP_TYPE_CUR_RESOURCE, > wxBITMAP_TYPE_XBM, > wxBITMAP_TYPE_XBM_DATA, > wxBITMAP_TYPE_XPM, > wxBITMAP_TYPE_XPM_DATA, > wxBITMAP_TYPE_TIFF, > wxBITMAP_TYPE_TIF = wxBITMAP_TYPE_TIFF, > wxBITMAP_TYPE_TIFF_RESOURCE, > wxBITMAP_TYPE_TIF_RESOURCE = wxBITMAP_TYPE_TIFF_RESOURCE, > wxBITMAP_TYPE_GIF, > wxBITMAP_TYPE_GIF_RESOURCE, > wxBITMAP_TYPE_PNG, > wxBITMAP_TYPE_PNG_RESOURCE, > wxBITMAP_TYPE_JPEG, > wxBITMAP_TYPE_JPEG_RESOURCE, > wxBITMAP_TYPE_PNM, > wxBITMAP_TYPE_PNM_RESOURCE, > wxBITMAP_TYPE_PCX, > wxBITMAP_TYPE_PCX_RESOURCE, > wxBITMAP_TYPE_PICT, > wxBITMAP_TYPE_PICT_RESOURCE, > wxBITMAP_TYPE_ICON, > wxBITMAP_TYPE_ICON_RESOURCE, > wxBITMAP_TYPE_ANI, > wxBITMAP_TYPE_IFF, > wxBITMAP_TYPE_TGA, > wxBITMAP_TYPE_MACCURSOR, > wxBITMAP_TYPE_MACCURSOR_RESOURCE, > > wxBITMAP_TYPE_MAX, > wxBITMAP_TYPE_ANY = 50 >}; > > >enum wxPolygonFillMode >{ > wxODDEVEN_RULE = 1, > wxWINDING_RULE >}; > > >enum wxStockCursor >{ > wxCURSOR_NONE, > wxCURSOR_ARROW, > wxCURSOR_RIGHT_ARROW, > wxCURSOR_BULLSEYE, > wxCURSOR_CHAR, > wxCURSOR_CROSS, > wxCURSOR_HAND, > wxCURSOR_IBEAM, > wxCURSOR_LEFT_BUTTON, > wxCURSOR_MAGNIFIER, > wxCURSOR_MIDDLE_BUTTON, > wxCURSOR_NO_ENTRY, > wxCURSOR_PAINT_BRUSH, > wxCURSOR_PENCIL, > wxCURSOR_POINT_LEFT, > wxCURSOR_POINT_RIGHT, > wxCURSOR_QUESTION_ARROW, > wxCURSOR_RIGHT_BUTTON, > wxCURSOR_SIZENESW, > wxCURSOR_SIZENS, > wxCURSOR_SIZENWSE, > wxCURSOR_SIZEWE, > wxCURSOR_SIZING, > wxCURSOR_SPRAYCAN, > wxCURSOR_WAIT, > wxCURSOR_WATCH, > wxCURSOR_BLANK, > > wxCURSOR_DEFAULT, ># 139 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h" > wxCURSOR_ARROWWAIT, > > > > > > wxCURSOR_MAX >}; ># 250 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h" >class wxSize >{ >public: > > int x, y; > > > wxSize() : x(0), y(0) { } > wxSize(int xx, int yy) : x(xx), y(yy) { } > > > > wxSize& operator+=(const wxSize& sz) { x += sz.x; y += sz.y; return *this; } > wxSize& operator-=(const wxSize& sz) { x -= sz.x; y -= sz.y; return *this; } > wxSize& operator/=(int i) { x /= i; y /= i; return *this; } > wxSize& operator*=(int i) { x *= i; y *= i; return *this; } > wxSize& operator/=(unsigned int i) { x /= i; y /= i; return *this; } > wxSize& operator*=(unsigned int i) { x *= i; y *= i; return *this; } > wxSize& operator/=(long i) { x /= i; y /= i; return *this; } > wxSize& operator*=(long i) { x *= i; y *= i; return *this; } > wxSize& operator/=(unsigned long i) { x /= i; y /= i; return *this; } > wxSize& operator*=(unsigned long i) { x *= i; y *= i; return *this; } > wxSize& operator/=(double i) { x = int(x/i); y = int(y/i); return *this; } > wxSize& operator*=(double i) { x = int(x*i); y = int(y*i); return *this; } > > void IncTo(const wxSize& sz) > { if ( sz.x > x ) x = sz.x; if ( sz.y > y ) y = sz.y; } > void DecTo(const wxSize& sz) > { if ( sz.x < x ) x = sz.x; if ( sz.y < y ) y = sz.y; } > void DecToIfSpecified(const wxSize& sz) > { > if ( sz.x != wxDefaultCoord && sz.x < x ) > x = sz.x; > if ( sz.y != wxDefaultCoord && sz.y < y ) > y = sz.y; > } > > void IncBy(int dx, int dy) { x += dx; y += dy; } > void IncBy(const wxPoint& pt); > void IncBy(const wxSize& sz) { IncBy(sz.x, sz.y); } > void IncBy(int d) { IncBy(d, d); } > > void DecBy(int dx, int dy) { IncBy(-dx, -dy); } > void DecBy(const wxPoint& pt); > void DecBy(const wxSize& sz) { DecBy(sz.x, sz.y); } > void DecBy(int d) { DecBy(d, d); } > > > wxSize& Scale(float xscale, float yscale) > { x = (int)(x*xscale); y = (int)(y*yscale); return *this; } > > > void Set(int xx, int yy) { x = xx; y = yy; } > void SetWidth(int w) { x = w; } > void SetHeight(int h) { y = h; } > > int GetWidth() const { return x; } > int GetHeight() const { return y; } > > bool IsFullySpecified() const { return x != wxDefaultCoord && y != wxDefaultCoord; } > > > > void SetDefaults(const wxSize& size) > { > if ( x == wxDefaultCoord ) > x = size.x; > if ( y == wxDefaultCoord ) > y = size.y; > } > > > int GetX() const { return x; } > int GetY() const { return y; } >}; > >inline bool operator==(const wxSize& s1, const wxSize& s2) >{ > return s1.x == s2.x && s1.y == s2.y; >} > >inline bool operator!=(const wxSize& s1, const wxSize& s2) >{ > return s1.x != s2.x || s1.y != s2.y; >} > >inline wxSize operator+(const wxSize& s1, const wxSize& s2) >{ > return wxSize(s1.x + s2.x, s1.y + s2.y); >} > >inline wxSize operator-(const wxSize& s1, const wxSize& s2) >{ > return wxSize(s1.x - s2.x, s1.y - s2.y); >} > >inline wxSize operator/(const wxSize& s, int i) >{ > return wxSize(s.x / i, s.y / i); >} > >inline wxSize operator*(const wxSize& s, int i) >{ > return wxSize(s.x * i, s.y * i); >} > >inline wxSize operator*(int i, const wxSize& s) >{ > return wxSize(s.x * i, s.y * i); >} > >inline wxSize operator/(const wxSize& s, unsigned int i) >{ > return wxSize(s.x / i, s.y / i); >} > >inline wxSize operator*(const wxSize& s, unsigned int i) >{ > return wxSize(s.x * i, s.y * i); >} > >inline wxSize operator*(unsigned int i, const wxSize& s) >{ > return wxSize(s.x * i, s.y * i); >} > >inline wxSize operator/(const wxSize& s, long i) >{ > return wxSize(s.x / i, s.y / i); >} > >inline wxSize operator*(const wxSize& s, long i) >{ > return wxSize(int(s.x * i), int(s.y * i)); >} > >inline wxSize operator*(long i, const wxSize& s) >{ > return wxSize(int(s.x * i), int(s.y * i)); >} > >inline wxSize operator/(const wxSize& s, unsigned long i) >{ > return wxSize(int(s.x / i), int(s.y / i)); >} > >inline wxSize operator*(const wxSize& s, unsigned long i) >{ > return wxSize(int(s.x * i), int(s.y * i)); >} > >inline wxSize operator*(unsigned long i, const wxSize& s) >{ > return wxSize(int(s.x * i), int(s.y * i)); >} > >inline wxSize operator*(const wxSize& s, double i) >{ > return wxSize(int(s.x * i), int(s.y * i)); >} > >inline wxSize operator*(double i, const wxSize& s) >{ > return wxSize(int(s.x * i), int(s.y * i)); >} > > > > > > > >class wxRealPoint >{ >public: > double x; > double y; > > wxRealPoint() : x(0.0), y(0.0) { } > wxRealPoint(double xx, double yy) : x(xx), y(yy) { } > wxRealPoint(const wxPoint& pt); > > > > > wxRealPoint& operator+=(const wxRealPoint& p) { x += p.x; y += p.y; return *this; } > wxRealPoint& operator-=(const wxRealPoint& p) { x -= p.x; y -= p.y; return *this; } > > wxRealPoint& operator+=(const wxSize& s) { x += s.GetWidth(); y += s.GetHeight(); return *this; } > wxRealPoint& operator-=(const wxSize& s) { x -= s.GetWidth(); y -= s.GetHeight(); return *this; } >}; > > >inline bool operator==(const wxRealPoint& p1, const wxRealPoint& p2) >{ > return wxIsSameDouble(p1.x, p2.x) && wxIsSameDouble(p1.y, p2.y); >} > >inline bool operator!=(const wxRealPoint& p1, const wxRealPoint& p2) >{ > return !(p1 == p2); >} > >inline wxRealPoint operator+(const wxRealPoint& p1, const wxRealPoint& p2) >{ > return wxRealPoint(p1.x + p2.x, p1.y + p2.y); >} > > >inline wxRealPoint operator-(const wxRealPoint& p1, const wxRealPoint& p2) >{ > return wxRealPoint(p1.x - p2.x, p1.y - p2.y); >} > > >inline wxRealPoint operator/(const wxRealPoint& s, int i) >{ > return wxRealPoint(s.x / i, s.y / i); >} > >inline wxRealPoint operator*(const wxRealPoint& s, int i) >{ > return wxRealPoint(s.x * i, s.y * i); >} > >inline wxRealPoint operator*(int i, const wxRealPoint& s) >{ > return wxRealPoint(s.x * i, s.y * i); >} > >inline wxRealPoint operator/(const wxRealPoint& s, unsigned int i) >{ > return wxRealPoint(s.x / i, s.y / i); >} > >inline wxRealPoint operator*(const wxRealPoint& s, unsigned int i) >{ > return wxRealPoint(s.x * i, s.y * i); >} > >inline wxRealPoint operator*(unsigned int i, const wxRealPoint& s) >{ > return wxRealPoint(s.x * i, s.y * i); >} > >inline wxRealPoint operator/(const wxRealPoint& s, long i) >{ > return wxRealPoint(s.x / i, s.y / i); >} > >inline wxRealPoint operator*(const wxRealPoint& s, long i) >{ > return wxRealPoint(s.x * i, s.y * i); >} > >inline wxRealPoint operator*(long i, const wxRealPoint& s) >{ > return wxRealPoint(s.x * i, s.y * i); >} > >inline wxRealPoint operator/(const wxRealPoint& s, unsigned long i) >{ > return wxRealPoint(s.x / i, s.y / i); >} > >inline wxRealPoint operator*(const wxRealPoint& s, unsigned long i) >{ > return wxRealPoint(s.x * i, s.y * i); >} > >inline wxRealPoint operator*(unsigned long i, const wxRealPoint& s) >{ > return wxRealPoint(s.x * i, s.y * i); >} > >inline wxRealPoint operator*(const wxRealPoint& s, double i) >{ > return wxRealPoint(int(s.x * i), int(s.y * i)); >} > >inline wxRealPoint operator*(double i, const wxRealPoint& s) >{ > return wxRealPoint(int(s.x * i), int(s.y * i)); >} > > > > > > >class wxPoint >{ >public: > int x, y; > > wxPoint() : x(0), y(0) { } > wxPoint(int xx, int yy) : x(xx), y(yy) { } > wxPoint(const wxRealPoint& pt) : x(int(pt.x)), y(int(pt.y)) { } > > > > > wxPoint& operator+=(const wxPoint& p) { x += p.x; y += p.y; return *this; } > wxPoint& operator-=(const wxPoint& p) { x -= p.x; y -= p.y; return *this; } > > wxPoint& operator+=(const wxSize& s) { x += s.GetWidth(); y += s.GetHeight(); return *this; } > wxPoint& operator-=(const wxSize& s) { x -= s.GetWidth(); y -= s.GetHeight(); return *this; } > > > bool IsFullySpecified() const { return x != wxDefaultCoord && y != wxDefaultCoord; } > > > void SetDefaults(const wxPoint& pt) > { > if ( x == wxDefaultCoord ) > x = pt.x; > if ( y == wxDefaultCoord ) > y = pt.y; > } >}; > > > >inline bool operator==(const wxPoint& p1, const wxPoint& p2) >{ > return p1.x == p2.x && p1.y == p2.y; >} > >inline bool operator!=(const wxPoint& p1, const wxPoint& p2) >{ > return !(p1 == p2); >} > > > >inline wxPoint operator+(const wxPoint& p1, const wxPoint& p2) >{ > return wxPoint(p1.x + p2.x, p1.y + p2.y); >} > >inline wxPoint operator-(const wxPoint& p1, const wxPoint& p2) >{ > return wxPoint(p1.x - p2.x, p1.y - p2.y); >} > >inline wxPoint operator+(const wxPoint& p, const wxSize& s) >{ > return wxPoint(p.x + s.x, p.y + s.y); >} > >inline wxPoint operator-(const wxPoint& p, const wxSize& s) >{ > return wxPoint(p.x - s.x, p.y - s.y); >} > >inline wxPoint operator+(const wxSize& s, const wxPoint& p) >{ > return wxPoint(p.x + s.x, p.y + s.y); >} > >inline wxPoint operator-(const wxSize& s, const wxPoint& p) >{ > return wxPoint(s.x - p.x, s.y - p.y); >} > >inline wxPoint operator-(const wxPoint& p) >{ > return wxPoint(-p.x, -p.y); >} > >inline wxPoint operator/(const wxPoint& s, int i) >{ > return wxPoint(s.x / i, s.y / i); >} > >inline wxPoint operator*(const wxPoint& s, int i) >{ > return wxPoint(s.x * i, s.y * i); >} > >inline wxPoint operator*(int i, const wxPoint& s) >{ > return wxPoint(s.x * i, s.y * i); >} > >inline wxPoint operator/(const wxPoint& s, unsigned int i) >{ > return wxPoint(s.x / i, s.y / i); >} > >inline wxPoint operator*(const wxPoint& s, unsigned int i) >{ > return wxPoint(s.x * i, s.y * i); >} > >inline wxPoint operator*(unsigned int i, const wxPoint& s) >{ > return wxPoint(s.x * i, s.y * i); >} > >inline wxPoint operator/(const wxPoint& s, long i) >{ > return wxPoint(s.x / i, s.y / i); >} > >inline wxPoint operator*(const wxPoint& s, long i) >{ > return wxPoint(int(s.x * i), int(s.y * i)); >} > >inline wxPoint operator*(long i, const wxPoint& s) >{ > return wxPoint(int(s.x * i), int(s.y * i)); >} > >inline wxPoint operator/(const wxPoint& s, unsigned long i) >{ > return wxPoint(s.x / i, s.y / i); >} > >inline wxPoint operator*(const wxPoint& s, unsigned long i) >{ > return wxPoint(int(s.x * i), int(s.y * i)); >} > >inline wxPoint operator*(unsigned long i, const wxPoint& s) >{ > return wxPoint(int(s.x * i), int(s.y * i)); >} > >inline wxPoint operator*(const wxPoint& s, double i) >{ > return wxPoint(int(s.x * i), int(s.y * i)); >} > >inline wxPoint operator*(double i, const wxPoint& s) >{ > return wxPoint(int(s.x * i), int(s.y * i)); >} > >typedef wxPoint _WX_LIST_ITEM_TYPE_wxPointList; typedef int (*wxSortFuncFor_wxPointList)(const wxPoint **, const wxPoint **); class wxwxPointListNode : public wxNodeBase { public: wxwxPointListNode(wxListBase *list = __null, wxwxPointListNode *previous = __null, wxwxPointListNode *next = __null, wxPoint *data = __null, const wxListKey& key = wxDefaultListKey) : wxNodeBase(list, previous, next, data, key) { } wxwxPointListNode *GetNext() const { return (wxwxPointListNode *)wxNodeBase::GetNext(); } wxwxPointListNode *GetPrevious() const { return (wxwxPointListNode *)wxNodeBase::GetPrevious(); } wxPoint *GetData() const { return (wxPoint *)wxNodeBase::GetData(); } void SetData(wxPoint *data) { wxNodeBase::SetData(data); } protected: virtual void DeleteData(); private: wxwxPointListNode(const wxwxPointListNode&); wxwxPointListNode& operator=(const wxwxPointListNode&); }; class wxPointList : public wxListBase { public: typedef wxwxPointListNode Node; class compatibility_iterator { public: compatibility_iterator(Node *ptr = __null) : m_ptr(ptr) { } Node *operator->() const { return m_ptr; } operator Node *() const { return m_ptr; } private: Node *m_ptr; }; wxPointList(wxKeyType keyType = wxKEY_NONE) : wxListBase(keyType) { } wxPointList(const wxPointList& list) : wxListBase(list.GetKeyType()) { Assign(list); } wxPointList(size_t count, wxPoint *elements[]) : wxListBase(count, (void **)elements) { } wxPointList& operator=(const wxPointList& list) { if (&list != this) Assign(list); return *this; } wxwxPointListNode *GetFirst() const { return (wxwxPointListNode *)wxListBase::GetFirst(); } wxwxPointListNode *GetLast() const { return (wxwxPointListNode *)wxListBase::GetLast(); } wxwxPointListNode *Item(size_t index) const { return (wxwxPointListNode *)wxListBase::Item(index); } wxPoint *operator[](size_t index) const { wxwxPointListNode *node = Item(index); return node ? (wxPoint*)(node->GetData()) : __null; } wxwxPointListNode *Append(wxPoint *object) { return (wxwxPointListNode *)wxListBase::Append(object); } wxwxPointListNode *Insert(wxPoint *object) { return (wxwxPointListNode *)Insert(static_cast<wxwxPointListNode *>(__null), object); } wxwxPointListNode *Insert(size_t pos, wxPoint *object) { return (wxwxPointListNode *)wxListBase::Insert(pos, object); } wxwxPointListNode *Insert(wxwxPointListNode *prev, wxPoint *object) { return (wxwxPointListNode *)wxListBase::Insert(prev, object); } wxwxPointListNode *Append(long key, void *object) { return (wxwxPointListNode *)wxListBase::Append(key, object); } wxwxPointListNode *Append(const wxChar *key, void *object) { return (wxwxPointListNode *)wxListBase::Append(key, object); } wxwxPointListNode *DetachNode(wxwxPointListNode *node) { return (wxwxPointListNode *)wxListBase::DetachNode(node); } bool DeleteNode(wxwxPointListNode *node) { return wxListBase::DeleteNode(node); } bool DeleteObject(wxPoint *object) { return wxListBase::DeleteObject(object); } void Erase(wxwxPointListNode *it) { DeleteNode(it); } wxwxPointListNode *Find(const wxPoint *object) const { return (wxwxPointListNode *)wxListBase::Find(object); } virtual wxwxPointListNode *Find(const wxListKey& key) const { return (wxwxPointListNode *)wxListBase::Find(key); } bool Member(const wxPoint *object) const { return Find(object) != __null; } int IndexOf(wxPoint *object) const { return wxListBase::IndexOf(object); } void Sort(wxSortCompareFunction func) { wxListBase::Sort(func); } void Sort(wxSortFuncFor_wxPointList func) { Sort((wxSortCompareFunction)func); } protected: virtual wxNodeBase *CreateNode(wxNodeBase *prev, wxNodeBase *next, void *data, const wxListKey& key = wxDefaultListKey) { return new wxwxPointListNode(this, (wxwxPointListNode *)prev, (wxwxPointListNode *)next, (wxPoint *)data, key); } public: typedef size_t size_type; typedef int difference_type; typedef wxPoint* value_type; typedef wxPoint* base_value_type; typedef value_type& reference; typedef const value_type& const_reference; typedef base_value_type& base_reference; typedef const base_value_type& const_base_reference; class iterator { typedef wxPointList list; public: typedef wxwxPointListNode Node; typedef iterator itor; typedef wxPoint* value_type; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; iterator(Node* node, Node* init) : m_node(node), m_init(init) {} iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h", 690, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h", 690, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_iterator { typedef wxPointList list; public: typedef wxwxPointListNode Node; typedef wxPoint* value_type; typedef const value_type& const_reference; typedef const_iterator itor; typedef value_type* ptr_type; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_iterator() : m_node(__null), m_init(__null) { } const_iterator(const iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h", 690, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h", 690, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class reverse_iterator { typedef wxPointList list; public: typedef wxwxPointListNode Node; typedef wxPoint* value_type; typedef reverse_iterator itor; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } reverse_iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_reverse_iterator { typedef wxPointList list; public: typedef wxwxPointListNode Node; typedef wxPoint* value_type; typedef const_reverse_iterator itor; typedef value_type* ptr_type; typedef const value_type& const_reference; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_reverse_iterator() : m_node(__null), m_init(__null) { } const_reverse_iterator(const reverse_iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this;} const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; explicit wxPointList(size_type n, const_reference v = value_type()) { assign(n, v); } wxPointList(const const_iterator& first, const const_iterator& last) { assign(first, last); } iterator begin() { return iterator(GetFirst(), GetLast()); } const_iterator begin() const { return const_iterator(GetFirst(), GetLast()); } iterator end() { return iterator(__null, GetLast()); } const_iterator end() const { return const_iterator(__null, GetLast()); } reverse_iterator rbegin() { return reverse_iterator(GetLast(), GetFirst()); } const_reverse_iterator rbegin() const { return const_reverse_iterator(GetLast(), GetFirst()); } reverse_iterator rend() { return reverse_iterator(__null, GetFirst()); } const_reverse_iterator rend() const { return const_reverse_iterator(__null, GetFirst()); } void resize(size_type n, value_type v = value_type()) { while (n < size()) pop_back(); while (n > size()) push_back(v); } size_type size() const { return GetCount(); } size_type max_size() const { return 2147483647; } bool empty() const { return IsEmpty(); } reference front() { return *begin(); } const_reference front() const { return *begin(); } reference back() { iterator tmp = end(); return *--tmp; } const_reference back() const { const_iterator tmp = end(); return *--tmp; } void push_front(const_reference v = value_type()) { Insert(GetFirst(), (const_base_reference)v); } void pop_front() { DeleteNode(GetFirst()); } void push_back(const_reference v = value_type()) { Append((const_base_reference)v); } void pop_back() { DeleteNode(GetLast()); } void assign(const_iterator first, const const_iterator& last) { clear(); for(; first != last; ++first) Append((const_base_reference)*first); } void assign(size_type n, const_reference v = value_type()) { clear(); for(size_type i = 0; i < n; ++i) Append((const_base_reference)v); } iterator insert(const iterator& it, const_reference v) { if ( it == end() ) { Append((const_base_reference)v); iterator itins(end()); return --itins; } else { Insert(it.m_node, (const_base_reference)v); iterator itins(it); return --itins; } } void insert(const iterator& it, size_type n, const_reference v) { for(size_type i = 0; i < n; ++i) insert(it, v); } void insert(const iterator& it, const_iterator first, const const_iterator& last) { for(; first != last; ++first) insert(it, *first); } iterator erase(const iterator& it) { iterator next = iterator(it.m_node->GetNext(), GetLast()); DeleteNode(it.m_node); return next; } iterator erase(const iterator& first, const iterator& last) { iterator next = last; if ( next != end() ) ++next; DeleteNodes(first.m_node, last.m_node); return next; } void clear() { Clear(); } void splice(const iterator& it, wxPointList& l, const iterator& first, const iterator& last) { insert(it, first, last); l.erase(first, last); } void splice(const iterator& it, wxPointList& l) { splice(it, l, l.begin(), l.end() ); } void splice(const iterator& it, wxPointList& l, const iterator& first) { if ( it != first ) { insert(it, *first); l.erase(first); } } void remove(const_reference v) { DeleteObject((const_base_reference)v); } void reverse() { Reverse(); } }; > > > > > >class wxRect >{ >public: > wxRect() > : x(0), y(0), width(0), height(0) > { } > wxRect(int xx, int yy, int ww, int hh) > : x(xx), y(yy), width(ww), height(hh) > { } > wxRect(const wxPoint& topLeft, const wxPoint& bottomRight); > wxRect(const wxPoint& pt, const wxSize& size) > : x(pt.x), y(pt.y), width(size.x), height(size.y) > { } > wxRect(const wxSize& size) > : x(0), y(0), width(size.x), height(size.y) > { } > > > > int GetX() const { return x; } > void SetX(int xx) { x = xx; } > > int GetY() const { return y; } > void SetY(int yy) { y = yy; } > > int GetWidth() const { return width; } > void SetWidth(int w) { width = w; } > > int GetHeight() const { return height; } > void SetHeight(int h) { height = h; } > > wxPoint GetPosition() const { return wxPoint(x, y); } > void SetPosition( const wxPoint &p ) { x = p.x; y = p.y; } > > wxSize GetSize() const { return wxSize(width, height); } > void SetSize( const wxSize &s ) { width = s.GetWidth(); height = s.GetHeight(); } > > bool IsEmpty() const { return (width <= 0) || (height <= 0); } > > int GetLeft() const { return x; } > int GetTop() const { return y; } > int GetBottom() const { return y + height - 1; } > int GetRight() const { return x + width - 1; } > > void SetLeft(int left) { x = left; } > void SetRight(int right) { width = right - x + 1; } > void SetTop(int top) { y = top; } > void SetBottom(int bottom) { height = bottom - y + 1; } > > wxPoint GetTopLeft() const { return GetPosition(); } > wxPoint GetLeftTop() const { return GetTopLeft(); } > void SetTopLeft(const wxPoint &p) { SetPosition(p); } > void SetLeftTop(const wxPoint &p) { SetTopLeft(p); } > > wxPoint GetBottomRight() const { return wxPoint(GetRight(), GetBottom()); } > wxPoint GetRightBottom() const { return GetBottomRight(); } > void SetBottomRight(const wxPoint &p) { SetRight(p.x); SetBottom(p.y); } > void SetRightBottom(const wxPoint &p) { SetBottomRight(p); } > > wxPoint GetTopRight() const { return wxPoint(GetRight(), GetTop()); } > wxPoint GetRightTop() const { return GetTopRight(); } > void SetTopRight(const wxPoint &p) { SetRight(p.x); SetTop(p.y); } > void SetRightTop(const wxPoint &p) { SetTopRight(p); } > > wxPoint GetBottomLeft() const { return wxPoint(GetLeft(), GetBottom()); } > wxPoint GetLeftBottom() const { return GetBottomLeft(); } > void SetBottomLeft(const wxPoint &p) { SetLeft(p.x); SetBottom(p.y); } > void SetLeftBottom(const wxPoint &p) { SetBottomLeft(p); } > > > wxRect& Inflate(wxCoord dx, wxCoord dy); > wxRect& Inflate(const wxSize& d) { return Inflate(d.x, d.y); } > wxRect& Inflate(wxCoord d) { return Inflate(d, d); } > wxRect Inflate(wxCoord dx, wxCoord dy) const > { > wxRect r = *this; > r.Inflate(dx, dy); > return r; > } > > wxRect& Deflate(wxCoord dx, wxCoord dy) { return Inflate(-dx, -dy); } > wxRect& Deflate(const wxSize& d) { return Inflate(-d.x, -d.y); } > wxRect& Deflate(wxCoord d) { return Inflate(-d); } > wxRect Deflate(wxCoord dx, wxCoord dy) const > { > wxRect r = *this; > r.Deflate(dx, dy); > return r; > } > > void Offset(wxCoord dx, wxCoord dy) { x += dx; y += dy; } > void Offset(const wxPoint& pt) { Offset(pt.x, pt.y); } > > wxRect& Intersect(const wxRect& rect); > wxRect Intersect(const wxRect& rect) const > { > wxRect r = *this; > r.Intersect(rect); > return r; > } > > wxRect& Union(const wxRect& rect); > wxRect Union(const wxRect& rect) const > { > wxRect r = *this; > r.Union(rect); > return r; > } > > > bool Contains(int x, int y) const; > bool Contains(const wxPoint& pt) const { return Contains(pt.x, pt.y); } > > bool Contains(const wxRect& rect) const; ># 819 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h" > bool Intersects(const wxRect& rect) const; > > > wxRect& operator+=(const wxRect& rect); > > > wxRect& operator*=(const wxRect& rect); > > > > wxRect CentreIn(const wxRect& r, int dir = wxBOTH) const > { > return wxRect(dir & wxHORIZONTAL ? r.x + (r.width - width)/2 : x, > dir & wxVERTICAL ? r.y + (r.height - height)/2 : y, > width, height); > } > > wxRect CenterIn(const wxRect& r, int dir = wxBOTH) const > { > return CentreIn(r, dir); > } > >public: > int x, y, width, height; >}; > > > >inline bool operator==(const wxRect& r1, const wxRect& r2) >{ > return (r1.x == r2.x) && (r1.y == r2.y) && > (r1.width == r2.width) && (r1.height == r2.height); >} > >inline bool operator!=(const wxRect& r1, const wxRect& r2) >{ > return !(r1 == r2); >} > > > wxRect operator+(const wxRect& r1, const wxRect& r2); > > > wxRect operator*(const wxRect& r1, const wxRect& r2); ># 876 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h" >inline void wxSize::IncBy(const wxPoint& pt) { IncBy(pt.x, pt.y); } >inline void wxSize::DecBy(const wxPoint& pt) { DecBy(pt.x, pt.y); } > > > > > >typedef wxInt8 wxDash; > >class wxGDIObjListBase { >public: > wxGDIObjListBase(); > ~wxGDIObjListBase(); > >protected: > wxList list; >}; > >class wxStringToColourHashMap_wxImplementation_Pair { public: typedef wxString first_type; typedef wxColour* second_type; typedef wxString t1; typedef wxColour* t2; typedef const wxString const_t1; typedef const wxColour* const_t2; wxStringToColourHashMap_wxImplementation_Pair(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; class wxStringToColourHashMap_wxImplementation_KeyEx { typedef wxString key_type; typedef wxStringToColourHashMap_wxImplementation_Pair pair_type; typedef const key_type const_key_type; typedef const pair_type const_pair_type; typedef const_key_type& const_key_reference; typedef const_pair_type& const_pair_reference; public: wxStringToColourHashMap_wxImplementation_KeyEx() { } const_key_reference operator()( const_pair_reference pair ) const { return pair.first; } wxStringToColourHashMap_wxImplementation_KeyEx& operator=(const wxStringToColourHashMap_wxImplementation_KeyEx&) { return *this; } }; class wxStringToColourHashMap_wxImplementation_HashTable : protected _wxHashTableBase2 { public: typedef wxString key_type; typedef wxStringToColourHashMap_wxImplementation_Pair value_type; typedef wxStringHash hasher; typedef wxStringEqual key_equal; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type& reference; typedef const value_type& const_reference; typedef const wxString const_key_type; typedef const wxStringToColourHashMap_wxImplementation_Pair const_mapped_type; public: typedef wxStringToColourHashMap_wxImplementation_KeyEx key_extractor; typedef wxStringToColourHashMap_wxImplementation_HashTable Self; protected: _wxHashTable_NodeBase** m_table; size_t m_tableBuckets; size_t m_items; hasher m_hasher; key_equal m_equals; key_extractor m_getKey; public: struct Node:public _wxHashTable_NodeBase { public: Node( const value_type& value ) : m_value( value ) {} Node* next() { return static_cast<Node*>(m_next); } value_type m_value; }; protected: static void DeleteNode( _wxHashTable_NodeBase* node ) { delete static_cast<Node*>(node); } public: class Iterator { public: Node* m_node; Self* m_ht; Iterator() : m_node(__null), m_ht(__null) {} Iterator( Node* node, const Self* ht ) : m_node(node), m_ht(const_cast<Self*>(ht)) {} bool operator ==( const Iterator& it ) const { return m_node == it.m_node; } bool operator !=( const Iterator& it ) const { return m_node != it.m_node; } protected: Node* GetNextNode() { size_type bucket = GetBucketForNode(m_ht,m_node); for( size_type i = bucket + 1; i < m_ht->m_tableBuckets; ++i ) { if( m_ht->m_table[i] ) return static_cast<Node*>(m_ht->m_table[i]); } return __null; } void PlusPlus() { Node* next = m_node->next(); m_node = next ? next : GetNextNode(); } }; friend class Iterator; public: class iterator : public Iterator { public: iterator() : Iterator() {} iterator( Node* node, Self* ht ) : Iterator( node, ht ) {} iterator& operator++() { PlusPlus(); return *this; } iterator operator++(int) { iterator it=*this;PlusPlus();return it; } reference operator *() const { return m_node->m_value; } pointer operator ->() const { return &(m_node->m_value); } }; class const_iterator : public Iterator { public: const_iterator() : Iterator() {} const_iterator(iterator i) : Iterator(i) {} const_iterator( Node* node, const Self* ht ) : Iterator(node, const_cast<Self*>(ht)) {} const_iterator& operator++() { PlusPlus();return *this; } const_iterator operator++(int) { const_iterator it=*this;PlusPlus();return it; } const_reference operator *() const { return m_node->m_value; } const_pointer operator ->() const { return &(m_node->m_value); } }; wxStringToColourHashMap_wxImplementation_HashTable( size_type sz = 10, const hasher& hfun = hasher(), const key_equal& k_eq = key_equal(), const key_extractor& k_ex = key_extractor() ) : m_tableBuckets( GetNextPrime( (unsigned long) sz ) ), m_items( 0 ), m_hasher( hfun ), m_equals( k_eq ), m_getKey( k_ex ) { m_table = (_wxHashTable_NodeBase**)AllocTable(m_tableBuckets); } wxStringToColourHashMap_wxImplementation_HashTable( const Self& ht ) : m_table(__null), m_tableBuckets( 0 ), m_items( ht.m_items ), m_hasher( ht.m_hasher ), m_equals( ht.m_equals ), m_getKey( ht.m_getKey ) { HashCopy( ht ); } const Self& operator=( const Self& ht ) { if (&ht != this) { clear(); m_hasher = ht.m_hasher; m_equals = ht.m_equals; m_getKey = ht.m_getKey; m_items = ht.m_items; HashCopy( ht ); } return *this; } ~wxStringToColourHashMap_wxImplementation_HashTable() { clear(); FreeTable(m_table); } hasher hash_funct() { return m_hasher; } key_equal key_eq() { return m_equals; } void clear() { DeleteNodes(m_tableBuckets, m_table, DeleteNode); m_items = 0; } size_type size() const { return m_items; } size_type max_size() const { return size_type(-1); } bool empty() const { return size() == 0; } const_iterator end() const { return const_iterator(__null, this); } iterator end() { return iterator(__null, this); } const_iterator begin() const { return const_iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } iterator begin() { return iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } size_type erase( const const_key_type& key ) { _wxHashTable_NodeBase** node = GetNodePtr(key); if( !node ) return 0; --m_items; _wxHashTable_NodeBase* temp = (*node)->m_next; delete static_cast<Node*>(*node); (*node) = temp; if( never_shrink( m_tableBuckets, m_items ) ) ResizeTable( GetPreviousPrime( (unsigned long) m_tableBuckets ) - 1 ); return 1; } protected: static size_type GetBucketForNode( Self* ht, Node* node ) { return ht->m_hasher( ht->m_getKey( node->m_value ) ) % ht->m_tableBuckets; } static Node* CopyNode( Node* node ) { return new Node( *node ); } Node* GetOrCreateNode( const value_type& value, bool& created ) { const const_key_type& key = m_getKey( value ); size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) { created = false; return node; } node = node->next(); } created = true; return CreateNode( value, bucket); } Node * CreateNode( const value_type& value, size_t bucket ) { Node* node = new Node( value ); node->m_next = m_table[bucket]; m_table[bucket] = node; ++m_items; if( grow_lf70( m_tableBuckets, m_items ) ) ResizeTable( m_tableBuckets ); return node; } void CreateNode( const value_type& value ) { CreateNode(value, m_hasher( m_getKey(value) ) % m_tableBuckets ); } _wxHashTable_NodeBase** GetNodePtr(const const_key_type& key) const { size_t bucket = m_hasher( key ) % m_tableBuckets; _wxHashTable_NodeBase** node = &m_table[bucket]; while( *node ) { if (m_equals(m_getKey(static_cast<Node*>(*node)->m_value), key)) return node; node = &(*node)->m_next; } return __null; } Node* GetNode( const const_key_type& key ) const { size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) return node; node = node->next(); } return __null; } void ResizeTable( size_t newSize ) { newSize = GetNextPrime( (unsigned long)newSize ); _wxHashTable_NodeBase** srcTable = m_table; size_t srcBuckets = m_tableBuckets; m_table = (_wxHashTable_NodeBase**)AllocTable( newSize ); m_tableBuckets = newSize; CopyHashTable( srcTable, srcBuckets, this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)&DummyProcessNode ); FreeTable(srcTable); } void HashCopy( const Self& ht ) { ResizeTable( ht.size() ); CopyHashTable( ht.m_table, ht.m_tableBuckets, (_wxHashTableBase2*)this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)CopyNode ); } }; class wxStringToColourHashMap:public wxStringToColourHashMap_wxImplementation_HashTable { public: typedef wxColour* mapped_type; class Insert_Result { public: typedef iterator first_type; typedef bool second_type; typedef iterator t1; typedef bool t2; typedef const iterator const_t1; typedef const bool const_t2; Insert_Result(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; explicit wxStringToColourHashMap( size_type hint = 100, hasher hf = hasher(), key_equal eq = key_equal() ) : wxStringToColourHashMap_wxImplementation_HashTable( hint, hf, eq, wxStringToColourHashMap_wxImplementation_KeyEx() ) {} mapped_type& operator[]( const const_key_type& key ) { bool created; return GetOrCreateNode( wxStringToColourHashMap_wxImplementation_Pair( key, mapped_type() ), created)->m_value.second; } const_iterator find( const const_key_type& key ) const { return const_iterator( GetNode( key ), this ); } iterator find( const const_key_type& key ) { return iterator( GetNode( key ), this ); } Insert_Result insert( const value_type& v ) { bool created; Node *node = GetOrCreateNode( wxStringToColourHashMap_wxImplementation_Pair( v.first, v.second ), created); return Insert_Result(iterator(node, this), created); } size_type erase( const key_type& k ) { return wxStringToColourHashMap_wxImplementation_HashTable::erase( k ); } void erase( const iterator& it ) { erase( (*it).first ); } size_type count( const const_key_type& key ) { return GetNode( key ) ? 1u : 0u; } }; > >class wxColourDatabase >{ >public: > wxColourDatabase(); > ~wxColourDatabase(); > > > wxColour Find(const wxString& name) const; > wxString FindName(const wxColour& colour) const; > > > void AddColour(const wxString& name, const wxColour& colour); ># 921 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h" >private: > > > void Initialize(); > > wxStringToColourHashMap *m_map; >}; > >class wxResourceCache: public wxList >{ >public: > wxResourceCache() { } > > wxResourceCache(const unsigned int keyType) : wxList(keyType) { } > > virtual ~wxResourceCache(); >}; ># 954 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h" >class wxStockGDI >{ >public: > enum Item { > BRUSH_BLACK, > BRUSH_BLUE, > BRUSH_CYAN, > BRUSH_GREEN, > BRUSH_YELLOW, > BRUSH_GREY, > BRUSH_LIGHTGREY, > BRUSH_MEDIUMGREY, > BRUSH_RED, > BRUSH_TRANSPARENT, > BRUSH_WHITE, > COLOUR_BLACK, > COLOUR_BLUE, > COLOUR_CYAN, > COLOUR_GREEN, > COLOUR_YELLOW, > COLOUR_LIGHTGREY, > COLOUR_RED, > COLOUR_WHITE, > CURSOR_CROSS, > CURSOR_HOURGLASS, > CURSOR_STANDARD, > FONT_ITALIC, > FONT_NORMAL, > FONT_SMALL, > FONT_SWISS, > PEN_BLACK, > PEN_BLACKDASHED, > PEN_BLUE, > PEN_CYAN, > PEN_GREEN, > PEN_YELLOW, > PEN_GREY, > PEN_LIGHTGREY, > PEN_MEDIUMGREY, > PEN_RED, > PEN_TRANSPARENT, > PEN_WHITE, > ITEMCOUNT > }; > > wxStockGDI(); > virtual ~wxStockGDI(); > static void DeleteAll(); > > static wxStockGDI& instance() { return *ms_instance; } > > static const wxBrush* GetBrush(Item item); > static const wxColour* GetColour(Item item); > static const wxCursor* GetCursor(Item item); > > virtual const wxFont* GetFont(Item item); > static const wxPen* GetPen(Item item); > >protected: > static wxStockGDI* ms_instance; > > static wxObject* ms_stockObject[ITEMCOUNT]; > > private: wxStockGDI(const wxStockGDI&); wxStockGDI& operator=(const wxStockGDI&); >}; ># 1064 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gdicmn.h" >extern wxBitmap wxNullBitmap; >extern wxIcon wxNullIcon; >extern wxCursor wxNullCursor; >extern wxPen wxNullPen; >extern wxBrush wxNullBrush; >extern wxPalette wxNullPalette; >extern wxFont wxNullFont; >extern wxColour wxNullColour; >extern wxIconBundle wxNullIconBundle; > >extern wxColourDatabase* wxTheColourDatabase; > >extern const char wxPanelNameStr[]; > >extern const wxSize wxDefaultSize; >extern const wxPoint wxDefaultPosition; > > > > > > >extern void wxInitializeStockLists(); >extern void wxDeleteStockLists(); > > >extern bool wxColourDisplay(); > > >extern int wxDisplayDepth(); > > > >extern void wxDisplaySize(int *width, int *height); >extern wxSize wxGetDisplaySize(); >extern void wxDisplaySizeMM(int *width, int *height); >extern wxSize wxGetDisplaySizeMM(); >extern wxSize wxGetDisplayPPI(); > > >extern void wxClientDisplayRect(int *x, int *y, int *width, int *height); >extern wxRect wxGetClientDisplayRect(); > > >extern void wxSetCursor(const wxCursor& cursor); ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/cursor.h" 1 ># 48 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/cursor.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/cursor.h" 1 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/cursor.h" >class wxColour; >class wxImage; > > > > > >class wxCursor : public wxGDIObject >{ >public: > wxCursor(); > wxCursor(wxStockCursor id) { InitFromStock(id); } > > > > > wxCursor( const wxImage & image ); > wxCursor(const wxString& name, > wxBitmapType type = wxBITMAP_TYPE_XPM, > int hotSpotX = 0, int hotSpotY = 0); > > wxCursor( const char bits[], int width, int height, > int hotSpotX = -1, int hotSpotY = -1, > const char maskBits[] = __null, > const wxColour* fg = __null, const wxColour* bg = __null); > virtual ~wxCursor(); > > > > GdkCursor *GetCursor() const; > >protected: > void InitFromStock(wxStockCursor); > > void InitFromImage(const wxImage& image); > > > virtual wxGDIRefData *CreateGDIRefData() const; > virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const; > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 49 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/cursor.h" 2 ># 69 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/cursor.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" 1 ># 26 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" ># 1 "/usr/include/sys/stat.h" 1 3 4 ># 103 "/usr/include/sys/stat.h" 3 4 >extern "C" { > ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 46 "/usr/include/bits/stat.h" 3 4 >struct stat > { > __dev_t st_dev; > > > > > __ino_t st_ino; > > > > > > > > __nlink_t st_nlink; > __mode_t st_mode; > > __uid_t st_uid; > __gid_t st_gid; > > int __pad0; > > __dev_t st_rdev; > > > > > __off_t st_size; > > > > __blksize_t st_blksize; > > __blkcnt_t st_blocks; ># 91 "/usr/include/bits/stat.h" 3 4 > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 106 "/usr/include/bits/stat.h" 3 4 > __syscall_slong_t __unused[3]; ># 115 "/usr/include/bits/stat.h" 3 4 > }; > > > >struct stat64 > { > __dev_t st_dev; > > __ino64_t st_ino; > __nlink_t st_nlink; > __mode_t st_mode; > > > > > > > __uid_t st_uid; > __gid_t st_gid; > > int __pad0; > __dev_t st_rdev; > __off_t st_size; > > > > > > __blksize_t st_blksize; > __blkcnt64_t st_blocks; > > > > > > > > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 164 "/usr/include/bits/stat.h" 3 4 > __syscall_slong_t __unused[3]; > > > > }; ># 106 "/usr/include/sys/stat.h" 2 3 4 ># 217 "/usr/include/sys/stat.h" 3 4 >extern int stat (const char *__restrict __file, struct stat *__restrict __buf) throw () __asm__ ("" "stat64") > > __attribute__ ((__nonnull__ (1, 2))); >extern int fstat (int __fd, struct stat *__buf) throw () __asm__ ("" "fstat64") > __attribute__ ((__nonnull__ (2))); > > > > > > >extern int stat64 (const char *__restrict __file, > struct stat64 *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); >extern int fstat64 (int __fd, struct stat64 *__buf) throw () __attribute__ ((__nonnull__ (2))); ># 243 "/usr/include/sys/stat.h" 3 4 >extern int fstatat (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag) throw () __asm__ ("" "fstatat64") > > > __attribute__ ((__nonnull__ (2, 3))); > > > > > > >extern int fstatat64 (int __fd, const char *__restrict __file, > struct stat64 *__restrict __buf, int __flag) > throw () __attribute__ ((__nonnull__ (2, 3))); ># 267 "/usr/include/sys/stat.h" 3 4 >extern int lstat (const char *__restrict __file, struct stat *__restrict __buf) throw () __asm__ ("" "lstat64") > > > __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int lstat64 (const char *__restrict __file, > struct stat64 *__restrict __buf) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int chmod (const char *__file, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int lchmod (const char *__file, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int fchmod (int __fd, __mode_t __mode) throw (); > > > > > >extern int fchmodat (int __fd, const char *__file, __mode_t __mode, > int __flag) > throw () __attribute__ ((__nonnull__ (2))) ; > > > > > > >extern __mode_t umask (__mode_t __mask) throw (); > > > > >extern __mode_t getumask (void) throw (); > > > >extern int mkdir (const char *__path, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int mkdirat (int __fd, const char *__path, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (2))); > > > > > > >extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int mknodat (int __fd, const char *__path, __mode_t __mode, > __dev_t __dev) throw () __attribute__ ((__nonnull__ (2))); > > > > > >extern int mkfifo (const char *__path, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int mkfifoat (int __fd, const char *__path, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (2))); > > > > > >extern int utimensat (int __fd, const char *__path, > const struct timespec __times[2], > int __flags) > throw () __attribute__ ((__nonnull__ (2))); > > > > >extern int futimens (int __fd, const struct timespec __times[2]) throw (); ># 410 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) throw () __asm__ ("" "__fxstat64") > > __attribute__ ((__nonnull__ (3))); >extern int __xstat (int __ver, const char *__filename, struct stat *__stat_buf) throw () __asm__ ("" "__xstat64") > > __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat (int __ver, const char *__filename, struct stat *__stat_buf) throw () __asm__ ("" "__lxstat64") > > __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat (int __ver, int __fildes, const char *__filename, struct stat *__stat_buf, int __flag) throw () __asm__ ("" "__fxstatat64") > > > __attribute__ ((__nonnull__ (3, 4))); ># 432 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) > throw () __attribute__ ((__nonnull__ (3))); >extern int __xstat64 (int __ver, const char *__filename, > struct stat64 *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat64 (int __ver, const char *__filename, > struct stat64 *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat64 (int __ver, int __fildes, const char *__filename, > struct stat64 *__stat_buf, int __flag) > throw () __attribute__ ((__nonnull__ (3, 4))); > >extern int __xmknod (int __ver, const char *__path, __mode_t __mode, > __dev_t *__dev) throw () __attribute__ ((__nonnull__ (2, 4))); > >extern int __xmknodat (int __ver, int __fd, const char *__path, > __mode_t __mode, __dev_t *__dev) > throw () __attribute__ ((__nonnull__ (3, 5))); > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) stat (const char *__path, struct stat *__statbuf) throw () >{ > return __xstat (1, __path, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) lstat (const char *__path, struct stat *__statbuf) throw () >{ > return __lxstat (1, __path, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) fstat (int __fd, struct stat *__statbuf) throw () >{ > return __fxstat (1, __fd, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) fstatat (int __fd, const char *__filename, struct stat *__statbuf, int __flag) throw () > >{ > return __fxstatat (1, __fd, __filename, __statbuf, __flag); >} > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) mknod (const char *__path, __mode_t __mode, __dev_t __dev) throw () >{ > return __xmknod (0, __path, __mode, &__dev); >} > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) mknodat (int __fd, const char *__path, __mode_t __mode, __dev_t __dev) throw () > >{ > return __xmknodat (0, __fd, __path, __mode, &__dev); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) stat64 (const char *__path, struct stat64 *__statbuf) throw () >{ > return __xstat64 (1, __path, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) lstat64 (const char *__path, struct stat64 *__statbuf) throw () >{ > return __lxstat64 (1, __path, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) fstat64 (int __fd, struct stat64 *__statbuf) throw () >{ > return __fxstat64 (1, __fd, __statbuf); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__leaf__)) fstatat64 (int __fd, const char *__filename, struct stat64 *__statbuf, int __flag) throw () > >{ > return __fxstatat64 (1, __fd, __filename, __statbuf, __flag); >} > > > > > > >} ># 27 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" 2 ># 42 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" ># 1 "/usr/include/unistd.h" 1 3 4 ># 27 "/usr/include/unistd.h" 3 4 >extern "C" { ># 202 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 203 "/usr/include/unistd.h" 2 3 4 > > > ># 1 "/usr/include/bits/environments.h" 1 3 4 ># 22 "/usr/include/bits/environments.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 23 "/usr/include/bits/environments.h" 2 3 4 ># 207 "/usr/include/unistd.h" 2 3 4 ># 226 "/usr/include/unistd.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 227 "/usr/include/unistd.h" 2 3 4 ># 274 "/usr/include/unistd.h" 3 4 >typedef __socklen_t socklen_t; ># 287 "/usr/include/unistd.h" 3 4 >extern int access (const char *__name, int __type) throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int euidaccess (const char *__name, int __type) > throw () __attribute__ ((__nonnull__ (1))); > > >extern int eaccess (const char *__name, int __type) > throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern int faccessat (int __fd, const char *__file, int __type, int __flag) > throw () __attribute__ ((__nonnull__ (2))) ; ># 337 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) throw () __asm__ ("" "lseek64") > > ; > > > > > >extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) > throw (); > > > > > > >extern int close (int __fd); > > > > > > >extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ; > > > > > >extern ssize_t write (int __fd, const void *__buf, size_t __n) ; ># 388 "/usr/include/unistd.h" 3 4 >extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") > > ; >extern ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64") > > ; ># 404 "/usr/include/unistd.h" 3 4 >extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, > __off64_t __offset) ; > > >extern ssize_t pwrite64 (int __fd, const void *__buf, size_t __n, > __off64_t __offset) ; > > > > > > > >extern int pipe (int __pipedes[2]) throw () ; > > > > >extern int pipe2 (int __pipedes[2], int __flags) throw () ; ># 432 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) throw (); ># 444 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > throw (); > > > > > > >extern int usleep (__useconds_t __useconds); ># 469 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (const char *__file, __uid_t __owner, __gid_t __group) > throw () __attribute__ ((__nonnull__ (1))) ; > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) throw () ; > > > > >extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > > > >extern int fchownat (int __fd, const char *__file, __uid_t __owner, > __gid_t __group, int __flag) > throw () __attribute__ ((__nonnull__ (2))) ; > > > >extern int chdir (const char *__path) throw () __attribute__ ((__nonnull__ (1))) ; > > > >extern int fchdir (int __fd) throw () ; ># 511 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) throw () ; > > > > > >extern char *get_current_dir_name (void) throw (); > > > > > > > >extern char *getwd (char *__buf) > throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ; > > > > >extern int dup (int __fd) throw () ; > > >extern int dup2 (int __fd, int __fd2) throw (); > > > > >extern int dup3 (int __fd, int __fd2, int __flags) throw (); > > > >extern char **__environ; > >extern char **environ; > > > > > >extern int execve (const char *__path, char *const __argv[], > char *const __envp[]) throw () __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int fexecve (int __fd, char *const __argv[], char *const __envp[]) > throw () __attribute__ ((__nonnull__ (2))); > > > > >extern int execv (const char *__path, char *const __argv[]) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int execle (const char *__path, const char *__arg, ...) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int execl (const char *__path, const char *__arg, ...) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int execvp (const char *__file, char *const __argv[]) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int execlp (const char *__file, const char *__arg, ...) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int execvpe (const char *__file, char *const __argv[], > char *const __envp[]) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int nice (int __inc) throw () ; > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 24 "/usr/include/bits/confname.h" 3 4 >enum > { > _PC_LINK_MAX, > > _PC_MAX_CANON, > > _PC_MAX_INPUT, > > _PC_NAME_MAX, > > _PC_PATH_MAX, > > _PC_PIPE_BUF, > > _PC_CHOWN_RESTRICTED, > > _PC_NO_TRUNC, > > _PC_VDISABLE, > > _PC_SYNC_IO, > > _PC_ASYNC_IO, > > _PC_PRIO_IO, > > _PC_SOCK_MAXBUF, > > _PC_FILESIZEBITS, > > _PC_REC_INCR_XFER_SIZE, > > _PC_REC_MAX_XFER_SIZE, > > _PC_REC_MIN_XFER_SIZE, > > _PC_REC_XFER_ALIGN, > > _PC_ALLOC_SIZE_MIN, > > _PC_SYMLINK_MAX, > > _PC_2_SYMLINKS > > }; > > >enum > { > _SC_ARG_MAX, > > _SC_CHILD_MAX, > > _SC_CLK_TCK, > > _SC_NGROUPS_MAX, > > _SC_OPEN_MAX, > > _SC_STREAM_MAX, > > _SC_TZNAME_MAX, > > _SC_JOB_CONTROL, > > _SC_SAVED_IDS, > > _SC_REALTIME_SIGNALS, > > _SC_PRIORITY_SCHEDULING, > > _SC_TIMERS, > > _SC_ASYNCHRONOUS_IO, > > _SC_PRIORITIZED_IO, > > _SC_SYNCHRONIZED_IO, > > _SC_FSYNC, > > _SC_MAPPED_FILES, > > _SC_MEMLOCK, > > _SC_MEMLOCK_RANGE, > > _SC_MEMORY_PROTECTION, > > _SC_MESSAGE_PASSING, > > _SC_SEMAPHORES, > > _SC_SHARED_MEMORY_OBJECTS, > > _SC_AIO_LISTIO_MAX, > > _SC_AIO_MAX, > > _SC_AIO_PRIO_DELTA_MAX, > > _SC_DELAYTIMER_MAX, > > _SC_MQ_OPEN_MAX, > > _SC_MQ_PRIO_MAX, > > _SC_VERSION, > > _SC_PAGESIZE, > > > _SC_RTSIG_MAX, > > _SC_SEM_NSEMS_MAX, > > _SC_SEM_VALUE_MAX, > > _SC_SIGQUEUE_MAX, > > _SC_TIMER_MAX, > > > > > _SC_BC_BASE_MAX, > > _SC_BC_DIM_MAX, > > _SC_BC_SCALE_MAX, > > _SC_BC_STRING_MAX, > > _SC_COLL_WEIGHTS_MAX, > > _SC_EQUIV_CLASS_MAX, > > _SC_EXPR_NEST_MAX, > > _SC_LINE_MAX, > > _SC_RE_DUP_MAX, > > _SC_CHARCLASS_NAME_MAX, > > > _SC_2_VERSION, > > _SC_2_C_BIND, > > _SC_2_C_DEV, > > _SC_2_FORT_DEV, > > _SC_2_FORT_RUN, > > _SC_2_SW_DEV, > > _SC_2_LOCALEDEF, > > > _SC_PII, > > _SC_PII_XTI, > > _SC_PII_SOCKET, > > _SC_PII_INTERNET, > > _SC_PII_OSI, > > _SC_POLL, > > _SC_SELECT, > > _SC_UIO_MAXIOV, > > _SC_IOV_MAX = _SC_UIO_MAXIOV, > > _SC_PII_INTERNET_STREAM, > > _SC_PII_INTERNET_DGRAM, > > _SC_PII_OSI_COTS, > > _SC_PII_OSI_CLTS, > > _SC_PII_OSI_M, > > _SC_T_IOV_MAX, > > > > _SC_THREADS, > > _SC_THREAD_SAFE_FUNCTIONS, > > _SC_GETGR_R_SIZE_MAX, > > _SC_GETPW_R_SIZE_MAX, > > _SC_LOGIN_NAME_MAX, > > _SC_TTY_NAME_MAX, > > _SC_THREAD_DESTRUCTOR_ITERATIONS, > > _SC_THREAD_KEYS_MAX, > > _SC_THREAD_STACK_MIN, > > _SC_THREAD_THREADS_MAX, > > _SC_THREAD_ATTR_STACKADDR, > > _SC_THREAD_ATTR_STACKSIZE, > > _SC_THREAD_PRIORITY_SCHEDULING, > > _SC_THREAD_PRIO_INHERIT, > > _SC_THREAD_PRIO_PROTECT, > > _SC_THREAD_PROCESS_SHARED, > > > _SC_NPROCESSORS_CONF, > > _SC_NPROCESSORS_ONLN, > > _SC_PHYS_PAGES, > > _SC_AVPHYS_PAGES, > > _SC_ATEXIT_MAX, > > _SC_PASS_MAX, > > > _SC_XOPEN_VERSION, > > _SC_XOPEN_XCU_VERSION, > > _SC_XOPEN_UNIX, > > _SC_XOPEN_CRYPT, > > _SC_XOPEN_ENH_I18N, > > _SC_XOPEN_SHM, > > > _SC_2_CHAR_TERM, > > _SC_2_C_VERSION, > > _SC_2_UPE, > > > _SC_XOPEN_XPG2, > > _SC_XOPEN_XPG3, > > _SC_XOPEN_XPG4, > > > _SC_CHAR_BIT, > > _SC_CHAR_MAX, > > _SC_CHAR_MIN, > > _SC_INT_MAX, > > _SC_INT_MIN, > > _SC_LONG_BIT, > > _SC_WORD_BIT, > > _SC_MB_LEN_MAX, > > _SC_NZERO, > > _SC_SSIZE_MAX, > > _SC_SCHAR_MAX, > > _SC_SCHAR_MIN, > > _SC_SHRT_MAX, > > _SC_SHRT_MIN, > > _SC_UCHAR_MAX, > > _SC_UINT_MAX, > > _SC_ULONG_MAX, > > _SC_USHRT_MAX, > > > _SC_NL_ARGMAX, > > _SC_NL_LANGMAX, > > _SC_NL_MSGMAX, > > _SC_NL_NMAX, > > _SC_NL_SETMAX, > > _SC_NL_TEXTMAX, > > > _SC_XBS5_ILP32_OFF32, > > _SC_XBS5_ILP32_OFFBIG, > > _SC_XBS5_LP64_OFF64, > > _SC_XBS5_LPBIG_OFFBIG, > > > _SC_XOPEN_LEGACY, > > _SC_XOPEN_REALTIME, > > _SC_XOPEN_REALTIME_THREADS, > > > _SC_ADVISORY_INFO, > > _SC_BARRIERS, > > _SC_BASE, > > _SC_C_LANG_SUPPORT, > > _SC_C_LANG_SUPPORT_R, > > _SC_CLOCK_SELECTION, > > _SC_CPUTIME, > > _SC_THREAD_CPUTIME, > > _SC_DEVICE_IO, > > _SC_DEVICE_SPECIFIC, > > _SC_DEVICE_SPECIFIC_R, > > _SC_FD_MGMT, > > _SC_FIFO, > > _SC_PIPE, > > _SC_FILE_ATTRIBUTES, > > _SC_FILE_LOCKING, > > _SC_FILE_SYSTEM, > > _SC_MONOTONIC_CLOCK, > > _SC_MULTI_PROCESS, > > _SC_SINGLE_PROCESS, > > _SC_NETWORKING, > > _SC_READER_WRITER_LOCKS, > > _SC_SPIN_LOCKS, > > _SC_REGEXP, > > _SC_REGEX_VERSION, > > _SC_SHELL, > > _SC_SIGNALS, > > _SC_SPAWN, > > _SC_SPORADIC_SERVER, > > _SC_THREAD_SPORADIC_SERVER, > > _SC_SYSTEM_DATABASE, > > _SC_SYSTEM_DATABASE_R, > > _SC_TIMEOUTS, > > _SC_TYPED_MEMORY_OBJECTS, > > _SC_USER_GROUPS, > > _SC_USER_GROUPS_R, > > _SC_2_PBS, > > _SC_2_PBS_ACCOUNTING, > > _SC_2_PBS_LOCATE, > > _SC_2_PBS_MESSAGE, > > _SC_2_PBS_TRACK, > > _SC_SYMLOOP_MAX, > > _SC_STREAMS, > > _SC_2_PBS_CHECKPOINT, > > > _SC_V6_ILP32_OFF32, > > _SC_V6_ILP32_OFFBIG, > > _SC_V6_LP64_OFF64, > > _SC_V6_LPBIG_OFFBIG, > > > _SC_HOST_NAME_MAX, > > _SC_TRACE, > > _SC_TRACE_EVENT_FILTER, > > _SC_TRACE_INHERIT, > > _SC_TRACE_LOG, > > > _SC_LEVEL1_ICACHE_SIZE, > > _SC_LEVEL1_ICACHE_ASSOC, > > _SC_LEVEL1_ICACHE_LINESIZE, > > _SC_LEVEL1_DCACHE_SIZE, > > _SC_LEVEL1_DCACHE_ASSOC, > > _SC_LEVEL1_DCACHE_LINESIZE, > > _SC_LEVEL2_CACHE_SIZE, > > _SC_LEVEL2_CACHE_ASSOC, > > _SC_LEVEL2_CACHE_LINESIZE, > > _SC_LEVEL3_CACHE_SIZE, > > _SC_LEVEL3_CACHE_ASSOC, > > _SC_LEVEL3_CACHE_LINESIZE, > > _SC_LEVEL4_CACHE_SIZE, > > _SC_LEVEL4_CACHE_ASSOC, > > _SC_LEVEL4_CACHE_LINESIZE, > > > > _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, > > _SC_RAW_SOCKETS, > > > _SC_V7_ILP32_OFF32, > > _SC_V7_ILP32_OFFBIG, > > _SC_V7_LP64_OFF64, > > _SC_V7_LPBIG_OFFBIG, > > > _SC_SS_REPL_MAX, > > > _SC_TRACE_EVENT_NAME_MAX, > > _SC_TRACE_NAME_MAX, > > _SC_TRACE_SYS_MAX, > > _SC_TRACE_USER_EVENT_MAX, > > > _SC_XOPEN_STREAMS, > > > _SC_THREAD_ROBUST_PRIO_INHERIT, > > _SC_THREAD_ROBUST_PRIO_PROTECT > > }; > > >enum > { > _CS_PATH, > > > _CS_V6_WIDTH_RESTRICTED_ENVS, > > > > _CS_GNU_LIBC_VERSION, > > _CS_GNU_LIBPTHREAD_VERSION, > > > _CS_V5_WIDTH_RESTRICTED_ENVS, > > > > _CS_V7_WIDTH_RESTRICTED_ENVS, > > > > _CS_LFS_CFLAGS = 1000, > > _CS_LFS_LDFLAGS, > > _CS_LFS_LIBS, > > _CS_LFS_LINTFLAGS, > > _CS_LFS64_CFLAGS, > > _CS_LFS64_LDFLAGS, > > _CS_LFS64_LIBS, > > _CS_LFS64_LINTFLAGS, > > > _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, > > _CS_XBS5_ILP32_OFF32_LDFLAGS, > > _CS_XBS5_ILP32_OFF32_LIBS, > > _CS_XBS5_ILP32_OFF32_LINTFLAGS, > > _CS_XBS5_ILP32_OFFBIG_CFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LDFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LIBS, > > _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, > > _CS_XBS5_LP64_OFF64_CFLAGS, > > _CS_XBS5_LP64_OFF64_LDFLAGS, > > _CS_XBS5_LP64_OFF64_LIBS, > > _CS_XBS5_LP64_OFF64_LINTFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_CFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LIBS, > > _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V6_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LIBS, > > _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V6_LP64_OFF64_CFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LIBS, > > _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V7_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V7_ILP32_OFF32_LIBS, > > _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V7_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V7_LP64_OFF64_CFLAGS, > > _CS_POSIX_V7_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V7_LP64_OFF64_LIBS, > > _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_V6_ENV, > > _CS_V7_ENV > > }; ># 610 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (const char *__path, int __name) > throw () __attribute__ ((__nonnull__ (1))); > > >extern long int fpathconf (int __fd, int __name) throw (); > > >extern long int sysconf (int __name) throw (); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) throw (); > > > > >extern __pid_t getpid (void) throw (); > > >extern __pid_t getppid (void) throw (); > > > > >extern __pid_t getpgrp (void) throw (); ># 646 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) throw (); > >extern __pid_t getpgid (__pid_t __pid) throw (); > > > > > > >extern int setpgid (__pid_t __pid, __pid_t __pgid) throw (); ># 672 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) throw (); ># 689 "/usr/include/unistd.h" 3 4 >extern __pid_t setsid (void) throw (); > > > >extern __pid_t getsid (__pid_t __pid) throw (); > > > >extern __uid_t getuid (void) throw (); > > >extern __uid_t geteuid (void) throw (); > > >extern __gid_t getgid (void) throw (); > > >extern __gid_t getegid (void) throw (); > > > > >extern int getgroups (int __size, __gid_t __list[]) throw () ; > > > >extern int group_member (__gid_t __gid) throw (); > > > > > > >extern int setuid (__uid_t __uid) throw () ; > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) throw () ; > > > > >extern int seteuid (__uid_t __uid) throw () ; > > > > > > >extern int setgid (__gid_t __gid) throw () ; > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) throw () ; > > > > >extern int setegid (__gid_t __gid) throw () ; > > > > > >extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid) > throw (); > > > >extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid) > throw (); > > > >extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid) > throw () ; > > > >extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid) > throw () ; > > > > > > >extern __pid_t fork (void) throw (); > > > > > > > >extern __pid_t vfork (void) throw (); > > > > > >extern char *ttyname (int __fd) throw (); > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) > throw () __attribute__ ((__nonnull__ (2))) ; > > > >extern int isatty (int __fd) throw (); > > > > > >extern int ttyslot (void) throw (); > > > > >extern int link (const char *__from, const char *__to) > throw () __attribute__ ((__nonnull__ (1, 2))) ; > > > > >extern int linkat (int __fromfd, const char *__from, int __tofd, > const char *__to, int __flags) > throw () __attribute__ ((__nonnull__ (2, 4))) ; > > > > >extern int symlink (const char *__from, const char *__to) > throw () __attribute__ ((__nonnull__ (1, 2))) ; > > > > >extern ssize_t readlink (const char *__restrict __path, > char *__restrict __buf, size_t __len) > throw () __attribute__ ((__nonnull__ (1, 2))) ; > > > > >extern int symlinkat (const char *__from, int __tofd, > const char *__to) throw () __attribute__ ((__nonnull__ (1, 3))) ; > > >extern ssize_t readlinkat (int __fd, const char *__restrict __path, > char *__restrict __buf, size_t __len) > throw () __attribute__ ((__nonnull__ (2, 3))) ; > > > >extern int unlink (const char *__name) throw () __attribute__ ((__nonnull__ (1))); > > > >extern int unlinkat (int __fd, const char *__name, int __flag) > throw () __attribute__ ((__nonnull__ (2))); > > > >extern int rmdir (const char *__path) throw () __attribute__ ((__nonnull__ (1))); > > > >extern __pid_t tcgetpgrp (int __fd) throw (); > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) throw (); > > > > > > >extern char *getlogin (void); > > > > > > > >extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); > > > > >extern int setlogin (const char *__name) throw () __attribute__ ((__nonnull__ (1))); ># 893 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/getopt.h" 1 3 4 ># 48 "/usr/include/getopt.h" 3 4 >extern "C" { ># 57 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 71 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 150 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > throw (); ># 185 "/usr/include/getopt.h" 3 4 >} ># 894 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sethostname (const char *__name, size_t __len) > throw () __attribute__ ((__nonnull__ (1))) ; > > > >extern int sethostid (long int __id) throw () ; > > > > > >extern int getdomainname (char *__name, size_t __len) > throw () __attribute__ ((__nonnull__ (1))) ; >extern int setdomainname (const char *__name, size_t __len) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int vhangup (void) throw (); > > >extern int revoke (const char *__file) throw () __attribute__ ((__nonnull__ (1))) ; > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int acct (const char *__name) throw (); > > > >extern char *getusershell (void) throw (); >extern void endusershell (void) throw (); >extern void setusershell (void) throw (); > > > > > >extern int daemon (int __nochdir, int __noclose) throw () ; > > > > > > >extern int chroot (const char *__path) throw () __attribute__ ((__nonnull__ (1))) ; > > > >extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int fsync (int __fd); > > > > > >extern int syncfs (int __fd) throw (); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) throw (); > > > > > >extern int getpagesize (void) throw () __attribute__ ((__const__)); > > > > >extern int getdtablesize (void) throw (); ># 1019 "/usr/include/unistd.h" 3 4 >extern int truncate (const char *__file, __off64_t __length) throw () __asm__ ("" "truncate64") > > __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int truncate64 (const char *__file, __off64_t __length) > throw () __attribute__ ((__nonnull__ (1))) ; ># 1041 "/usr/include/unistd.h" 3 4 >extern int ftruncate (int __fd, __off64_t __length) throw () __asm__ ("" "ftruncate64") > ; > > > > > >extern int ftruncate64 (int __fd, __off64_t __length) throw () ; ># 1059 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) throw () ; > > > > > >extern void *sbrk (intptr_t __delta) throw (); ># 1080 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) throw (); ># 1106 "/usr/include/unistd.h" 3 4 >extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64") > ; > > > > > >extern int lockf64 (int __fd, int __cmd, __off64_t __len) ; ># 1134 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes); > > > > > > > >extern char *crypt (const char *__key, const char *__salt) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern void encrypt (char *__block, int __edflag) throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern void swab (const void *__restrict __from, void *__restrict __to, > ssize_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); ># 1172 "/usr/include/unistd.h" 3 4 >} ># 43 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" 2 ># 1 "/usr/include/dirent.h" 1 3 4 ># 27 "/usr/include/dirent.h" 3 4 >extern "C" { ># 61 "/usr/include/dirent.h" 3 4 ># 1 "/usr/include/bits/dirent.h" 1 3 4 ># 22 "/usr/include/bits/dirent.h" 3 4 >struct dirent > { > > > > > __ino64_t d_ino; > __off64_t d_off; > > unsigned short int d_reclen; > unsigned char d_type; > char d_name[256]; > }; > > >struct dirent64 > { > __ino64_t d_ino; > __off64_t d_off; > unsigned short int d_reclen; > unsigned char d_type; > char d_name[256]; > }; ># 62 "/usr/include/dirent.h" 2 3 4 ># 97 "/usr/include/dirent.h" 3 4 >enum > { > DT_UNKNOWN = 0, > > DT_FIFO = 1, > > DT_CHR = 2, > > DT_DIR = 4, > > DT_BLK = 6, > > DT_REG = 8, > > DT_LNK = 10, > > DT_SOCK = 12, > > DT_WHT = 14 > > }; ># 127 "/usr/include/dirent.h" 3 4 >typedef struct __dirstream DIR; > > > > > > >extern DIR *opendir (const char *__name) __attribute__ ((__nonnull__ (1))); > > > > > > >extern DIR *fdopendir (int __fd); > > > > > > > >extern int closedir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); ># 165 "/usr/include/dirent.h" 3 4 >extern struct dirent *readdir (DIR *__dirp) __asm__ ("" "readdir64") > __attribute__ ((__nonnull__ (1))); > > > > > > >extern struct dirent64 *readdir64 (DIR *__dirp) __attribute__ ((__nonnull__ (1))); ># 189 "/usr/include/dirent.h" 3 4 >extern int readdir_r (DIR *__restrict __dirp, struct dirent *__restrict __entry, struct dirent **__restrict __result) __asm__ ("" "readdir64_r") > > > > __attribute__ ((__nonnull__ (1, 2, 3))); > > > > > > >extern int readdir64_r (DIR *__restrict __dirp, > struct dirent64 *__restrict __entry, > struct dirent64 **__restrict __result) > __attribute__ ((__nonnull__ (1, 2, 3))); > > > > >extern void rewinddir (DIR *__dirp) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern void seekdir (DIR *__dirp, long int __pos) throw () __attribute__ ((__nonnull__ (1))); > > >extern long int telldir (DIR *__dirp) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int dirfd (DIR *__dirp) throw () __attribute__ ((__nonnull__ (1))); ># 244 "/usr/include/dirent.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 245 "/usr/include/dirent.h" 2 3 4 ># 262 "/usr/include/dirent.h" 3 4 >extern int scandir (const char *__restrict __dir, struct dirent ***__restrict __namelist, int (*__selector) (const struct dirent *), int (*__cmp) (const struct dirent **, const struct dirent **)) __asm__ ("" "scandir64") > > > > > > __attribute__ ((__nonnull__ (1, 2))); ># 277 "/usr/include/dirent.h" 3 4 >extern int scandir64 (const char *__restrict __dir, > struct dirent64 ***__restrict __namelist, > int (*__selector) (const struct dirent64 *), > int (*__cmp) (const struct dirent64 **, > const struct dirent64 **)) > __attribute__ ((__nonnull__ (1, 2))); ># 300 "/usr/include/dirent.h" 3 4 >extern int scandirat (int __dfd, const char *__restrict __dir, struct dirent ***__restrict __namelist, int (*__selector) (const struct dirent *), int (*__cmp) (const struct dirent **, const struct dirent **)) __asm__ ("" "scandirat64") > > > > > > __attribute__ ((__nonnull__ (2, 3))); > > > > > > > >extern int scandirat64 (int __dfd, const char *__restrict __dir, > struct dirent64 ***__restrict __namelist, > int (*__selector) (const struct dirent64 *), > int (*__cmp) (const struct dirent64 **, > const struct dirent64 **)) > __attribute__ ((__nonnull__ (2, 3))); ># 329 "/usr/include/dirent.h" 3 4 >extern int alphasort (const struct dirent **__e1, const struct dirent **__e2) throw () __asm__ ("" "alphasort64") > > > __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int alphasort64 (const struct dirent64 **__e1, > const struct dirent64 **__e2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 358 "/usr/include/dirent.h" 3 4 >extern __ssize_t getdirentries (int __fd, char *__restrict __buf, size_t __nbytes, __off64_t *__restrict __basep) throw () __asm__ ("" "getdirentries64") > > > > __attribute__ ((__nonnull__ (2, 4))); > > > > > > >extern __ssize_t getdirentries64 (int __fd, char *__restrict __buf, > size_t __nbytes, > __off64_t *__restrict __basep) > throw () __attribute__ ((__nonnull__ (2, 4))); ># 384 "/usr/include/dirent.h" 3 4 >extern int versionsort (const struct dirent **__e1, const struct dirent **__e2) throw () __asm__ ("" "versionsort64") > > > > __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int versionsort64 (const struct dirent64 **__e1, > const struct dirent64 **__e2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >} ># 44 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" 2 ># 73 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" ># 1 "/usr/include/fcntl.h" 1 3 4 ># 28 "/usr/include/fcntl.h" 3 4 >extern "C" { > > > > > > ># 1 "/usr/include/bits/fcntl.h" 1 3 4 ># 35 "/usr/include/bits/fcntl.h" 3 4 >struct flock > { > short int l_type; > short int l_whence; > > > > > __off64_t l_start; > __off64_t l_len; > > __pid_t l_pid; > }; > > >struct flock64 > { > short int l_type; > short int l_whence; > __off64_t l_start; > __off64_t l_len; > __pid_t l_pid; > }; > > > ># 1 "/usr/include/bits/fcntl-linux.h" 1 3 4 ># 38 "/usr/include/bits/fcntl-linux.h" 3 4 ># 1 "/usr/include/bits/uio.h" 1 3 4 ># 43 "/usr/include/bits/uio.h" 3 4 >struct iovec > { > void *iov_base; > size_t iov_len; > }; ># 39 "/usr/include/bits/fcntl-linux.h" 2 3 4 ># 237 "/usr/include/bits/fcntl-linux.h" 3 4 >enum __pid_type > { > F_OWNER_TID = 0, > F_OWNER_PID, > F_OWNER_PGRP, > F_OWNER_GID = F_OWNER_PGRP > }; > > >struct f_owner_ex > { > enum __pid_type type; > __pid_t pid; > }; ># 307 "/usr/include/bits/fcntl-linux.h" 3 4 >struct file_handle >{ > unsigned int handle_bytes; > int handle_type; > > unsigned char f_handle[0]; >}; > > > > > >extern "C" { > > > > >extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count) > throw (); > > > > > > >extern int sync_file_range (int __fd, __off64_t __offset, __off64_t __count, > unsigned int __flags); > > > > > > >extern ssize_t vmsplice (int __fdout, const struct iovec *__iov, > size_t __count, unsigned int __flags); > > > > > >extern ssize_t splice (int __fdin, __off64_t *__offin, int __fdout, > __off64_t *__offout, size_t __len, > unsigned int __flags); > > > > > >extern ssize_t tee (int __fdin, int __fdout, size_t __len, > unsigned int __flags); ># 366 "/usr/include/bits/fcntl-linux.h" 3 4 >extern int fallocate (int __fd, int __mode, __off64_t __offset, __off64_t __len) __asm__ ("" "fallocate64") > > ; > > > > > >extern int fallocate64 (int __fd, int __mode, __off64_t __offset, > __off64_t __len); > > > > >extern int name_to_handle_at (int __dfd, const char *__name, > struct file_handle *__handle, int *__mnt_id, > int __flags) throw (); > > > > > >extern int open_by_handle_at (int __mountdirfd, struct file_handle *__handle, > int __flags); > > > >} ># 61 "/usr/include/bits/fcntl.h" 2 3 4 ># 36 "/usr/include/fcntl.h" 2 3 4 ># 68 "/usr/include/fcntl.h" 3 4 ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 69 "/usr/include/fcntl.h" 2 3 4 ># 160 "/usr/include/fcntl.h" 3 4 >extern int fcntl (int __fd, int __cmd, ...); ># 172 "/usr/include/fcntl.h" 3 4 >extern int open (const char *__file, int __oflag, ...) __asm__ ("" "open64") > __attribute__ ((__nonnull__ (1))); > > > > > >extern int open64 (const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); ># 197 "/usr/include/fcntl.h" 3 4 >extern int openat (int __fd, const char *__file, int __oflag, ...) __asm__ ("" "openat64") > __attribute__ ((__nonnull__ (2))); > > > > > >extern int openat64 (int __fd, const char *__file, int __oflag, ...) > __attribute__ ((__nonnull__ (2))); ># 218 "/usr/include/fcntl.h" 3 4 >extern int creat (const char *__file, mode_t __mode) __asm__ ("" "creat64") > __attribute__ ((__nonnull__ (1))); > > > > > >extern int creat64 (const char *__file, mode_t __mode) __attribute__ ((__nonnull__ (1))); ># 265 "/usr/include/fcntl.h" 3 4 >extern int posix_fadvise (int __fd, __off64_t __offset, __off64_t __len, int __advise) throw () __asm__ ("" "posix_fadvise64") > > ; > > > > > >extern int posix_fadvise64 (int __fd, off64_t __offset, off64_t __len, > int __advise) throw (); ># 286 "/usr/include/fcntl.h" 3 4 >extern int posix_fallocate (int __fd, __off64_t __offset, __off64_t __len) __asm__ ("" "posix_fallocate64") > > ; > > > > > >extern int posix_fallocate64 (int __fd, off64_t __offset, off64_t __len); ># 305 "/usr/include/fcntl.h" 3 4 >} ># 74 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" 2 ># 101 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" >enum wxSeekMode >{ > wxFromStart, > wxFromCurrent, > wxFromEnd >}; > >enum wxFileKind >{ > wxFILE_KIND_UNKNOWN, > wxFILE_KIND_DISK, > wxFILE_KIND_TERMINAL, > wxFILE_KIND_PIPE >}; > > > >enum wxPosixPermissions >{ > > wxS_IRUSR = 00400, > wxS_IWUSR = 00200, > wxS_IXUSR = 00100, > > wxS_IRGRP = 00040, > wxS_IWGRP = 00020, > wxS_IXGRP = 00010, > > wxS_IROTH = 00004, > wxS_IWOTH = 00002, > wxS_IXOTH = 00001, > > > wxPOSIX_USER_READ = wxS_IRUSR, > wxPOSIX_USER_WRITE = wxS_IWUSR, > wxPOSIX_USER_EXECUTE = wxS_IXUSR, > > wxPOSIX_GROUP_READ = wxS_IRGRP, > wxPOSIX_GROUP_WRITE = wxS_IWGRP, > wxPOSIX_GROUP_EXECUTE = wxS_IXGRP, > > wxPOSIX_OTHERS_READ = wxS_IROTH, > wxPOSIX_OTHERS_WRITE = wxS_IWOTH, > wxPOSIX_OTHERS_EXECUTE = wxS_IXOTH, > > > > > wxS_DEFAULT = (wxPOSIX_USER_READ | wxPOSIX_USER_WRITE | > wxPOSIX_GROUP_READ | wxPOSIX_GROUP_WRITE | > wxPOSIX_OTHERS_READ | wxPOSIX_OTHERS_WRITE), > > > > > wxS_DIR_DEFAULT = (wxPOSIX_USER_READ | wxPOSIX_USER_WRITE | wxPOSIX_USER_EXECUTE | > wxPOSIX_GROUP_READ | wxPOSIX_GROUP_WRITE | wxPOSIX_GROUP_EXECUTE | > wxPOSIX_OTHERS_READ | wxPOSIX_OTHERS_WRITE | wxPOSIX_OTHERS_EXECUTE) >}; ># 451 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" > typedef off_t wxFileOffset; > > > struct wxAssert_455 { unsigned int BadFileSizeType: sizeof(off_t) == sizeof(long long); } > ; ># 510 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" >inline int wxAccess(const wxString& path, mode_t mode) > { return access(path.fn_str(), mode); } >inline int wxChmod(const wxString& path, mode_t mode) > { return chmod(path.fn_str(), mode); } >inline int wxOpen(const wxString& path, int flags, mode_t mode) > { return open(path.fn_str(), flags, mode); } > > > >inline int wxStat(const wxString& path, struct stat *buf) > { return stat(path.fn_str(), buf); } >inline int wxLstat(const wxString& path, struct stat *buf) > { return lstat(path.fn_str(), buf); } >inline int wxRmDir(const wxString& path) > { return rmdir(path.fn_str()); } > > > > > >inline int wxMkDir(const wxString& path, mode_t mode) > { return mkdir(path.fn_str(), mode); } ># 548 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" >const int wxInvalidOffset = -1; > > > > > > bool wxFileExists(const wxString& filename); > > > bool wxDirExists(const wxString& pathName); > > bool wxIsAbsolutePath(const wxString& filename); > > > wxChar* wxFileNameFromPath(wxChar *path); > wxString wxFileNameFromPath(const wxString& path); > > > wxString wxPathOnly(const wxString& path); ># 619 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" > wxString wxFindFirstFile(const wxString& spec, int flags = 1); > wxString wxFindNextFile(); > > > bool wxIsWild(const wxString& pattern); > > > > > bool wxMatchWild(const wxString& pattern, const wxString& text, bool dot_special = true); > > > bool wxConcatFiles(const wxString& file1, const wxString& file2, const wxString& file3); > > > bool wxCopyFile(const wxString& file1, const wxString& file2, > bool overwrite = true); > > > bool wxRemoveFile(const wxString& file); > > > bool wxRenameFile(const wxString& file1, const wxString& file2, bool overwrite = true); ># 653 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" > wxString wxGetCwd(); > > > bool wxSetWorkingDirectory(const wxString& d); > > > bool wxMkdir(const wxString& dir, int perm = wxS_DIR_DEFAULT); > > > bool wxRmdir(const wxString& dir, int flags = 0); > > > wxFileKind wxGetFileKind(int fd); > wxFileKind wxGetFileKind(FILE *fp); ># 678 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" > bool wxIsWritable(const wxString &path); > bool wxIsReadable(const wxString &path); > bool wxIsExecutable(const wxString &path); ># 728 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" >inline bool wxIsPathSeparator(wxChar c) >{ > > > return c == L'/'; > > > >} > > > bool wxEndsWithPathSeparator(const wxString& filename); ># 752 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" > bool wxFindFileInPath(wxString *pStr, const wxString& szPath, const wxString& szFile); > > > > wxString wxGetOSDirectory(); > > > > > time_t wxFileModificationTime(const wxString& filename); ># 770 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" > int wxParseCommonDialogsFilter(const wxString& wildCard, wxArrayString& descriptions, wxArrayString& filters); ># 779 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" >class wxUmaskChanger >{ >public: > > > > wxUmaskChanger(int umaskNew) > { > m_umaskOld = umaskNew == -1 ? -1 : (int)umask((mode_t)umaskNew); > } > > ~wxUmaskChanger() > { > if ( m_umaskOld != -1 ) > umask((mode_t)m_umaskOld); > } > >private: > int m_umaskOld; >}; ># 812 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/filefn.h" >class wxPathList : public wxArrayString >{ >public: > wxPathList() {} > wxPathList(const wxArrayString &arr) > { Add(arr); } > > > void AddEnvList(const wxString& envVariable); > > > bool Add(const wxString& path); > void Add(const wxArrayString &paths); > > > wxString FindValidPath(const wxString& filename) const; > > > > wxString FindAbsoluteValidPath(const wxString& filename) const; > > > bool EnsureFileAccessible(const wxString& path); > > > > > >}; ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/versioninfo.h" 1 ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/versioninfo.h" >class wxVersionInfo >{ >public: > wxVersionInfo(const wxString& name = wxString(), > int major = 0, > int minor = 0, > int micro = 0, > const wxString& description = wxString(), > const wxString& copyright = wxString()) > { > m_name = name; > m_major = major; > m_minor = minor; > m_micro = micro; > m_description = description; > m_copyright = copyright; > } > > > > > const wxString& GetName() const { return m_name; } > > int GetMajor() const { return m_major; } > int GetMinor() const { return m_minor; } > int GetMicro() const { return m_micro; } > > wxString ToString() const > { > return HasDescription() ? GetDescription() : GetVersionString(); > } > > wxString GetVersionString() const > { > wxString str; > str << m_name << ' ' << GetMajor() << '.' << GetMinor(); > if ( GetMicro() ) > str << '.' << GetMicro(); > > return str; > } > > bool HasDescription() const { return !m_description.empty(); } > const wxString& GetDescription() const { return m_description; } > > bool HasCopyright() const { return !m_copyright.empty(); } > const wxString& GetCopyright() const { return m_copyright; } > >private: > wxString m_name, > m_description, > m_copyright; > > int m_major, > m_minor, > m_micro; >}; ># 23 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/implicitconversion.h" 1 ># 29 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/implicitconversion.h" >namespace wxPrivate >{ ># 42 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/implicitconversion.h" >template<typename T> >struct TypeHierarchy >{ > > > static const int level = 9999; >}; > > > > > > > >template<> struct TypeHierarchy<char> { static const int level = 1; }; >template<> struct TypeHierarchy<unsigned char> { static const int level = 2; }; >template<> struct TypeHierarchy<short> { static const int level = 3; }; >template<> struct TypeHierarchy<unsigned short> { static const int level = 4; }; >template<> struct TypeHierarchy<int> { static const int level = 5; }; >template<> struct TypeHierarchy<unsigned int> { static const int level = 6; }; >template<> struct TypeHierarchy<long> { static const int level = 7; }; >template<> struct TypeHierarchy<unsigned long> { static const int level = 8; }; > >template<> struct TypeHierarchy<long long> { static const int level = 9; }; >template<> struct TypeHierarchy<unsigned long long> { static const int level = 10; }; > >template<> struct TypeHierarchy<float> { static const int level = 11; }; >template<> struct TypeHierarchy<double> { static const int level = 12; }; >template<> struct TypeHierarchy<long double> { static const int level = 13; }; > > > > > > template<> struct TypeHierarchy<wchar_t> : public TypeHierarchy<int> {}; ># 86 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/implicitconversion.h" >} > > > >template<typename T1, typename T2> >struct wxImplicitConversionType >{ > typedef typename wxIf > < > > (int)(wxPrivate::TypeHierarchy<T1>::level) < (int)(wxPrivate::TypeHierarchy<T2>::level), > T2, > > T1 > >::value > value; >}; > > >template<typename T1, typename T2, typename T3> >struct wxImplicitConversionType3 : public wxImplicitConversionType< > T1, > typename wxImplicitConversionType<T2,T3>::value> >{ >}; ># 24 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" 2 > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/mousestate.h" 1 ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/mousestate.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/kbdstate.h" 1 ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/kbdstate.h" >class wxKeyboardState >{ >public: > wxKeyboardState(bool controlDown = false, > bool shiftDown = false, > bool altDown = false, > bool metaDown = false) > : m_controlDown(controlDown), > m_shiftDown(shiftDown), > m_altDown(altDown), > m_metaDown(metaDown) > > > > { > } ># 45 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/kbdstate.h" > int GetModifiers() const > { > return (m_controlDown ? wxMOD_CONTROL : 0) | > (m_shiftDown ? wxMOD_SHIFT : 0) | > (m_metaDown ? wxMOD_META : 0) | > > > > (m_altDown ? wxMOD_ALT : 0); > } > > > bool HasAnyModifiers() const { return GetModifiers() != wxMOD_NONE; } > > > > bool HasModifiers() const > { > return ControlDown() || RawControlDown() || AltDown(); > } > > > bool ControlDown() const { return m_controlDown; } > bool RawControlDown() const > { > > > > return m_controlDown; > > } > bool ShiftDown() const { return m_shiftDown; } > bool MetaDown() const { return m_metaDown; } > bool AltDown() const { return m_altDown; } > > > > > > > bool CmdDown() const > { > return ControlDown(); > } > > > > > void SetControlDown(bool down) { m_controlDown = down; } > void SetRawControlDown(bool down) > { > > > > m_controlDown = down; > > } > void SetShiftDown(bool down) { m_shiftDown = down; } > void SetAltDown(bool down) { m_altDown = down; } > void SetMetaDown(bool down) { m_metaDown = down; } > > > > > >public: > bool m_controlDown : 1; > bool m_shiftDown : 1; > bool m_altDown : 1; > bool m_metaDown : 1; > > > >}; ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/mousestate.h" 2 > > >enum wxMouseButton >{ > wxMOUSE_BTN_ANY = -1, > wxMOUSE_BTN_NONE = 0, > wxMOUSE_BTN_LEFT = 1, > wxMOUSE_BTN_MIDDLE = 2, > wxMOUSE_BTN_RIGHT = 3, > wxMOUSE_BTN_AUX1 = 4, > wxMOUSE_BTN_AUX2 = 5, > wxMOUSE_BTN_MAX >}; ># 36 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/mousestate.h" >class wxMouseState : public wxKeyboardState >{ >public: > wxMouseState() > : m_leftDown(false), m_middleDown(false), m_rightDown(false), > m_aux1Down(false), m_aux2Down(false), > m_x(0), m_y(0) > { > } > > > > > > wxCoord GetX() const { return m_x; } > wxCoord GetY() const { return m_y; } > wxPoint GetPosition() const { return wxPoint(m_x, m_y); } > void GetPosition(wxCoord *x, wxCoord *y) const > { > if ( x ) > *x = m_x; > if ( y ) > *y = m_y; > } > > > void GetPosition(long *x, long *y) const > { > if ( x ) > *x = m_x; > if ( y ) > *y = m_y; > } > > > bool LeftIsDown() const { return m_leftDown; } > bool MiddleIsDown() const { return m_middleDown; } > bool RightIsDown() const { return m_rightDown; } > bool Aux1IsDown() const { return m_aux1Down; } > bool Aux2IsDown() const { return m_aux2Down; } > > bool ButtonIsDown(wxMouseButton but) const > { > switch ( but ) > { > case wxMOUSE_BTN_ANY: > return LeftIsDown() || MiddleIsDown() || RightIsDown() || > Aux1IsDown() || Aux2IsDown(); > > case wxMOUSE_BTN_LEFT: > return LeftIsDown(); > > case wxMOUSE_BTN_MIDDLE: > return MiddleIsDown(); > > case wxMOUSE_BTN_RIGHT: > return RightIsDown(); > > case wxMOUSE_BTN_AUX1: > return Aux1IsDown(); > > case wxMOUSE_BTN_AUX2: > return Aux2IsDown(); > > case wxMOUSE_BTN_NONE: > case wxMOUSE_BTN_MAX: > break; > } > > do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/mousestate.h", 105, __FUNCTION__, "Assert failure", "invalid parameter"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return false; > } > > > > void SetX(wxCoord x) { m_x = x; } > void SetY(wxCoord y) { m_y = y; } > void SetPosition(wxPoint pos) { m_x = pos.x, m_y = pos.y; } > > void SetLeftDown(bool down) { m_leftDown = down; } > void SetMiddleDown(bool down) { m_middleDown = down; } > void SetRightDown(bool down) { m_rightDown = down; } > void SetAux1Down(bool down) { m_aux1Down = down; } > void SetAux2Down(bool down) { m_aux2Down = down; } > > > void SetState(const wxMouseState& state) { *this = state; } ># 138 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/mousestate.h" > bool m_leftDown : 1; > bool m_middleDown : 1; > bool m_rightDown : 1; > bool m_aux1Down : 1; > bool m_aux2Down : 1; > > wxCoord m_x, > m_y; >}; ># 28 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" 2 > > >class wxArrayString; >class wxArrayInt; > > > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/platinfo.h" 1 ># 25 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/platinfo.h" >enum wxOperatingSystemId >{ > wxOS_UNKNOWN = 0, > > wxOS_MAC_OS = 1 << 0, > wxOS_MAC_OSX_DARWIN = 1 << 1, > wxOS_MAC = wxOS_MAC_OS|wxOS_MAC_OSX_DARWIN, > > wxOS_WINDOWS_9X = 1 << 2, > wxOS_WINDOWS_NT = 1 << 3, > wxOS_WINDOWS_MICRO = 1 << 4, > wxOS_WINDOWS_CE = 1 << 5, > wxOS_WINDOWS = wxOS_WINDOWS_9X | > wxOS_WINDOWS_NT | > wxOS_WINDOWS_MICRO | > wxOS_WINDOWS_CE, > > wxOS_UNIX_LINUX = 1 << 6, > wxOS_UNIX_FREEBSD = 1 << 7, > wxOS_UNIX_OPENBSD = 1 << 8, > wxOS_UNIX_NETBSD = 1 << 9, > wxOS_UNIX_SOLARIS = 1 << 10, > wxOS_UNIX_AIX = 1 << 11, > wxOS_UNIX_HPUX = 1 << 12, > wxOS_UNIX = wxOS_UNIX_LINUX | > wxOS_UNIX_FREEBSD | > wxOS_UNIX_OPENBSD | > wxOS_UNIX_NETBSD | > wxOS_UNIX_SOLARIS | > wxOS_UNIX_AIX | > wxOS_UNIX_HPUX, > > > > wxOS_DOS = 1 << 15, > wxOS_OS2 = 1 << 16 >}; > > > >enum wxPortId >{ > wxPORT_UNKNOWN = 0, > > wxPORT_BASE = 1 << 0, > > wxPORT_MSW = 1 << 1, > wxPORT_MOTIF = 1 << 2, > wxPORT_GTK = 1 << 3, > wxPORT_DFB = 1 << 4, > wxPORT_X11 = 1 << 5, > wxPORT_PM = 1 << 6, > wxPORT_OS2 = wxPORT_PM, > wxPORT_MAC = 1 << 7, > wxPORT_OSX = wxPORT_MAC, > wxPORT_COCOA = 1 << 8, > wxPORT_WINCE = 1 << 9 >}; > > > > >enum wxArchitecture >{ > wxARCH_INVALID = -1, > > wxARCH_32, > wxARCH_64, > > wxARCH_MAX >}; > > > >enum wxEndianness >{ > wxENDIAN_INVALID = -1, > > wxENDIAN_BIG, > wxENDIAN_LITTLE, > wxENDIAN_PDP, > > wxENDIAN_MAX >}; > > >struct wxLinuxDistributionInfo >{ > wxString Id; > wxString Release; > wxString CodeName; > wxString Description; > > bool operator==(const wxLinuxDistributionInfo& ldi) const > { > return Id == ldi.Id && > Release == ldi.Release && > CodeName == ldi.CodeName && > Description == ldi.Description; > } > > bool operator!=(const wxLinuxDistributionInfo& ldi) const > { return !(*this == ldi); } >}; ># 137 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/platinfo.h" >class wxPlatformInfo >{ >public: > wxPlatformInfo(); > wxPlatformInfo(wxPortId pid, > int tkMajor = -1, int tkMinor = -1, > wxOperatingSystemId id = wxOS_UNKNOWN, > int osMajor = -1, int osMinor = -1, > wxArchitecture arch = wxARCH_INVALID, > wxEndianness endian = wxENDIAN_INVALID, > bool usingUniversal = false); > > > > bool operator==(const wxPlatformInfo &t) const; > > bool operator!=(const wxPlatformInfo &t) const > { return !(*this == t); } > > > > static const wxPlatformInfo& Get(); > > > > > > > static wxOperatingSystemId GetOperatingSystemId(const wxString &name); > static wxPortId GetPortId(const wxString &portname); > > static wxArchitecture GetArch(const wxString &arch); > static wxEndianness GetEndianness(const wxString &end); > > > > > static wxString GetOperatingSystemFamilyName(wxOperatingSystemId os); > static wxString GetOperatingSystemIdName(wxOperatingSystemId os); > static wxString GetPortIdName(wxPortId port, bool usingUniversal); > static wxString GetPortIdShortName(wxPortId port, bool usingUniversal); > > static wxString GetArchName(wxArchitecture arch); > static wxString GetEndiannessName(wxEndianness end); > > > > > > int GetOSMajorVersion() const > { return m_osVersionMajor; } > int GetOSMinorVersion() const > { return m_osVersionMinor; } > > > bool CheckOSVersion(int major, int minor) const > { > return DoCheckVersion(GetOSMajorVersion(), > GetOSMinorVersion(), > major, > minor); > } > > int GetToolkitMajorVersion() const > { return m_tkVersionMajor; } > int GetToolkitMinorVersion() const > { return m_tkVersionMinor; } > > bool CheckToolkitVersion(int major, int minor) const > { > return DoCheckVersion(GetToolkitMajorVersion(), > GetToolkitMinorVersion(), > major, > minor); > } > > bool IsUsingUniversalWidgets() const > { return m_usingUniversal; } > > wxOperatingSystemId GetOperatingSystemId() const > { return m_os; } > wxLinuxDistributionInfo GetLinuxDistributionInfo() const > { return m_ldi; } > wxPortId GetPortId() const > { return m_port; } > wxArchitecture GetArchitecture() const > { return m_arch; } > wxEndianness GetEndianness() const > { return m_endian; } > > > > > > wxString GetOperatingSystemFamilyName() const > { return GetOperatingSystemFamilyName(m_os); } > wxString GetOperatingSystemIdName() const > { return GetOperatingSystemIdName(m_os); } > wxString GetPortIdName() const > { return GetPortIdName(m_port, m_usingUniversal); } > wxString GetPortIdShortName() const > { return GetPortIdShortName(m_port, m_usingUniversal); } > wxString GetArchName() const > { return GetArchName(m_arch); } > wxString GetEndiannessName() const > { return GetEndiannessName(m_endian); } > wxString GetOperatingSystemDescription() const > { return m_osDesc; } > wxString GetDesktopEnvironment() const > { return m_desktopEnv; } > > static wxString GetOperatingSystemDirectory(); ># 257 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/platinfo.h" > void SetOSVersion(int major, int minor) > { m_osVersionMajor=major; m_osVersionMinor=minor; } > void SetToolkitVersion(int major, int minor) > { m_tkVersionMajor=major; m_tkVersionMinor=minor; } > > void SetOperatingSystemId(wxOperatingSystemId n) > { m_os = n; } > void SetOperatingSystemDescription(const wxString& desc) > { m_osDesc = desc; } > void SetPortId(wxPortId n) > { m_port = n; } > void SetArchitecture(wxArchitecture n) > { m_arch = n; } > void SetEndianness(wxEndianness n) > { m_endian = n; } > > void SetDesktopEnvironment(const wxString& de) > { m_desktopEnv = de; } > void SetLinuxDistributionInfo(const wxLinuxDistributionInfo& di) > { m_ldi = di; } > > > > > > bool IsOk() const > { > return m_osVersionMajor != -1 && m_osVersionMinor != -1 && > m_os != wxOS_UNKNOWN && > !m_osDesc.IsEmpty() && > m_tkVersionMajor != -1 && m_tkVersionMinor != -1 && > m_port != wxPORT_UNKNOWN && > m_arch != wxARCH_INVALID && > m_endian != wxENDIAN_INVALID; > > > } > > >protected: > static bool DoCheckVersion(int majorCur, int minorCur, int major, int minor) > { > return majorCur > major || (majorCur == major && minorCur >= minor); > } > > void InitForCurrentPlatform(); > > > > > > > > int m_osVersionMajor, > m_osVersionMinor; > > > wxOperatingSystemId m_os; > > > wxString m_osDesc; > > > > > > wxString m_desktopEnv; > wxLinuxDistributionInfo m_ldi; > > > > > > > > int m_tkVersionMajor, m_tkVersionMinor; > > > wxPortId m_port; > > > bool m_usingUniversal; > > > > > > > wxArchitecture m_arch; > > > wxEndianness m_endian; >}; ># 39 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" 2 ># 53 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" >class wxProcess; >class wxFrame; >class wxWindow; >class wxWindowList; >class wxEventLoop; > > > > > >template<typename T1, typename T2> >inline typename wxImplicitConversionType<T1,T2>::value >wxMax(T1 a, T2 b) >{ > typedef typename wxImplicitConversionType<T1,T2>::value ResultType; > > > > return static_cast<ResultType>(a) > static_cast<ResultType>(b) ? a : b; >} > >template<typename T1, typename T2> >inline typename wxImplicitConversionType<T1,T2>::value >wxMin(T1 a, T2 b) >{ > typedef typename wxImplicitConversionType<T1,T2>::value ResultType; > > return static_cast<ResultType>(a) < static_cast<ResultType>(b) ? a : b; >} > >template<typename T1, typename T2, typename T3> >inline typename wxImplicitConversionType3<T1,T2,T3>::value >wxClip(T1 a, T2 b, T3 c) >{ > typedef typename wxImplicitConversionType3<T1,T2,T3>::value ResultType; > > if ( static_cast<ResultType>(a) < static_cast<ResultType>(b) ) > return b; > > if ( static_cast<ResultType>(a) > static_cast<ResultType>(c) ) > return c; > > return a; >} ># 106 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" > typedef wxLongLong wxMemorySize; ># 132 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" > void wxBell(); > > > > void wxInfoMessageBox(wxWindow* parent); > > > wxVersionInfo wxGetLibraryVersionInfo(); > > > wxString wxGetOsDescription(); > > > wxOperatingSystemId wxGetOsVersion(int *majorVsn = __null, > int *minorVsn = __null); > > > bool wxIsPlatformLittleEndian(); > > > bool wxIsPlatform64Bit(); > > > > > > > > wxString wxNow(); > > > const wxChar *wxGetInstallPrefix(); > > wxString wxGetDataDir(); > > > > > > > bool wxGetKeyState(wxKeyCode key); > > > > > bool wxSetDetectableAutoRepeat( bool flag ); > > > wxMouseState wxGetMouseState(); ># 206 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" >class wxPlatform >{ >public: > wxPlatform() { Init(); } > wxPlatform(const wxPlatform& platform) { Copy(platform); } > void operator = (const wxPlatform& platform) { if (&platform != this) Copy(platform); } > void Copy(const wxPlatform& platform); > > > wxPlatform(int defValue) { Init(); m_longValue = (long)defValue; } > wxPlatform(long defValue) { Init(); m_longValue = defValue; } > wxPlatform(const wxString& defValue) { Init(); m_stringValue = defValue; } > wxPlatform(double defValue) { Init(); m_doubleValue = defValue; } > > static wxPlatform If(int platform, long value); > static wxPlatform IfNot(int platform, long value); > wxPlatform& ElseIf(int platform, long value); > wxPlatform& ElseIfNot(int platform, long value); > wxPlatform& Else(long value); > > static wxPlatform If(int platform, int value) { return If(platform, (long)value); } > static wxPlatform IfNot(int platform, int value) { return IfNot(platform, (long)value); } > wxPlatform& ElseIf(int platform, int value) { return ElseIf(platform, (long) value); } > wxPlatform& ElseIfNot(int platform, int value) { return ElseIfNot(platform, (long) value); } > wxPlatform& Else(int value) { return Else((long) value); } > > static wxPlatform If(int platform, double value); > static wxPlatform IfNot(int platform, double value); > wxPlatform& ElseIf(int platform, double value); > wxPlatform& ElseIfNot(int platform, double value); > wxPlatform& Else(double value); > > static wxPlatform If(int platform, const wxString& value); > static wxPlatform IfNot(int platform, const wxString& value); > wxPlatform& ElseIf(int platform, const wxString& value); > wxPlatform& ElseIfNot(int platform, const wxString& value); > wxPlatform& Else(const wxString& value); > > long GetInteger() const { return m_longValue; } > const wxString& GetString() const { return m_stringValue; } > double GetDouble() const { return m_doubleValue; } > > operator int() const { return (int) GetInteger(); } > operator long() const { return GetInteger(); } > operator double() const { return GetDouble(); } > operator const wxString&() const { return GetString(); } > > static void AddPlatform(int platform); > static bool Is(int platform); > static void ClearPlatforms(); > >private: > > void Init() { m_longValue = 0; m_doubleValue = 0.0; } > > long m_longValue; > double m_doubleValue; > wxString m_stringValue; > static wxArrayInt* sm_customPlatforms; >}; > > >inline bool wxPlatformIs(int platform) { return wxPlatform::Is(platform); } > > > > > > > void wxRegisterId(int id); > > > int wxGetCurrentId(); > > > int wxNewId(); > > > > > > > int wxHexToDec(const wxString& buf); > > >inline int wxHexToDec(const char* buf) >{ > int firstDigit, secondDigit; > > if (buf[0] >= 'A') > firstDigit = buf[0] - 'A' + 10; > else > firstDigit = buf[0] - '0'; > > if (buf[1] >= 'A') > secondDigit = buf[1] - 'A' + 10; > else > secondDigit = buf[1] - '0'; > > return (firstDigit & 0xF) * 16 + (secondDigit & 0xF ); >} > > > > void wxDecToHex(int dec, wxChar *buf); > void wxDecToHex(int dec, char* ch1, char* ch2); > wxString wxDecToHex(int dec); ># 321 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" >enum >{ > > wxEXEC_ASYNC = 0, > > > wxEXEC_SYNC = 1, > > > > wxEXEC_SHOW_CONSOLE = 2, > > > > wxEXEC_NOHIDE = wxEXEC_SHOW_CONSOLE, > > > > > > > wxEXEC_MAKE_GROUP_LEADER = 4, > > > > > wxEXEC_NODISABLE = 8, > > > > > wxEXEC_NOEVENTS = 16, > > > > wxEXEC_HIDE_CONSOLE = 32, > > > wxEXEC_BLOCK = wxEXEC_SYNC | wxEXEC_NOEVENTS >}; > > >typedef wxStringToStringHashMap wxEnvVariableHashMap; > > > >struct wxExecuteEnv >{ > wxString cwd; > wxEnvVariableHashMap env; >}; > > > > > > > long wxExecute(const wxString& command, > int flags = wxEXEC_ASYNC, > wxProcess *process = __null, > const wxExecuteEnv *env = __null); > long wxExecute(char **argv, > int flags = wxEXEC_ASYNC, > wxProcess *process = __null, > const wxExecuteEnv *env = __null); > > long wxExecute(wchar_t **argv, > int flags = wxEXEC_ASYNC, > wxProcess *process = __null, > const wxExecuteEnv *env = __null); > > > > > long wxExecute(const wxString& command, > wxArrayString& output, > int flags = 0, > const wxExecuteEnv *env = __null); > > > long wxExecute(const wxString& command, > wxArrayString& output, > wxArrayString& error, > int flags = 0, > const wxExecuteEnv *env = __null); ># 414 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" >enum wxSignal >{ > wxSIGNONE = 0, > wxSIGHUP, > wxSIGINT, > wxSIGQUIT, > wxSIGILL, > wxSIGTRAP, > wxSIGABRT, > wxSIGIOT = wxSIGABRT, > wxSIGEMT, > wxSIGFPE, > wxSIGKILL, > wxSIGBUS, > wxSIGSEGV, > wxSIGSYS, > wxSIGPIPE, > wxSIGALRM, > wxSIGTERM > > >}; > >enum wxKillError >{ > wxKILL_OK, > wxKILL_BAD_SIGNAL, > wxKILL_ACCESS_DENIED, > wxKILL_NO_PROCESS, > wxKILL_ERROR >}; > >enum wxKillFlags >{ > wxKILL_NOCHILDREN = 0, > wxKILL_CHILDREN = 1 >}; > >enum wxShutdownFlags >{ > wxSHUTDOWN_FORCE = 1, > wxSHUTDOWN_POWEROFF = 2, > wxSHUTDOWN_REBOOT = 4, > wxSHUTDOWN_LOGOFF = 8 >}; > > > bool wxShutdown(int flags = wxSHUTDOWN_POWEROFF); > > > > > > int wxKill(long pid, > wxSignal sig = wxSIGTERM, > wxKillError *rc = __null, > int flags = wxKILL_NOCHILDREN); > > > > bool wxShell(const wxString& command = wxEmptyString); > > > > bool wxShell(const wxString& command, wxArrayString& output); > > > void wxSleep(int nSecs); > > > void wxMilliSleep(unsigned long milliseconds); > > > void wxMicroSleep(unsigned long microseconds); > > > > > > > > unsigned long wxGetProcessId(); > > > wxMemorySize wxGetFreeMemory(); > > > > > bool wxHandleFatalExceptions(bool doit = true); ># 513 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" > bool wxGetEnv(const wxString& var, wxString *value); > > > bool wxSetEnv(const wxString& var, const wxString& value); > > > bool wxUnsetEnv(const wxString& var); ># 546 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" > bool wxGetEnvMap(wxEnvVariableHashMap *map); ># 555 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" > bool wxGetEmailAddress(wxChar *buf, int maxSize); > wxString wxGetEmailAddress(); > > > bool wxGetHostName(wxChar *buf, int maxSize); > wxString wxGetHostName(); > > > wxString wxGetFullHostName(); > bool wxGetFullHostName(wxChar *buf, int maxSize); > > > bool wxGetUserId(wxChar *buf, int maxSize); > wxString wxGetUserId(); > > > bool wxGetUserName(wxChar *buf, int maxSize); > wxString wxGetUserName(); > > > wxString wxGetHomeDir(); > const wxChar* wxGetHomeDir(wxString *pstr); > > > > wxString wxGetUserHome(const wxString& user = wxEmptyString); > > > > typedef wxLongLong wxDiskspaceSize_t; > > > > > > bool wxGetDiskSpace(const wxString& path, > wxDiskspaceSize_t *pTotal = __null, > wxDiskspaceSize_t *pFree = __null); > > > >typedef int (*wxSortCallback)(const void* pItem1, > const void* pItem2, > const void* user_data); > > > void wxQsort(void* pbase, size_t total_elems, > size_t size, wxSortCallback cmp, > const void* user_data); ># 613 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" >enum >{ > wxBROWSER_NEW_WINDOW = 0x01, > wxBROWSER_NOBUSYCURSOR = 0x02 >}; > > > bool wxLaunchDefaultBrowser(const wxString& url, int flags = 0); > > > bool wxLaunchDefaultApplication(const wxString& path, int flags = 0); > > > > > > >enum >{ > > wxStrip_Mnemonics = 1, > > > wxStrip_Accel = 2, > > > wxStrip_All = wxStrip_Mnemonics | wxStrip_Accel >}; > > > wxString >wxStripMenuCodes(const wxString& str, int flags = wxStrip_All); ># 668 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" > int wxFindMenuItemId(wxFrame *frame, const wxString& menuString, const wxString& itemString); > > > > wxWindow* wxGenericFindWindowAtPoint(const wxPoint& pt); > wxWindow* wxFindWindowAtPoint(const wxPoint& pt); > > > > > > > wxWindow* wxFindWindowByLabel(const wxString& title, wxWindow *parent = __null); > > > > > wxWindow* wxFindWindowByName(const wxString& name, wxWindow *parent = __null); > > > > > > > bool wxSafeYield(wxWindow *win = __null, bool onlyIfNeeded = false); > > > void wxEnableTopLevelWindows(bool enable = true); > > > > bool wxCheckForInterrupt(wxWindow *wnd); > > > void wxFlushEvents(); > > > >class wxWindowDisabler >{ >public: > > > wxWindowDisabler(bool disable = true); > > > wxWindowDisabler(wxWindow *winToSkip); > > > ~wxWindowDisabler(); > >private: > > void DoDisable(wxWindow *winToSkip = __null); > > > > > wxWindowList *m_winDisabled; > bool m_disabled; > > private: wxWindowDisabler(const wxWindowDisabler&); wxWindowDisabler& operator=(const wxWindowDisabler&); >}; > > > > > > > void wxBeginBusyCursor(const wxCursor *cursor = wxStockGDI::GetCursor(wxStockGDI::CURSOR_HOURGLASS)); > > > void wxEndBusyCursor(); > > > bool wxIsBusy(); > > >class wxBusyCursor >{ >public: > wxBusyCursor(const wxCursor* cursor = wxStockGDI::GetCursor(wxStockGDI::CURSOR_HOURGLASS)) > { wxBeginBusyCursor(cursor); } > ~wxBusyCursor() > { wxEndBusyCursor(); } > > > > > > > static const wxCursor &GetStoredCursor(); > static const wxCursor GetBusyCursor(); >}; > >void wxGetMousePosition( int* x, int* y ); ># 772 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" > void *wxGetDisplay(); ># 782 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" >inline struct _XDisplay *wxGetX11Display() >{ > return (_XDisplay *)wxGetDisplay(); >} ># 801 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/utils.h" > bool wxYield(); > > > > > bool wxYieldIfNeeded(); ># 70 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/cursor.h" 2 ># 88 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/cursor.h" >class wxBusyCursorSuspender >{ >public: > wxBusyCursorSuspender() > { > if( wxIsBusy() ) > { > wxSetCursor( wxBusyCursor::GetStoredCursor() ); > } > } > ~wxBusyCursorSuspender() > { > if( wxIsBusy() ) > { > wxSetCursor( wxBusyCursor::GetBusyCursor() ); > } > } >}; ># 22 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" 2 > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" 1 ># 28 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" >enum wxMutexError >{ > wxMUTEX_NO_ERROR = 0, > wxMUTEX_INVALID, > wxMUTEX_DEAD_LOCK, > wxMUTEX_BUSY, > wxMUTEX_UNLOCKED, > wxMUTEX_TIMEOUT, > wxMUTEX_MISC_ERROR >}; > >enum wxCondError >{ > wxCOND_NO_ERROR = 0, > wxCOND_INVALID, > wxCOND_TIMEOUT, > wxCOND_MISC_ERROR >}; > >enum wxSemaError >{ > wxSEMA_NO_ERROR = 0, > wxSEMA_INVALID, > wxSEMA_BUSY, > wxSEMA_TIMEOUT, > wxSEMA_OVERFLOW, > wxSEMA_MISC_ERROR >}; > >enum wxThreadError >{ > wxTHREAD_NO_ERROR = 0, > wxTHREAD_NO_RESOURCE, > wxTHREAD_RUNNING, > wxTHREAD_NOT_RUNNING, > wxTHREAD_KILLED, > wxTHREAD_MISC_ERROR >}; > >enum wxThreadKind >{ > wxTHREAD_DETACHED, > wxTHREAD_JOINABLE >}; > >enum wxThreadWait >{ > wxTHREAD_WAIT_BLOCK, > wxTHREAD_WAIT_YIELD, > > > > > > > > wxTHREAD_WAIT_DEFAULT = wxTHREAD_WAIT_BLOCK > >}; > > >enum >{ > WXTHREAD_MIN_PRIORITY = wxPRIORITY_MIN, > WXTHREAD_DEFAULT_PRIORITY = wxPRIORITY_DEFAULT, > WXTHREAD_MAX_PRIORITY = wxPRIORITY_MAX >}; ># 112 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" >enum wxMutexType >{ > > wxMUTEX_DEFAULT, > > > wxMUTEX_RECURSIVE >}; > > >class wxThreadHelper; >class wxConditionInternal; >class wxMutexInternal; >class wxSemaphoreInternal; >class wxThreadInternal; ># 137 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" >class wxMutex >{ >public: > > > > > wxMutex(wxMutexType mutexType = wxMUTEX_DEFAULT); > > > ~wxMutex(); > > > bool IsOk() const; ># 160 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" > wxMutexError Lock(); > > > > wxMutexError LockTimeout(unsigned long ms); > > > > wxMutexError TryLock(); > > > wxMutexError Unlock(); > >protected: > wxMutexInternal *m_internal; > > friend class wxConditionInternal; > > private: wxMutex(const wxMutex&); wxMutex& operator=(const wxMutex&); >}; > > > > >class wxMutexLocker >{ >public: > > wxMutexLocker(wxMutex& mutex) > : m_isOk(false), m_mutex(mutex) > { m_isOk = ( m_mutex.Lock() == wxMUTEX_NO_ERROR ); } > > > bool IsOk() const > { return m_isOk; } > > > ~wxMutexLocker() > { if ( IsOk() ) m_mutex.Unlock(); } > >private: > > wxMutexLocker(const wxMutexLocker&); > wxMutexLocker& operator=(const wxMutexLocker&); > > bool m_isOk; > wxMutex& m_mutex; >}; ># 231 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" >enum wxCriticalSectionType >{ > > wxCRITSEC_DEFAULT, > > > wxCRITSEC_NON_RECURSIVE >}; > > > >class wxCriticalSection >{ >public: > > inline wxCriticalSection( wxCriticalSectionType critSecType = wxCRITSEC_DEFAULT ); > inline ~wxCriticalSection(); > > inline void Enter(); > > > inline bool TryEnter(); > > > inline void Leave(); > >private: > > wxMutex m_mutex; ># 282 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" > private: wxCriticalSection(const wxCriticalSection&); wxCriticalSection& operator=(const wxCriticalSection&); >}; > > > > inline wxCriticalSection::wxCriticalSection( wxCriticalSectionType critSecType ) > : m_mutex( critSecType == wxCRITSEC_DEFAULT ? wxMUTEX_RECURSIVE : wxMUTEX_DEFAULT ) { } > inline wxCriticalSection::~wxCriticalSection() { } > > inline void wxCriticalSection::Enter() { (void)m_mutex.Lock(); } > inline bool wxCriticalSection::TryEnter() { return m_mutex.TryLock() == wxMUTEX_NO_ERROR; } > inline void wxCriticalSection::Leave() { (void)m_mutex.Unlock(); } > > > > > > > >class wxCriticalSectionLocker >{ >public: > wxCriticalSectionLocker(wxCriticalSection& cs) > : m_critsect(cs) > { > m_critsect.Enter(); > } > > ~wxCriticalSectionLocker() > { > m_critsect.Leave(); > } > >private: > wxCriticalSection& m_critsect; > > private: wxCriticalSectionLocker(const wxCriticalSectionLocker&); wxCriticalSectionLocker& operator=(const wxCriticalSectionLocker&); >}; > > > > > > >class wxCondition >{ >public: > > > wxCondition(wxMutex& mutex); > > > ~wxCondition(); > > > bool IsOk() const; > > > > > > > > wxCondError Wait(); > > > template<typename Functor> > wxCondError Wait(const Functor& predicate) > { > while ( !predicate() ) > { > wxCondError e = Wait(); > if ( e != wxCOND_NO_ERROR ) > return e; > } > return wxCOND_NO_ERROR; > } ># 367 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" > wxCondError WaitTimeout(unsigned long milliseconds); > > > > > > > > wxCondError Signal(); > > > > > > > > wxCondError Broadcast(); > > > > > > > >private: > wxConditionInternal *m_internal; > > private: wxCondition(const wxCondition&); wxCondition& operator=(const wxCondition&); >}; ># 407 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" >class wxSemaphore >{ >public: > > > wxSemaphore( int initialcount = 0, int maxcount = 0 ); > > > ~wxSemaphore(); > > > bool IsOk() const; > > > > > wxSemaError Wait(); > > > > wxSemaError TryWait(); > > > > wxSemaError WaitTimeout(unsigned long milliseconds); > > > wxSemaError Post(); > >private: > wxSemaphoreInternal *m_internal; > > private: wxSemaphore(const wxSemaphore&); wxSemaphore& operator=(const wxSemaphore&); >}; ># 459 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" > typedef unsigned long wxThreadIdType; > > >class wxThread >{ >public: > > typedef void *ExitCode; > > > > > > > > static wxThread *This(); > > > > > > > static bool IsMain() > { > return !ms_idMainThread || GetCurrentId() == ms_idMainThread; > } > > > static wxThreadIdType GetMainId() { return ms_idMainThread; } > > > static void Yield(); > > > > > static void Sleep(unsigned long milliseconds); > > > > > > static int GetCPUCount(); > > > > > static wxThreadIdType GetCurrentId(); ># 515 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" > static bool SetConcurrency(size_t level); > > > > wxThread(wxThreadKind kind = wxTHREAD_DETACHED); ># 529 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" > wxThreadError Create(unsigned int stackSize = 0); > > > > > wxThreadError Run(); ># 546 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" > wxThreadError Delete(ExitCode *rc = __null, > wxThreadWait waitMode = wxTHREAD_WAIT_DEFAULT); > > > > > > ExitCode Wait(wxThreadWait waitMode = wxTHREAD_WAIT_DEFAULT); ># 563 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" > wxThreadError Kill(); > > > > wxThreadError Pause(); > > > wxThreadError Resume(); > > > > > > > void SetPriority(unsigned int prio); > > > unsigned int GetPriority() const; > > > > bool IsAlive() const; > > bool IsRunning() const; > > bool IsPaused() const; > > > bool IsDetached() const { return m_isDetached; } > > > > wxThreadIdType GetId() const; > > wxThreadKind GetKind() const > { return m_isDetached ? wxTHREAD_DETACHED : wxTHREAD_JOINABLE; } > > > > > virtual bool TestDestroy(); > > > > virtual ~wxThread(); > >protected: > > void Exit(ExitCode exitcode = 0); > > > > virtual void *Entry() = 0; > > > void *CallEntry(); > > > > > > > > virtual void OnDelete() {} > > > > virtual void OnKill() {} > >private: > > wxThread(const wxThread&); > wxThread& operator=(const wxThread&); > > > > > virtual void OnExit() { } > > friend class wxThreadInternal; > friend class wxThreadModule; > > > > static wxThreadIdType ms_idMainThread; > > > wxThreadInternal *m_internal; > > > wxCriticalSection m_critsect; > > > bool m_isDetached; >}; > > > > >class wxThreadHelperThread : public wxThread >{ >public: > > > wxThreadHelperThread(wxThreadHelper& owner, wxThreadKind kind) > : wxThread(kind), m_owner(owner) > { } > >protected: > > virtual void *Entry(); > >private: > > wxThreadHelper& m_owner; > > > wxThreadHelperThread(const wxThreadHelperThread&); > wxThreadHelperThread& operator=(const wxThreadHelperThread&); >}; > > > > > > > >class wxThreadHelper >{ >private: > void KillThread() > { > > > > > wxCriticalSectionLocker locker(m_critSection); > > if ( m_thread ) > { > m_thread->Kill(); > > if ( m_kind == wxTHREAD_JOINABLE ) > delete m_thread; > > m_thread = __null; > } > } > >public: > > wxThreadHelper(wxThreadKind kind = wxTHREAD_JOINABLE) > : m_thread(__null), m_kind(kind) { } > > > virtual ~wxThreadHelper() { KillThread(); } > > > > > > > > wxThreadError CreateThread(wxThreadKind kind = wxTHREAD_JOINABLE, > unsigned int stackSize = 0) > { > KillThread(); > > m_kind = kind; > m_thread = new wxThreadHelperThread(*this, m_kind); > > return m_thread->Create(stackSize); > } > > > > virtual void *Entry() = 0; > > > wxThread *GetThread() const > { > wxCriticalSectionLocker locker((wxCriticalSection&)m_critSection); > > wxThread* thread = m_thread; > > return thread; > } > >protected: > wxThread *m_thread; > wxThreadKind m_kind; > wxCriticalSection m_critSection; > > friend class wxThreadHelperThread; >}; > > > > > > > >inline void *wxThreadHelperThread::Entry() >{ > void * const result = m_owner.Entry(); > > wxCriticalSectionLocker locker(m_owner.m_critSection); > > > > > > if ( m_owner.m_kind == wxTHREAD_DETACHED ) > m_owner.m_thread = __null; > > return result; >} > > > > > > >void wxMutexGuiEnter(); >void wxMutexGuiLeave(); ># 799 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" >inline bool wxIsMainThread() { return wxThread::IsMain(); } ># 845 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/thread.h" >class wxMutexGuiLocker >{ >public: > wxMutexGuiLocker() { wxMutexGuiEnter(); } > ~wxMutexGuiLocker() { wxMutexGuiLeave(); } >}; ># 27 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/tracker.h" 1 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/tracker.h" >class wxEventConnectionRef; > > > >class wxTrackerNode >{ >public: > wxTrackerNode() : m_nxt(__null) { } > virtual ~wxTrackerNode() { } > > virtual void OnObjectDestroy() = 0; > > virtual wxEventConnectionRef *ToEventConnection() { return __null; } > >private: > wxTrackerNode *m_nxt; > > friend class wxTrackable; > friend class wxEvtHandler; >}; > > >class wxTrackable >{ >public: > void AddNode(wxTrackerNode *prn) > { > prn->m_nxt = m_first; > m_first = prn; > } > > void RemoveNode(wxTrackerNode *prn) > { > for ( wxTrackerNode **pprn = &m_first; *pprn; pprn = &(*pprn)->m_nxt ) > { > if ( *pprn == prn ) > { > *pprn = prn->m_nxt; > return; > } > } > > do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/tracker.h", 57, __FUNCTION__, "Assert failure", "removing invalid tracker node"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > } > > wxTrackerNode *GetFirst() const { return m_first; } > >protected: > > > > wxTrackable() : m_first(__null) { } > > > > wxTrackable(const wxTrackable& ) : m_first(__null) { } > wxTrackable& operator=(const wxTrackable& ) { return *this; } > > > > > ~wxTrackable() > { > > while ( m_first ) > { > wxTrackerNode * const first = m_first; > m_first = first->m_nxt; > first->OnObjectDestroy(); > } > } > > wxTrackerNode *m_first; >}; ># 28 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" 2 > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/convertible.h" 1 ># 16 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/convertible.h" >template <class D, class B> >struct wxConvertibleTo_SizeHelper >{ > static char Match(B* pb); > static int Match(...); >}; > > > >template <class D, class B> >struct wxConvertibleTo >{ > enum > { > value = > sizeof(wxConvertibleTo_SizeHelper<D,B>::Match(static_cast<D*>(__null))) > == > sizeof(char) > }; >}; ># 33 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" 2 > > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/removeref.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/meta/removeref.h" >template <typename T> >struct wxRemoveRef >{ > typedef T type; >}; > >template <typename T> >struct wxRemoveRef<T&> >{ > typedef T type; >}; ># 39 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" 2 ># 47 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxList; >class wxEvent; >class wxEventFilter; > > class wxDC; > class wxMenu; > class wxWindow; > class wxWindowBase; ># 74 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxEvtHandler; >class wxEventConnectionRef; > > > > > >typedef int wxEventType; ># 97 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >extern wxEventType wxNewEventType(); ># 157 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >template <typename T> >class wxEventTypeTag >{ >public: > > typedef T EventClass; > > wxEventTypeTag(wxEventType type) { m_type = type; } > > > > > operator const wxEventType&() const { return m_type; } > >private: > wxEventType m_type; >}; > > > > >typedef void (wxEvtHandler::*wxEventFunction)(wxEvent&); ># 187 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >typedef wxEventFunction wxObjectEventFunction; > > >class wxEventFunctor >{ >public: > virtual ~wxEventFunctor(); > > > virtual void operator()(wxEvtHandler *, wxEvent&) = 0; > > > > virtual bool IsMatching(const wxEventFunctor& functor) const = 0; > > > > virtual wxEvtHandler *GetEvtHandler() const > { return __null; } > > > > > > virtual wxEventFunction GetEvtMethod() const > { return __null; } > >private: > >}; > > >class wxObjectEventFunctor : public wxEventFunctor >{ >public: > wxObjectEventFunctor(wxObjectEventFunction method, wxEvtHandler *handler) > : m_handler( handler ), m_method( method ) > { } > > virtual void operator()(wxEvtHandler *handler, wxEvent& event); > > virtual bool IsMatching(const wxEventFunctor& functor) const > { > if ( wxTypeIdentifier(typeid(functor).name()) == wxTypeIdentifier(typeid(*this).name()) ) > { > const wxObjectEventFunctor &other = > static_cast< const wxObjectEventFunctor & >( functor ); > > > > > > > > return ( m_method == other.m_method || other.m_method == 0 ) && > ( m_handler == other.m_handler || other.m_handler == __null ); > } > else > return false; > } > > virtual wxEvtHandler *GetEvtHandler() const > { return m_handler; } > > virtual wxEventFunction GetEvtMethod() const > { return m_method; } > >private: > wxEvtHandler *m_handler; > wxEventFunction m_method; > > > wxObjectEventFunctor() { } > > >}; > > >inline wxObjectEventFunctor * >wxNewEventFunctor(const wxEventType& , > wxObjectEventFunction method, > wxEvtHandler *handler) >{ > return new wxObjectEventFunctor(method, handler); >} > > >inline wxObjectEventFunctor * >wxNewEventTableFunctor(const wxEventType& , > wxObjectEventFunction method) >{ > return new wxObjectEventFunctor(method, __null); >} > >inline wxObjectEventFunctor >wxMakeEventFunctor(const wxEventType& , > wxObjectEventFunction method, > wxEvtHandler *handler) >{ > return wxObjectEventFunctor(method, handler); >} > > > >namespace wxPrivate >{ > > > >template <typename T> struct EventClassOf; > > > >template <typename T> >struct EventClassOf< wxEventTypeTag<T> > >{ > typedef typename wxEventTypeTag<T>::EventClass type; >}; > > > >template <> >struct EventClassOf<wxEventType> >{ > typedef wxEvent type; >}; > > > > >template <typename T, typename A, bool> struct HandlerImpl; > > >template <typename T, typename A> >struct HandlerImpl<T, A, true> >{ > static bool IsEvtHandler() > { return true; } > static T *ConvertFromEvtHandler(wxEvtHandler *p) > { return static_cast<T *>(p); } > static wxEvtHandler *ConvertToEvtHandler(T *p) > { return p; } > static wxEventFunction ConvertToEvtMethod(void (T::*f)(A&)) > { return static_cast<wxEventFunction>( > reinterpret_cast<void (T::*)(wxEvent&)>(f)); } >}; > > >template <typename T, typename A> >struct HandlerImpl<T, A, false> >{ > static bool IsEvtHandler() > { return false; } > static T *ConvertFromEvtHandler(wxEvtHandler *) > { return __null; } > static wxEvtHandler *ConvertToEvtHandler(T *) > { return __null; } > static wxEventFunction ConvertToEvtMethod(void (T::*)(A&)) > { return __null; } >}; > >} ># 359 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >template > <typename EventTag, typename Class, typename EventArg, typename EventHandler> >class wxEventFunctorMethod > : public wxEventFunctor, > private wxPrivate::HandlerImpl > < > Class, > EventArg, > wxConvertibleTo<Class, wxEvtHandler>::value != 0 > > >{ >private: > static void CheckHandlerArgument(EventArg *) { } > >public: > > typedef typename wxPrivate::EventClassOf<EventTag>::type EventClass; > > > wxEventFunctorMethod(void (Class::*method)(EventArg&), EventHandler *handler) > : m_handler( handler ), m_method( method ) > { > do { if ( wxTheAssertHandler && !(handler || this->IsEvtHandler()) && (wxOnAssert( > > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" ># 381 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > , > > 383 ># 381 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > , __FUNCTION__, "handler || this->IsEvtHandler()", "handlers defined in non-wxEvtHandler-derived classes " "must be connected with a valid sink object"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > > ; > > > > > CheckHandlerArgument(static_cast<EventClass *>(__null)); > } > > virtual void operator()(wxEvtHandler *handler, wxEvent& event) > { > Class * realHandler = m_handler; > if ( !realHandler ) > { > realHandler = this->ConvertFromEvtHandler(handler); > > > if ( realHandler ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h", 399, __FUNCTION__, "realHandler", "invalid event handler"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; > } > > > > > (realHandler->*m_method)(static_cast<EventArg&>(event)); > } > > virtual bool IsMatching(const wxEventFunctor& functor) const > { > if ( wxTypeIdentifier(typeid(functor).name()) != wxTypeIdentifier(typeid(*this).name()) ) > return false; > > typedef wxEventFunctorMethod<EventTag, Class, EventArg, EventHandler> > ThisFunctor; > > > const ThisFunctor& other = static_cast<const ThisFunctor &>(functor); > > return (m_method == other.m_method || other.m_method == __null) && > (m_handler == other.m_handler || other.m_handler == __null); > } > > virtual wxEvtHandler *GetEvtHandler() const > { return this->ConvertToEvtHandler(m_handler); } > > virtual wxEventFunction GetEvtMethod() const > { return this->ConvertToEvtMethod(m_method); } > >private: > EventHandler *m_handler; > void (Class::*m_method)(EventArg&); > > > wxEventFunctorMethod() { } > > typedef wxEventFunctorMethod<EventTag, Class, > EventArg, EventHandler> thisClass; > >}; > > > >template <typename EventTag, typename EventArg> >class wxEventFunctorFunction : public wxEventFunctor >{ >private: > static void CheckHandlerArgument(EventArg *) { } > >public: > > typedef typename wxPrivate::EventClassOf<EventTag>::type EventClass; > > wxEventFunctorFunction( void ( *handler )( EventArg & )) > : m_handler( handler ) > { > > > > CheckHandlerArgument(static_cast<EventClass *>(__null)); > } > > virtual void operator()(wxEvtHandler *, wxEvent& event) > { > > > > > > > > m_handler(static_cast<EventArg&>(event)); > } > > virtual bool IsMatching(const wxEventFunctor &functor) const > { > if ( wxTypeIdentifier(typeid(functor).name()) != wxTypeIdentifier(typeid(*this).name()) ) > return false; > > typedef wxEventFunctorFunction<EventTag, EventArg> ThisFunctor; > > const ThisFunctor& other = static_cast<const ThisFunctor&>( functor ); > > return m_handler == other.m_handler; > } > >private: > void (*m_handler)(EventArg&); > > > wxEventFunctorFunction() { } > > typedef wxEventFunctorFunction<EventTag, EventArg> thisClass; > >}; > > >template <typename EventTag, typename Functor> >class wxEventFunctorFunctor : public wxEventFunctor >{ >public: > typedef typename EventTag::EventClass EventArg; > > wxEventFunctorFunctor(const Functor& handler) > : m_handler(handler), m_handlerAddr(&handler) > { } > > virtual void operator()(wxEvtHandler *, wxEvent& event) > { > > > > > > > > m_handler(static_cast<EventArg&>(event)); > } > > virtual bool IsMatching(const wxEventFunctor &functor) const > { > if ( wxTypeIdentifier(typeid(functor).name()) != wxTypeIdentifier(typeid(*this).name()) ) > return false; > > typedef wxEventFunctorFunctor<EventTag, Functor> FunctorThis; > > const FunctorThis& other = static_cast<const FunctorThis&>(functor); > > > > return m_handlerAddr == other.m_handlerAddr; > } > >private: > > > Functor m_handler; > > > const void *m_handlerAddr; > > > wxEventFunctorFunctor() { } > > typedef wxEventFunctorFunctor<EventTag, Functor> thisClass; > >}; ># 555 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >template <typename EventTag, typename EventArg> >inline wxEventFunctorFunction<EventTag, EventArg> * >wxNewEventFunctor(const EventTag&, void (*func)(EventArg &)) >{ > return new wxEventFunctorFunction<EventTag, EventArg>(func); >} > >template <typename EventTag, typename EventArg> >inline wxEventFunctorFunction<EventTag, EventArg> >wxMakeEventFunctor(const EventTag&, void (*func)(EventArg &)) >{ > return wxEventFunctorFunction<EventTag, EventArg>(func); >} > > >template <typename EventTag, typename Functor> >inline wxEventFunctorFunctor<EventTag, Functor> * >wxNewEventFunctor(const EventTag&, const Functor &func) >{ > return new wxEventFunctorFunctor<EventTag, Functor>(func); >} > >template <typename EventTag, typename Functor> >inline wxEventFunctorFunctor<EventTag, Functor> >wxMakeEventFunctor(const EventTag&, const Functor &func) >{ > return wxEventFunctorFunctor<EventTag, Functor>(func); >} > > >template > <typename EventTag, typename Class, typename EventArg, typename EventHandler> >inline wxEventFunctorMethod<EventTag, Class, EventArg, EventHandler> * >wxNewEventFunctor(const EventTag&, > void (Class::*method)(EventArg&), > EventHandler *handler) >{ > return new wxEventFunctorMethod<EventTag, Class, EventArg, EventHandler>( > method, handler); >} > >template > <typename EventTag, typename Class, typename EventArg, typename EventHandler> >inline wxEventFunctorMethod<EventTag, Class, EventArg, EventHandler> >wxMakeEventFunctor(const EventTag&, > void (Class::*method)(EventArg&), > EventHandler *handler) >{ > return wxEventFunctorMethod<EventTag, Class, EventArg, EventHandler>( > method, handler); >} > > > > >template <typename EventTag, typename Class, typename EventArg> >inline wxEventFunctorMethod<EventTag, Class, EventArg, Class> * >wxNewEventTableFunctor(const EventTag&, void (Class::*method)(EventArg&)) >{ > return new wxEventFunctorMethod<EventTag, Class, EventArg, Class>( > method, __null); >} > > > > > > > >extern const wxEventType wxEVT_NULL; >extern const wxEventType wxEVT_FIRST; >extern const wxEventType wxEVT_USER_FIRST; > > >class wxIdleEvent; >class wxThreadEvent; >class wxAsyncMethodCallEvent; >class wxCommandEvent; >class wxMouseEvent; >class wxFocusEvent; >class wxChildFocusEvent; >class wxKeyEvent; >class wxNavigationKeyEvent; >class wxSetCursorEvent; >class wxScrollEvent; >class wxSpinEvent; >class wxScrollWinEvent; >class wxSizeEvent; >class wxMoveEvent; >class wxCloseEvent; >class wxActivateEvent; >class wxWindowCreateEvent; >class wxWindowDestroyEvent; >class wxShowEvent; >class wxIconizeEvent; >class wxMaximizeEvent; >class wxMouseCaptureChangedEvent; >class wxMouseCaptureLostEvent; >class wxPaintEvent; >class wxEraseEvent; >class wxNcPaintEvent; >class wxMenuEvent; >class wxContextMenuEvent; >class wxSysColourChangedEvent; >class wxDisplayChangedEvent; >class wxQueryNewPaletteEvent; >class wxPaletteChangedEvent; >class wxJoystickEvent; >class wxDropFilesEvent; >class wxInitDialogEvent; >class wxUpdateUIEvent; >class wxClipboardTextEvent; >class wxHelpEvent; > > > >extern const wxEventTypeTag< wxCommandEvent > wxEVT_BUTTON; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_CHECKBOX; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_CHOICE; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_LISTBOX; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_LISTBOX_DCLICK; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_CHECKLISTBOX; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_MENU; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_SLIDER; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_RADIOBOX; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_RADIOBUTTON; > > >extern const wxEventTypeTag< wxCommandEvent > wxEVT_SCROLLBAR; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_VLBOX; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_COMBOBOX; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_TOOL_RCLICKED; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_TOOL_DROPDOWN; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_TOOL_ENTER; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_COMBOBOX_DROPDOWN; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_COMBOBOX_CLOSEUP; > > >extern const wxEventTypeTag< wxThreadEvent > wxEVT_THREAD; >extern const wxEventTypeTag< wxAsyncMethodCallEvent > wxEVT_ASYNC_METHOD_CALL; > > >extern const wxEventTypeTag< wxMouseEvent > wxEVT_LEFT_DOWN; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_LEFT_UP; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_MIDDLE_DOWN; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_MIDDLE_UP; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_RIGHT_DOWN; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_RIGHT_UP; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_MOTION; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_ENTER_WINDOW; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_LEAVE_WINDOW; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_LEFT_DCLICK; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_MIDDLE_DCLICK; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_RIGHT_DCLICK; >extern const wxEventTypeTag< wxFocusEvent > wxEVT_SET_FOCUS; >extern const wxEventTypeTag< wxFocusEvent > wxEVT_KILL_FOCUS; >extern const wxEventTypeTag< wxChildFocusEvent > wxEVT_CHILD_FOCUS; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_MOUSEWHEEL; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_AUX1_DOWN; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_AUX1_UP; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_AUX1_DCLICK; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_AUX2_DOWN; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_AUX2_UP; >extern const wxEventTypeTag< wxMouseEvent > wxEVT_AUX2_DCLICK; > > >extern const wxEventTypeTag< wxKeyEvent > wxEVT_CHAR; >extern const wxEventTypeTag< wxKeyEvent > wxEVT_CHAR_HOOK; >extern const wxEventTypeTag< wxNavigationKeyEvent > wxEVT_NAVIGATION_KEY; >extern const wxEventTypeTag< wxKeyEvent > wxEVT_KEY_DOWN; >extern const wxEventTypeTag< wxKeyEvent > wxEVT_KEY_UP; > > > > > >extern const wxEventTypeTag< wxKeyEvent > wxEVT_AFTER_CHAR; > > >extern const wxEventTypeTag< wxSetCursorEvent > wxEVT_SET_CURSOR; > > >extern const wxEventTypeTag< wxScrollEvent > wxEVT_SCROLL_TOP; >extern const wxEventTypeTag< wxScrollEvent > wxEVT_SCROLL_BOTTOM; >extern const wxEventTypeTag< wxScrollEvent > wxEVT_SCROLL_LINEUP; >extern const wxEventTypeTag< wxScrollEvent > wxEVT_SCROLL_LINEDOWN; >extern const wxEventTypeTag< wxScrollEvent > wxEVT_SCROLL_PAGEUP; >extern const wxEventTypeTag< wxScrollEvent > wxEVT_SCROLL_PAGEDOWN; >extern const wxEventTypeTag< wxScrollEvent > wxEVT_SCROLL_THUMBTRACK; >extern const wxEventTypeTag< wxScrollEvent > wxEVT_SCROLL_THUMBRELEASE; >extern const wxEventTypeTag< wxScrollEvent > wxEVT_SCROLL_CHANGED; ># 756 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >extern const wxEventTypeTag< wxSpinEvent > wxEVT_SPIN_UP; >extern const wxEventTypeTag< wxSpinEvent > wxEVT_SPIN_DOWN; >extern const wxEventTypeTag< wxSpinEvent > wxEVT_SPIN; > > > > >extern const wxEventTypeTag< wxScrollWinEvent > wxEVT_SCROLLWIN_TOP; >extern const wxEventTypeTag< wxScrollWinEvent > wxEVT_SCROLLWIN_BOTTOM; >extern const wxEventTypeTag< wxScrollWinEvent > wxEVT_SCROLLWIN_LINEUP; >extern const wxEventTypeTag< wxScrollWinEvent > wxEVT_SCROLLWIN_LINEDOWN; >extern const wxEventTypeTag< wxScrollWinEvent > wxEVT_SCROLLWIN_PAGEUP; >extern const wxEventTypeTag< wxScrollWinEvent > wxEVT_SCROLLWIN_PAGEDOWN; >extern const wxEventTypeTag< wxScrollWinEvent > wxEVT_SCROLLWIN_THUMBTRACK; >extern const wxEventTypeTag< wxScrollWinEvent > wxEVT_SCROLLWIN_THUMBRELEASE; > > >extern const wxEventTypeTag< wxSizeEvent > wxEVT_SIZE; >extern const wxEventTypeTag< wxMoveEvent > wxEVT_MOVE; >extern const wxEventTypeTag< wxCloseEvent > wxEVT_CLOSE_WINDOW; >extern const wxEventTypeTag< wxCloseEvent > wxEVT_END_SESSION; >extern const wxEventTypeTag< wxCloseEvent > wxEVT_QUERY_END_SESSION; >extern const wxEventTypeTag< wxActivateEvent > wxEVT_ACTIVATE_APP; >extern const wxEventTypeTag< wxActivateEvent > wxEVT_ACTIVATE; >extern const wxEventTypeTag< wxWindowCreateEvent > wxEVT_CREATE; >extern const wxEventTypeTag< wxWindowDestroyEvent > wxEVT_DESTROY; >extern const wxEventTypeTag< wxShowEvent > wxEVT_SHOW; >extern const wxEventTypeTag< wxIconizeEvent > wxEVT_ICONIZE; >extern const wxEventTypeTag< wxMaximizeEvent > wxEVT_MAXIMIZE; >extern const wxEventTypeTag< wxMouseCaptureChangedEvent > wxEVT_MOUSE_CAPTURE_CHANGED; >extern const wxEventTypeTag< wxMouseCaptureLostEvent > wxEVT_MOUSE_CAPTURE_LOST; >extern const wxEventTypeTag< wxPaintEvent > wxEVT_PAINT; >extern const wxEventTypeTag< wxEraseEvent > wxEVT_ERASE_BACKGROUND; >extern const wxEventTypeTag< wxNcPaintEvent > wxEVT_NC_PAINT; >extern const wxEventTypeTag< wxMenuEvent > wxEVT_MENU_OPEN; >extern const wxEventTypeTag< wxMenuEvent > wxEVT_MENU_CLOSE; >extern const wxEventTypeTag< wxMenuEvent > wxEVT_MENU_HIGHLIGHT; >extern const wxEventTypeTag< wxContextMenuEvent > wxEVT_CONTEXT_MENU; >extern const wxEventTypeTag< wxSysColourChangedEvent > wxEVT_SYS_COLOUR_CHANGED; >extern const wxEventTypeTag< wxDisplayChangedEvent > wxEVT_DISPLAY_CHANGED; >extern const wxEventTypeTag< wxQueryNewPaletteEvent > wxEVT_QUERY_NEW_PALETTE; >extern const wxEventTypeTag< wxPaletteChangedEvent > wxEVT_PALETTE_CHANGED; >extern const wxEventTypeTag< wxJoystickEvent > wxEVT_JOY_BUTTON_DOWN; >extern const wxEventTypeTag< wxJoystickEvent > wxEVT_JOY_BUTTON_UP; >extern const wxEventTypeTag< wxJoystickEvent > wxEVT_JOY_MOVE; >extern const wxEventTypeTag< wxJoystickEvent > wxEVT_JOY_ZMOVE; >extern const wxEventTypeTag< wxDropFilesEvent > wxEVT_DROP_FILES; >extern const wxEventTypeTag< wxInitDialogEvent > wxEVT_INIT_DIALOG; >extern const wxEventTypeTag< wxIdleEvent > wxEVT_IDLE; >extern const wxEventTypeTag< wxUpdateUIEvent > wxEVT_UPDATE_UI; >extern const wxEventTypeTag< wxSizeEvent > wxEVT_SIZING; >extern const wxEventTypeTag< wxMoveEvent > wxEVT_MOVING; >extern const wxEventTypeTag< wxMoveEvent > wxEVT_MOVE_START; >extern const wxEventTypeTag< wxMoveEvent > wxEVT_MOVE_END; >extern const wxEventTypeTag< wxActivateEvent > wxEVT_HIBERNATE; > > >extern const wxEventTypeTag< wxClipboardTextEvent > wxEVT_TEXT_COPY; >extern const wxEventTypeTag< wxClipboardTextEvent > wxEVT_TEXT_CUT; >extern const wxEventTypeTag< wxClipboardTextEvent > wxEVT_TEXT_PASTE; > > > >extern const wxEventTypeTag< wxCommandEvent > wxEVT_COMMAND_LEFT_CLICK; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_COMMAND_LEFT_DCLICK; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_COMMAND_RIGHT_CLICK; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_COMMAND_RIGHT_DCLICK; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_COMMAND_SET_FOCUS; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_COMMAND_KILL_FOCUS; >extern const wxEventTypeTag< wxCommandEvent > wxEVT_COMMAND_ENTER; > > >extern const wxEventTypeTag< wxHelpEvent > wxEVT_HELP; >extern const wxEventTypeTag< wxHelpEvent > wxEVT_DETAILED_HELP; ># 842 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >extern const wxEventTypeTag< wxCommandEvent > wxEVT_TEXT; ># 851 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >enum wxEventPropagation >{ > > wxEVENT_PROPAGATE_NONE = 0, > > > wxEVENT_PROPAGATE_MAX = 2147483647 >}; > > > >enum wxEventCategory >{ > > > > > > wxEVT_CATEGORY_UI = 1, > > > > > > wxEVT_CATEGORY_USER_INPUT = 2, > > > wxEVT_CATEGORY_SOCKET = 4, > > > wxEVT_CATEGORY_TIMER = 8, > > > > > wxEVT_CATEGORY_THREAD = 16, > > > > > > wxEVT_CATEGORY_UNKNOWN = 32, > > > > > wxEVT_CATEGORY_CLIPBOARD = 64, > > > > > > > wxEVT_CATEGORY_NATIVE_EVENTS = wxEVT_CATEGORY_UI|wxEVT_CATEGORY_USER_INPUT, > > > wxEVT_CATEGORY_ALL = > wxEVT_CATEGORY_UI|wxEVT_CATEGORY_USER_INPUT|wxEVT_CATEGORY_SOCKET| > wxEVT_CATEGORY_TIMER|wxEVT_CATEGORY_THREAD|wxEVT_CATEGORY_UNKNOWN| > wxEVT_CATEGORY_CLIPBOARD >}; ># 925 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxEvent : public wxObject >{ >public: > wxEvent(int winid = 0, wxEventType commandType = wxEVT_NULL ); > > void SetEventType(wxEventType typ) { m_eventType = typ; } > wxEventType GetEventType() const { return m_eventType; } > > wxObject *GetEventObject() const { return m_eventObject; } > void SetEventObject(wxObject *obj) { m_eventObject = obj; } > > long GetTimestamp() const { return m_timeStamp; } > void SetTimestamp(long ts = 0) { m_timeStamp = ts; } > > int GetId() const { return m_id; } > void SetId(int Id) { m_id = Id; } > > > > wxObject *GetEventUserData() const { return m_callbackUserData; } > > > > > > void Skip(bool skip = true) { m_skipped = skip; } > bool GetSkipped() const { return m_skipped; } > > > > > virtual wxEvent *Clone() const = 0; > > > > > virtual wxEventCategory GetEventCategory() const > { return wxEVT_CATEGORY_UI; } > > > > bool IsCommandEvent() const { return m_isCommandEvent; } > > > bool ShouldPropagate() const > { return m_propagationLevel != wxEVENT_PROPAGATE_NONE; } > > > > int StopPropagation() > { > int propagationLevel = m_propagationLevel; > m_propagationLevel = wxEVENT_PROPAGATE_NONE; > return propagationLevel; > } > > > > void ResumePropagation(int propagationLevel) > { > m_propagationLevel = propagationLevel; > } > > > > wxEvtHandler* GetPropagatedFrom() const { return m_propagatedFrom; } > > > > > bool WasProcessed() > { > if ( m_wasProcessed ) > return true; > > m_wasProcessed = true; > > return false; > } > > > > void SetWillBeProcessedAgain() > { > m_willBeProcessedAgain = true; > } > > bool WillBeProcessedAgain() > { > if ( m_willBeProcessedAgain ) > { > m_willBeProcessedAgain = false; > return true; > } > > return false; > } > > > > > bool ShouldProcessOnlyIn(wxEvtHandler *h) const > { > return h == m_handlerToProcessOnlyIn; > } > > > > > > > > void DidntHonourProcessOnlyIn() > { > m_handlerToProcessOnlyIn = __null; > } > >protected: > wxObject* m_eventObject; > wxEventType m_eventType; > long m_timeStamp; > int m_id; > >public: > > wxObject* m_callbackUserData; > >private: > > wxEvtHandler *m_handlerToProcessOnlyIn; > >protected: > > > int m_propagationLevel; > > > > wxEvtHandler* m_propagatedFrom; > > bool m_skipped; > bool m_isCommandEvent; > > > > > > bool m_wasProcessed; > > > > > bool m_willBeProcessedAgain; > >protected: > wxEvent(const wxEvent&); > wxEvent& operator=(const wxEvent&); > >private: > > friend class wxPropagateOnce; > > > friend class wxEventProcessInHandlerOnly; > > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; >}; > > > > >class wxPropagationDisabler >{ >public: > wxPropagationDisabler(wxEvent& event) : m_event(event) > { > m_propagationLevelOld = m_event.StopPropagation(); > } > > ~wxPropagationDisabler() > { > m_event.ResumePropagation(m_propagationLevelOld); > } > >private: > wxEvent& m_event; > int m_propagationLevelOld; > > private: wxPropagationDisabler(const wxPropagationDisabler&); wxPropagationDisabler& operator=(const wxPropagationDisabler&); >}; > > > > > >class wxPropagateOnce >{ >public: > > > > wxPropagateOnce(wxEvent& event, wxEvtHandler* handler = __null) > : m_event(event), > m_propagatedFromOld(event.m_propagatedFrom) > { > do { if ( wxTheAssertHandler && !(m_event.m_propagationLevel > 0) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" ># 1131 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > , > 1132 ># 1131 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > , __FUNCTION__, "m_event.m_propagationLevel > 0", L"shouldn't be used unless ShouldPropagate()!"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > ; > > m_event.m_propagationLevel--; > m_event.m_propagatedFrom = handler; > } > > ~wxPropagateOnce() > { > m_event.m_propagatedFrom = m_propagatedFromOld; > m_event.m_propagationLevel++; > } > >private: > wxEvent& m_event; > wxEvtHandler* const m_propagatedFromOld; > > private: wxPropagateOnce(const wxPropagateOnce&); wxPropagateOnce& operator=(const wxPropagateOnce&); >}; > > > >class wxEventProcessInHandlerOnly >{ >public: > wxEventProcessInHandlerOnly(wxEvent& event, wxEvtHandler *handler) > : m_event(event), > m_handlerToProcessOnlyInOld(event.m_handlerToProcessOnlyIn) > { > m_event.m_handlerToProcessOnlyIn = handler; > } > > ~wxEventProcessInHandlerOnly() > { > m_event.m_handlerToProcessOnlyIn = m_handlerToProcessOnlyInOld; > } > >private: > wxEvent& m_event; > wxEvtHandler * const m_handlerToProcessOnlyInOld; > > private: wxEventProcessInHandlerOnly(const wxEventProcessInHandlerOnly&); wxEventProcessInHandlerOnly& operator=(const wxEventProcessInHandlerOnly&); >}; > > >class wxEventBasicPayloadMixin >{ >public: > wxEventBasicPayloadMixin() > : m_commandInt(0), > m_extraLong(0) > { > } > > void SetString(const wxString& s) { m_cmdString = s; } > const wxString& GetString() const { return m_cmdString; } > > void SetInt(int i) { m_commandInt = i; } > int GetInt() const { return m_commandInt; } > > void SetExtraLong(long extraLong) { m_extraLong = extraLong; } > long GetExtraLong() const { return m_extraLong; } > >protected: > > > wxString m_cmdString; > int m_commandInt; > long m_extraLong; > > private: wxEventBasicPayloadMixin& operator=(const wxEventBasicPayloadMixin&); >}; > >class wxEventAnyPayloadMixin : public wxEventBasicPayloadMixin >{ >public: > wxEventAnyPayloadMixin() : wxEventBasicPayloadMixin() {} > > > template<typename T> > void SetPayload(const T& payload) > { > m_payload = payload; > } > > template<typename T> > T GetPayload() const > { > return m_payload.As<T>(); > } > >protected: > wxAny m_payload; > > > private: wxEventBasicPayloadMixin& operator=(const wxEventBasicPayloadMixin&); >}; ># 1239 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >enum wxIdleMode >{ > > wxIDLE_PROCESS_ALL, > > > > wxIDLE_PROCESS_SPECIFIED >}; > >class wxIdleEvent : public wxEvent >{ >public: > wxIdleEvent() > : wxEvent(0, wxEVT_IDLE), > m_requestMore(false) > { } > wxIdleEvent(const wxIdleEvent& event) > : wxEvent(event), > m_requestMore(event.m_requestMore) > { } > > void RequestMore(bool needMore = true) { m_requestMore = needMore; } > bool MoreRequested() const { return m_requestMore; } > > virtual wxEvent *Clone() const { return new wxIdleEvent(*this); } > > > > > static void SetMode(wxIdleMode mode) { sm_idleMode = mode; } > > > static wxIdleMode GetMode() { return sm_idleMode; } > >protected: > bool m_requestMore; > static wxIdleMode sm_idleMode; > >private: > private: wxIdleEvent& operator=(const wxIdleEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > >class wxThreadEvent : public wxEvent, > public wxEventAnyPayloadMixin >{ >public: > wxThreadEvent(wxEventType eventType = wxEVT_THREAD, int id = wxID_ANY) > : wxEvent(id, eventType) > { } > > wxThreadEvent(const wxThreadEvent& event) > : wxEvent(event), > wxEventAnyPayloadMixin(event) > { > > > SetString(GetString().Clone()); > } > > virtual wxEvent *Clone() const > { > return new wxThreadEvent(*this); > } > > > > virtual wxEventCategory GetEventCategory() const > { return wxEVT_CATEGORY_THREAD; } > >private: > private: wxThreadEvent& operator=(const wxThreadEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 1326 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxAsyncMethodCallEvent : public wxEvent >{ >public: > wxAsyncMethodCallEvent(wxObject* object) > : wxEvent(wxID_ANY, wxEVT_ASYNC_METHOD_CALL) > { > SetEventObject(object); > } > > wxAsyncMethodCallEvent(const wxAsyncMethodCallEvent& other) > : wxEvent(other) > { > } > > virtual void Execute() = 0; >}; > > >template <typename T> >class wxAsyncMethodCallEvent0 : public wxAsyncMethodCallEvent >{ >public: > typedef T ObjectType; > typedef void (ObjectType::*MethodType)(); > > wxAsyncMethodCallEvent0(ObjectType* object, > MethodType method) > : wxAsyncMethodCallEvent(object), > m_object(object), > m_method(method) > { > } > > wxAsyncMethodCallEvent0(const wxAsyncMethodCallEvent0& other) > : wxAsyncMethodCallEvent(other), > m_object(other.m_object), > m_method(other.m_method) > { > } > > virtual wxEvent *Clone() const > { > return new wxAsyncMethodCallEvent0(*this); > } > > virtual void Execute() > { > (m_object->*m_method)(); > } > >private: > ObjectType* const m_object; > const MethodType m_method; >}; > > >template <typename T, typename T1> >class wxAsyncMethodCallEvent1 : public wxAsyncMethodCallEvent >{ >public: > typedef T ObjectType; > typedef void (ObjectType::*MethodType)(T1 x1); > typedef typename wxRemoveRef<T1>::type ParamType1; > > wxAsyncMethodCallEvent1(ObjectType* object, > MethodType method, > const ParamType1& x1) > : wxAsyncMethodCallEvent(object), > m_object(object), > m_method(method), > m_param1(x1) > { > } > > wxAsyncMethodCallEvent1(const wxAsyncMethodCallEvent1& other) > : wxAsyncMethodCallEvent(other), > m_object(other.m_object), > m_method(other.m_method), > m_param1(other.m_param1) > { > } > > virtual wxEvent *Clone() const > { > return new wxAsyncMethodCallEvent1(*this); > } > > virtual void Execute() > { > (m_object->*m_method)(m_param1); > } > >private: > ObjectType* const m_object; > const MethodType m_method; > const ParamType1 m_param1; >}; > > >template <typename T, typename T1, typename T2> >class wxAsyncMethodCallEvent2 : public wxAsyncMethodCallEvent >{ >public: > typedef T ObjectType; > typedef void (ObjectType::*MethodType)(T1 x1, T2 x2); > typedef typename wxRemoveRef<T1>::type ParamType1; > typedef typename wxRemoveRef<T2>::type ParamType2; > > wxAsyncMethodCallEvent2(ObjectType* object, > MethodType method, > const ParamType1& x1, > const ParamType2& x2) > : wxAsyncMethodCallEvent(object), > m_object(object), > m_method(method), > m_param1(x1), > m_param2(x2) > { > } > > wxAsyncMethodCallEvent2(const wxAsyncMethodCallEvent2& other) > : wxAsyncMethodCallEvent(other), > m_object(other.m_object), > m_method(other.m_method), > m_param1(other.m_param1), > m_param2(other.m_param2) > { > } > > virtual wxEvent *Clone() const > { > return new wxAsyncMethodCallEvent2(*this); > } > > virtual void Execute() > { > (m_object->*m_method)(m_param1, m_param2); > } > >private: > ObjectType* const m_object; > const MethodType m_method; > const ParamType1 m_param1; > const ParamType2 m_param2; >}; > > >template <typename T> >class wxAsyncMethodCallEventFunctor : public wxAsyncMethodCallEvent >{ >public: > typedef T FunctorType; > > wxAsyncMethodCallEventFunctor(wxObject *object, const FunctorType& fn) > : wxAsyncMethodCallEvent(object), > m_fn(fn) > { > } > > wxAsyncMethodCallEventFunctor(const wxAsyncMethodCallEventFunctor& other) > : wxAsyncMethodCallEvent(other), > m_fn(other.m_fn) > { > } > > virtual wxEvent *Clone() const > { > return new wxAsyncMethodCallEventFunctor(*this); > } > > virtual void Execute() > { > m_fn(); > } > >private: > FunctorType m_fn; >}; ># 1530 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxCommandEvent : public wxEvent, > public wxEventBasicPayloadMixin >{ >public: > wxCommandEvent(wxEventType commandType = wxEVT_NULL, int winid = 0); > > wxCommandEvent(const wxCommandEvent& event) > : wxEvent(event), > wxEventBasicPayloadMixin(event), > m_clientData(event.m_clientData), > m_clientObject(event.m_clientObject) > { > > > if ( m_cmdString.empty() ) > m_cmdString = event.GetString(); > } > > > void SetClientData(void* clientData) { m_clientData = clientData; } > void *GetClientData() const { return m_clientData; } > > > void SetClientObject(wxClientData* clientObject) { m_clientObject = clientObject; } > wxClientData *GetClientObject() const { return m_clientObject; } > > > > wxString GetString() const; > > > int GetSelection() const { return m_commandInt; } > > > bool IsChecked() const { return m_commandInt != 0; } > > > bool IsSelection() const { return (m_extraLong != 0); } > > virtual wxEvent *Clone() const { return new wxCommandEvent(*this); } > virtual wxEventCategory GetEventCategory() const { return wxEVT_CATEGORY_USER_INPUT; } > >protected: > void* m_clientData; > wxClientData* m_clientObject; > >private: > private: wxCommandEvent& operator=(const wxCommandEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > >class wxNotifyEvent : public wxCommandEvent >{ >public: > wxNotifyEvent(wxEventType commandType = wxEVT_NULL, int winid = 0) > : wxCommandEvent(commandType, winid) > { m_bAllow = true; } > > wxNotifyEvent(const wxNotifyEvent& event) > : wxCommandEvent(event) > { m_bAllow = event.m_bAllow; } > > > void Veto() { m_bAllow = false; } > > > void Allow() { m_bAllow = true; } > > > bool IsAllowed() const { return m_bAllow; } > > virtual wxEvent *Clone() const { return new wxNotifyEvent(*this); } > >private: > bool m_bAllow; > >private: > private: wxNotifyEvent& operator=(const wxNotifyEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 1626 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxScrollEvent : public wxCommandEvent >{ >public: > wxScrollEvent(wxEventType commandType = wxEVT_NULL, > int winid = 0, int pos = 0, int orient = 0); > > int GetOrientation() const { return (int) m_extraLong; } > int GetPosition() const { return m_commandInt; } > void SetOrientation(int orient) { m_extraLong = (long) orient; } > void SetPosition(int pos) { m_commandInt = pos; } > > virtual wxEvent *Clone() const { return new wxScrollEvent(*this); } > >private: > private: wxScrollEvent& operator=(const wxScrollEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 1656 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxScrollWinEvent : public wxEvent >{ >public: > wxScrollWinEvent(wxEventType commandType = wxEVT_NULL, > int pos = 0, int orient = 0); > wxScrollWinEvent(const wxScrollWinEvent& event) : wxEvent(event) > { m_commandInt = event.m_commandInt; > m_extraLong = event.m_extraLong; } > > int GetOrientation() const { return (int) m_extraLong; } > int GetPosition() const { return m_commandInt; } > void SetOrientation(int orient) { m_extraLong = (long) orient; } > void SetPosition(int pos) { m_commandInt = pos; } > > virtual wxEvent *Clone() const { return new wxScrollWinEvent(*this); } > >protected: > int m_commandInt; > long m_extraLong; > >private: > private: wxScrollWinEvent& operator=(const wxScrollWinEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 1699 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >enum wxMouseWheelAxis >{ > wxMOUSE_WHEEL_VERTICAL, > wxMOUSE_WHEEL_HORIZONTAL >}; > >class wxMouseEvent : public wxEvent, > public wxMouseState >{ >public: > wxMouseEvent(wxEventType mouseType = wxEVT_NULL); > wxMouseEvent(const wxMouseEvent& event) > : wxEvent(event), > wxMouseState(event) > { > Assign(event); > } > > > bool IsButton() const { return Button(wxMOUSE_BTN_ANY); } > > > bool ButtonDown(int but = wxMOUSE_BTN_ANY) const; > > > bool ButtonDClick(int but = wxMOUSE_BTN_ANY) const; > > > bool ButtonUp(int but = wxMOUSE_BTN_ANY) const; > > > bool Button(int but) const; > > > int GetButton() const; > > > bool LeftDown() const { return (m_eventType == wxEVT_LEFT_DOWN); } > bool MiddleDown() const { return (m_eventType == wxEVT_MIDDLE_DOWN); } > bool RightDown() const { return (m_eventType == wxEVT_RIGHT_DOWN); } > bool Aux1Down() const { return (m_eventType == wxEVT_AUX1_DOWN); } > bool Aux2Down() const { return (m_eventType == wxEVT_AUX2_DOWN); } > > bool LeftUp() const { return (m_eventType == wxEVT_LEFT_UP); } > bool MiddleUp() const { return (m_eventType == wxEVT_MIDDLE_UP); } > bool RightUp() const { return (m_eventType == wxEVT_RIGHT_UP); } > bool Aux1Up() const { return (m_eventType == wxEVT_AUX1_UP); } > bool Aux2Up() const { return (m_eventType == wxEVT_AUX2_UP); } > > bool LeftDClick() const { return (m_eventType == wxEVT_LEFT_DCLICK); } > bool MiddleDClick() const { return (m_eventType == wxEVT_MIDDLE_DCLICK); } > bool RightDClick() const { return (m_eventType == wxEVT_RIGHT_DCLICK); } > bool Aux1DClick() const { return (m_eventType == wxEVT_AUX1_DCLICK); } > bool Aux2DClick() const { return (m_eventType == wxEVT_AUX2_DCLICK); } > > > bool Dragging() const > { > return (m_eventType == wxEVT_MOTION) && ButtonIsDown(wxMOUSE_BTN_ANY); > } > > > bool Moving() const > { > return (m_eventType == wxEVT_MOTION) && !ButtonIsDown(wxMOUSE_BTN_ANY); > } > > > bool Entering() const { return (m_eventType == wxEVT_ENTER_WINDOW); } > > > bool Leaving() const { return (m_eventType == wxEVT_LEAVE_WINDOW); } > > > int GetClickCount() const { return m_clickCount; } > > > wxPoint GetLogicalPosition(const wxDC& dc) const; ># 1785 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > int GetWheelRotation() const { return m_wheelRotation; } > > > > > int GetWheelDelta() const { return m_wheelDelta; } > > > > > wxMouseWheelAxis GetWheelAxis() const { return m_wheelAxis; } > > > > int GetLinesPerAction() const { return m_linesPerAction; } > > > > int GetColumnsPerAction() const { return m_columnsPerAction; } > > > bool IsPageScroll() const { return ((unsigned int)m_linesPerAction == (2147483647 * 2U + 1U)); } > > virtual wxEvent *Clone() const { return new wxMouseEvent(*this); } > virtual wxEventCategory GetEventCategory() const { return wxEVT_CATEGORY_USER_INPUT; } > > wxMouseEvent& operator=(const wxMouseEvent& event) > { > if (&event != this) > Assign(event); > return *this; > } > >public: > int m_clickCount; > > wxMouseWheelAxis m_wheelAxis; > int m_wheelRotation; > int m_wheelDelta; > int m_linesPerAction; > int m_columnsPerAction; > >protected: > void Assign(const wxMouseEvent& evt); > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > > >class wxSetCursorEvent : public wxEvent >{ >public: > wxSetCursorEvent(wxCoord x = 0, wxCoord y = 0) > : wxEvent(0, wxEVT_SET_CURSOR), > m_x(x), m_y(y), m_cursor() > { } > > wxSetCursorEvent(const wxSetCursorEvent& event) > : wxEvent(event), > m_x(event.m_x), > m_y(event.m_y), > m_cursor(event.m_cursor) > { } > > wxCoord GetX() const { return m_x; } > wxCoord GetY() const { return m_y; } > > void SetCursor(const wxCursor& cursor) { m_cursor = cursor; } > const wxCursor& GetCursor() const { return m_cursor; } > bool HasCursor() const { return m_cursor.IsOk(); } > > virtual wxEvent *Clone() const { return new wxSetCursorEvent(*this); } > >private: > wxCoord m_x, m_y; > wxCursor m_cursor; > >private: > private: wxSetCursorEvent& operator=(const wxSetCursorEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 1886 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >enum wxKeyCategoryFlags >{ > > WXK_CATEGORY_ARROW = 1, > > > WXK_CATEGORY_PAGING = 2, > > > WXK_CATEGORY_JUMP = 4, > > > WXK_CATEGORY_TAB = 8, > > > WXK_CATEGORY_CUT = 16, > > > WXK_CATEGORY_NAVIGATION = WXK_CATEGORY_ARROW | > WXK_CATEGORY_PAGING | > WXK_CATEGORY_JUMP >}; > >class wxKeyEvent : public wxEvent, > public wxKeyboardState >{ >public: > wxKeyEvent(wxEventType keyType = wxEVT_NULL); > > > > > wxKeyEvent(const wxKeyEvent& evt); > wxKeyEvent(wxEventType eventType, const wxKeyEvent& evt); > > > int GetKeyCode() const { return (int)m_keyCode; } > > > bool IsKeyInCategory(int category) const; > > > > wxChar GetUnicodeKey() const { return m_uniChar; } > > > > wxUint32 GetRawKeyCode() const { return m_rawCode; } > > > wxUint32 GetRawKeyFlags() const { return m_rawFlags; } > > > void GetPosition(wxCoord *xpos, wxCoord *ypos) const > { > if (xpos) > *xpos = GetX(); > if (ypos) > *ypos = GetY(); > } > > > void GetPosition(long *xpos, long *ypos) const > { > if (xpos) > *xpos = GetX(); > if (ypos) > *ypos = GetY(); > } > > wxPoint GetPosition() const > { return wxPoint(GetX(), GetY()); } > > > wxCoord GetX() const; > > > wxCoord GetY() const; > > > > > void DoAllowNextEvent() { m_allowNext = true; } > > > bool IsNextEventAllowed() const { return m_allowNext; } > > > virtual wxEvent *Clone() const { return new wxKeyEvent(*this); } > virtual wxEventCategory GetEventCategory() const { return wxEVT_CATEGORY_USER_INPUT; } > > > > wxKeyEvent& operator=(const wxKeyEvent& evt) > { > if ( &evt != this ) > { > wxEvent::operator=(evt); > > > > *static_cast<wxKeyboardState *>(this) = evt; > > DoAssignMembers(evt); > } > return *this; > } > >public: > > > wxCoord m_x, m_y; > > long m_keyCode; > > > > > wxChar m_uniChar; > > > > > wxUint32 m_rawCode; > wxUint32 m_rawFlags; > >private: > > > void InitPropagation() > { > if ( m_eventType == wxEVT_CHAR_HOOK ) > m_propagationLevel = wxEVENT_PROPAGATE_MAX; > > m_allowNext = false; > } > > > > void DoAssignMembers(const wxKeyEvent& evt) > { > m_x = evt.m_x; > m_y = evt.m_y; > m_hasPosition = evt.m_hasPosition; > > m_keyCode = evt.m_keyCode; > > m_rawCode = evt.m_rawCode; > m_rawFlags = evt.m_rawFlags; > > m_uniChar = evt.m_uniChar; > > } > > > > void InitPositionIfNecessary() const; > > > > > bool m_allowNext; > > > > bool m_hasPosition; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > >class wxSizeEvent : public wxEvent >{ >public: > wxSizeEvent() : wxEvent(0, wxEVT_SIZE) > { } > wxSizeEvent(const wxSize& sz, int winid = 0) > : wxEvent(winid, wxEVT_SIZE), > m_size(sz) > { } > wxSizeEvent(const wxSizeEvent& event) > : wxEvent(event), > m_size(event.m_size), m_rect(event.m_rect) > { } > wxSizeEvent(const wxRect& rect, int id = 0) > : m_size(rect.GetSize()), m_rect(rect) > { m_eventType = wxEVT_SIZING; m_id = id; } > > wxSize GetSize() const { return m_size; } > void SetSize(wxSize size) { m_size = size; } > wxRect GetRect() const { return m_rect; } > void SetRect(const wxRect& rect) { m_rect = rect; } > > virtual wxEvent *Clone() const { return new wxSizeEvent(*this); } > >public: > > wxSize m_size; > wxRect m_rect; > >private: > private: wxSizeEvent& operator=(const wxSizeEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > > >class wxMoveEvent : public wxEvent >{ >public: > wxMoveEvent() > : wxEvent(0, wxEVT_MOVE) > { } > wxMoveEvent(const wxPoint& pos, int winid = 0) > : wxEvent(winid, wxEVT_MOVE), > m_pos(pos) > { } > wxMoveEvent(const wxMoveEvent& event) > : wxEvent(event), > m_pos(event.m_pos) > { } > wxMoveEvent(const wxRect& rect, int id = 0) > : m_pos(rect.GetPosition()), m_rect(rect) > { m_eventType = wxEVT_MOVING; m_id = id; } > > wxPoint GetPosition() const { return m_pos; } > void SetPosition(const wxPoint& pos) { m_pos = pos; } > wxRect GetRect() const { return m_rect; } > void SetRect(const wxRect& rect) { m_rect = rect; } > > virtual wxEvent *Clone() const { return new wxMoveEvent(*this); } > >protected: > wxPoint m_pos; > wxRect m_rect; > >private: > private: wxMoveEvent& operator=(const wxMoveEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 2146 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxPaintEvent : public wxEvent >{ >public: > wxPaintEvent(int Id = 0) > : wxEvent(Id, wxEVT_PAINT) > { > > > > > } ># 2173 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > virtual wxEvent *Clone() const { return new wxPaintEvent(*this); } > >private: > private: wxPaintEvent& operator=(const wxPaintEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > >class wxNcPaintEvent : public wxEvent >{ >public: > wxNcPaintEvent(int winid = 0) > : wxEvent(winid, wxEVT_NC_PAINT) > { } > > virtual wxEvent *Clone() const { return new wxNcPaintEvent(*this); } > >private: > private: wxNcPaintEvent& operator=(const wxNcPaintEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > >class wxEraseEvent : public wxEvent >{ >public: > wxEraseEvent(int Id = 0, wxDC *dc = __null) > : wxEvent(Id, wxEVT_ERASE_BACKGROUND), > m_dc(dc) > { } > > wxEraseEvent(const wxEraseEvent& event) > : wxEvent(event), > m_dc(event.m_dc) > { } > > wxDC *GetDC() const { return m_dc; } > > virtual wxEvent *Clone() const { return new wxEraseEvent(*this); } > >protected: > wxDC *m_dc; > >private: > private: wxEraseEvent& operator=(const wxEraseEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > > >class wxFocusEvent : public wxEvent >{ >public: > wxFocusEvent(wxEventType type = wxEVT_NULL, int winid = 0) > : wxEvent(winid, type) > { m_win = __null; } > > wxFocusEvent(const wxFocusEvent& event) > : wxEvent(event) > { m_win = event.m_win; } > > > > > wxWindow *GetWindow() const { return m_win; } > void SetWindow(wxWindow *win) { m_win = win; } > > virtual wxEvent *Clone() const { return new wxFocusEvent(*this); } > >private: > wxWindow *m_win; > >private: > private: wxFocusEvent& operator=(const wxFocusEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > >class wxChildFocusEvent : public wxCommandEvent >{ >public: > wxChildFocusEvent(wxWindow *win = __null); > > wxWindow *GetWindow() const { return (wxWindow *)GetEventObject(); } > > virtual wxEvent *Clone() const { return new wxChildFocusEvent(*this); } > >private: > private: wxChildFocusEvent& operator=(const wxChildFocusEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 2275 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxActivateEvent : public wxEvent >{ >public: > > > enum Reason > { > Reason_Mouse, > Reason_Unknown > }; > > wxActivateEvent(wxEventType type = wxEVT_NULL, bool active = true, > int Id = 0, Reason activationReason = Reason_Unknown) > : wxEvent(Id, type), > m_activationReason(activationReason) > { > m_active = active; > } > wxActivateEvent(const wxActivateEvent& event) > : wxEvent(event) > { > m_active = event.m_active; > m_activationReason = event.m_activationReason; > } > > bool GetActive() const { return m_active; } > Reason GetActivationReason() const { return m_activationReason;} > > virtual wxEvent *Clone() const { return new wxActivateEvent(*this); } > >private: > bool m_active; > Reason m_activationReason; > >private: > private: wxActivateEvent& operator=(const wxActivateEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > >class wxInitDialogEvent : public wxEvent >{ >public: > wxInitDialogEvent(int Id = 0) > : wxEvent(Id, wxEVT_INIT_DIALOG) > { } > > virtual wxEvent *Clone() const { return new wxInitDialogEvent(*this); } > >private: > private: wxInitDialogEvent& operator=(const wxInitDialogEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 2338 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxMenuEvent : public wxEvent >{ >public: > wxMenuEvent(wxEventType type = wxEVT_NULL, int winid = 0, wxMenu* menu = __null) > : wxEvent(winid, type) > { m_menuId = winid; m_menu = menu; } > wxMenuEvent(const wxMenuEvent& event) > : wxEvent(event) > { m_menuId = event.m_menuId; m_menu = event.m_menu; } > > > int GetMenuId() const { return m_menuId; } > > > bool IsPopup() const { return m_menuId == wxID_ANY; } > > > wxMenu* GetMenu() const { return m_menu; } > > virtual wxEvent *Clone() const { return new wxMenuEvent(*this); } > >private: > int m_menuId; > wxMenu* m_menu; > > private: wxMenuEvent& operator=(const wxMenuEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 2373 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxCloseEvent : public wxEvent >{ >public: > wxCloseEvent(wxEventType type = wxEVT_NULL, int winid = 0) > : wxEvent(winid, type), > m_loggingOff(true), > m_veto(false), > m_canVeto(true) {} > > wxCloseEvent(const wxCloseEvent& event) > : wxEvent(event), > m_loggingOff(event.m_loggingOff), > m_veto(event.m_veto), > m_canVeto(event.m_canVeto) {} > > void SetLoggingOff(bool logOff) { m_loggingOff = logOff; } > bool GetLoggingOff() const > { > > > do { if ( wxTheAssertHandler && !(m_eventType != wxEVT_CLOSE_WINDOW) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" ># 2393 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > , > 2394 ># 2393 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > , __FUNCTION__, "m_eventType != wxEVT_CLOSE_WINDOW", L"this flag is for end session events only"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > ; > > return m_loggingOff; > } > > void Veto(bool veto = true) > { > > if ( m_canVeto ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" ># 2402 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > , > 2403 ># 2402 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > , __FUNCTION__, "m_canVeto", L"call to Veto() ignored (can't veto this event)"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct > ; > > m_veto = veto; > } > void SetCanVeto(bool canVeto) { m_canVeto = canVeto; } > bool CanVeto() const { return m_canVeto; } > bool GetVeto() const { return m_canVeto && m_veto; } > > virtual wxEvent *Clone() const { return new wxCloseEvent(*this); } > >protected: > bool m_loggingOff, > m_veto, > m_canVeto; > >private: > private: wxCloseEvent& operator=(const wxCloseEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > >class wxShowEvent : public wxEvent >{ >public: > wxShowEvent(int winid = 0, bool show = false) > : wxEvent(winid, wxEVT_SHOW) > { m_show = show; } > wxShowEvent(const wxShowEvent& event) > : wxEvent(event) > { m_show = event.m_show; } > > void SetShow(bool show) { m_show = show; } > > > bool IsShown() const { return m_show; } > > > > > > virtual wxEvent *Clone() const { return new wxShowEvent(*this); } > >protected: > bool m_show; > >private: > private: wxShowEvent& operator=(const wxShowEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > >class wxIconizeEvent : public wxEvent >{ >public: > wxIconizeEvent(int winid = 0, bool iconized = true) > : wxEvent(winid, wxEVT_ICONIZE) > { m_iconized = iconized; } > wxIconizeEvent(const wxIconizeEvent& event) > : wxEvent(event) > { m_iconized = event.m_iconized; } > > > > > > bool IsIconized() const { return m_iconized; } > > virtual wxEvent *Clone() const { return new wxIconizeEvent(*this); } > >protected: > bool m_iconized; > >private: > private: wxIconizeEvent& operator=(const wxIconizeEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > >class wxMaximizeEvent : public wxEvent >{ >public: > wxMaximizeEvent(int winid = 0) > : wxEvent(winid, wxEVT_MAXIMIZE) > { } > > virtual wxEvent *Clone() const { return new wxMaximizeEvent(*this); } > >private: > private: wxMaximizeEvent& operator=(const wxMaximizeEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 2508 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >enum >{ > wxJOYSTICK1, > wxJOYSTICK2 >}; > > >enum >{ > wxJOY_BUTTON_ANY = -1, > wxJOY_BUTTON1 = 1, > wxJOY_BUTTON2 = 2, > wxJOY_BUTTON3 = 4, > wxJOY_BUTTON4 = 8 >}; > >class wxJoystickEvent : public wxEvent >{ >protected: > wxPoint m_pos; > int m_zPosition; > int m_buttonChange; > int m_buttonState; > int m_joyStick; > >public: > wxJoystickEvent(wxEventType type = wxEVT_NULL, > int state = 0, > int joystick = wxJOYSTICK1, > int change = 0) > : wxEvent(0, type), > m_pos(), > m_zPosition(0), > m_buttonChange(change), > m_buttonState(state), > m_joyStick(joystick) > { > } > wxJoystickEvent(const wxJoystickEvent& event) > : wxEvent(event), > m_pos(event.m_pos), > m_zPosition(event.m_zPosition), > m_buttonChange(event.m_buttonChange), > m_buttonState(event.m_buttonState), > m_joyStick(event.m_joyStick) > { } > > wxPoint GetPosition() const { return m_pos; } > int GetZPosition() const { return m_zPosition; } > int GetButtonState() const { return m_buttonState; } > int GetButtonChange() const { return m_buttonChange; } > int GetJoystick() const { return m_joyStick; } > > void SetJoystick(int stick) { m_joyStick = stick; } > void SetButtonState(int state) { m_buttonState = state; } > void SetButtonChange(int change) { m_buttonChange = change; } > void SetPosition(const wxPoint& pos) { m_pos = pos; } > void SetZPosition(int zPos) { m_zPosition = zPos; } > > > bool IsButton() const { return ((GetEventType() == wxEVT_JOY_BUTTON_DOWN) || > (GetEventType() == wxEVT_JOY_BUTTON_UP)); } > > > bool IsMove() const { return (GetEventType() == wxEVT_JOY_MOVE); } > > > bool IsZMove() const { return (GetEventType() == wxEVT_JOY_ZMOVE); } > > > bool ButtonDown(int but = wxJOY_BUTTON_ANY) const > { return ((GetEventType() == wxEVT_JOY_BUTTON_DOWN) && > ((but == wxJOY_BUTTON_ANY) || (but == m_buttonChange))); } > > > bool ButtonUp(int but = wxJOY_BUTTON_ANY) const > { return ((GetEventType() == wxEVT_JOY_BUTTON_UP) && > ((but == wxJOY_BUTTON_ANY) || (but == m_buttonChange))); } > > > bool ButtonIsDown(int but = wxJOY_BUTTON_ANY) const > { return (((but == wxJOY_BUTTON_ANY) && (m_buttonState != 0)) || > ((m_buttonState & but) == but)); } > > virtual wxEvent *Clone() const { return new wxJoystickEvent(*this); } > >private: > private: wxJoystickEvent& operator=(const wxJoystickEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > >class wxDropFilesEvent : public wxEvent >{ >public: > int m_noFiles; > wxPoint m_pos; > wxString* m_files; > > wxDropFilesEvent(wxEventType type = wxEVT_NULL, > int noFiles = 0, > wxString *files = __null) > : wxEvent(0, type), > m_noFiles(noFiles), > m_pos(), > m_files(files) > { } > > > wxDropFilesEvent(const wxDropFilesEvent& other) > : wxEvent(other), > m_noFiles(other.m_noFiles), > m_pos(other.m_pos), > m_files(__null) > { > m_files = new wxString[m_noFiles]; > for ( int n = 0; n < m_noFiles; n++ ) > { > m_files[n] = other.m_files[n]; > } > } > > virtual ~wxDropFilesEvent() > { > delete [] m_files; > } > > wxPoint GetPosition() const { return m_pos; } > int GetNumberOfFiles() const { return m_noFiles; } > wxString *GetFiles() const { return m_files; } > > virtual wxEvent *Clone() const { return new wxDropFilesEvent(*this); } > >private: > private: wxDropFilesEvent& operator=(const wxDropFilesEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 2657 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >enum wxUpdateUIMode >{ > > wxUPDATE_UI_PROCESS_ALL, > > > > wxUPDATE_UI_PROCESS_SPECIFIED >}; > >class wxUpdateUIEvent : public wxCommandEvent >{ >public: > wxUpdateUIEvent(wxWindowID commandId = 0) > : wxCommandEvent(wxEVT_UPDATE_UI, commandId) > { > m_checked = > m_enabled = > m_shown = > m_setEnabled = > m_setShown = > m_setText = > m_setChecked = false; > } > wxUpdateUIEvent(const wxUpdateUIEvent& event) > : wxCommandEvent(event), > m_checked(event.m_checked), > m_enabled(event.m_enabled), > m_shown(event.m_shown), > m_setEnabled(event.m_setEnabled), > m_setShown(event.m_setShown), > m_setText(event.m_setText), > m_setChecked(event.m_setChecked), > m_text(event.m_text) > { } > > bool GetChecked() const { return m_checked; } > bool GetEnabled() const { return m_enabled; } > bool GetShown() const { return m_shown; } > wxString GetText() const { return m_text; } > bool GetSetText() const { return m_setText; } > bool GetSetChecked() const { return m_setChecked; } > bool GetSetEnabled() const { return m_setEnabled; } > bool GetSetShown() const { return m_setShown; } > > void Check(bool check) { m_checked = check; m_setChecked = true; } > void Enable(bool enable) { m_enabled = enable; m_setEnabled = true; } > void Show(bool show) { m_shown = show; m_setShown = true; } > void SetText(const wxString& text) { m_text = text; m_setText = true; } > > > > static void SetUpdateInterval(long updateInterval) { sm_updateInterval = updateInterval; } > > > static long GetUpdateInterval() { return sm_updateInterval; } > > > static bool CanUpdate(wxWindowBase *win); > > > > static void ResetUpdateTime(); > > > > > static void SetMode(wxUpdateUIMode mode) { sm_updateMode = mode; } > > > static wxUpdateUIMode GetMode() { return sm_updateMode; } > > virtual wxEvent *Clone() const { return new wxUpdateUIEvent(*this); } > >protected: > bool m_checked; > bool m_enabled; > bool m_shown; > bool m_setEnabled; > bool m_setShown; > bool m_setText; > bool m_setChecked; > wxString m_text; > > static wxLongLong sm_lastUpdate; > > static long sm_updateInterval; > static wxUpdateUIMode sm_updateMode; > >private: > private: wxUpdateUIEvent& operator=(const wxUpdateUIEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > >class wxSysColourChangedEvent : public wxEvent >{ >public: > wxSysColourChangedEvent() > : wxEvent(0, wxEVT_SYS_COLOUR_CHANGED) > { } > > virtual wxEvent *Clone() const { return new wxSysColourChangedEvent(*this); } > >private: > private: wxSysColourChangedEvent& operator=(const wxSysColourChangedEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > > >class wxMouseCaptureChangedEvent : public wxEvent >{ >public: > wxMouseCaptureChangedEvent(wxWindowID winid = 0, wxWindow* gainedCapture = __null) > : wxEvent(winid, wxEVT_MOUSE_CAPTURE_CHANGED), > m_gainedCapture(gainedCapture) > { } > > wxMouseCaptureChangedEvent(const wxMouseCaptureChangedEvent& event) > : wxEvent(event), > m_gainedCapture(event.m_gainedCapture) > { } > > virtual wxEvent *Clone() const { return new wxMouseCaptureChangedEvent(*this); } > > wxWindow* GetCapturedWindow() const { return m_gainedCapture; } > >private: > wxWindow* m_gainedCapture; > > private: wxMouseCaptureChangedEvent& operator=(const wxMouseCaptureChangedEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 2804 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxMouseCaptureLostEvent : public wxEvent >{ >public: > wxMouseCaptureLostEvent(wxWindowID winid = 0) > : wxEvent(winid, wxEVT_MOUSE_CAPTURE_LOST) > {} > > wxMouseCaptureLostEvent(const wxMouseCaptureLostEvent& event) > : wxEvent(event) > {} > > virtual wxEvent *Clone() const { return new wxMouseCaptureLostEvent(*this); } > > private: wxMouseCaptureLostEvent& operator=(const wxMouseCaptureLostEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > >class wxDisplayChangedEvent : public wxEvent >{ >private: > private: wxDisplayChangedEvent& operator=(const wxDisplayChangedEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); > >public: > wxDisplayChangedEvent() > : wxEvent(0, wxEVT_DISPLAY_CHANGED) > { } > > virtual wxEvent *Clone() const { return new wxDisplayChangedEvent(*this); } >}; > > > > > >class wxPaletteChangedEvent : public wxEvent >{ >public: > wxPaletteChangedEvent(wxWindowID winid = 0) > : wxEvent(winid, wxEVT_PALETTE_CHANGED), > m_changedWindow(__null) > { } > > wxPaletteChangedEvent(const wxPaletteChangedEvent& event) > : wxEvent(event), > m_changedWindow(event.m_changedWindow) > { } > > void SetChangedWindow(wxWindow* win) { m_changedWindow = win; } > wxWindow* GetChangedWindow() const { return m_changedWindow; } > > virtual wxEvent *Clone() const { return new wxPaletteChangedEvent(*this); } > >protected: > wxWindow* m_changedWindow; > >private: > private: wxPaletteChangedEvent& operator=(const wxPaletteChangedEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > >class wxQueryNewPaletteEvent : public wxEvent >{ >public: > wxQueryNewPaletteEvent(wxWindowID winid = 0) > : wxEvent(winid, wxEVT_QUERY_NEW_PALETTE), > m_paletteRealized(false) > { } > wxQueryNewPaletteEvent(const wxQueryNewPaletteEvent& event) > : wxEvent(event), > m_paletteRealized(event.m_paletteRealized) > { } > > > void SetPaletteRealized(bool realized) { m_paletteRealized = realized; } > bool GetPaletteRealized() const { return m_paletteRealized; } > > virtual wxEvent *Clone() const { return new wxQueryNewPaletteEvent(*this); } > >protected: > bool m_paletteRealized; > >private: > private: wxQueryNewPaletteEvent& operator=(const wxQueryNewPaletteEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > >class wxNavigationKeyEvent : public wxEvent >{ >public: > wxNavigationKeyEvent() > : wxEvent(0, wxEVT_NAVIGATION_KEY), > m_flags(IsForward | FromTab), > m_focus(__null) > { > m_propagationLevel = wxEVENT_PROPAGATE_NONE; > } > > wxNavigationKeyEvent(const wxNavigationKeyEvent& event) > : wxEvent(event), > m_flags(event.m_flags), > m_focus(event.m_focus) > { } > > > bool GetDirection() const > { return (m_flags & IsForward) != 0; } > void SetDirection(bool bForward) > { if ( bForward ) m_flags |= IsForward; else m_flags &= ~IsForward; } > > > > bool IsWindowChange() const > { return (m_flags & WinChange) != 0; } > void SetWindowChange(bool bIs) > { if ( bIs ) m_flags |= WinChange; else m_flags &= ~WinChange; } > > > > bool IsFromTab() const > { return (m_flags & FromTab) != 0; } > void SetFromTab(bool bIs) > { if ( bIs ) m_flags |= FromTab; else m_flags &= ~FromTab; } > > > > wxWindow* GetCurrentFocus() const { return m_focus; } > void SetCurrentFocus(wxWindow *win) { m_focus = win; } > > > void SetFlags(long flags) { m_flags = flags; } > > virtual wxEvent *Clone() const { return new wxNavigationKeyEvent(*this); } > > enum wxNavigationKeyEventFlags > { > IsBackward = 0x0000, > IsForward = 0x0001, > WinChange = 0x0002, > FromTab = 0x0004 > }; > > long m_flags; > wxWindow *m_focus; > >private: > private: wxNavigationKeyEvent& operator=(const wxNavigationKeyEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 2972 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxWindowCreateEvent : public wxCommandEvent >{ >public: > wxWindowCreateEvent(wxWindow *win = __null); > > wxWindow *GetWindow() const { return (wxWindow *)GetEventObject(); } > > virtual wxEvent *Clone() const { return new wxWindowCreateEvent(*this); } > >private: > private: wxWindowCreateEvent& operator=(const wxWindowCreateEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > >class wxWindowDestroyEvent : public wxCommandEvent >{ >public: > wxWindowDestroyEvent(wxWindow *win = __null); > > wxWindow *GetWindow() const { return (wxWindow *)GetEventObject(); } > > virtual wxEvent *Clone() const { return new wxWindowDestroyEvent(*this); } > >private: > private: wxWindowDestroyEvent& operator=(const wxWindowDestroyEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > > >class wxHelpEvent : public wxCommandEvent >{ >public: > > enum Origin > { > Origin_Unknown, > Origin_Keyboard, > Origin_HelpButton > }; > > wxHelpEvent(wxEventType type = wxEVT_NULL, > wxWindowID winid = 0, > const wxPoint& pt = wxDefaultPosition, > Origin origin = Origin_Unknown) > : wxCommandEvent(type, winid), > m_pos(pt), > m_origin(GuessOrigin(origin)) > { } > wxHelpEvent(const wxHelpEvent& event) > : wxCommandEvent(event), > m_pos(event.m_pos), > m_target(event.m_target), > m_link(event.m_link), > m_origin(event.m_origin) > { } > > > const wxPoint& GetPosition() const { return m_pos; } > void SetPosition(const wxPoint& pos) { m_pos = pos; } > > > const wxString& GetLink() const { return m_link; } > void SetLink(const wxString& link) { m_link = link; } > > > const wxString& GetTarget() const { return m_target; } > void SetTarget(const wxString& target) { m_target = target; } > > virtual wxEvent *Clone() const { return new wxHelpEvent(*this); } > > > Origin GetOrigin() const { return m_origin; } > void SetOrigin(Origin origin) { m_origin = origin; } > >protected: > wxPoint m_pos; > wxString m_target; > wxString m_link; > Origin m_origin; > > > > static Origin GuessOrigin(Origin origin); > >private: > private: wxHelpEvent& operator=(const wxHelpEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 3074 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxClipboardTextEvent : public wxCommandEvent >{ >public: > wxClipboardTextEvent(wxEventType type = wxEVT_NULL, > wxWindowID winid = 0) > : wxCommandEvent(type, winid) > { } > wxClipboardTextEvent(const wxClipboardTextEvent& event) > : wxCommandEvent(event) > { } > > virtual wxEvent *Clone() const { return new wxClipboardTextEvent(*this); } > >private: > private: wxClipboardTextEvent& operator=(const wxClipboardTextEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 3099 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxContextMenuEvent : public wxCommandEvent >{ >public: > wxContextMenuEvent(wxEventType type = wxEVT_NULL, > wxWindowID winid = 0, > const wxPoint& pt = wxDefaultPosition) > : wxCommandEvent(type, winid), > m_pos(pt) > { } > wxContextMenuEvent(const wxContextMenuEvent& event) > : wxCommandEvent(event), > m_pos(event.m_pos) > { } > > > const wxPoint& GetPosition() const { return m_pos; } > void SetPosition(const wxPoint& pos) { m_pos = pos; } > > virtual wxEvent *Clone() const { return new wxContextMenuEvent(*this); } > >protected: > wxPoint m_pos; > >private: > private: wxContextMenuEvent& operator=(const wxContextMenuEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 3147 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >struct wxEventTableEntryBase >{ > wxEventTableEntryBase(int winid, int idLast, > wxEventFunctor* fn, wxObject *data) > : m_id(winid), > m_lastId(idLast), > m_fn(fn), > m_callbackUserData(data) > { > do { if ( wxTheAssertHandler && !(idLast == wxID_ANY || winid <= idLast) && (wxOnAssert( > "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" ># 3156 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > , > 3157 ># 3156 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > , __FUNCTION__, "idLast == wxID_ANY || winid <= idLast", "invalid IDs range: lower bound > upper bound"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ) > ; > } > > wxEventTableEntryBase( const wxEventTableEntryBase &entry ) > : m_id( entry.m_id ), > m_lastId( entry.m_lastId ), > m_fn( entry.m_fn ), > m_callbackUserData( entry.m_callbackUserData ) > { > > > > > > > const_cast<wxEventTableEntryBase&>( entry ).m_fn = __null; > } > > ~wxEventTableEntryBase() > { > delete m_fn; > } > > > > int m_id, > m_lastId; > > > wxEventFunctor* m_fn; > > > wxObject* m_callbackUserData; > >private: > private: wxEventTableEntryBase& operator=(const wxEventTableEntryBase&); >}; > > >struct wxEventTableEntry : public wxEventTableEntryBase >{ > wxEventTableEntry(const int& evType, int winid, int idLast, > wxEventFunctor* fn, wxObject *data) > : wxEventTableEntryBase(winid, idLast, fn, data), > m_eventType(evType) > { } > > > > > > > > const int& m_eventType; > >private: > private: wxEventTableEntry& operator=(const wxEventTableEntry&); >}; > > >struct wxDynamicEventTableEntry : public wxEventTableEntryBase >{ > wxDynamicEventTableEntry(int evType, int winid, int idLast, > wxEventFunctor* fn, wxObject *data) > : wxEventTableEntryBase(winid, idLast, fn, data), > m_eventType(evType) > { } > > > > > int m_eventType; > >private: > private: wxDynamicEventTableEntry& operator=(const wxDynamicEventTableEntry&); >}; > > > > > >struct wxEventTable >{ > const wxEventTable *baseTable; > const wxEventTableEntry *entries; >}; > > > > > >typedef const wxEventTableEntry* _wxArraywxEventTableEntryPointerArray; struct wxAssert_wxEventTableEntryPointerArray { unsigned int TypeTooBigToBeStoredInwxBaseArrayPtrVoid: sizeof(_wxArraywxEventTableEntryPointerArray) <= sizeof(wxBaseArrayPtrVoid::base_type); }; typedef int ( *CMPFUNC_wxArraywxEventTableEntryPointerArray)(_wxArraywxEventTableEntryPointerArray *pItem1, _wxArraywxEventTableEntryPointerArray *pItem2); class wxEventTableEntryPointerArray : public wxBaseArrayPtrVoid { public: wxEventTableEntryPointerArray() { } ~wxEventTableEntryPointerArray() { } _wxArraywxEventTableEntryPointerArray& operator[](size_t uiIndex) const { return (_wxArraywxEventTableEntryPointerArray&)(wxBaseArrayPtrVoid::operator[](uiIndex)); } _wxArraywxEventTableEntryPointerArray& Item(size_t uiIndex) const { return (_wxArraywxEventTableEntryPointerArray&)(wxBaseArrayPtrVoid::operator[](uiIndex)); } _wxArraywxEventTableEntryPointerArray& Last() const { return (_wxArraywxEventTableEntryPointerArray&)(wxBaseArrayPtrVoid::operator[](GetCount() - 1)); } int Index(_wxArraywxEventTableEntryPointerArray lItem, bool bFromEnd = false) const { return wxBaseArrayPtrVoid::Index((base_type)lItem, bFromEnd); } void Add(_wxArraywxEventTableEntryPointerArray lItem, size_t nInsert = 1) { wxBaseArrayPtrVoid::Add((base_type)lItem, nInsert); } void Insert(_wxArraywxEventTableEntryPointerArray lItem, size_t uiIndex, size_t nInsert = 1) { wxBaseArrayPtrVoid::Insert((base_type)lItem, uiIndex, nInsert) ; } void RemoveAt(size_t uiIndex, size_t nRemove = 1) { wxBaseArrayPtrVoid::RemoveAt(uiIndex, nRemove); } void Remove(_wxArraywxEventTableEntryPointerArray lItem) { int iIndex = Index(lItem); if ( iIndex != (-1) ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h", 3248, __FUNCTION__, "iIndex != (-1)", "removing inexistent element in wxArray::Remove"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; wxBaseArrayPtrVoid::RemoveAt((size_t)iIndex); } void Sort(CMPFUNC_wxArraywxEventTableEntryPointerArray fCmp) { wxBaseArrayPtrVoid::Sort((CMPFUNC)fCmp); } private: typedef wxBaseArrayPtrVoid::iterator biterator; typedef wxBaseArrayPtrVoid::const_iterator bconst_iterator; typedef wxBaseArrayPtrVoid::value_type bvalue_type; typedef wxBaseArrayPtrVoid::const_reference bconst_reference; public: typedef _wxArraywxEventTableEntryPointerArray value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef wxBaseArrayPtrVoid::difference_type difference_type; typedef wxBaseArrayPtrVoid::size_type size_type; class reverse_iterator { typedef _wxArraywxEventTableEntryPointerArray value_type; typedef value_type& reference; typedef value_type* pointer; typedef reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; reverse_iterator() : m_ptr(__null) { } reverse_iterator(pointer ptr) : m_ptr(ptr) { } reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { reverse_iterator tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; class const_reverse_iterator { typedef _wxArraywxEventTableEntryPointerArray value_type; typedef const value_type& reference; typedef const value_type* pointer; typedef const_reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; const_reverse_iterator() : m_ptr(__null) { } const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } const_reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { itor tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; wxEventTableEntryPointerArray(size_type n) { assign(n, value_type()); } wxEventTableEntryPointerArray(size_type n, const_reference v) { assign(n, v); } wxEventTableEntryPointerArray(const_iterator first, const_iterator last) { assign(first, last); } void assign(const_iterator first, const_iterator last) { wxBaseArrayPtrVoid::assign((bconst_iterator)first, (bconst_iterator)last); } void assign(size_type n, const_reference v) { wxBaseArrayPtrVoid::assign(n, (bconst_reference)v); } reference back() { return *(end() - 1); } const_reference back() const { return *(end() - 1); } iterator begin() { return (iterator)wxBaseArrayPtrVoid::begin(); } const_iterator begin() const { return (const_iterator)wxBaseArrayPtrVoid::begin(); } size_type capacity() const { return wxBaseArrayPtrVoid::capacity(); } iterator end() { return (iterator)wxBaseArrayPtrVoid::end(); } const_iterator end() const { return (const_iterator)wxBaseArrayPtrVoid::end(); } iterator erase(iterator first, iterator last) { return (iterator)wxBaseArrayPtrVoid::erase((biterator)first, (biterator)last); } iterator erase(iterator it) { return (iterator)wxBaseArrayPtrVoid::erase((biterator)it); } reference front() { return *begin(); } const_reference front() const { return *begin(); } void insert(iterator it, size_type n, const_reference v) { wxBaseArrayPtrVoid::insert((biterator)it, n, (bconst_reference)v); } iterator insert(iterator it, const_reference v = value_type()) { return (iterator)wxBaseArrayPtrVoid::insert((biterator)it, (bconst_reference)v); } void insert(iterator it, const_iterator first, const_iterator last) { wxBaseArrayPtrVoid::insert((biterator)it, (bconst_iterator)first, (bconst_iterator)last); } void pop_back() { wxBaseArrayPtrVoid::pop_back(); } void push_back(const_reference v) { wxBaseArrayPtrVoid::push_back((bconst_reference)v); } reverse_iterator rbegin() { return reverse_iterator(end() - 1); } const_reverse_iterator rbegin() const; reverse_iterator rend() { return reverse_iterator(begin() - 1); } const_reverse_iterator rend() const; void reserve(size_type n) { wxBaseArrayPtrVoid::reserve(n); } void resize(size_type n, value_type v = value_type()) { wxBaseArrayPtrVoid::resize(n, v); } void swap(wxEventTableEntryPointerArray& other) { wxBaseArrayPtrVoid::swap(other); } }; > >class wxEventHashTable >{ >private: > > struct EventTypeTable > { > wxEventType eventType; > wxEventTableEntryPointerArray eventEntryTable; > }; > typedef EventTypeTable* EventTypeTablePointer; > >public: > > > > > wxEventHashTable(const wxEventTable &table); > > ~wxEventHashTable(); > > > > bool HandleEvent(wxEvent& event, wxEvtHandler *self); > > > void Clear(); > > > > > > > >protected: > > void InitHashTable(); > > void AddEntry(const wxEventTableEntry &entry); > > void AllocEventTypeTable(size_t size); > > > void GrowEventTypeTable(); > >protected: > const wxEventTable &m_table; > bool m_rebuildHash; > > size_t m_size; > EventTypeTablePointer *m_eventTypeTable; > > static wxEventHashTable* sm_first; > wxEventHashTable* m_previous; > wxEventHashTable* m_next; > > private: wxEventHashTable(const wxEventHashTable&); wxEventHashTable& operator=(const wxEventHashTable&); >}; > > > > > >class wxEvtHandler : public wxObject > , public wxTrackable >{ >public: > wxEvtHandler(); > virtual ~wxEvtHandler(); > > > > > > wxEvtHandler *GetNextHandler() const { return m_nextHandler; } > wxEvtHandler *GetPreviousHandler() const { return m_previousHandler; } > virtual void SetNextHandler(wxEvtHandler *handler) { m_nextHandler = handler; } > virtual void SetPreviousHandler(wxEvtHandler *handler) { m_previousHandler = handler; } > > void SetEvtHandlerEnabled(bool enabled) { m_enabled = enabled; } > bool GetEvtHandlerEnabled() const { return m_enabled; } > > void Unlink(); > bool IsUnlinked() const; ># 3343 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > static void AddFilter(wxEventFilter* filter); > > > static void RemoveFilter(wxEventFilter* filter); ># 3355 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > virtual bool ProcessEvent(wxEvent& event); > > > > > > bool SafelyProcessEvent(wxEvent& event); ># 3376 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > bool ProcessEventLocally(wxEvent& event); > > > > > > > virtual void QueueEvent(wxEvent *event); > > > > virtual void AddPendingEvent(const wxEvent& event) > { > > > > > > > QueueEvent(event.Clone()); > } > > void ProcessPendingEvents(); > > > void DeletePendingEvents(); > > > bool ProcessThreadEvent(const wxEvent& event); ># 3417 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > template <typename T> > void CallAfter(void (T::*method)()) > { > QueueEvent( > new wxAsyncMethodCallEvent0<T>(static_cast<T*>(this), method) > ); > } > > > > > > template <typename T, typename T1, typename P1> > void CallAfter(void (T::*method)(T1 x1), P1 x1) > { > QueueEvent( > new wxAsyncMethodCallEvent1<T, T1>( > static_cast<T*>(this), method, x1) > ); > } > > template <typename T, typename T1, typename T2, typename P1, typename P2> > void CallAfter(void (T::*method)(T1 x1, T2 x2), P1 x1, P2 x2) > { > QueueEvent( > new wxAsyncMethodCallEvent2<T, T1, T2>( > static_cast<T*>(this), method, x1, x2) > ); > } > > template <typename T> > void CallAfter(const T& fn) > { > QueueEvent(new wxAsyncMethodCallEventFunctor<T>(this, fn)); > } ># 3469 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > void Connect(int winid, > int lastId, > wxEventType eventType, > wxObjectEventFunction func, > wxObject *userData = __null, > wxEvtHandler *eventSink = __null) > { > DoBind(winid, lastId, eventType, > wxNewEventFunctor(eventType, func, eventSink), > userData); > } > > > void Connect(int winid, > wxEventType eventType, > wxObjectEventFunction func, > wxObject *userData = __null, > wxEvtHandler *eventSink = __null) > { Connect(winid, wxID_ANY, eventType, func, userData, eventSink); } > > > void Connect(wxEventType eventType, > wxObjectEventFunction func, > wxObject *userData = __null, > wxEvtHandler *eventSink = __null) > { Connect(wxID_ANY, wxID_ANY, eventType, func, userData, eventSink); } > > bool Disconnect(int winid, > int lastId, > wxEventType eventType, > wxObjectEventFunction func = __null, > wxObject *userData = __null, > wxEvtHandler *eventSink = __null) > { > return DoUnbind(winid, lastId, eventType, > wxMakeEventFunctor(eventType, func, eventSink), > userData ); > } > > bool Disconnect(int winid = wxID_ANY, > wxEventType eventType = wxEVT_NULL, > wxObjectEventFunction func = __null, > wxObject *userData = __null, > wxEvtHandler *eventSink = __null) > { return Disconnect(winid, wxID_ANY, eventType, func, userData, eventSink); } > > bool Disconnect(wxEventType eventType, > wxObjectEventFunction func, > wxObject *userData = __null, > wxEvtHandler *eventSink = __null) > { return Disconnect(wxID_ANY, eventType, func, userData, eventSink); } > > > > template <typename EventTag, typename EventArg> > void Bind(const EventTag& eventType, > void (*function)(EventArg &), > int winid = wxID_ANY, > int lastId = wxID_ANY, > wxObject *userData = __null) > { > DoBind(winid, lastId, eventType, > wxNewEventFunctor(eventType, function), > userData); > } > > > template <typename EventTag, typename EventArg> > bool Unbind(const EventTag& eventType, > void (*function)(EventArg &), > int winid = wxID_ANY, > int lastId = wxID_ANY, > wxObject *userData = __null) > { > return DoUnbind(winid, lastId, eventType, > wxMakeEventFunctor(eventType, function), > userData); > } > > > template <typename EventTag, typename Functor> > void Bind(const EventTag& eventType, > const Functor &functor, > int winid = wxID_ANY, > int lastId = wxID_ANY, > wxObject *userData = __null) > { > DoBind(winid, lastId, eventType, > wxNewEventFunctor(eventType, functor), > userData); > } > > > template <typename EventTag, typename Functor> > bool Unbind(const EventTag& eventType, > const Functor &functor, > int winid = wxID_ANY, > int lastId = wxID_ANY, > wxObject *userData = __null) > { > return DoUnbind(winid, lastId, eventType, > wxMakeEventFunctor(eventType, functor), > userData); > } > > > > > > template <typename EventTag, typename Class, typename EventArg, typename EventHandler> > void Bind(const EventTag &eventType, > void (Class::*method)(EventArg &), > EventHandler *handler, > int winid = wxID_ANY, > int lastId = wxID_ANY, > wxObject *userData = __null) > { > DoBind(winid, lastId, eventType, > wxNewEventFunctor(eventType, method, handler), > userData); > } > > template <typename EventTag, typename Class, typename EventArg, typename EventHandler> > bool Unbind(const EventTag &eventType, > void (Class::*method)(EventArg&), > EventHandler *handler, > int winid = wxID_ANY, > int lastId = wxID_ANY, > wxObject *userData = __null ) > { > return DoUnbind(winid, lastId, eventType, > wxMakeEventFunctor(eventType, method, handler), > userData); > } > > > wxList* GetDynamicEventTable() const { return m_dynamicEvents ; } > > > void SetClientObject( wxClientData *data ) { DoSetClientObject(data); } > wxClientData *GetClientObject() const { return DoGetClientObject(); } > > void SetClientData( void *data ) { DoSetClientData(data); } > void *GetClientData() const { return DoGetClientData(); } ># 3624 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > static bool ProcessEventIfMatchesId(const wxEventTableEntryBase& tableEntry, > wxEvtHandler *handler, > wxEvent& event); > > virtual bool SearchEventTable(wxEventTable& table, wxEvent& event); > bool SearchDynamicEventTable( wxEvent& event ); > > > void ClearEventHashTable() { GetEventHashTable().Clear(); } > void OnSinkDestroyed( wxEvtHandler *sink ); > > >private: > void DoBind(int winid, > int lastId, > wxEventType eventType, > wxEventFunctor *func, > wxObject* userData = __null); > > bool DoUnbind(int winid, > int lastId, > wxEventType eventType, > const wxEventFunctor& func, > wxObject *userData = __null); > > static const wxEventTableEntry sm_eventTableEntries[]; > >protected: > > > > > > > virtual bool TryBefore(wxEvent& event); > > > > > > > bool TryHereOnly(wxEvent& event); > > > > bool TryBeforeAndHere(wxEvent& event) > { > return TryBefore(event) || TryHereOnly(event); > } > > > > > > virtual bool TryAfter(wxEvent& event); ># 3690 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > static const wxEventTable sm_eventTable; > virtual const wxEventTable *GetEventTable() const; > > static wxEventHashTable sm_eventHashTable; > virtual wxEventHashTable& GetEventHashTable() const; > > wxEvtHandler* m_nextHandler; > wxEvtHandler* m_previousHandler; > wxList* m_dynamicEvents; > wxList* m_pendingEvents; > > > > wxCriticalSection m_pendingEventsLock; > > > > bool m_enabled; > > > > > > > > union > { > wxClientData *m_clientObject; > void *m_clientData; > }; > > > wxClientDataType m_clientDataType; > > > virtual void DoSetClientObject( wxClientData *data ); > virtual wxClientData *DoGetClientObject() const; > > virtual void DoSetClientData( void *data ); > virtual void *DoGetClientData() const; > > > wxEventConnectionRef *FindRefInTrackerList(wxEvtHandler *handler); > >private: > > bool DoTryApp(wxEvent& event); > > > bool DoTryChain(wxEvent& event); > > > static wxEventFilter* ms_filterList; > > private: wxEvtHandler(const wxEvtHandler&); wxEvtHandler& operator=(const wxEvtHandler&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > >typedef wxEvtHandler * _wxArraywxEvtHandlerArray; struct wxAssert_wxEvtHandlerArray { unsigned int TypeTooBigToBeStoredInwxBaseArrayPtrVoid: sizeof(_wxArraywxEvtHandlerArray) <= sizeof(wxBaseArrayPtrVoid::base_type); }; typedef int ( *CMPFUNC_wxArraywxEvtHandlerArray)(_wxArraywxEvtHandlerArray *pItem1, _wxArraywxEvtHandlerArray *pItem2); class wxEvtHandlerArray : public wxBaseArrayPtrVoid { public: wxEvtHandlerArray() { } ~wxEvtHandlerArray() { } _wxArraywxEvtHandlerArray& operator[](size_t uiIndex) const { return (_wxArraywxEvtHandlerArray&)(wxBaseArrayPtrVoid::operator[](uiIndex)); } _wxArraywxEvtHandlerArray& Item(size_t uiIndex) const { return (_wxArraywxEvtHandlerArray&)(wxBaseArrayPtrVoid::operator[](uiIndex)); } _wxArraywxEvtHandlerArray& Last() const { return (_wxArraywxEvtHandlerArray&)(wxBaseArrayPtrVoid::operator[](GetCount() - 1)); } int Index(_wxArraywxEvtHandlerArray lItem, bool bFromEnd = false) const { return wxBaseArrayPtrVoid::Index((base_type)lItem, bFromEnd); } void Add(_wxArraywxEvtHandlerArray lItem, size_t nInsert = 1) { wxBaseArrayPtrVoid::Add((base_type)lItem, nInsert); } void Insert(_wxArraywxEvtHandlerArray lItem, size_t uiIndex, size_t nInsert = 1) { wxBaseArrayPtrVoid::Insert((base_type)lItem, uiIndex, nInsert) ; } void RemoveAt(size_t uiIndex, size_t nRemove = 1) { wxBaseArrayPtrVoid::RemoveAt(uiIndex, nRemove); } void Remove(_wxArraywxEvtHandlerArray lItem) { int iIndex = Index(lItem); if ( iIndex != (-1) ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h", 3747, __FUNCTION__, "iIndex != (-1)", "removing inexistent element in wxArray::Remove"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; wxBaseArrayPtrVoid::RemoveAt((size_t)iIndex); } void Sort(CMPFUNC_wxArraywxEvtHandlerArray fCmp) { wxBaseArrayPtrVoid::Sort((CMPFUNC)fCmp); } private: typedef wxBaseArrayPtrVoid::iterator biterator; typedef wxBaseArrayPtrVoid::const_iterator bconst_iterator; typedef wxBaseArrayPtrVoid::value_type bvalue_type; typedef wxBaseArrayPtrVoid::const_reference bconst_reference; public: typedef _wxArraywxEvtHandlerArray value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef wxBaseArrayPtrVoid::difference_type difference_type; typedef wxBaseArrayPtrVoid::size_type size_type; class reverse_iterator { typedef _wxArraywxEvtHandlerArray value_type; typedef value_type& reference; typedef value_type* pointer; typedef reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; reverse_iterator() : m_ptr(__null) { } reverse_iterator(pointer ptr) : m_ptr(ptr) { } reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { reverse_iterator tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; class const_reverse_iterator { typedef _wxArraywxEvtHandlerArray value_type; typedef const value_type& reference; typedef const value_type* pointer; typedef const_reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; const_reverse_iterator() : m_ptr(__null) { } const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } const_reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { itor tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; wxEvtHandlerArray(size_type n) { assign(n, value_type()); } wxEvtHandlerArray(size_type n, const_reference v) { assign(n, v); } wxEvtHandlerArray(const_iterator first, const_iterator last) { assign(first, last); } void assign(const_iterator first, const_iterator last) { wxBaseArrayPtrVoid::assign((bconst_iterator)first, (bconst_iterator)last); } void assign(size_type n, const_reference v) { wxBaseArrayPtrVoid::assign(n, (bconst_reference)v); } reference back() { return *(end() - 1); } const_reference back() const { return *(end() - 1); } iterator begin() { return (iterator)wxBaseArrayPtrVoid::begin(); } const_iterator begin() const { return (const_iterator)wxBaseArrayPtrVoid::begin(); } size_type capacity() const { return wxBaseArrayPtrVoid::capacity(); } iterator end() { return (iterator)wxBaseArrayPtrVoid::end(); } const_iterator end() const { return (const_iterator)wxBaseArrayPtrVoid::end(); } iterator erase(iterator first, iterator last) { return (iterator)wxBaseArrayPtrVoid::erase((biterator)first, (biterator)last); } iterator erase(iterator it) { return (iterator)wxBaseArrayPtrVoid::erase((biterator)it); } reference front() { return *begin(); } const_reference front() const { return *begin(); } void insert(iterator it, size_type n, const_reference v) { wxBaseArrayPtrVoid::insert((biterator)it, n, (bconst_reference)v); } iterator insert(iterator it, const_reference v = value_type()) { return (iterator)wxBaseArrayPtrVoid::insert((biterator)it, (bconst_reference)v); } void insert(iterator it, const_iterator first, const_iterator last) { wxBaseArrayPtrVoid::insert((biterator)it, (bconst_iterator)first, (bconst_iterator)last); } void pop_back() { wxBaseArrayPtrVoid::pop_back(); } void push_back(const_reference v) { wxBaseArrayPtrVoid::push_back((bconst_reference)v); } reverse_iterator rbegin() { return reverse_iterator(end() - 1); } const_reverse_iterator rbegin() const; reverse_iterator rend() { return reverse_iterator(begin() - 1); } const_reverse_iterator rend() const; void reserve(size_type n) { wxBaseArrayPtrVoid::reserve(n); } void resize(size_type n, value_type v = value_type()) { wxBaseArrayPtrVoid::resize(n, v); } void swap(wxEvtHandlerArray& other) { wxBaseArrayPtrVoid::swap(other); } }; > > > > > >inline void wxObjectEventFunctor::operator()(wxEvtHandler *handler, wxEvent& event) >{ > wxEvtHandler * const realHandler = m_handler ? m_handler : handler; > > (realHandler->*m_method)(event); >} ># 3767 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxEventConnectionRef : public wxTrackerNode >{ >public: > wxEventConnectionRef() : m_src(__null), m_sink(__null), m_refCount(0) { } > wxEventConnectionRef(wxEvtHandler *src, wxEvtHandler *sink) > : m_src(src), m_sink(sink), m_refCount(1) > { > m_sink->AddNode(this); > } > > > virtual void OnObjectDestroy( ) > { > if ( m_src ) > m_src->OnSinkDestroyed( m_sink ); > delete this; > } > > virtual wxEventConnectionRef *ToEventConnection() { return this; } > > void IncRef() { m_refCount++; } > void DecRef() > { > if ( !--m_refCount ) > { > > if ( m_sink ) > m_sink->RemoveNode(this); > delete this; > } > } > >private: > wxEvtHandler *m_src, > *m_sink; > int m_refCount; > > friend class wxEvtHandler; > > private: wxEventConnectionRef& operator=(const wxEventConnectionRef&); >}; > > > > > >inline void wxPostEvent(wxEvtHandler *dest, const wxEvent& event) >{ > if ( dest ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h", 3815, __FUNCTION__, "dest", "need an object to post event to"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; > > dest->AddPendingEvent(event); >} > > > > >inline void wxQueueEvent(wxEvtHandler *dest, wxEvent *event) >{ > if ( dest ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h", 3825, __FUNCTION__, "dest", "need an object to queue event for"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; > > dest->QueueEvent(event); >} > >typedef void (wxEvtHandler::*wxEventFunction)(wxEvent&); >typedef void (wxEvtHandler::*wxIdleEventFunction)(wxIdleEvent&); >typedef void (wxEvtHandler::*wxThreadEventFunction)(wxThreadEvent&); ># 3847 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" >class wxEventBlocker : public wxEvtHandler >{ >public: > wxEventBlocker(wxWindow *win, wxEventType type = ((wxEventType)-1)); > virtual ~wxEventBlocker(); > > void Block(wxEventType type) > { > m_eventsToBlock.push_back(type); > } > > virtual bool ProcessEvent(wxEvent& event); > >protected: > wxArrayInt m_eventsToBlock; > wxWindow *m_window; > > private: wxEventBlocker(const wxEventBlocker&); wxEventBlocker& operator=(const wxEventBlocker&); >}; > >typedef void (wxEvtHandler::*wxCommandEventFunction)(wxCommandEvent&); >typedef void (wxEvtHandler::*wxScrollEventFunction)(wxScrollEvent&); >typedef void (wxEvtHandler::*wxScrollWinEventFunction)(wxScrollWinEvent&); >typedef void (wxEvtHandler::*wxSizeEventFunction)(wxSizeEvent&); >typedef void (wxEvtHandler::*wxMoveEventFunction)(wxMoveEvent&); >typedef void (wxEvtHandler::*wxPaintEventFunction)(wxPaintEvent&); >typedef void (wxEvtHandler::*wxNcPaintEventFunction)(wxNcPaintEvent&); >typedef void (wxEvtHandler::*wxEraseEventFunction)(wxEraseEvent&); >typedef void (wxEvtHandler::*wxMouseEventFunction)(wxMouseEvent&); >typedef void (wxEvtHandler::*wxCharEventFunction)(wxKeyEvent&); >typedef void (wxEvtHandler::*wxFocusEventFunction)(wxFocusEvent&); >typedef void (wxEvtHandler::*wxChildFocusEventFunction)(wxChildFocusEvent&); >typedef void (wxEvtHandler::*wxActivateEventFunction)(wxActivateEvent&); >typedef void (wxEvtHandler::*wxMenuEventFunction)(wxMenuEvent&); >typedef void (wxEvtHandler::*wxJoystickEventFunction)(wxJoystickEvent&); >typedef void (wxEvtHandler::*wxDropFilesEventFunction)(wxDropFilesEvent&); >typedef void (wxEvtHandler::*wxInitDialogEventFunction)(wxInitDialogEvent&); >typedef void (wxEvtHandler::*wxSysColourChangedEventFunction)(wxSysColourChangedEvent&); >typedef void (wxEvtHandler::*wxDisplayChangedEventFunction)(wxDisplayChangedEvent&); >typedef void (wxEvtHandler::*wxUpdateUIEventFunction)(wxUpdateUIEvent&); >typedef void (wxEvtHandler::*wxCloseEventFunction)(wxCloseEvent&); >typedef void (wxEvtHandler::*wxShowEventFunction)(wxShowEvent&); >typedef void (wxEvtHandler::*wxIconizeEventFunction)(wxIconizeEvent&); >typedef void (wxEvtHandler::*wxMaximizeEventFunction)(wxMaximizeEvent&); >typedef void (wxEvtHandler::*wxNavigationKeyEventFunction)(wxNavigationKeyEvent&); >typedef void (wxEvtHandler::*wxPaletteChangedEventFunction)(wxPaletteChangedEvent&); >typedef void (wxEvtHandler::*wxQueryNewPaletteEventFunction)(wxQueryNewPaletteEvent&); >typedef void (wxEvtHandler::*wxWindowCreateEventFunction)(wxWindowCreateEvent&); >typedef void (wxEvtHandler::*wxWindowDestroyEventFunction)(wxWindowDestroyEvent&); >typedef void (wxEvtHandler::*wxSetCursorEventFunction)(wxSetCursorEvent&); >typedef void (wxEvtHandler::*wxNotifyEventFunction)(wxNotifyEvent&); >typedef void (wxEvtHandler::*wxHelpEventFunction)(wxHelpEvent&); >typedef void (wxEvtHandler::*wxContextMenuEventFunction)(wxContextMenuEvent&); >typedef void (wxEvtHandler::*wxMouseCaptureChangedEventFunction)(wxMouseCaptureChangedEvent&); >typedef void (wxEvtHandler::*wxMouseCaptureLostEventFunction)(wxMouseCaptureLostEvent&); >typedef void (wxEvtHandler::*wxClipboardTextEventFunction)(wxClipboardTextEvent&); ># 4435 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/event.h" > wxWindow* wxFindFocusDescendant(wxWindow* ancestor); ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" 2 > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/font.h" 1 ># 27 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/font.h" >class wxFont; ># 37 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/font.h" >enum wxFontFamily >{ > wxFONTFAMILY_DEFAULT = wxDEFAULT, > wxFONTFAMILY_DECORATIVE = wxDECORATIVE, > wxFONTFAMILY_ROMAN = wxROMAN, > wxFONTFAMILY_SCRIPT = wxSCRIPT, > wxFONTFAMILY_SWISS = wxSWISS, > wxFONTFAMILY_MODERN = wxMODERN, > wxFONTFAMILY_TELETYPE = wxTELETYPE, > wxFONTFAMILY_MAX, > wxFONTFAMILY_UNKNOWN = wxFONTFAMILY_MAX >}; > > >enum wxFontStyle >{ > wxFONTSTYLE_NORMAL = wxNORMAL, > wxFONTSTYLE_ITALIC = wxITALIC, > wxFONTSTYLE_SLANT = wxSLANT, > wxFONTSTYLE_MAX >}; > > >enum wxFontWeight >{ > wxFONTWEIGHT_NORMAL = wxNORMAL, > wxFONTWEIGHT_LIGHT = wxLIGHT, > wxFONTWEIGHT_BOLD = wxBOLD, > wxFONTWEIGHT_MAX >}; > > >enum wxFontSymbolicSize >{ > wxFONTSIZE_XX_SMALL = -3, > wxFONTSIZE_X_SMALL, > wxFONTSIZE_SMALL, > wxFONTSIZE_MEDIUM, > wxFONTSIZE_LARGE, > wxFONTSIZE_X_LARGE, > wxFONTSIZE_XX_LARGE >}; > > >enum wxFontFlag >{ > > wxFONTFLAG_DEFAULT = 0, > > > wxFONTFLAG_ITALIC = 1 << 0, > wxFONTFLAG_SLANT = 1 << 1, > > > wxFONTFLAG_LIGHT = 1 << 2, > wxFONTFLAG_BOLD = 1 << 3, > > > wxFONTFLAG_ANTIALIASED = 1 << 4, > wxFONTFLAG_NOT_ANTIALIASED = 1 << 5, > > > wxFONTFLAG_UNDERLINED = 1 << 6, > wxFONTFLAG_STRIKETHROUGH = 1 << 7, > > > wxFONTFLAG_MASK = wxFONTFLAG_ITALIC | > wxFONTFLAG_SLANT | > wxFONTFLAG_LIGHT | > wxFONTFLAG_BOLD | > wxFONTFLAG_ANTIALIASED | > wxFONTFLAG_NOT_ANTIALIASED | > wxFONTFLAG_UNDERLINED | > wxFONTFLAG_STRIKETHROUGH >}; > > > > > >class wxFontInfo >{ >public: > > > wxFontInfo() > { InitPointSize(-1); } > > > explicit wxFontInfo(int pointSize) > { InitPointSize(pointSize); } > explicit wxFontInfo(const wxSize& pixelSize) : m_pixelSize(pixelSize) > { Init(); } > > > > wxFontInfo& Family(wxFontFamily family) > { m_family = family; return *this; } > wxFontInfo& FaceName(const wxString& faceName) > { m_faceName = faceName; return *this; } > > wxFontInfo& Bold(bool bold = true) > { SetFlag(wxFONTFLAG_BOLD, bold); return *this; } > wxFontInfo& Light(bool light = true) > { SetFlag(wxFONTFLAG_LIGHT, light); return *this; } > > wxFontInfo& Italic(bool italic = true) > { SetFlag(wxFONTFLAG_ITALIC, italic); return *this; } > wxFontInfo& Slant(bool slant = true) > { SetFlag(wxFONTFLAG_SLANT, slant); return *this; } > > wxFontInfo& AntiAliased(bool antiAliased = true) > { SetFlag(wxFONTFLAG_ANTIALIASED, antiAliased); return *this; } > wxFontInfo& Underlined(bool underlined = true) > { SetFlag(wxFONTFLAG_UNDERLINED, underlined); return *this; } > wxFontInfo& Strikethrough(bool strikethrough = true) > { SetFlag(wxFONTFLAG_STRIKETHROUGH, strikethrough); return *this; } > > wxFontInfo& Encoding(wxFontEncoding encoding) > { m_encoding = encoding; return *this; } > > > > wxFontInfo& AllFlags(int flags) > { m_flags = flags; return *this; } > > > > > > bool IsUsingSizeInPixels() const { return m_pixelSize != wxDefaultSize; } > int GetPointSize() const { return m_pointSize; } > wxSize GetPixelSize() const { return m_pixelSize; } > wxFontFamily GetFamily() const { return m_family; } > const wxString& GetFaceName() const { return m_faceName; } > > wxFontStyle GetStyle() const > { > return m_flags & wxFONTFLAG_ITALIC > ? wxFONTSTYLE_ITALIC > : m_flags & wxFONTFLAG_SLANT > ? wxFONTSTYLE_SLANT > : wxFONTSTYLE_NORMAL; > } > > wxFontWeight GetWeight() const > { > return m_flags & wxFONTFLAG_LIGHT > ? wxFONTWEIGHT_LIGHT > : m_flags & wxFONTFLAG_BOLD > ? wxFONTWEIGHT_BOLD > : wxFONTWEIGHT_NORMAL; > } > > bool IsAntiAliased() const > { > return (m_flags & wxFONTFLAG_ANTIALIASED) != 0; > } > > bool IsUnderlined() const > { > return (m_flags & wxFONTFLAG_UNDERLINED) != 0; > } > > bool IsStrikethrough() const > { > return (m_flags & wxFONTFLAG_STRIKETHROUGH) != 0; > } > > wxFontEncoding GetEncoding() const { return m_encoding; } > > > > >private: > > > void Init() > { > m_family = wxFONTFAMILY_DEFAULT; > m_flags = wxFONTFLAG_DEFAULT; > m_encoding = wxFONTENCODING_DEFAULT; > } > > void InitPointSize(int pointSize) > { > Init(); > > m_pointSize = pointSize; > m_pixelSize = wxDefaultSize; > } > > > > void SetFlag(int flag, bool on) > { > if ( on ) > m_flags |= flag; > else > m_flags &= ~flag; > } > > > > > > int m_pointSize; > wxSize m_pixelSize; > > wxFontFamily m_family; > wxString m_faceName; > int m_flags; > wxFontEncoding m_encoding; >}; > > > > > >class wxNativeFontInfo; > >class wxFontBase : public wxGDIObject >{ >public: ># 285 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/font.h" > virtual ~wxFontBase(); > > > > > static wxFont *New( > int pointSize, > int family, > int style, > int weight, > bool underlined = false, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT) > { return New(pointSize, (wxFontFamily)family, (wxFontStyle)style, > (wxFontWeight)weight, underlined, face, encoding); } > > > static wxFont *New( > const wxSize& pixelSize, > int family, > int style, > int weight, > bool underlined = false, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT) > { return New(pixelSize, (wxFontFamily)family, (wxFontStyle)style, > (wxFontWeight)weight, underlined, face, encoding); } > > > > static wxFont *New( > int pointSize, > wxFontFamily family, > wxFontStyle style, > wxFontWeight weight, > bool underlined = false, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT); > > > static wxFont *New( > const wxSize& pixelSize, > wxFontFamily family, > wxFontStyle style, > wxFontWeight weight, > bool underlined = false, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT); > > > > static wxFont *New(int pointSize, > wxFontFamily family, > int flags = wxFONTFLAG_DEFAULT, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT); > > > > > static wxFont *New(const wxSize& pixelSize, > wxFontFamily family, > int flags = wxFONTFLAG_DEFAULT, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT); > > > static wxFont *New(const wxNativeFontInfo& nativeFontDesc); > > > static wxFont *New(const wxString& strNativeFontDesc); > > > bool operator==(const wxFont& font) const; > bool operator!=(const wxFont& font) const { return !(*this == font); } > > > virtual int GetPointSize() const = 0; > virtual wxSize GetPixelSize() const; > virtual bool IsUsingSizeInPixels() const; > wxFontFamily GetFamily() const; > virtual wxFontStyle GetStyle() const = 0; > virtual wxFontWeight GetWeight() const = 0; > virtual bool GetUnderlined() const = 0; > virtual bool GetStrikethrough() const { return false; } > virtual wxString GetFaceName() const = 0; > virtual wxFontEncoding GetEncoding() const = 0; > virtual const wxNativeFontInfo *GetNativeFontInfo() const = 0; > > virtual bool IsFixedWidth() const; > > wxString GetNativeFontInfoDesc() const; > wxString GetNativeFontInfoUserDesc() const; > > > virtual void SetPointSize( int pointSize ) = 0; > virtual void SetPixelSize( const wxSize& pixelSize ); > virtual void SetFamily( wxFontFamily family ) = 0; > virtual void SetStyle( wxFontStyle style ) = 0; > virtual void SetWeight( wxFontWeight weight ) = 0; > > virtual void SetUnderlined( bool underlined ) = 0; > virtual void SetStrikethrough( bool ) {} > virtual void SetEncoding(wxFontEncoding encoding) = 0; > virtual bool SetFaceName( const wxString& faceName ); > void SetNativeFontInfo(const wxNativeFontInfo& info) > { DoSetNativeFontInfo(info); } > > bool SetNativeFontInfo(const wxString& info); > bool SetNativeFontInfoUserDesc(const wxString& info); > > > > > void SetSymbolicSize(wxFontSymbolicSize size); > void SetSymbolicSizeRelativeTo(wxFontSymbolicSize size, int base) > { > SetPointSize(AdjustToSymbolicSize(size, base)); > } > > > static int AdjustToSymbolicSize(wxFontSymbolicSize size, int base); > > > > > wxString GetFamilyString() const; > wxString GetStyleString() const; > wxString GetWeightString() const; > > > > static wxFontEncoding GetDefaultEncoding() { return ms_encodingDefault; } > static void SetDefaultEncoding(wxFontEncoding encoding); > > > > > > > >protected: > > virtual void DoSetNativeFontInfo(const wxNativeFontInfo& info); > > > > virtual wxFontFamily DoGetFamily() const = 0; > > > > > static wxFontStyle GetStyleFromFlags(int flags) > { > return flags & wxFONTFLAG_ITALIC > ? wxFONTSTYLE_ITALIC > : flags & wxFONTFLAG_SLANT > ? wxFONTSTYLE_SLANT > : wxFONTSTYLE_NORMAL; > } > > static wxFontWeight GetWeightFromFlags(int flags) > { > return flags & wxFONTFLAG_LIGHT > ? wxFONTWEIGHT_LIGHT > : flags & wxFONTFLAG_BOLD > ? wxFONTWEIGHT_BOLD > : wxFONTWEIGHT_NORMAL; > } > > static bool GetUnderlinedFromFlags(int flags) > { > return (flags & wxFONTFLAG_UNDERLINED) != 0; > } > > static bool GetStrikethroughFromFlags(int flags) > { > return (flags & wxFONTFLAG_STRIKETHROUGH) != 0; > } > >private: > > > > > static wxFontEncoding ms_encodingDefault; >}; > > > wxString wxToString(const wxFontBase& font); > bool wxFromString(const wxString& str, wxFontBase* font); ># 523 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/font.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/font.h" 1 ># 16 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/font.h" >class wxFont : public wxFontBase >{ >public: > wxFont() { } > > wxFont(const wxFontInfo& info); > > wxFont(const wxString& nativeFontInfoString) > { > Create(nativeFontInfoString); > } > > wxFont(const wxNativeFontInfo& info); > > > wxFont(int size, > int family, > int style, > int weight, > bool underlined = false, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT) > { > (void)Create(size, (wxFontFamily)family, (wxFontStyle)style, (wxFontWeight)weight, underlined, face, encoding); > } > > > wxFont(int size, > wxFontFamily family, > wxFontStyle style, > wxFontWeight weight, > bool underlined = false, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT) > { > Create(size, family, style, weight, underlined, face, encoding); > } > > wxFont(const wxSize& pixelSize, > wxFontFamily family, > wxFontStyle style, > wxFontWeight weight, > bool underlined = false, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT) > { > Create(10, family, style, weight, underlined, face, encoding); > SetPixelSize(pixelSize); > } > > bool Create(int size, > wxFontFamily family, > wxFontStyle style, > wxFontWeight weight, > bool underlined = false, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT); > > > bool Create(const wxString& fontname); > > virtual ~wxFont(); > > > virtual int GetPointSize() const; > virtual wxFontStyle GetStyle() const; > virtual wxFontWeight GetWeight() const; > virtual wxString GetFaceName() const; > virtual bool GetUnderlined() const; > virtual bool GetStrikethrough() const; > virtual wxFontEncoding GetEncoding() const; > virtual const wxNativeFontInfo *GetNativeFontInfo() const; > virtual bool IsFixedWidth() const; > > virtual void SetPointSize( int pointSize ); > virtual void SetFamily(wxFontFamily family); > virtual void SetStyle(wxFontStyle style); > virtual void SetWeight(wxFontWeight weight); > virtual bool SetFaceName( const wxString& faceName ); > virtual void SetUnderlined( bool underlined ); > virtual void SetStrikethrough(bool strikethrough); > virtual void SetEncoding(wxFontEncoding encoding); > > void SetFamily(int family) { SetFamily((wxFontFamily)family); } void SetStyle(int style) { SetStyle((wxFontStyle)style); } void SetWeight(int weight) { SetWeight((wxFontWeight)weight); } void SetFamily(wxDeprecatedGUIConstants family) { SetFamily((wxFontFamily)family); } void SetStyle(wxDeprecatedGUIConstants style) { SetStyle((wxFontStyle)style); } void SetWeight(wxDeprecatedGUIConstants weight) { SetWeight((wxFontWeight)weight); } wxFont& MakeBold(); wxFont& MakeItalic(); wxFont& MakeUnderlined(); wxFont& MakeStrikethrough(); wxFont& MakeLarger() { return Scale(1.2f); } wxFont& MakeSmaller() { return Scale(1/1.2f); } wxFont& Scale(float x); wxFont Bold() const; wxFont Italic() const; wxFont Underlined() const; wxFont Strikethrough() const; wxFont Larger() const { return Scaled(1.2f); } wxFont Smaller() const { return Scaled(1/1.2f); } wxFont Scaled(float x) const; > > > > > > > bool GTKSetPangoAttrs(PangoLayout* layout) const; > > > void Unshare(); > > > >protected: > virtual void DoSetNativeFontInfo( const wxNativeFontInfo& info ); > > virtual wxGDIRefData* CreateGDIRefData() const; > virtual wxGDIRefData* CloneGDIRefData(const wxGDIRefData* data) const; > > virtual wxFontFamily DoGetFamily() const; > >private: > void Init(); > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 524 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/font.h" 2 ># 538 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/font.h" >class wxFontList: public wxGDIObjListBase >{ >public: > wxFont *FindOrCreateFont(int pointSize, > wxFontFamily family, > wxFontStyle style, > wxFontWeight weight, > bool underline = false, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT); > > > wxFont *FindOrCreateFont(int pointSize, int family, int style, int weight, > bool underline = false, > const wxString& face = wxEmptyString, > wxFontEncoding encoding = wxFONTENCODING_DEFAULT) > { return FindOrCreateFont(pointSize, (wxFontFamily)family, (wxFontStyle)style, > (wxFontWeight)weight, underline, face, encoding); } > > > > > > >}; > >extern wxFontList* wxTheFontList; ># 580 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/font.h" >inline bool operator==(wxFontFamily s, wxDeprecatedGUIConstants t) >{ return static_cast<int>(s) == static_cast<int>(t); } >inline bool operator!=(wxFontFamily s, wxDeprecatedGUIConstants t) >{ return !(s == t); } >inline bool operator==(wxFontStyle s, wxDeprecatedGUIConstants t) >{ return static_cast<int>(s) == static_cast<int>(t); } >inline bool operator!=(wxFontStyle s, wxDeprecatedGUIConstants t) >{ return !(s == t); } >inline bool operator==(wxFontWeight s, wxDeprecatedGUIConstants t) >{ return static_cast<int>(s) == static_cast<int>(t); } >inline bool operator!=(wxFontWeight s, wxDeprecatedGUIConstants t) >{ return !(s == t); } ># 24 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/region.h" 1 ># 17 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/region.h" >class wxBitmap; >class wxColour; >class wxRegion; > > > > > > >enum wxRegionContain >{ > wxOutRegion = 0, > wxPartRegion = 1, > wxInRegion = 2 >}; > > > >enum wxRegionOp >{ > > wxRGN_AND, > > > wxRGN_COPY, > > > wxRGN_DIFF, > > > wxRGN_OR, > > > wxRGN_XOR >}; > > > > > >class wxRegionBase : public wxGDIObject >{ >public: ># 77 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/region.h" > bool operator==(const wxRegion& region) const { return IsEqual(region); } > bool operator!=(const wxRegion& region) const { return !(*this == region); } > > > > > > > virtual bool IsEmpty() const = 0; > bool Empty() const { return IsEmpty(); } > > > bool IsEqual(const wxRegion& region) const; > > > bool GetBox(wxCoord& x, wxCoord& y, wxCoord& w, wxCoord& h) const > { return DoGetBox(x, y, w, h); } > wxRect GetBox() const > { > wxCoord x, y, w, h; > return DoGetBox(x, y, w, h) ? wxRect(x, y, w, h) : wxRect(); > } > > > wxRegionContain Contains(wxCoord x, wxCoord y) const > { return DoContainsPoint(x, y); } > wxRegionContain Contains(const wxPoint& pt) const > { return DoContainsPoint(pt.x, pt.y); } > wxRegionContain Contains(wxCoord x, wxCoord y, wxCoord w, wxCoord h) const > { return DoContainsRect(wxRect(x, y, w, h)); } > wxRegionContain Contains(const wxRect& rect) const > { return DoContainsRect(rect); } > > > > > > virtual void Clear() = 0; > > > bool Offset(wxCoord x, wxCoord y) > { return DoOffset(x, y); } > bool Offset(const wxPoint& pt) > { return DoOffset(pt.x, pt.y); } > > > bool Union(wxCoord x, wxCoord y, wxCoord w, wxCoord h) > { return DoUnionWithRect(wxRect(x, y, w, h)); } > bool Union(const wxRect& rect) > { return DoUnionWithRect(rect); } > bool Union(const wxRegion& region) > { return DoUnionWithRegion(region); } > > > > > > > > bool Union(const wxBitmap& bmp); > bool Union(const wxBitmap& bmp, const wxColour& transp, int tolerance = 0); > > > > bool Intersect(wxCoord x, wxCoord y, wxCoord w, wxCoord h); > bool Intersect(const wxRect& rect); > bool Intersect(const wxRegion& region) > { return DoIntersect(region); } > > > > bool Subtract(wxCoord x, wxCoord y, wxCoord w, wxCoord h); > bool Subtract(const wxRect& rect); > bool Subtract(const wxRegion& region) > { return DoSubtract(region); } > > > bool Xor(wxCoord x, wxCoord y, wxCoord w, wxCoord h); > bool Xor(const wxRect& rect); > bool Xor(const wxRegion& region) > { return DoXor(region); } > > > > > wxBitmap ConvertToBitmap() const; > >protected: > virtual bool DoIsEqual(const wxRegion& region) const = 0; > virtual bool DoGetBox(wxCoord& x, wxCoord& y, wxCoord& w, wxCoord& h) const = 0; > virtual wxRegionContain DoContainsPoint(wxCoord x, wxCoord y) const = 0; > virtual wxRegionContain DoContainsRect(const wxRect& rect) const = 0; > > virtual bool DoOffset(wxCoord x, wxCoord y) = 0; > > virtual bool DoUnionWithRect(const wxRect& rect) = 0; > virtual bool DoUnionWithRegion(const wxRegion& region) = 0; > > virtual bool DoIntersect(const wxRegion& region) = 0; > virtual bool DoSubtract(const wxRegion& region) = 0; > virtual bool DoXor(const wxRegion& region) = 0; >}; ># 217 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/region.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/region.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/region.h" >class wxRegion : public wxRegionBase >{ >public: > wxRegion() { } > > wxRegion( wxCoord x, wxCoord y, wxCoord w, wxCoord h ) > { > InitRect(x, y, w, h); > } > > wxRegion( const wxPoint& topLeft, const wxPoint& bottomRight ) > { > InitRect(topLeft.x, topLeft.y, > bottomRight.x - topLeft.x, bottomRight.y - topLeft.y); > } > > wxRegion( const wxRect& rect ) > { > InitRect(rect.x, rect.y, rect.width, rect.height); > } > > wxRegion( size_t n, const wxPoint *points, > wxPolygonFillMode fillStyle = wxODDEVEN_RULE ); > > > wxRegion( const wxBitmap& bmp) > { > Union(bmp); > } > wxRegion( const wxBitmap& bmp, > const wxColour& transColour, int tolerance = 0) > { > Union(bmp, transColour, tolerance); > } > > > virtual ~wxRegion(); > > > virtual void Clear(); > virtual bool IsEmpty() const; > > > > > wxRegion(const GdkRegion* region); > GdkRegion *GetRegion() const; > > >protected: > virtual wxGDIRefData *CreateGDIRefData() const; > virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const; > > > virtual bool DoIsEqual(const wxRegion& region) const; > virtual bool DoGetBox(wxCoord& x, wxCoord& y, wxCoord& w, wxCoord& h) const; > virtual wxRegionContain DoContainsPoint(wxCoord x, wxCoord y) const; > virtual wxRegionContain DoContainsRect(const wxRect& rect) const; > > virtual bool DoOffset(wxCoord x, wxCoord y); > virtual bool DoUnionWithRect(const wxRect& rect); > virtual bool DoUnionWithRegion(const wxRegion& region); > virtual bool DoIntersect(const wxRegion& region); > virtual bool DoSubtract(const wxRegion& region); > virtual bool DoXor(const wxRegion& region); > > > void InitRect(wxCoord x, wxCoord y, wxCoord w, wxCoord h); > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > >class wxRegionIterator: public wxObject >{ >public: > wxRegionIterator(); > wxRegionIterator(const wxRegion& region); > wxRegionIterator(const wxRegionIterator& ri) : wxObject(ri) { Init(); *this = ri; } > ~wxRegionIterator(); > > wxRegionIterator& operator=(const wxRegionIterator& ri); > > void Reset() { m_current = 0u; } > void Reset(const wxRegion& region); > > bool HaveRects() const; > operator bool () const { return HaveRects(); } > > wxRegionIterator& operator ++ (); > wxRegionIterator operator ++ (int); > > wxCoord GetX() const; > wxCoord GetY() const; > wxCoord GetW() const; > wxCoord GetWidth() const { return GetW(); } > wxCoord GetH() const; > wxCoord GetHeight() const { return GetH(); } > wxRect GetRect() const; > >private: > void Init(); > void CreateRects( const wxRegion& r ); > > wxRegion m_region; > wxRect *m_rects; > int m_numRects; > int m_current; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 218 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/region.h" 2 ># 240 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/region.h" >inline bool wxRegionBase::Intersect(const wxRect& rect) >{ > return DoIntersect(wxRegion(rect)); >} > >inline bool wxRegionBase::Subtract(const wxRect& rect) >{ > return DoSubtract(wxRegion(rect)); >} > >inline bool wxRegionBase::Xor(const wxRect& rect) >{ > return DoXor(wxRegion(rect)); >} > > > > >inline bool wxRegionBase::Intersect(wxCoord x, wxCoord y, wxCoord w, wxCoord h) >{ > return Intersect(wxRect(x, y, w, h)); >} > >inline bool wxRegionBase::Subtract(wxCoord x, wxCoord y, wxCoord w, wxCoord h) >{ > return Subtract(wxRect(x, y, w, h)); >} > >inline bool wxRegionBase::Xor(wxCoord x, wxCoord y, wxCoord w, wxCoord h) >{ > return Xor(wxRect(x, y, w, h)); >} ># 26 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/intl.h" 1 ># 17 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/intl.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/translation.h" 1 ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/translation.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/language.h" 1 ># 32 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/language.h" >enum wxLanguage >{ > > wxLANGUAGE_DEFAULT, > > > wxLANGUAGE_UNKNOWN, > > wxLANGUAGE_ABKHAZIAN, > wxLANGUAGE_AFAR, > wxLANGUAGE_AFRIKAANS, > wxLANGUAGE_ALBANIAN, > wxLANGUAGE_AMHARIC, > wxLANGUAGE_ARABIC, > wxLANGUAGE_ARABIC_ALGERIA, > wxLANGUAGE_ARABIC_BAHRAIN, > wxLANGUAGE_ARABIC_EGYPT, > wxLANGUAGE_ARABIC_IRAQ, > wxLANGUAGE_ARABIC_JORDAN, > wxLANGUAGE_ARABIC_KUWAIT, > wxLANGUAGE_ARABIC_LEBANON, > wxLANGUAGE_ARABIC_LIBYA, > wxLANGUAGE_ARABIC_MOROCCO, > wxLANGUAGE_ARABIC_OMAN, > wxLANGUAGE_ARABIC_QATAR, > wxLANGUAGE_ARABIC_SAUDI_ARABIA, > wxLANGUAGE_ARABIC_SUDAN, > wxLANGUAGE_ARABIC_SYRIA, > wxLANGUAGE_ARABIC_TUNISIA, > wxLANGUAGE_ARABIC_UAE, > wxLANGUAGE_ARABIC_YEMEN, > wxLANGUAGE_ARMENIAN, > wxLANGUAGE_ASSAMESE, > wxLANGUAGE_ASTURIAN, > wxLANGUAGE_AYMARA, > wxLANGUAGE_AZERI, > wxLANGUAGE_AZERI_CYRILLIC, > wxLANGUAGE_AZERI_LATIN, > wxLANGUAGE_BASHKIR, > wxLANGUAGE_BASQUE, > wxLANGUAGE_BELARUSIAN, > wxLANGUAGE_BENGALI, > wxLANGUAGE_BHUTANI, > wxLANGUAGE_BIHARI, > wxLANGUAGE_BISLAMA, > wxLANGUAGE_BOSNIAN, > wxLANGUAGE_BRETON, > wxLANGUAGE_BULGARIAN, > wxLANGUAGE_BURMESE, > wxLANGUAGE_CAMBODIAN, > wxLANGUAGE_CATALAN, > wxLANGUAGE_CHINESE, > wxLANGUAGE_CHINESE_SIMPLIFIED, > wxLANGUAGE_CHINESE_TRADITIONAL, > wxLANGUAGE_CHINESE_HONGKONG, > wxLANGUAGE_CHINESE_MACAU, > wxLANGUAGE_CHINESE_SINGAPORE, > wxLANGUAGE_CHINESE_TAIWAN, > wxLANGUAGE_CORSICAN, > wxLANGUAGE_CROATIAN, > wxLANGUAGE_CZECH, > wxLANGUAGE_DANISH, > wxLANGUAGE_DUTCH, > wxLANGUAGE_DUTCH_BELGIAN, > wxLANGUAGE_ENGLISH, > wxLANGUAGE_ENGLISH_UK, > wxLANGUAGE_ENGLISH_US, > wxLANGUAGE_ENGLISH_AUSTRALIA, > wxLANGUAGE_ENGLISH_BELIZE, > wxLANGUAGE_ENGLISH_BOTSWANA, > wxLANGUAGE_ENGLISH_CANADA, > wxLANGUAGE_ENGLISH_CARIBBEAN, > wxLANGUAGE_ENGLISH_DENMARK, > wxLANGUAGE_ENGLISH_EIRE, > wxLANGUAGE_ENGLISH_JAMAICA, > wxLANGUAGE_ENGLISH_NEW_ZEALAND, > wxLANGUAGE_ENGLISH_PHILIPPINES, > wxLANGUAGE_ENGLISH_SOUTH_AFRICA, > wxLANGUAGE_ENGLISH_TRINIDAD, > wxLANGUAGE_ENGLISH_ZIMBABWE, > wxLANGUAGE_ESPERANTO, > wxLANGUAGE_ESTONIAN, > wxLANGUAGE_FAEROESE, > wxLANGUAGE_FARSI, > wxLANGUAGE_FIJI, > wxLANGUAGE_FINNISH, > wxLANGUAGE_FRENCH, > wxLANGUAGE_FRENCH_BELGIAN, > wxLANGUAGE_FRENCH_CANADIAN, > wxLANGUAGE_FRENCH_LUXEMBOURG, > wxLANGUAGE_FRENCH_MONACO, > wxLANGUAGE_FRENCH_SWISS, > wxLANGUAGE_FRISIAN, > wxLANGUAGE_GALICIAN, > wxLANGUAGE_GEORGIAN, > wxLANGUAGE_GERMAN, > wxLANGUAGE_GERMAN_AUSTRIAN, > wxLANGUAGE_GERMAN_BELGIUM, > wxLANGUAGE_GERMAN_LIECHTENSTEIN, > wxLANGUAGE_GERMAN_LUXEMBOURG, > wxLANGUAGE_GERMAN_SWISS, > wxLANGUAGE_GREEK, > wxLANGUAGE_GREENLANDIC, > wxLANGUAGE_GUARANI, > wxLANGUAGE_GUJARATI, > wxLANGUAGE_HAUSA, > wxLANGUAGE_HEBREW, > wxLANGUAGE_HINDI, > wxLANGUAGE_HUNGARIAN, > wxLANGUAGE_ICELANDIC, > wxLANGUAGE_INDONESIAN, > wxLANGUAGE_INTERLINGUA, > wxLANGUAGE_INTERLINGUE, > wxLANGUAGE_INUKTITUT, > wxLANGUAGE_INUPIAK, > wxLANGUAGE_IRISH, > wxLANGUAGE_ITALIAN, > wxLANGUAGE_ITALIAN_SWISS, > wxLANGUAGE_JAPANESE, > wxLANGUAGE_JAVANESE, > wxLANGUAGE_KANNADA, > wxLANGUAGE_KASHMIRI, > wxLANGUAGE_KASHMIRI_INDIA, > wxLANGUAGE_KAZAKH, > wxLANGUAGE_KERNEWEK, > wxLANGUAGE_KINYARWANDA, > wxLANGUAGE_KIRGHIZ, > wxLANGUAGE_KIRUNDI, > wxLANGUAGE_KONKANI, > wxLANGUAGE_KOREAN, > wxLANGUAGE_KURDISH, > wxLANGUAGE_LAOTHIAN, > wxLANGUAGE_LATIN, > wxLANGUAGE_LATVIAN, > wxLANGUAGE_LINGALA, > wxLANGUAGE_LITHUANIAN, > wxLANGUAGE_MACEDONIAN, > wxLANGUAGE_MALAGASY, > wxLANGUAGE_MALAY, > wxLANGUAGE_MALAYALAM, > wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM, > wxLANGUAGE_MALAY_MALAYSIA, > wxLANGUAGE_MALTESE, > wxLANGUAGE_MANIPURI, > wxLANGUAGE_MAORI, > wxLANGUAGE_MARATHI, > wxLANGUAGE_MOLDAVIAN, > wxLANGUAGE_MONGOLIAN, > wxLANGUAGE_NAURU, > wxLANGUAGE_NEPALI, > wxLANGUAGE_NEPALI_INDIA, > wxLANGUAGE_NORWEGIAN_BOKMAL, > wxLANGUAGE_NORWEGIAN_NYNORSK, > wxLANGUAGE_OCCITAN, > wxLANGUAGE_ORIYA, > wxLANGUAGE_OROMO, > wxLANGUAGE_PASHTO, > wxLANGUAGE_POLISH, > wxLANGUAGE_PORTUGUESE, > wxLANGUAGE_PORTUGUESE_BRAZILIAN, > wxLANGUAGE_PUNJABI, > wxLANGUAGE_QUECHUA, > wxLANGUAGE_RHAETO_ROMANCE, > wxLANGUAGE_ROMANIAN, > wxLANGUAGE_RUSSIAN, > wxLANGUAGE_RUSSIAN_UKRAINE, > wxLANGUAGE_SAMI, > wxLANGUAGE_SAMOAN, > wxLANGUAGE_SANGHO, > wxLANGUAGE_SANSKRIT, > wxLANGUAGE_SCOTS_GAELIC, > wxLANGUAGE_SERBIAN, > wxLANGUAGE_SERBIAN_CYRILLIC, > wxLANGUAGE_SERBIAN_LATIN, > wxLANGUAGE_SERBO_CROATIAN, > wxLANGUAGE_SESOTHO, > wxLANGUAGE_SETSWANA, > wxLANGUAGE_SHONA, > wxLANGUAGE_SINDHI, > wxLANGUAGE_SINHALESE, > wxLANGUAGE_SISWATI, > wxLANGUAGE_SLOVAK, > wxLANGUAGE_SLOVENIAN, > wxLANGUAGE_SOMALI, > wxLANGUAGE_SPANISH, > wxLANGUAGE_SPANISH_ARGENTINA, > wxLANGUAGE_SPANISH_BOLIVIA, > wxLANGUAGE_SPANISH_CHILE, > wxLANGUAGE_SPANISH_COLOMBIA, > wxLANGUAGE_SPANISH_COSTA_RICA, > wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC, > wxLANGUAGE_SPANISH_ECUADOR, > wxLANGUAGE_SPANISH_EL_SALVADOR, > wxLANGUAGE_SPANISH_GUATEMALA, > wxLANGUAGE_SPANISH_HONDURAS, > wxLANGUAGE_SPANISH_MEXICAN, > wxLANGUAGE_SPANISH_MODERN, > wxLANGUAGE_SPANISH_NICARAGUA, > wxLANGUAGE_SPANISH_PANAMA, > wxLANGUAGE_SPANISH_PARAGUAY, > wxLANGUAGE_SPANISH_PERU, > wxLANGUAGE_SPANISH_PUERTO_RICO, > wxLANGUAGE_SPANISH_URUGUAY, > wxLANGUAGE_SPANISH_US, > wxLANGUAGE_SPANISH_VENEZUELA, > wxLANGUAGE_SUNDANESE, > wxLANGUAGE_SWAHILI, > wxLANGUAGE_SWEDISH, > wxLANGUAGE_SWEDISH_FINLAND, > wxLANGUAGE_TAGALOG, > wxLANGUAGE_TAJIK, > wxLANGUAGE_TAMIL, > wxLANGUAGE_TATAR, > wxLANGUAGE_TELUGU, > wxLANGUAGE_THAI, > wxLANGUAGE_TIBETAN, > wxLANGUAGE_TIGRINYA, > wxLANGUAGE_TONGA, > wxLANGUAGE_TSONGA, > wxLANGUAGE_TURKISH, > wxLANGUAGE_TURKMEN, > wxLANGUAGE_TWI, > wxLANGUAGE_UIGHUR, > wxLANGUAGE_UKRAINIAN, > wxLANGUAGE_URDU, > wxLANGUAGE_URDU_INDIA, > wxLANGUAGE_URDU_PAKISTAN, > wxLANGUAGE_UZBEK, > wxLANGUAGE_UZBEK_CYRILLIC, > wxLANGUAGE_UZBEK_LATIN, > wxLANGUAGE_VALENCIAN, > wxLANGUAGE_VIETNAMESE, > wxLANGUAGE_VOLAPUK, > wxLANGUAGE_WELSH, > wxLANGUAGE_WOLOF, > wxLANGUAGE_XHOSA, > wxLANGUAGE_YIDDISH, > wxLANGUAGE_YORUBA, > wxLANGUAGE_ZHUANG, > wxLANGUAGE_ZULU, > > > wxLANGUAGE_USER_DEFINED >}; ># 22 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/translation.h" 2 > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopedptr.h" 1 ># 31 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopedptr.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/checkeddelete.h" 1 ># 32 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopedptr.h" 2 > > > > > >template <class T> >class wxScopedPtr >{ >public: > typedef T element_type; > > explicit wxScopedPtr(T * ptr = __null) : m_ptr(ptr) { } > > ~wxScopedPtr() { do { typedef char complete[sizeof(*m_ptr)] __attribute__ ((unused)); delete m_ptr; } while ( (void)0, 0 ); } ># 54 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopedptr.h" > typedef T *(wxScopedPtr<T>::*unspecified_bool_type)() const; > > operator unspecified_bool_type() const > { > return m_ptr ? &wxScopedPtr<T>::get : __null; > } > > void reset(T * ptr = __null) > { > if ( ptr != m_ptr ) > { > do { typedef char complete[sizeof(*m_ptr)] __attribute__ ((unused)); delete m_ptr; } while ( (void)0, 0 ); > m_ptr = ptr; > } > } > > T *release() > { > T *ptr = m_ptr; > m_ptr = __null; > return ptr; > } > > T & operator*() const > { > do { if ( wxTheAssertHandler && !(m_ptr != __null) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopedptr.h", 79, __FUNCTION__, "m_ptr != __null", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return *m_ptr; > } > > T * operator->() const > { > do { if ( wxTheAssertHandler && !(m_ptr != __null) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scopedptr.h", 85, __FUNCTION__, "m_ptr != __null", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > return m_ptr; > } > > T * get() const > { > return m_ptr; > } > > void swap(wxScopedPtr& other) > { > T * const tmp = other.m_ptr; > other.m_ptr = m_ptr; > m_ptr = tmp; > } > >private: > T * m_ptr; > > private: wxScopedPtr(const wxScopedPtr<T>&); wxScopedPtr& operator=(const wxScopedPtr<T>&); >}; ># 25 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/translation.h" 2 ># 50 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/translation.h" >class wxArrayString; >class wxTranslationsLoader; >class wxLocale; > >class wxPluralFormsCalculator; >class wxPluralFormsCalculatorPtr { private: wxPluralFormsCalculator * m_ptr; wxPluralFormsCalculatorPtr(wxPluralFormsCalculatorPtr const &); wxPluralFormsCalculatorPtr & operator=(wxPluralFormsCalculatorPtr const &); public: explicit wxPluralFormsCalculatorPtr(wxPluralFormsCalculator * ptr = __null) : m_ptr(ptr) { } ~wxPluralFormsCalculatorPtr(); void reset(wxPluralFormsCalculator * ptr = __null); wxPluralFormsCalculator *release() { wxPluralFormsCalculator *ptr = m_ptr; m_ptr = __null; return ptr; } wxPluralFormsCalculator & operator*() const { do { if ( wxTheAssertHandler && !(m_ptr != __null) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/translation.h", 55, __FUNCTION__, "m_ptr != __null", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return *m_ptr; } wxPluralFormsCalculator * operator->() const { do { if ( wxTheAssertHandler && !(m_ptr != __null) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/translation.h", 55, __FUNCTION__, "m_ptr != __null", (const char*)__null), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return m_ptr; } wxPluralFormsCalculator * get() const { return m_ptr; } void swap(wxPluralFormsCalculatorPtr & ot) { wxPluralFormsCalculator * tmp = ot.m_ptr; ot.m_ptr = m_ptr; m_ptr = tmp; } }; > > > > > >class wxMsgCatalog >{ >public: ># 72 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/translation.h" > static wxMsgCatalog *CreateFromFile(const wxString& filename, > const wxString& domain); > > static wxMsgCatalog *CreateFromData(const wxScopedCharBuffer& data, > const wxString& domain); > > > wxString GetDomain() const { return m_domain; } > > > const wxString *GetString(const wxString& sz, unsigned n = (2147483647 * 2U + 1U)) const; > >protected: > wxMsgCatalog(const wxString& domain) > : m_pNext(__null), m_domain(domain) > > > > {} > >private: > > wxMsgCatalog *m_pNext; > friend class wxTranslations; > > wxStringToStringHashMap m_messages; > wxString m_domain; > > > > > > > > wxPluralFormsCalculatorPtr m_pluralFormsCalculator; >}; > > > > > > >class wxTranslations >{ >public: > wxTranslations(); > ~wxTranslations(); > > > static wxTranslations *Get(); > > static void Set(wxTranslations *t); > > > void SetLoader(wxTranslationsLoader *loader); > > void SetLanguage(wxLanguage lang); > void SetLanguage(const wxString& lang); > > > wxArrayString GetAvailableTranslations(const wxString& domain) const; > > > wxString GetBestTranslation(const wxString& domain, wxLanguage msgIdLanguage); > wxString GetBestTranslation(const wxString& domain, > const wxString& msgIdLanguage = "en"); > > > bool AddStdCatalog(); > > > > bool AddCatalog(const wxString& domain); > bool AddCatalog(const wxString& domain, wxLanguage msgIdLanguage); > > > > > > > > bool IsLoaded(const wxString& domain) const; > > > const wxString *GetTranslatedString(const wxString& origString, > const wxString& domain = wxEmptyString) const; > const wxString *GetTranslatedString(const wxString& origString, > unsigned n, > const wxString& domain = wxEmptyString) const; > > wxString GetHeaderValue(const wxString& header, > const wxString& domain = wxEmptyString) const; > > > > > static const wxString& GetUntranslatedString(const wxString& str); > >private: > > bool LoadCatalog(const wxString& domain, const wxString& lang, const wxString& msgIdLang); > > > wxMsgCatalog *FindCatalog(const wxString& domain) const; > > > static void SetNonOwned(wxTranslations *t); > friend class wxLocale; > >private: > wxString m_lang; > wxTranslationsLoader *m_loader; > > wxMsgCatalog *m_pMsgCat; >}; > > > >class wxTranslationsLoader >{ >public: > wxTranslationsLoader() {} > virtual ~wxTranslationsLoader() {} > > virtual wxMsgCatalog *LoadCatalog(const wxString& domain, > const wxString& lang) = 0; > > virtual wxArrayString GetAvailableTranslations(const wxString& domain) const = 0; >}; > > > >class wxFileTranslationsLoader > : public wxTranslationsLoader >{ >public: > static void AddCatalogLookupPathPrefix(const wxString& prefix); > > virtual wxMsgCatalog *LoadCatalog(const wxString& domain, > const wxString& lang); > > virtual wxArrayString GetAvailableTranslations(const wxString& domain) const; >}; ># 243 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/translation.h" >inline const wxString& wxGetTranslation(const wxString& str, > const wxString& domain = wxString()) >{ > wxTranslations *trans = wxTranslations::Get(); > const wxString *transStr = trans ? trans->GetTranslatedString(str, domain) > : __null; > if ( transStr ) > return *transStr; > else > > > return wxTranslations::GetUntranslatedString(str); >} > >inline const wxString& wxGetTranslation(const wxString& str1, > const wxString& str2, > unsigned n, > const wxString& domain = wxString()) >{ > wxTranslations *trans = wxTranslations::Get(); > const wxString *transStr = trans ? trans->GetTranslatedString(str1, n, domain) > : __null; > if ( transStr ) > return *transStr; > else > > > return n == 1 > ? wxTranslations::GetUntranslatedString(str1) > : wxTranslations::GetUntranslatedString(str2); >} ># 18 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/intl.h" 2 > > > > >enum wxLayoutDirection >{ > wxLayout_Default, > wxLayout_LeftToRight, > wxLayout_RightToLeft >}; ># 46 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/intl.h" >class wxLocale; >class wxLanguageInfoArray; ># 58 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/intl.h" >struct wxLanguageInfo >{ > int Language; > wxString CanonicalName; > > > > > wxString Description; > wxLayoutDirection LayoutDirection; ># 76 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/intl.h" > wxString GetLocaleName() const; >}; > > > > >inline wxString wxLanguageInfo::GetLocaleName() const { return CanonicalName; } > > > > > > > >enum wxLocaleCategory >{ > > wxLOCALE_CAT_NUMBER, > > > wxLOCALE_CAT_DATE, > > > wxLOCALE_CAT_MONEY, > > > > wxLOCALE_CAT_DEFAULT, > > wxLOCALE_CAT_MAX >}; > > > > > >enum wxLocaleInfo >{ > > wxLOCALE_THOUSANDS_SEP, > > > wxLOCALE_DECIMAL_POINT, > > > > > > > wxLOCALE_SHORT_DATE_FMT, > wxLOCALE_LONG_DATE_FMT, > wxLOCALE_DATE_TIME_FMT, > wxLOCALE_TIME_FMT > >}; > > > > > > >enum wxLocaleInitFlags >{ > wxLOCALE_DONT_LOAD_DEFAULT = 0x0000, > wxLOCALE_LOAD_DEFAULT = 0x0001 > > > > >}; > >class wxLocale >{ >public: > > > > > wxLocale() { DoCommonInit(); } > > > wxLocale(const wxString& name, > const wxString& shortName = wxEmptyString, > const wxString& locale = wxEmptyString, > bool bLoadDefault = true > > > > ) > { > DoCommonInit(); > > > > > Init(name, shortName, locale, bLoadDefault); > > } > > wxLocale(int language, > int flags = wxLOCALE_LOAD_DEFAULT) > { > DoCommonInit(); > > Init(language, flags); > } > > > bool Init(const wxString& name, > const wxString& shortName = wxEmptyString, > const wxString& locale = wxEmptyString, > bool bLoadDefault = true > > > > ); > > > bool Init(int language = wxLANGUAGE_DEFAULT, > int flags = wxLOCALE_LOAD_DEFAULT); > > > virtual ~wxLocale(); > > > > static int GetSystemLanguage(); > > > > static wxFontEncoding GetSystemEncoding(); > > > > static wxString GetSystemEncodingName(); > > > > static wxString GetInfo(wxLocaleInfo index, > wxLocaleCategory cat = wxLOCALE_CAT_DEFAULT); > > > bool IsOk() const { return m_pszOldLocale != __null; } > > > const wxString& GetLocale() const { return m_strLocale; } > > > int GetLanguage() const { return m_language; } > > > wxString GetSysName() const; > > > > > wxString GetCanonicalName() const { return m_strShort; } > > > > > > > static void AddCatalogLookupPathPrefix(const wxString& prefix) > { wxFileTranslationsLoader::AddCatalogLookupPathPrefix(prefix); } ># 249 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/intl.h" > bool AddCatalog(const wxString& domain); > bool AddCatalog(const wxString& domain, wxLanguage msgIdLanguage); > bool AddCatalog(const wxString& domain, > wxLanguage msgIdLanguage, const wxString& msgIdCharset); > > > static bool IsAvailable(int lang); > > > bool IsLoaded(const wxString& domain) const; > > > > > static const wxLanguageInfo *GetLanguageInfo(int lang); > > > > static wxString GetLanguageName(int lang); > > > > static wxString GetLanguageCanonicalName(int lang); > > > > > > > static const wxLanguageInfo *FindLanguageInfo(const wxString& locale); > > > > > static void AddLanguage(const wxLanguageInfo& info); ># 296 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/intl.h" > const wxString& GetString(const wxString& origString, > const wxString& domain = wxEmptyString) const > { > return wxGetTranslation(origString, domain); > } > > const wxString& GetString(const wxString& origString, > const wxString& origString2, > unsigned n, > const wxString& domain = wxEmptyString) const > { > return wxGetTranslation(origString, origString2, n, domain); > } > > > const wxString& GetName() const { return m_strShort; } > > > wxString GetHeaderValue(const wxString& header, > const wxString& domain = wxEmptyString) const; > > > > > static void CreateLanguagesDB(); > static void DestroyLanguagesDB(); > >private: > bool DoInit(const wxString& name, > const wxString& shortName, > const wxString& locale); > > > > static void InitLanguagesDB(); > > > void DoCommonInit(); > > wxString m_strLocale, > m_strShort; > int m_language; > > const char *m_pszOldLocale; > wxLocale *m_pOldLocale; > > bool m_initialized; > > wxTranslations m_translations; > > static wxLanguageInfoArray *ms_languagesDB; > > private: wxLocale(const wxLocale&); wxLocale& operator=(const wxLocale&); >}; > > > > > > >extern wxLocale* wxGetLocale(); ># 28 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/validate.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/validate.h" >class wxWindow; >class wxWindowBase; ># 35 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/validate.h" >class wxValidator : public wxEvtHandler >{ >public: > wxValidator(); > wxValidator(const wxValidator& other) > : wxEvtHandler() > , m_validatorWindow(other.m_validatorWindow) > { > } > virtual ~wxValidator(); > > > > > > virtual wxObject *Clone() const > { return __null; } > bool Copy(const wxValidator& val) > { m_validatorWindow = val.m_validatorWindow; return true; } > > > > virtual bool Validate(wxWindow *) { return false; } > > > virtual bool TransferToWindow() { return false; } > > > virtual bool TransferFromWindow() { return false; } > > > wxWindow *GetWindow() const { return (wxWindow *)m_validatorWindow; } > void SetWindow(wxWindowBase *win) { m_validatorWindow = win; } > > > > static void SuppressBellOnError(bool suppress = true) > { ms_isSilent = suppress; } > > > static bool IsSilent() { return ms_isSilent; } ># 87 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/validate.h" >protected: > wxWindowBase *m_validatorWindow; > >private: > static bool ms_isSilent; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); > private: wxValidator& operator=(const wxValidator&); >}; > >extern const wxValidator wxDefaultValidator; ># 30 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" 2 > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/palette.h" 1 ># 22 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/palette.h" >class wxPaletteBase: public wxGDIObject >{ >public: > virtual ~wxPaletteBase() { } > > virtual int GetColoursCount() const { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/palette.h", 27, __FUNCTION__, "Assert failure", L"not implemented"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return 0; } >}; > > > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/paletteg.h" 1 ># 23 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/paletteg.h" >class wxPalette; > > > > > >class wxPalette: public wxPaletteBase >{ >public: > wxPalette(); > wxPalette( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue ); > virtual ~wxPalette(); > > bool Create( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); > int GetPixel( unsigned char red, unsigned char green, unsigned char blue ) const; > bool GetRGB( int pixel, unsigned char *red, unsigned char *green, unsigned char *blue ) const; > > virtual int GetColoursCount() const; > >protected: > virtual wxGDIRefData *CreateGDIRefData() const; > virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const; > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 36 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/palette.h" 2 ># 33 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" 2 > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/accel.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/accel.h" >class wxAcceleratorTable; >class wxMenuItem; >class wxKeyEvent; > > > > > > >enum wxAcceleratorEntryFlags >{ > wxACCEL_NORMAL = 0x0000, > wxACCEL_ALT = 0x0001, > wxACCEL_CTRL = 0x0002, > wxACCEL_SHIFT = 0x0004, > > > > wxACCEL_RAW_CTRL= wxACCEL_CTRL, > > wxACCEL_CMD = wxACCEL_CTRL >}; > > > > > >class wxAcceleratorEntry >{ >public: > wxAcceleratorEntry(int flags = 0, int keyCode = 0, int cmd = 0, > wxMenuItem *item = __null) > : m_flags(flags) > , m_keyCode(keyCode) > , m_command(cmd) > , m_item(item) > { } > > wxAcceleratorEntry(const wxAcceleratorEntry& entry) > : m_flags(entry.m_flags) > , m_keyCode(entry.m_keyCode) > , m_command(entry.m_command) > , m_item(entry.m_item) > { } > > > > static wxAcceleratorEntry *Create(const wxString& str); > > wxAcceleratorEntry& operator=(const wxAcceleratorEntry& entry) > { > if (&entry != this) > Set(entry.m_flags, entry.m_keyCode, entry.m_command, entry.m_item); > return *this; > } > > void Set(int flags, int keyCode, int cmd, wxMenuItem *item = __null) > { > m_flags = flags; > m_keyCode = keyCode; > m_command = cmd; > m_item = item; > } > > void SetMenuItem(wxMenuItem *item) { m_item = item; } > > int GetFlags() const { return m_flags; } > int GetKeyCode() const { return m_keyCode; } > int GetCommand() const { return m_command; } > > wxMenuItem *GetMenuItem() const { return m_item; } > > bool operator==(const wxAcceleratorEntry& entry) const > { > return m_flags == entry.m_flags && > m_keyCode == entry.m_keyCode && > m_command == entry.m_command && > m_item == entry.m_item; > } > > bool operator!=(const wxAcceleratorEntry& entry) const > { return !(*this == entry); } > > > > > > > bool IsOk() const > { > return m_keyCode != 0; > } ># 120 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/accel.h" > wxString ToString() const { return AsPossiblyLocalizedString(true); } > > > > > wxString ToRawString() const { return AsPossiblyLocalizedString(false); } > > > > bool FromString(const wxString& str); > > >private: > wxString AsPossiblyLocalizedString(bool localized) const; > > > static bool ParseAccel(const wxString& str, int *flags, int *keycode); > > > int m_flags; > int m_keyCode; > int m_command; > > > wxMenuItem *m_item; > > > friend class wxMenu; >}; ># 162 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/accel.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/accel.h" 1 ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/accel.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/accel.h" 1 ># 12 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/accel.h" >class wxKeyEvent; > > > > > >class wxAcceleratorTable : public wxObject >{ >public: > wxAcceleratorTable(); > wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]); > virtual ~wxAcceleratorTable(); > > bool Ok() const { return IsOk(); } > bool IsOk() const; > > void Add(const wxAcceleratorEntry& entry); > void Remove(const wxAcceleratorEntry& entry); > > > > > wxMenuItem *GetMenuItem(const wxKeyEvent& event) const; > int GetCommand(const wxKeyEvent& event) const; > > const wxAcceleratorEntry *GetEntry(const wxKeyEvent& event) const; > >protected: > > virtual wxObjectRefData *CreateRefData() const; > virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const; > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/accel.h" 2 ># 163 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/accel.h" 2 ># 173 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/accel.h" >extern wxAcceleratorTable wxNullAcceleratorTable; ># 37 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" 2 ># 68 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" >class wxCaret; >class wxControl; >class wxCursor; >class wxDC; >class wxDropTarget; >class wxLayoutConstraints; >class wxSizer; >class wxToolTip; >class wxWindowBase; >class wxWindow; >class wxScrollHelper; ># 89 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" >struct wxVisualAttributes >{ > > wxFont font; > > > wxColour colFg; > > > > wxColour colBg; >}; > > > >enum wxWindowVariant >{ > wxWINDOW_VARIANT_NORMAL, > wxWINDOW_VARIANT_SMALL, > wxWINDOW_VARIANT_MINI, > wxWINDOW_VARIANT_LARGE, > wxWINDOW_VARIANT_MAX >}; > > > > > > >enum wxShowEffect >{ > wxSHOW_EFFECT_NONE, > wxSHOW_EFFECT_ROLL_TO_LEFT, > wxSHOW_EFFECT_ROLL_TO_RIGHT, > wxSHOW_EFFECT_ROLL_TO_TOP, > wxSHOW_EFFECT_ROLL_TO_BOTTOM, > wxSHOW_EFFECT_SLIDE_TO_LEFT, > wxSHOW_EFFECT_SLIDE_TO_RIGHT, > wxSHOW_EFFECT_SLIDE_TO_TOP, > wxSHOW_EFFECT_SLIDE_TO_BOTTOM, > wxSHOW_EFFECT_BLEND, > wxSHOW_EFFECT_EXPAND, > wxSHOW_EFFECT_MAX >}; > > >enum >{ > wxSEND_EVENT_POST = 1 >}; > > > > > >typedef int (*wxSortFuncFor_wxWindowList)(const wxWindow **, const wxWindow **); class wxWindowListNode : public wxNodeBase { public: wxWindowListNode(wxListBase *list = __null, wxWindowListNode *previous = __null, wxWindowListNode *next = __null, wxWindow *data = __null, const wxListKey& key = wxDefaultListKey) : wxNodeBase(list, previous, next, data, key) { } wxWindowListNode *GetNext() const { return (wxWindowListNode *)wxNodeBase::GetNext(); } wxWindowListNode *GetPrevious() const { return (wxWindowListNode *)wxNodeBase::GetPrevious(); } wxWindow *GetData() const { return (wxWindow *)wxNodeBase::GetData(); } void SetData(wxWindow *data) { wxNodeBase::SetData(data); } protected: virtual void DeleteData(); private: wxWindowListNode(const wxWindowListNode&); wxWindowListNode& operator=(const wxWindowListNode&); }; class wxWindowList : public wxListBase { public: typedef wxWindowListNode Node; class compatibility_iterator { public: compatibility_iterator(Node *ptr = __null) : m_ptr(ptr) { } Node *operator->() const { return m_ptr; } operator Node *() const { return m_ptr; } private: Node *m_ptr; }; wxWindowList(wxKeyType keyType = wxKEY_NONE) : wxListBase(keyType) { } wxWindowList(const wxWindowList& list) : wxListBase(list.GetKeyType()) { Assign(list); } wxWindowList(size_t count, wxWindow *elements[]) : wxListBase(count, (void **)elements) { } wxWindowList& operator=(const wxWindowList& list) { if (&list != this) Assign(list); return *this; } wxWindowListNode *GetFirst() const { return (wxWindowListNode *)wxListBase::GetFirst(); } wxWindowListNode *GetLast() const { return (wxWindowListNode *)wxListBase::GetLast(); } wxWindowListNode *Item(size_t index) const { return (wxWindowListNode *)wxListBase::Item(index); } wxWindow *operator[](size_t index) const { wxWindowListNode *node = Item(index); return node ? (wxWindow*)(node->GetData()) : __null; } wxWindowListNode *Append(wxWindowBase *object) { return (wxWindowListNode *)wxListBase::Append(object); } wxWindowListNode *Insert(wxWindowBase *object) { return (wxWindowListNode *)Insert(static_cast<wxWindowListNode *>(__null), object); } wxWindowListNode *Insert(size_t pos, wxWindowBase *object) { return (wxWindowListNode *)wxListBase::Insert(pos, object); } wxWindowListNode *Insert(wxWindowListNode *prev, wxWindowBase *object) { return (wxWindowListNode *)wxListBase::Insert(prev, object); } wxWindowListNode *Append(long key, void *object) { return (wxWindowListNode *)wxListBase::Append(key, object); } wxWindowListNode *Append(const wxChar *key, void *object) { return (wxWindowListNode *)wxListBase::Append(key, object); } wxWindowListNode *DetachNode(wxWindowListNode *node) { return (wxWindowListNode *)wxListBase::DetachNode(node); } bool DeleteNode(wxWindowListNode *node) { return wxListBase::DeleteNode(node); } bool DeleteObject(wxWindowBase *object) { return wxListBase::DeleteObject(object); } void Erase(wxWindowListNode *it) { DeleteNode(it); } wxWindowListNode *Find(const wxWindowBase *object) const { return (wxWindowListNode *)wxListBase::Find(object); } virtual wxWindowListNode *Find(const wxListKey& key) const { return (wxWindowListNode *)wxListBase::Find(key); } bool Member(const wxWindowBase *object) const { return Find(object) != __null; } int IndexOf(wxWindowBase *object) const { return wxListBase::IndexOf(object); } void Sort(wxSortCompareFunction func) { wxListBase::Sort(func); } void Sort(wxSortFuncFor_wxWindowList func) { Sort((wxSortCompareFunction)func); } protected: virtual wxNodeBase *CreateNode(wxNodeBase *prev, wxNodeBase *next, void *data, const wxListKey& key = wxDefaultListKey) { return new wxWindowListNode(this, (wxWindowListNode *)prev, (wxWindowListNode *)next, (wxWindow *)data, key); } public: typedef size_t size_type; typedef int difference_type; typedef wxWindow* value_type; typedef wxWindowBase* base_value_type; typedef value_type& reference; typedef const value_type& const_reference; typedef base_value_type& base_reference; typedef const base_value_type& const_base_reference; class iterator { typedef wxWindowList list; public: typedef wxWindowListNode Node; typedef iterator itor; typedef wxWindow* value_type; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; iterator(Node* node, Node* init) : m_node(node), m_init(init) {} iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h", 144, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h", 144, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_iterator { typedef wxWindowList list; public: typedef wxWindowListNode Node; typedef wxWindow* value_type; typedef const value_type& const_reference; typedef const_iterator itor; typedef value_type* ptr_type; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_iterator() : m_node(__null), m_init(__null) { } const_iterator(const iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h", 144, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return *this; } const itor operator++(int) { itor tmp = *this; do { if ( wxTheAssertHandler && !(m_node) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h", 144, __FUNCTION__, "m_node", L"uninitialized iterator"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); m_node = m_node->GetNext(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetPrevious() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetPrevious() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class reverse_iterator { typedef wxWindowList list; public: typedef wxWindowListNode Node; typedef wxWindow* value_type; typedef reverse_iterator itor; typedef value_type* ptr_type; typedef value_type& reference; Node* m_node; Node* m_init; public: typedef reference reference_type; typedef ptr_type pointer_type; reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } reverse_iterator() : m_node(__null), m_init(__null) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this; } const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; class const_reverse_iterator { typedef wxWindowList list; public: typedef wxWindowListNode Node; typedef wxWindow* value_type; typedef const_reverse_iterator itor; typedef value_type* ptr_type; typedef const value_type& const_reference; Node* m_node; Node* m_init; public: typedef const_reference reference_type; typedef const ptr_type pointer_type; const_reverse_iterator(Node* node, Node* init) : m_node(node), m_init(init) { } const_reverse_iterator() : m_node(__null), m_init(__null) { } const_reverse_iterator(const reverse_iterator& it) : m_node(it.m_node), m_init(it.m_init) { } reference_type operator*() const { return *(pointer_type)m_node->GetDataPtr(); } itor& operator++() { m_node = m_node->GetPrevious(); return *this; } const itor operator++(int) { itor tmp = *this; m_node = m_node->GetPrevious(); return tmp; } itor& operator--() { m_node = m_node ? m_node->GetNext() : m_init; return *this;} const itor operator--(int) { itor tmp = *this; m_node = m_node ? m_node->GetNext() : m_init; return tmp; } bool operator!=(const itor& it) const { return it.m_node != m_node; } bool operator==(const itor& it) const { return it.m_node == m_node; } }; explicit wxWindowList(size_type n, const_reference v = value_type()) { assign(n, v); } wxWindowList(const const_iterator& first, const const_iterator& last) { assign(first, last); } iterator begin() { return iterator(GetFirst(), GetLast()); } const_iterator begin() const { return const_iterator(GetFirst(), GetLast()); } iterator end() { return iterator(__null, GetLast()); } const_iterator end() const { return const_iterator(__null, GetLast()); } reverse_iterator rbegin() { return reverse_iterator(GetLast(), GetFirst()); } const_reverse_iterator rbegin() const { return const_reverse_iterator(GetLast(), GetFirst()); } reverse_iterator rend() { return reverse_iterator(__null, GetFirst()); } const_reverse_iterator rend() const { return const_reverse_iterator(__null, GetFirst()); } void resize(size_type n, value_type v = value_type()) { while (n < size()) pop_back(); while (n > size()) push_back(v); } size_type size() const { return GetCount(); } size_type max_size() const { return 2147483647; } bool empty() const { return IsEmpty(); } reference front() { return *begin(); } const_reference front() const { return *begin(); } reference back() { iterator tmp = end(); return *--tmp; } const_reference back() const { const_iterator tmp = end(); return *--tmp; } void push_front(const_reference v = value_type()) { Insert(GetFirst(), (const_base_reference)v); } void pop_front() { DeleteNode(GetFirst()); } void push_back(const_reference v = value_type()) { Append((const_base_reference)v); } void pop_back() { DeleteNode(GetLast()); } void assign(const_iterator first, const const_iterator& last) { clear(); for(; first != last; ++first) Append((const_base_reference)*first); } void assign(size_type n, const_reference v = value_type()) { clear(); for(size_type i = 0; i < n; ++i) Append((const_base_reference)v); } iterator insert(const iterator& it, const_reference v) { if ( it == end() ) { Append((const_base_reference)v); iterator itins(end()); return --itins; } else { Insert(it.m_node, (const_base_reference)v); iterator itins(it); return --itins; } } void insert(const iterator& it, size_type n, const_reference v) { for(size_type i = 0; i < n; ++i) insert(it, v); } void insert(const iterator& it, const_iterator first, const const_iterator& last) { for(; first != last; ++first) insert(it, *first); } iterator erase(const iterator& it) { iterator next = iterator(it.m_node->GetNext(), GetLast()); DeleteNode(it.m_node); return next; } iterator erase(const iterator& first, const iterator& last) { iterator next = last; if ( next != end() ) ++next; DeleteNodes(first.m_node, last.m_node); return next; } void clear() { Clear(); } void splice(const iterator& it, wxWindowList& l, const iterator& first, const iterator& last) { insert(it, first, last); l.erase(first, last); } void splice(const iterator& it, wxWindowList& l) { splice(it, l, l.begin(), l.end() ); } void splice(const iterator& it, wxWindowList& l, const iterator& first) { if ( it != first ) { insert(it, *first); l.erase(first); } } void remove(const_reference v) { DeleteObject((const_base_reference)v); } void reverse() { Reverse(); } }; > > > > > >extern wxWindowList wxTopLevelWindows; > > >extern wxList wxPendingDelete; ># 166 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" >class wxWindowBase : public wxEvtHandler >{ >public: > > > > > > wxWindowBase() ; > > virtual ~wxWindowBase(); > > > > > > > bool Close( bool force = false ); > > > > > > > virtual bool Destroy(); > > bool DestroyChildren(); > > > bool IsBeingDeleted() const; > > > > > > > > virtual void SetLabel(const wxString& label) = 0; > virtual wxString GetLabel() const = 0; > > > > virtual void SetName( const wxString &name ) { m_windowName = name; } > virtual wxString GetName() const { return m_windowName; } > > > > void SetWindowVariant(wxWindowVariant variant); > wxWindowVariant GetWindowVariant() const { return m_windowVariant; } > > > > > virtual wxLayoutDirection GetLayoutDirection() const > { return wxLayout_Default; } > virtual void SetLayoutDirection(wxLayoutDirection ) > { } > > > > virtual wxCoord AdjustForLayoutDirection(wxCoord x, > wxCoord width, > wxCoord widthTotal) const; > > > > > void SetId( wxWindowID winid ) { m_windowId = winid; } > wxWindowID GetId() const { return m_windowId; } > > > > > > static wxWindowID NewControlId(int count = 1) > { > return wxIdManager::ReserveId(count); > } > > > > static void UnreserveControlId(wxWindowID id, int count = 1) > { > wxIdManager::UnreserveId(id, count); > } > > > > > > > void SetSize( int x, int y, int width, int height, > int sizeFlags = (0x0001|0x0002) ) > { DoSetSize(x, y, width, height, sizeFlags); } > > void SetSize( int width, int height ) > { DoSetSize( wxDefaultCoord, wxDefaultCoord, width, height, 0x0000 ); } > > void SetSize( const wxSize& size ) > { SetSize( size.x, size.y); } > > void SetSize(const wxRect& rect, int sizeFlags = (0x0001|0x0002)) > { DoSetSize(rect.x, rect.y, rect.width, rect.height, sizeFlags); } > > void Move(int x, int y, int flags = 0x0000) > { DoSetSize(x, y, wxDefaultCoord, wxDefaultCoord, flags); } > > void Move(const wxPoint& pt, int flags = 0x0000) > { Move(pt.x, pt.y, flags); } > > void SetPosition(const wxPoint& pt) { Move(pt); } > > > virtual void Raise() = 0; > virtual void Lower() = 0; > > > void SetClientSize( int width, int height ) > { DoSetClientSize(width, height); } > > void SetClientSize( const wxSize& size ) > { DoSetClientSize(size.x, size.y); } > > void SetClientSize(const wxRect& rect) > { SetClientSize( rect.width, rect.height ); } > > > > > > void GetPosition( int *x, int *y ) const { DoGetPosition(x, y); } > wxPoint GetPosition() const > { > int x, y; > DoGetPosition(&x, &y); > > return wxPoint(x, y); > } > > > void GetScreenPosition(int *x, int *y) const { DoGetScreenPosition(x, y); } > wxPoint GetScreenPosition() const > { > int x, y; > DoGetScreenPosition(&x, &y); > > return wxPoint(x, y); > } > > > void GetSize( int *w, int *h ) const { DoGetSize(w, h); } > wxSize GetSize() const > { > int w, h; > DoGetSize(& w, & h); > return wxSize(w, h); > } > > void GetClientSize( int *w, int *h ) const { DoGetClientSize(w, h); } > wxSize GetClientSize() const > { > int w, h; > DoGetClientSize(&w, &h); > > return wxSize(w, h); > } > > > wxRect GetRect() const > { > int x, y, w, h; > GetPosition(&x, &y); > GetSize(&w, &h); > > return wxRect(x, y, w, h); > } > > wxRect GetScreenRect() const > { > int x, y, w, h; > GetScreenPosition(&x, &y); > GetSize(&w, &h); > > return wxRect(x, y, w, h); > } > > > > > virtual wxPoint GetClientAreaOrigin() const; > > > wxRect GetClientRect() const > { > return wxRect(GetClientAreaOrigin(), GetClientSize()); > } > > > virtual wxSize ClientToWindowSize(const wxSize& size) const; > virtual wxSize WindowToClientSize(const wxSize& size) const; > > > > > wxSize GetBestSize() const; > > void GetBestSize(int *w, int *h) const > { > wxSize s = GetBestSize(); > if ( w ) > *w = s.x; > if ( h ) > *h = s.y; > } > > > > > int GetBestHeight(int width) const; > int GetBestWidth(int height) const; > > > void SetScrollHelper( wxScrollHelper *sh ) { m_scrollHelper = sh; } > wxScrollHelper *GetScrollHelper() { return m_scrollHelper; } > > > > void InvalidateBestSize(); > void CacheBestSize(const wxSize& size) const > { const_cast<wxWindowBase *>(this)->m_bestSizeCache = size; } > > > > > > virtual wxSize GetEffectiveMinSize() const; > > __attribute__((deprecated("use GetEffectiveMinSize() instead"))) > wxSize GetBestFittingSize() const; > __attribute__((deprecated("use GetEffectiveMinSize() instead"))) > wxSize GetAdjustedMinSize() const; > > > > void SetInitialSize(const wxSize& size=wxDefaultSize); > > __attribute__((deprecated("use SetInitialSize() instead"))) > void SetBestFittingSize(const wxSize& size=wxDefaultSize); > > > > > > void Centre(int dir = wxBOTH) { DoCentre(dir); } > void Center(int dir = wxBOTH) { DoCentre(dir); } > > > void CentreOnParent(int dir = wxBOTH) { DoCentre(dir); } > void CenterOnParent(int dir = wxBOTH) { CentreOnParent(dir); } > > > virtual void Fit(); > > > virtual void FitInside(); ># 439 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual void SetSizeHints( int minW, int minH, > int maxW = wxDefaultCoord, int maxH = wxDefaultCoord, > int incW = wxDefaultCoord, int incH = wxDefaultCoord ) > { DoSetSizeHints(minW, minH, maxW, maxH, incW, incH); } > > void SetSizeHints( const wxSize& minSize, > const wxSize& maxSize=wxDefaultSize, > const wxSize& incSize=wxDefaultSize) > { DoSetSizeHints(minSize.x, minSize.y, maxSize.x, maxSize.y, incSize.x, incSize.y); } ># 462 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual void SetMinSize(const wxSize& minSize); > virtual void SetMaxSize(const wxSize& maxSize); > > > virtual void SetMinClientSize(const wxSize& size) > { SetMinSize(ClientToWindowSize(size)); } > virtual void SetMaxClientSize(const wxSize& size) > { SetMaxSize(ClientToWindowSize(size)); } > > > > > virtual wxSize GetMinSize() const { return wxSize(m_minWidth, m_minHeight); } > virtual wxSize GetMaxSize() const { return wxSize(m_maxWidth, m_maxHeight); } > > > virtual wxSize GetMinClientSize() const > { return WindowToClientSize(GetMinSize()); } > virtual wxSize GetMaxClientSize() const > { return WindowToClientSize(GetMaxSize()); } > > > int GetMinWidth() const { return GetMinSize().x; } > int GetMinHeight() const { return GetMinSize().y; } > int GetMaxWidth() const { return GetMaxSize().x; } > int GetMaxHeight() const { return GetMaxSize().y; } ># 496 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > void SetVirtualSize( const wxSize &size ) { DoSetVirtualSize( size.x, size.y ); } > void SetVirtualSize( int x, int y ) { DoSetVirtualSize( x, y ); } > > wxSize GetVirtualSize() const { return DoGetVirtualSize(); } > void GetVirtualSize( int *x, int *y ) const > { > wxSize s( DoGetVirtualSize() ); > > if( x ) > *x = s.GetWidth(); > if( y ) > *y = s.GetHeight(); > } > > > > > > virtual void DoSetVirtualSize( int x, int y ); > virtual wxSize DoGetVirtualSize() const; > > > > > virtual wxSize GetBestVirtualSize() const > { > wxSize client( GetClientSize() ); > wxSize best( GetBestSize() ); > > return wxSize( wxMax( client.x, best.x ), wxMax( client.y, best.y ) ); > } > > > > virtual double GetContentScaleFactor() const > { return 1.0; } > > > > virtual wxSize GetWindowBorderSize() const; > > > > > > > > virtual bool > InformFirstDirection(int direction, int size, int availableOtherDir); > > > > > > > > virtual void SendSizeEvent(int flags = 0); > > > > > > > void SendSizeEventToParent(int flags = 0); > > > void PostSizeEvent() { SendSizeEvent(wxSEND_EVENT_POST); } > > > void PostSizeEventToParent() { SendSizeEventToParent(wxSEND_EVENT_POST); } ># 574 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual bool BeginRepositioningChildren() { return false; } > virtual void EndRepositioningChildren() { } > > > > > class ChildrenRepositioningGuard > { > public: > > > explicit ChildrenRepositioningGuard(wxWindowBase* win) > : m_win(win), > m_callEnd(win && win->BeginRepositioningChildren()) > { > } > > ~ChildrenRepositioningGuard() > { > if ( m_callEnd ) > m_win->EndRepositioningChildren(); > } > > private: > wxWindowBase* const m_win; > const bool m_callEnd; > > private: ChildrenRepositioningGuard(const ChildrenRepositioningGuard&); ChildrenRepositioningGuard& operator=(const ChildrenRepositioningGuard&); > }; > > > > > > > > virtual bool Show( bool show = true ); > bool Hide() { return Show(false); } > > > > > > > virtual bool ShowWithEffect(wxShowEffect , > unsigned = 0) > { > return Show(); > } > > virtual bool HideWithEffect(wxShowEffect , > unsigned = 0) > { > return Hide(); > } > > > virtual bool Enable( bool enable = true ); > bool Disable() { return Enable(false); } > > virtual bool IsShown() const { return m_isShown; } ># 643 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > bool IsEnabled() const; > > > > > > bool IsThisEnabled() const { return m_isEnabled; } > > > > virtual bool IsShownOnScreen() const; > > > > virtual void SetWindowStyleFlag( long style ) { m_windowStyle = style; } > virtual long GetWindowStyleFlag() const { return m_windowStyle; } > > > void SetWindowStyle( long style ) { SetWindowStyleFlag(style); } > long GetWindowStyle() const { return GetWindowStyleFlag(); } > > > bool HasFlag(int flag) const { return (m_windowStyle & flag) != 0; } > virtual bool IsRetained() const { return HasFlag(0x00000000); } > > > > bool ToggleWindowStyle(int flag); > > > > virtual void SetExtraStyle(long exStyle) { m_exStyle = exStyle; } > long GetExtraStyle() const { return m_exStyle; } > > bool HasExtraStyle(int exFlag) const { return (m_exStyle & exFlag) != 0; } ># 687 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual void SetThemeEnabled(bool enableTheme) { m_themeEnabled = enableTheme; } > virtual bool GetThemeEnabled() const { return m_themeEnabled; } > > > > > > > virtual void SetFocus() = 0; > > > virtual void SetFocusFromKbd() { SetFocus(); } > > > static wxWindow *FindFocus(); > > static wxWindow *DoFindFocus() ; > > > > > virtual bool HasFocus() const; ># 717 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual bool AcceptsFocus() const { return true; } > > > > > > virtual bool AcceptsFocusRecursively() const { return AcceptsFocus(); } > > > > > virtual bool AcceptsFocusFromKeyboard() const { return AcceptsFocus(); } ># 737 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual bool CanBeFocused() const { return IsShown() && IsEnabled(); } > > > bool IsFocusable() const { return AcceptsFocus() && CanBeFocused(); } > > > > > > > bool CanAcceptFocus() const > { return AcceptsFocusRecursively() && CanBeFocused(); } > > > bool CanAcceptFocusFromKeyboard() const > { return AcceptsFocusFromKeyboard() && CanBeFocused(); } > > > virtual void SetCanFocus(bool ) { } > > > bool NavigateIn(int flags = wxNavigationKeyEvent::IsForward) > { return DoNavigateIn(flags); } > > > > bool Navigate(int flags = wxNavigationKeyEvent::IsForward) > { return m_parent && ((wxWindowBase *)m_parent)->DoNavigateIn(flags); } > > > > > bool HandleAsNavigationKey(const wxKeyEvent& event); > > > > void MoveBeforeInTabOrder(wxWindow *win) > { DoMoveInTabOrder(win, OrderBefore); } > void MoveAfterInTabOrder(wxWindow *win) > { DoMoveInTabOrder(win, OrderAfter); } > > > > > > > const wxWindowList& GetChildren() const { return m_children; } > wxWindowList& GetChildren() { return m_children; } > > > const wxWindowList& GetWindowChildren() const { return GetChildren() ; } > > > > wxWindow *GetPrevSibling() const { return DoGetSibling(OrderBefore); } > wxWindow *GetNextSibling() const { return DoGetSibling(OrderAfter); } > > > wxWindow *GetParent() const { return m_parent; } > inline wxWindow *GetGrandParent() const; > > > virtual bool IsTopLevel() const; > > > > bool IsDescendant(wxWindowBase* win) const; > > > void SetParent( wxWindowBase *parent ); > > > virtual bool Reparent( wxWindowBase *newParent ); > > > virtual void AddChild( wxWindowBase *child ); > virtual void RemoveChild( wxWindowBase *child ); > > > > virtual bool IsClientAreaChild(const wxWindow *) const > { return true; } > > > > > > > wxWindow *FindWindow(long winid) const; > wxWindow *FindWindow(const wxString& name) const; > > > static wxWindow *FindWindowById( long winid, const wxWindow *parent = __null ); > static wxWindow *FindWindowByName( const wxString& name, > const wxWindow *parent = __null ); > static wxWindow *FindWindowByLabel( const wxString& label, > const wxWindow *parent = __null ); > > > > > > wxEvtHandler *GetEventHandler() const { return m_eventHandler; } > > > > void SetEventHandler( wxEvtHandler *handler ); > > > > void PushEventHandler( wxEvtHandler *handler ); > wxEvtHandler *PopEventHandler( bool deleteHandler = false ); > > > > > > > bool RemoveEventHandler(wxEvtHandler *handler); > > > > > > bool ProcessWindowEvent(wxEvent& event) > { return GetEventHandler()->ProcessEvent(event); } > > > > > > bool ProcessWindowEventLocally(wxEvent& event) > { return GetEventHandler()->ProcessEventLocally(event); } > > > > > > > bool HandleWindowEvent(wxEvent& event) const; > > > virtual void SetNextHandler(wxEvtHandler *handler); > virtual void SetPreviousHandler(wxEvtHandler *handler); > > > > > >protected: ># 897 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > using wxEvtHandler::ProcessEvent; > using wxEvtHandler::ProcessEventLocally; > > using wxEvtHandler::ProcessThreadEvent; > > using wxEvtHandler::SafelyProcessEvent; > using wxEvtHandler::ProcessPendingEvents; > using wxEvtHandler::AddPendingEvent; > using wxEvtHandler::QueueEvent; > > >public: > > > > > > > > virtual void SetValidator( const wxValidator &validator ); > virtual wxValidator *GetValidator() { return m_windowValidator; } > > > > > > > > virtual bool Validate(); > > > virtual bool TransferDataToWindow(); > virtual bool TransferDataFromWindow(); > > virtual void InitDialog(); > > > > > virtual void SetAcceleratorTable( const wxAcceleratorTable& accel ) > { m_acceleratorTable = accel; } > wxAcceleratorTable *GetAcceleratorTable() > { return &m_acceleratorTable; } ># 955 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > wxPoint ConvertPixelsToDialog( const wxPoint& pt ) const; > wxPoint ConvertDialogToPixels( const wxPoint& pt ) const; > wxSize ConvertPixelsToDialog( const wxSize& sz ) const > { > wxPoint pt(ConvertPixelsToDialog(wxPoint(sz.x, sz.y))); > > return wxSize(pt.x, pt.y); > } > > wxSize ConvertDialogToPixels( const wxSize& sz ) const > { > wxPoint pt(ConvertDialogToPixels(wxPoint(sz.x, sz.y))); > > return wxSize(pt.x, pt.y); > } > > > > > > virtual void WarpPointer(int x, int y) = 0; > > > > > > void CaptureMouse(); > void ReleaseMouse(); > > > static wxWindow *GetCapture(); > > > virtual bool HasCapture() const > { return (wxWindow *)this == GetCapture(); } > > > > > > > virtual void Refresh( bool eraseBackground = true, > const wxRect *rect = (const wxRect *) __null ) = 0; > > > void RefreshRect(const wxRect& rect, bool eraseBackground = true) > { > Refresh(eraseBackground, &rect); > } > > > virtual void Update() { } > > > virtual void ClearBackground(); > > > void Freeze(); > > > void Thaw(); > > > bool IsFrozen() const { return m_freezeCount != 0; } > > > virtual void PrepareDC( wxDC & ) { } > > > virtual bool IsDoubleBuffered() const { return false; } > > > > const wxRegion& GetUpdateRegion() const { return m_updateRegion; } > wxRegion& GetUpdateRegion() { return m_updateRegion; } > > > wxRect GetUpdateClientRect() const; > > > > virtual bool DoIsExposed( int x, int y ) const; > virtual bool DoIsExposed( int x, int y, int w, int h ) const; > > bool IsExposed( int x, int y ) const > { return DoIsExposed(x, y); } > bool IsExposed( int x, int y, int w, int h ) const > { return DoIsExposed(x, y, w, h); } > bool IsExposed( const wxPoint& pt ) const > { return DoIsExposed(pt.x, pt.y); } > bool IsExposed( const wxRect& rect ) const > { return DoIsExposed(rect.x, rect.y, rect.width, rect.height); } ># 1058 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual wxVisualAttributes GetDefaultAttributes() const > { > return GetClassDefaultAttributes(GetWindowVariant()); > } > > static wxVisualAttributes > GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); > > > > > > virtual bool SetBackgroundColour(const wxColour& colour); > void SetOwnBackgroundColour(const wxColour& colour) > { > if ( SetBackgroundColour(colour) ) > m_inheritBgCol = false; > } > wxColour GetBackgroundColour() const; > bool InheritsBackgroundColour() const > { > return m_inheritBgCol; > } > bool UseBgCol() const > { > return m_hasBgCol; > } > > virtual bool SetForegroundColour(const wxColour& colour); > void SetOwnForegroundColour(const wxColour& colour) > { > if ( SetForegroundColour(colour) ) > m_inheritFgCol = false; > } > wxColour GetForegroundColour() const; > > > virtual bool SetBackgroundStyle(wxBackgroundStyle style); > wxBackgroundStyle GetBackgroundStyle() const > { return m_backgroundStyle; } > > > > > virtual bool HasTransparentBackground() { return false; } > > > > > > > virtual bool IsTransparentBackgroundSupported(wxString* reason = __null) const; > > > > virtual bool SetFont(const wxFont& font) = 0; > void SetOwnFont(const wxFont& font) > { > if ( SetFont(font) ) > m_inheritFont = false; > } > wxFont GetFont() const; > > > > virtual bool SetCursor( const wxCursor &cursor ); > const wxCursor& GetCursor() const { return m_cursor; } > > > > void SetCaret(wxCaret *caret); > > wxCaret *GetCaret() const { return m_caret; } > > > > virtual int GetCharHeight() const = 0; > virtual int GetCharWidth() const = 0; > > > > void GetTextExtent(const wxString& string, > int *x, int *y, > int *descent = __null, > int *externalLeading = __null, > const wxFont *font = __null) const > { > DoGetTextExtent(string, x, y, descent, externalLeading, font); > } > > wxSize GetTextExtent(const wxString& string) const > { > wxCoord w, h; > GetTextExtent(string, &w, &h); > return wxSize(w, h); > } > > > > > > void ClientToScreen( int *x, int *y ) const > { DoClientToScreen(x, y); } > void ScreenToClient( int *x, int *y ) const > { DoScreenToClient(x, y); } > > > wxPoint ClientToScreen(const wxPoint& pt) const > { > int x = pt.x, y = pt.y; > DoClientToScreen(&x, &y); > > return wxPoint(x, y); > } > > wxPoint ScreenToClient(const wxPoint& pt) const > { > int x = pt.x, y = pt.y; > DoScreenToClient(&x, &y); > > return wxPoint(x, y); > } > > > wxHitTest HitTest(wxCoord x, wxCoord y) const > { return DoHitTest(x, y); } > > wxHitTest HitTest(const wxPoint& pt) const > { return DoHitTest(pt.x, pt.y); } > > > > > > > > wxBorder GetBorder(long flags) const; > > > wxBorder GetBorder() const { return GetBorder(GetWindowStyleFlag()); } > > > virtual void UpdateWindowUI(long flags = wxUPDATE_UI_NONE); > > > virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) ; > > > > > bool PopupMenu(wxMenu *menu, const wxPoint& pos = wxDefaultPosition) > { return PopupMenu(menu, pos.x, pos.y); } > bool PopupMenu(wxMenu *menu, int x, int y); > > > > int GetPopupMenuSelectionFromUser(wxMenu& menu, > const wxPoint& pos = wxDefaultPosition) > { return DoGetPopupMenuSelectionFromUser(menu, pos.x, pos.y); } > int GetPopupMenuSelectionFromUser(wxMenu& menu, int x, int y) > { return DoGetPopupMenuSelectionFromUser(menu, x, y); } > > > > virtual bool HasMultiplePages() const { return false; } > > > > > > > virtual bool CanScroll(int orient) const; > > > bool HasScrollbar(int orient) const; > > > virtual void SetScrollbar( int orient, > int pos, > int thumbvisible, > int range, > bool refresh = true ) = 0; > virtual void SetScrollPos( int orient, int pos, bool refresh = true ) = 0; > virtual int GetScrollPos( int orient ) const = 0; > virtual int GetScrollThumb( int orient ) const = 0; > virtual int GetScrollRange( int orient ) const = 0; > > > virtual void ScrollWindow( int dx, int dy, > const wxRect* rect = __null ) = 0; > > > > > virtual bool ScrollLines(int ) { return false; } > virtual bool ScrollPages(int ) { return false; } > > > bool LineUp() { return ScrollLines(-1); } > bool LineDown() { return ScrollLines(1); } > bool PageUp() { return ScrollPages(-1); } > bool PageDown() { return ScrollPages(1); } > > > > virtual void AlwaysShowScrollbars(bool = true, > bool = true) > { > } > > > > virtual bool IsScrollbarAlwaysShown(int ) const > { > return false; > } ># 1282 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > void SetHelpText(const wxString& text); ># 1294 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual wxString GetHelpTextAtPoint(const wxPoint& pt, > wxHelpEvent::Origin origin) const; > > wxString GetHelpText() const > { > return GetHelpTextAtPoint(wxDefaultPosition, wxHelpEvent::Origin_Unknown); > } ># 1313 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > void SetToolTip( const wxString &tip ); > > > void SetToolTip( wxToolTip *tip ) { DoSetToolTip(tip); } > > void UnsetToolTip() { SetToolTip(__null); } > > wxToolTip* GetToolTip() const { return m_tooltip; } > wxString GetToolTipText() const; ># 1330 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > bool CopyToolTip(wxToolTip *tip); ># 1343 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual void SetDropTarget( wxDropTarget *dropTarget ) = 0; > virtual wxDropTarget *GetDropTarget() const { return m_dropTarget; } > > > virtual void DragAcceptFiles(bool accept) > > > > > > ; > > > > > > > > void SetConstraints( wxLayoutConstraints *constraints ); > wxLayoutConstraints *GetConstraints() const { return m_constraints; } > > > void UnsetConstraints(wxLayoutConstraints *c); > wxWindowList *GetConstraintsInvolvedIn() const > { return m_constraintsInvolvedIn; } > void AddConstraintReference(wxWindowBase *otherWin); > void RemoveConstraintReference(wxWindowBase *otherWin); > void DeleteRelatedConstraints(); > void ResetConstraints(); > > > virtual void SetConstraintSizes(bool recurse = true); > virtual bool LayoutPhase1(int *noChanges); > virtual bool LayoutPhase2(int *noChanges); > virtual bool DoPhase(int phase); > > > virtual void SetSizeConstraint(int x, int y, int w, int h); > virtual void MoveConstraint(int x, int y); > virtual void GetSizeConstraint(int *w, int *h) const ; > virtual void GetClientSizeConstraint(int *w, int *h) const ; > virtual void GetPositionConstraint(int *x, int *y) const ; > > > > > > > void SetAutoLayout( bool autoLayout ) { m_autoLayout = autoLayout; } > bool GetAutoLayout() const { return m_autoLayout; } > > > virtual bool Layout(); > > > void SetSizer(wxSizer *sizer, bool deleteOld = true ); > void SetSizerAndFit( wxSizer *sizer, bool deleteOld = true ); > > wxSizer *GetSizer() const { return m_windowSizer; } > > > void SetContainingSizer(wxSizer* sizer); > wxSizer *GetContainingSizer() const { return m_containingSizer; } ># 1425 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual bool SetTransparent(wxByte ) { return false; } > virtual bool CanSetTransparent() { return false; } > > > > > > > void OnSysColourChanged( wxSysColourChangedEvent& event ); > void OnInitDialog( wxInitDialogEvent &event ); > void OnMiddleClick( wxMouseEvent& event ); > > void OnHelp(wxHelpEvent& event); > > > > > virtual void OnInternalIdle(); > > > > virtual bool SendIdleEvents(wxIdleEvent& event); > > > > > virtual WXWidget GetHandle() const = 0; > > virtual void AssociateHandle(WXWidget ) { } > > virtual void DissociateHandle() { } > > > > > wxPalette GetPalette() const { return m_palette; } > > > > void SetPalette(const wxPalette& pal); > > > bool HasCustomPalette() const { return m_hasCustomPalette; } > > > wxWindow *GetAncestorWithCustomPalette() const; > > > > > > virtual void InheritAttributes(); > > > > > > > virtual bool ShouldInheritColours() const { return false; } > > > > virtual bool CanBeOutsideClientArea() const { return false; } > > > > virtual bool CanApplyThemeBorder() const { return true; } > > > > > virtual wxWindow *GetMainWindowOfCompositeControl() > { return (wxWindow*)this; } > > > > > > > > virtual bool IsTopNavigationDomain() const { return false; } > > >protected: > > > > bool CreateBase(wxWindowBase *parent, > wxWindowID winid, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > long style = 0, > const wxValidator& validator = wxDefaultValidator, > const wxString& name = wxPanelNameStr); > > bool CreateBase(wxWindowBase *parent, > wxWindowID winid, > const wxPoint& pos, > const wxSize& size, > long style, > const wxString& name); > > > virtual bool TryBefore(wxEvent& event); > virtual bool TryAfter(wxEvent& event); > > enum WindowOrder > { > OrderBefore, > OrderAfter > }; > > > wxWindow *DoGetSibling(WindowOrder order) const; > > > virtual void DoMoveInTabOrder(wxWindow *win, WindowOrder move); > > > virtual bool DoNavigateIn(int flags); > > > > void SatisfyConstraints(); > > > > > void SendDestroyEvent(); > > > > > > virtual void DoEnable(bool ) { } > > > > > wxWindowIDRef m_windowId; > > > > wxWindow *m_parent; > wxWindowList m_children; > > > > int m_minWidth, > m_minHeight, > m_maxWidth, > m_maxHeight; > > > > wxEvtHandler *m_eventHandler; > > > > wxValidator *m_windowValidator; > > > > wxDropTarget *m_dropTarget; > > > > wxCursor m_cursor; > wxFont m_font; > wxColour m_backgroundColour, > m_foregroundColour; > > > wxCaret *m_caret; > > > > wxRegion m_updateRegion; > > > > > wxAcceleratorTable m_acceleratorTable; > > > > > wxToolTip *m_tooltip; > > > > > > wxLayoutConstraints *m_constraints; > > > wxWindowList *m_constraintsInvolvedIn; > > > > wxSizer *m_windowSizer; > > > wxSizer *m_containingSizer; > > > bool m_autoLayout:1; > > > bool m_isShown:1; > bool m_isEnabled:1; > bool m_isBeingDeleted:1; > > > bool m_hasBgCol:1; > bool m_hasFgCol:1; > bool m_hasFont:1; > > > bool m_inheritBgCol:1; > bool m_inheritFgCol:1; > bool m_inheritFont:1; > > > long m_windowStyle, > m_exStyle; > wxString m_windowName; > bool m_themeEnabled; > wxBackgroundStyle m_backgroundStyle; > > wxPalette m_palette; > bool m_hasCustomPalette; > > > > > > > > wxSize m_virtualSize; > > wxScrollHelper *m_scrollHelper; > > wxWindowVariant m_windowVariant ; > > > > virtual wxBorder GetDefaultBorder() const; > > > > > virtual wxBorder GetDefaultBorderForControl() const { return wxBORDER_THEME; } > > > > static int WidthDefault(int w) { return w == wxDefaultCoord ? 20 : w; } > static int HeightDefault(int h) { return h == wxDefaultCoord ? 20 : h; } > > > > > wxSize m_bestSizeCache; > > __attribute__((deprecated("use SetInitialSize() instead."))) > void SetBestSize(const wxSize& size); > __attribute__((deprecated("use SetInitialSize() instead."))) > virtual void SetInitialBestSize(const wxSize& size); ># 1709 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual void DoGetTextExtent(const wxString& string, > int *x, int *y, > int *descent = __null, > int *externalLeading = __null, > const wxFont *font = __null) const = 0; > > > virtual void DoClientToScreen( int *x, int *y ) const = 0; > virtual void DoScreenToClient( int *x, int *y ) const = 0; > > virtual wxHitTest DoHitTest(wxCoord x, wxCoord y) const; > > > virtual void DoCaptureMouse() = 0; > virtual void DoReleaseMouse() = 0; > > > virtual void DoGetPosition(int *x, int *y) const = 0; > virtual void DoGetScreenPosition(int *x, int *y) const; > virtual void DoGetSize(int *width, int *height) const = 0; > virtual void DoGetClientSize(int *width, int *height) const = 0; > > > > > virtual wxSize DoGetBestSize() const; > > > > > virtual wxSize DoGetBestClientSize() const { return wxDefaultSize; } > > > > > virtual int DoGetBestClientHeight(int ) const > { return wxDefaultCoord; } > virtual int DoGetBestClientWidth(int ) const > { return wxDefaultCoord; } > > > > > virtual void DoSetSize(int x, int y, > int width, int height, > int sizeFlags = (0x0001|0x0002)) = 0; > > > virtual void DoSetClientSize(int width, int height) = 0; > > virtual void DoSetSizeHints( int minW, int minH, > int maxW, int maxH, > int incW, int incH ); ># 1770 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual wxSize DoGetBorderSize() const; ># 1780 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" > virtual void DoMoveWindow(int x, int y, int width, int height) = 0; > > > > > virtual void DoCentre(int dir); > > > virtual void DoSetToolTip( wxToolTip *tip ); > > > > virtual bool DoPopupMenu(wxMenu *menu, int x, int y) = 0; > > > > > > virtual void AdjustForParentClientOrigin(int& x, int& y, > int sizeFlags = 0) const; > > > virtual void DoSetWindowVariant( wxWindowVariant variant ) ; > > > > virtual void DoFreeze() { } > virtual void DoThaw() { } > > > > > static void NotifyCaptureLost(); > >private: > > > > void NotifyWindowOnEnableChange(bool enabled); > > > > void InternalOnPopupMenu(wxCommandEvent& event); > void InternalOnPopupMenuUpdate(wxUpdateUIEvent& event); > > > int DoGetPopupMenuSelectionFromUser(wxMenu& menu, int x, int y); > > > > > void InternalOnSize(wxSizeEvent& event); > > > wxSize GetDlgUnitBase() const; > > > > > unsigned int m_freezeCount; > > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; > private: wxWindowBase(const wxWindowBase&); wxWindowBase& operator=(const wxWindowBase&); > private: static const wxEventTableEntry sm_eventTableEntries[]; protected: static const wxEventTable sm_eventTable; virtual const wxEventTable* GetEventTable() const; static wxEventHashTable sm_eventHashTable; virtual wxEventHashTable& GetEventHashTable() const; >}; > > > > >inline wxSize wxWindowBase::GetBestFittingSize() const >{ > return GetEffectiveMinSize(); >} > >inline void wxWindowBase::SetBestFittingSize(const wxSize& size) >{ > SetInitialSize(size); >} > >inline void wxWindowBase::SetBestSize(const wxSize& size) >{ > SetInitialSize(size); >} > >inline void wxWindowBase::SetInitialBestSize(const wxSize& size) >{ > SetInitialSize(size); >} ># 1891 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/window.h" 1 ># 22 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/window.h" >typedef struct _GdkEventKey GdkEventKey; >typedef struct _GtkIMContext GtkIMContext; > >typedef GdkWindow * _wxArraywxArrayGdkWindows; struct wxAssert_wxArrayGdkWindows { unsigned int TypeTooBigToBeStoredInwxBaseArrayPtrVoid: sizeof(_wxArraywxArrayGdkWindows) <= sizeof(wxBaseArrayPtrVoid::base_type); }; typedef int ( *CMPFUNC_wxArraywxArrayGdkWindows)(_wxArraywxArrayGdkWindows *pItem1, _wxArraywxArrayGdkWindows *pItem2); class wxArrayGdkWindows : public wxBaseArrayPtrVoid { public: wxArrayGdkWindows() { } ~wxArrayGdkWindows() { } _wxArraywxArrayGdkWindows& operator[](size_t uiIndex) const { return (_wxArraywxArrayGdkWindows&)(wxBaseArrayPtrVoid::operator[](uiIndex)); } _wxArraywxArrayGdkWindows& Item(size_t uiIndex) const { return (_wxArraywxArrayGdkWindows&)(wxBaseArrayPtrVoid::operator[](uiIndex)); } _wxArraywxArrayGdkWindows& Last() const { return (_wxArraywxArrayGdkWindows&)(wxBaseArrayPtrVoid::operator[](GetCount() - 1)); } int Index(_wxArraywxArrayGdkWindows lItem, bool bFromEnd = false) const { return wxBaseArrayPtrVoid::Index((base_type)lItem, bFromEnd); } void Add(_wxArraywxArrayGdkWindows lItem, size_t nInsert = 1) { wxBaseArrayPtrVoid::Add((base_type)lItem, nInsert); } void Insert(_wxArraywxArrayGdkWindows lItem, size_t uiIndex, size_t nInsert = 1) { wxBaseArrayPtrVoid::Insert((base_type)lItem, uiIndex, nInsert) ; } void RemoveAt(size_t uiIndex, size_t nRemove = 1) { wxBaseArrayPtrVoid::RemoveAt(uiIndex, nRemove); } void Remove(_wxArraywxArrayGdkWindows lItem) { int iIndex = Index(lItem); if ( iIndex != (-1) ) {} else { do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/window.h", 25, __FUNCTION__, "iIndex != (-1)", "removing inexistent element in wxArray::Remove"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); return; } struct wxDummyCheckStruct; wxBaseArrayPtrVoid::RemoveAt((size_t)iIndex); } void Sort(CMPFUNC_wxArraywxArrayGdkWindows fCmp) { wxBaseArrayPtrVoid::Sort((CMPFUNC)fCmp); } private: typedef wxBaseArrayPtrVoid::iterator biterator; typedef wxBaseArrayPtrVoid::const_iterator bconst_iterator; typedef wxBaseArrayPtrVoid::value_type bvalue_type; typedef wxBaseArrayPtrVoid::const_reference bconst_reference; public: typedef _wxArraywxArrayGdkWindows value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type* iterator; typedef const value_type* const_iterator; typedef value_type& reference; typedef const value_type& const_reference; typedef wxBaseArrayPtrVoid::difference_type difference_type; typedef wxBaseArrayPtrVoid::size_type size_type; class reverse_iterator { typedef _wxArraywxArrayGdkWindows value_type; typedef value_type& reference; typedef value_type* pointer; typedef reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; reverse_iterator() : m_ptr(__null) { } reverse_iterator(pointer ptr) : m_ptr(ptr) { } reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { reverse_iterator tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; class const_reverse_iterator { typedef _wxArraywxArrayGdkWindows value_type; typedef const value_type& reference; typedef const value_type* pointer; typedef const_reverse_iterator itor; friend inline itor operator+(int o, const itor& it) { return it.m_ptr - o; } friend inline itor operator+(const itor& it, int o) { return it.m_ptr - o; } friend inline itor operator-(const itor& it, int o) { return it.m_ptr + o; } friend inline difference_type operator-(const itor& i1, const itor& i2) { return i1.m_ptr - i2.m_ptr; } public: pointer m_ptr; const_reverse_iterator() : m_ptr(__null) { } const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } const_reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } itor& operator++() { --m_ptr; return *this; } const itor operator++(int) { itor tmp = *this; --m_ptr; return tmp; } itor& operator--() { ++m_ptr; return *this; } const itor operator--(int) { itor tmp = *this; ++m_ptr; return tmp; } bool operator ==(const itor& it) const { return m_ptr == it.m_ptr; } bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; } }; wxArrayGdkWindows(size_type n) { assign(n, value_type()); } wxArrayGdkWindows(size_type n, const_reference v) { assign(n, v); } wxArrayGdkWindows(const_iterator first, const_iterator last) { assign(first, last); } void assign(const_iterator first, const_iterator last) { wxBaseArrayPtrVoid::assign((bconst_iterator)first, (bconst_iterator)last); } void assign(size_type n, const_reference v) { wxBaseArrayPtrVoid::assign(n, (bconst_reference)v); } reference back() { return *(end() - 1); } const_reference back() const { return *(end() - 1); } iterator begin() { return (iterator)wxBaseArrayPtrVoid::begin(); } const_iterator begin() const { return (const_iterator)wxBaseArrayPtrVoid::begin(); } size_type capacity() const { return wxBaseArrayPtrVoid::capacity(); } iterator end() { return (iterator)wxBaseArrayPtrVoid::end(); } const_iterator end() const { return (const_iterator)wxBaseArrayPtrVoid::end(); } iterator erase(iterator first, iterator last) { return (iterator)wxBaseArrayPtrVoid::erase((biterator)first, (biterator)last); } iterator erase(iterator it) { return (iterator)wxBaseArrayPtrVoid::erase((biterator)it); } reference front() { return *begin(); } const_reference front() const { return *begin(); } void insert(iterator it, size_type n, const_reference v) { wxBaseArrayPtrVoid::insert((biterator)it, n, (bconst_reference)v); } iterator insert(iterator it, const_reference v = value_type()) { return (iterator)wxBaseArrayPtrVoid::insert((biterator)it, (bconst_reference)v); } void insert(iterator it, const_iterator first, const_iterator last) { wxBaseArrayPtrVoid::insert((biterator)it, (bconst_iterator)first, (bconst_iterator)last); } void pop_back() { wxBaseArrayPtrVoid::pop_back(); } void push_back(const_reference v) { wxBaseArrayPtrVoid::push_back((bconst_reference)v); } reverse_iterator rbegin() { return reverse_iterator(end() - 1); } const_reverse_iterator rbegin() const; reverse_iterator rend() { return reverse_iterator(begin() - 1); } const_reverse_iterator rend() const; void reserve(size_type n) { wxBaseArrayPtrVoid::reserve(n); } void resize(size_type n, value_type v = value_type()) { wxBaseArrayPtrVoid::resize(n, v); } void swap(wxArrayGdkWindows& other) { wxBaseArrayPtrVoid::swap(other); } }; > >extern "C" >{ > >typedef void (*wxGTKCallback)(); > >} > > > > > >class wxWindow : public wxWindowBase >{ >public: > > > wxWindow(); > wxWindow(wxWindow *parent, > wxWindowID id, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > long style = 0, > const wxString& name = wxPanelNameStr); > bool Create(wxWindow *parent, > wxWindowID id, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > long style = 0, > const wxString& name = wxPanelNameStr); > virtual ~wxWindow(); > > > > > virtual void Raise(); > virtual void Lower(); > > virtual bool Show( bool show = true ); > > virtual bool IsRetained() const; > > virtual void SetFocus(); > > > virtual void SetCanFocus(bool canFocus); > > virtual bool Reparent( wxWindowBase *newParent ); > > virtual void WarpPointer(int x, int y); > > virtual void Refresh( bool eraseBackground = true, > const wxRect *rect = (const wxRect *) __null ); > virtual void Update(); > virtual void ClearBackground(); > > virtual bool SetBackgroundColour( const wxColour &colour ); > virtual bool SetForegroundColour( const wxColour &colour ); > virtual bool SetCursor( const wxCursor &cursor ); > virtual bool SetFont( const wxFont &font ); > > virtual bool SetBackgroundStyle(wxBackgroundStyle style) ; > virtual bool IsTransparentBackgroundSupported(wxString* reason = __null) const; > > virtual int GetCharHeight() const; > virtual int GetCharWidth() const; > > virtual void SetScrollbar( int orient, int pos, int thumbVisible, > int range, bool refresh = true ); > virtual void SetScrollPos( int orient, int pos, bool refresh = true ); > virtual int GetScrollPos( int orient ) const; > virtual int GetScrollThumb( int orient ) const; > virtual int GetScrollRange( int orient ) const; > virtual void ScrollWindow( int dx, int dy, > const wxRect* rect = __null ); > virtual bool ScrollLines(int lines); > virtual bool ScrollPages(int pages); > > > virtual void SetDropTarget( wxDropTarget *dropTarget ); > > > virtual void AddChild( wxWindowBase *child ); > virtual void RemoveChild( wxWindowBase *child ); > > virtual void SetLayoutDirection(wxLayoutDirection dir); > virtual wxLayoutDirection GetLayoutDirection() const; > virtual wxCoord AdjustForLayoutDirection(wxCoord x, > wxCoord width, > wxCoord widthTotal) const; > > virtual bool DoIsExposed( int x, int y ) const; > virtual bool DoIsExposed( int x, int y, int w, int h ) const; > > > void SetDoubleBuffered(bool on); > virtual bool IsDoubleBuffered() const; > > > virtual void SetLabel(const wxString& label) { m_gtkLabel = label; } > virtual wxString GetLabel() const { return m_gtkLabel; } > > > > > virtual WXWidget GetHandle() const { return m_widget; } > > > > virtual void OnInternalIdle(); > > > void OnIdle(wxIdleEvent& ) {} > > > bool PreCreation( wxWindow *parent, const wxPoint &pos, const wxSize &size ); > void PostCreation(); > > > void DoAddChild(wxWindow *child); > > > > > > > void GTKSendPaintEvents(const GdkRegion* region); ># 161 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/window.h" > virtual GtkWidget* GetConnectWidget(); > void ConnectWidget( GtkWidget *widget ); > > > > > int GTKCallbackCommonPrologue(struct _GdkEventAny *event) const; > > > > > bool GTKShouldIgnoreEvent() const; > > > > > > > virtual bool GTKProcessEvent(wxEvent& event) const; > > > static wxLayoutDirection GTKGetLayout(GtkWidget *widget); > static void GTKSetLayout(GtkWidget *widget, wxLayoutDirection dir); > > > > void GTKReleaseMouseAndNotify(); > > GdkWindow* GTKGetDrawingWindow() const; > > bool GTKHandleFocusIn(); > bool GTKHandleFocusOut(); > void GTKHandleFocusOutNoDeferring(); > static void GTKHandleDeferredFocusOut(); > > > > virtual void GTKHandleRealized(); > void GTKHandleUnrealize(); > >protected: > > > > virtual bool GTKNeedsToFilterSameWindowFocus() const { return false; } > > > > > > virtual bool GTKWidgetNeedsMnemonic() const; > virtual void GTKWidgetDoSetMnemonic(GtkWidget* w); ># 221 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/window.h" > virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; > > > bool GTKIsOwnWindow(GdkWindow *window) const; > >public: > > PangoContext *GTKGetPangoDefaultContext(); > > > > virtual void GTKApplyToolTip(const char* tip); > > > > > void GTKShowOnIdle() { m_showOnIdle = true; } > > > bool GTKShowFromOnIdle(); > > > virtual bool GTKIsTransparentForMouse() const { return false; } > > > wxEventType GTKGetScrollEventType(GtkRange* range); > > > int m_x, m_y; > int m_width, m_height; > int m_clientWidth, m_clientHeight; > > > > bool m_useCachedClientSize; > > > GtkWidget *m_widget; > GtkWidget *m_wxwindow; > > > wxString m_gtkLabel; > > > bool IsOfStandardClass() const { return m_wxwindow == __null; } > > > GtkWidget *m_focusWidget; > > void GTKDisableFocusOutEvent(); > void GTKEnableFocusOutEvent(); ># 283 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/window.h" > GtkIMContext* m_imContext; > > > > GdkEventKey* m_imKeyEvent; > > > > > > virtual int GTKIMFilterKeypress(GdkEventKey* event) const; > > > > > > > > bool GTKOnInsertText(const char* text); > > > > bool GTKDoInsertTextFromIM(const char* text); > > > > enum ScrollDir { ScrollDir_Horz, ScrollDir_Vert, ScrollDir_Max }; > > > GtkRange* m_scrollBar[ScrollDir_Max]; > > > double m_scrollPos[ScrollDir_Max]; > > > > static ScrollDir ScrollDirFromOrient(int orient) > { > return orient == wxVERTICAL ? ScrollDir_Vert : ScrollDir_Horz; > } > > > static int OrientFromScrollDir(ScrollDir dir) > { > return dir == ScrollDir_Horz ? wxHORIZONTAL : wxVERTICAL; > } > > > ScrollDir ScrollDirFromRange(GtkRange *range) const; > > > > void GTKUpdateCursor(bool update_self = true, bool recurse = true); > > > bool m_noExpose:1; > bool m_nativeSizeEvent:1; > bool m_isScrolling:1; > bool m_clipPaintRegion:1; > wxRegion m_nativeUpdateRegion; > bool m_dirtyTabOrder:1; > > bool m_mouseButtonDown:1; > > bool m_showOnIdle:1; > >protected: > > virtual void DoGetTextExtent(const wxString& string, > int *x, int *y, > int *descent = __null, > int *externalLeading = __null, > const wxFont *font = __null) const; > virtual void DoClientToScreen( int *x, int *y ) const; > virtual void DoScreenToClient( int *x, int *y ) const; > virtual void DoGetPosition( int *x, int *y ) const; > virtual void DoGetSize( int *width, int *height ) const; > virtual void DoGetClientSize( int *width, int *height ) const; > virtual void DoSetSize(int x, int y, > int width, int height, > int sizeFlags = (0x0001|0x0002)); > virtual void DoSetClientSize(int width, int height); > virtual wxSize DoGetBorderSize() const; > virtual void DoMoveWindow(int x, int y, int width, int height); > virtual void DoEnable(bool enable); > > > virtual bool DoPopupMenu( wxMenu *menu, int x, int y ); > > > virtual void DoCaptureMouse(); > virtual void DoReleaseMouse(); > > virtual void DoFreeze(); > virtual void DoThaw(); > > void GTKFreezeWidget(GtkWidget *w); > void GTKThawWidget(GtkWidget *w); > void GTKDisconnect(void* instance); > > > virtual void DoSetToolTip( wxToolTip *tip ); ># 393 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/window.h" > void GTKCreateScrolledWindowWith(GtkWidget* view); > > virtual void DoMoveInTabOrder(wxWindow *win, WindowOrder move); > virtual bool DoNavigateIn(int flags); > > > > void RealizeTabOrder(); > > > > > > GtkRcStyle* GTKCreateWidgetStyle(); > > > void GTKApplyWidgetStyle(bool forceStyle = false); > > > > virtual void DoApplyWidgetStyle(GtkRcStyle *style); > > void GTKApplyStyle(GtkWidget* widget, GtkRcStyle* style); > > > static void GTKScrolledWindowSetBorder(GtkWidget* w, int style); > > > > > > unsigned long GTKConnectWidget(const char *signal, wxGTKCallback callback); > > void ConstrainSize(); > >private: > void Init(); > > > > > virtual bool GTKNeedsParent() const { return !IsTopLevel(); } > > enum ScrollUnit { ScrollUnit_Line, ScrollUnit_Page, ScrollUnit_Max }; > > > > > > > bool DoScrollByUnits(ScrollDir dir, ScrollUnit unit, int units); > virtual void AddChildGTK(wxWindow* child); ># 459 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/window.h" > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); > private: wxWindow(const wxWindow&); wxWindow& operator=(const wxWindow&); >}; ># 1892 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" 2 ># 1947 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/window.h" >inline wxWindow *wxWindowBase::GetGrandParent() const >{ > return m_parent ? m_parent->GetParent() : __null; >} > > > > > > > >extern wxWindow* wxFindWindowAtPointer(wxPoint& pt); > > >extern wxPoint wxGetMousePosition(); > > >extern wxWindow *wxGetActiveWindow(); > > > wxWindow* wxGetTopLevelParent(wxWindow *win); ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/panel.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/containr.h" 1 ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/containr.h" >class wxWindow; >class wxWindowBase; ># 36 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/containr.h" >class wxControlContainerBase >{ >public: > > wxControlContainerBase() > { > m_winParent = __null; > > > m_acceptsFocusSelf = true; > > > m_acceptsFocusChildren = false; > > m_inSetFocus = false; > m_winLastFocused = __null; > } > virtual ~wxControlContainerBase() {} > > void SetContainerWindow(wxWindow *winParent) > { > do { if ( wxTheAssertHandler && !(!m_winParent) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/containr.h", 57, __FUNCTION__, "!m_winParent", L"shouldn't be called twice"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > m_winParent = winParent; > } > > > > void DisableSelfFocus() > { m_acceptsFocusSelf = false; UpdateParentCanFocus(); } > > > > > void EnableSelfFocus() > { m_acceptsFocusSelf = true; UpdateParentCanFocus(); } > > > > bool DoSetFocus(); > > > bool AcceptsFocus() const; > > > bool AcceptsFocusRecursively() const > { return AcceptsFocus() || > (m_acceptsFocusChildren && HasAnyChildrenAcceptingFocus()); } > > > bool AcceptsFocusFromKeyboard() const { return AcceptsFocusRecursively(); } > > > > > bool UpdateCanFocusChildren(); > >protected: > > virtual bool SetFocusToChild(); > > > bool HasAnyFocusableChildren() const; > > > bool HasAnyChildrenAcceptingFocus() const; > > > > wxWindow *m_winParent; > > > wxWindow *m_winLastFocused; > >private: > > void UpdateParentCanFocus(); > > > > > > > > bool m_acceptsFocusSelf; > > > bool m_acceptsFocusChildren; > > > bool m_inSetFocus; >}; ># 136 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/containr.h" >class wxControlContainer : public wxControlContainerBase >{ >protected: > > virtual bool SetFocusToChild(); >}; ># 172 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/containr.h" >extern bool wxSetFocusToChild(wxWindow *win, wxWindow **child); ># 181 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/containr.h" >template <class W> >class wxNavigationEnabled : public W >{ >public: > typedef W BaseWindowClass; > > wxNavigationEnabled() > { > m_container.SetContainerWindow(this); ># 201 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/containr.h" > } > > virtual bool AcceptsFocus() const > { > return m_container.AcceptsFocus(); > } > > virtual bool AcceptsFocusRecursively() const > { > return m_container.AcceptsFocusRecursively(); > } > > virtual bool AcceptsFocusFromKeyboard() const > { > return m_container.AcceptsFocusFromKeyboard(); > } > > virtual void AddChild(wxWindowBase *child) > { > BaseWindowClass::AddChild(child); > > if ( m_container.UpdateCanFocusChildren() ) > { > > > if ( !BaseWindowClass::HasFlag(0x00080000) ) > BaseWindowClass::ToggleWindowStyle(0x00080000); > } > } > > virtual void RemoveChild(wxWindowBase *child) > { > > > > > BaseWindowClass::RemoveChild(child); > > > > m_container.UpdateCanFocusChildren(); > } > > virtual void SetFocus() > { > if ( !m_container.DoSetFocus() ) > BaseWindowClass::SetFocus(); > } > > void SetFocusIgnoringChildren() > { > BaseWindowClass::SetFocus(); > } > >protected: ># 274 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/containr.h" > wxControlContainer m_container; > > > private: wxNavigationEnabled(const wxNavigationEnabled<W>&); wxNavigationEnabled& operator=(const wxNavigationEnabled<W>&); >}; ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/panel.h" 2 > >class wxControlContainer; > >extern const char wxPanelNameStr[]; > > > > > >class wxPanelBase : public wxNavigationEnabled<wxWindow> >{ >public: > wxPanelBase() { } ># 46 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/panel.h" > bool Create(wxWindow *parent, > wxWindowID winid = wxID_ANY, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > long style = 0x00080000 | wxBORDER_NONE, > const wxString& name = wxPanelNameStr); > > > > > > virtual void InitDialog(); > >private: > private: wxPanelBase(const wxPanelBase&); wxPanelBase& operator=(const wxPanelBase&); >}; > > > > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/panelg.h" 1 ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/panelg.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/bitmap.h" 1 ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/bitmap.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 1 ># 23 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" 1 ># 23 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" >class wxStreamBase; >class wxInputStream; >class wxOutputStream; > >typedef wxInputStream& (*__wxInputManip)(wxInputStream&); >typedef wxOutputStream& (*__wxOutputManip)(wxOutputStream&); > > wxOutputStream& wxEndL(wxOutputStream& o_stream); > > > > > >enum wxStreamError >{ > wxSTREAM_NO_ERROR = 0, > wxSTREAM_EOF, > wxSTREAM_WRITE_ERROR, > wxSTREAM_READ_ERROR >}; > >const int wxEOF = -1; ># 54 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" >class wxStreamBase : public wxObject >{ >public: > wxStreamBase(); > virtual ~wxStreamBase(); > > > wxStreamError GetLastError() const { return m_lasterror; } > virtual bool IsOk() const { return GetLastError() == wxSTREAM_NO_ERROR; } > bool operator!() const { return !IsOk(); } > > > void Reset(wxStreamError error = wxSTREAM_NO_ERROR) { m_lasterror = error; } > > > virtual size_t GetSize() const; > virtual wxFileOffset GetLength() const { return wxInvalidOffset; } > > > virtual bool IsSeekable() const { return false; } > >protected: > virtual wxFileOffset OnSysSeek(wxFileOffset seek, wxSeekMode mode); > virtual wxFileOffset OnSysTell() const; > > size_t m_lastcount; > wxStreamError m_lasterror; > > friend class wxStreamBuffer; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; > private: wxStreamBase(const wxStreamBase&); wxStreamBase& operator=(const wxStreamBase&); >}; > > > > > >class wxInputStream : public wxStreamBase >{ >public: > > wxInputStream(); > virtual ~wxInputStream(); ># 109 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" > virtual char Peek(); > > > > > > int GetC(); ># 128 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" > virtual wxInputStream& Read(void *buffer, size_t size); > > > > > bool ReadAll(void *buffer, size_t size); > > > > wxInputStream& Read(wxOutputStream& streamOut); ># 148 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" > virtual size_t LastRead() const { return wxStreamBase::m_lastcount; } > > > > virtual bool CanRead() const; > > > > > > virtual bool Eof() const; ># 168 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" > size_t Ungetch(const void *buffer, size_t size); > > > > > bool Ungetch(char c); ># 183 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" > virtual wxFileOffset SeekI(wxFileOffset pos, wxSeekMode mode = wxFromStart); > > > virtual wxFileOffset TellI() const; > > > > > > wxInputStream& operator>>(wxOutputStream& out) { return Read(out); } > wxInputStream& operator>>(__wxInputManip func) { return func(*this); } > >protected: > > > > > > virtual size_t OnSysRead(void *buffer, size_t size) = 0; > > > > > > char *AllocSpaceWBack(size_t sizeNeeded); > > > > size_t GetWBack(void *buf, size_t size); > > > char *m_wback; > > > size_t m_wbacksize; > > > size_t m_wbackcur; > > friend class wxStreamBuffer; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; > private: wxInputStream(const wxInputStream&); wxInputStream& operator=(const wxInputStream&); >}; > > > > > >class wxOutputStream : public wxStreamBase >{ >public: > wxOutputStream(); > virtual ~wxOutputStream(); > > void PutC(char c); > virtual wxOutputStream& Write(const void *buffer, size_t size); > > > > > bool WriteAll(const void *buffer, size_t size); > > wxOutputStream& Write(wxInputStream& stream_in); > > virtual wxFileOffset SeekO(wxFileOffset pos, wxSeekMode mode = wxFromStart); > virtual wxFileOffset TellO() const; > > virtual size_t LastWrite() const { return wxStreamBase::m_lastcount; } > > virtual void Sync(); > virtual bool Close() { return true; } > > wxOutputStream& operator<<(wxInputStream& out) { return Write(out); } > wxOutputStream& operator<<( __wxOutputManip func) { return func(*this); } > >protected: > > > virtual size_t OnSysWrite(const void *buffer, size_t bufsize); > > friend class wxStreamBuffer; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; > private: wxOutputStream(const wxOutputStream&); wxOutputStream& operator=(const wxOutputStream&); >}; ># 278 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" >class wxCountingOutputStream : public wxOutputStream >{ >public: > wxCountingOutputStream(); > > virtual wxFileOffset GetLength() const; > bool Ok() const { return IsOk(); } > virtual bool IsOk() const { return true; } > >protected: > virtual size_t OnSysWrite(const void *buffer, size_t size); > virtual wxFileOffset OnSysSeek(wxFileOffset pos, wxSeekMode mode); > virtual wxFileOffset OnSysTell() const; > > size_t m_currentPos, > m_lastPos; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); > private: wxCountingOutputStream(const wxCountingOutputStream&); wxCountingOutputStream& operator=(const wxCountingOutputStream&); >}; > > > > > >class wxFilterInputStream : public wxInputStream >{ >public: > wxFilterInputStream(); > wxFilterInputStream(wxInputStream& stream); > wxFilterInputStream(wxInputStream *stream); > virtual ~wxFilterInputStream(); > > char Peek() { return m_parent_i_stream->Peek(); } > > wxFileOffset GetLength() const { return m_parent_i_stream->GetLength(); } > > wxInputStream *GetFilterInputStream() const { return m_parent_i_stream; } > >protected: > wxInputStream *m_parent_i_stream; > bool m_owns; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; > private: wxFilterInputStream(const wxFilterInputStream&); wxFilterInputStream& operator=(const wxFilterInputStream&); >}; > >class wxFilterOutputStream : public wxOutputStream >{ >public: > wxFilterOutputStream(); > wxFilterOutputStream(wxOutputStream& stream); > wxFilterOutputStream(wxOutputStream *stream); > virtual ~wxFilterOutputStream(); > > wxFileOffset GetLength() const { return m_parent_o_stream->GetLength(); } > > wxOutputStream *GetFilterOutputStream() const { return m_parent_o_stream; } > > bool Close(); > >protected: > wxOutputStream *m_parent_o_stream; > bool m_owns; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; > private: wxFilterOutputStream(const wxFilterOutputStream&); wxFilterOutputStream& operator=(const wxFilterOutputStream&); >}; > >enum wxStreamProtocolType >{ > wxSTREAM_PROTOCOL, > wxSTREAM_MIMETYPE, > wxSTREAM_ENCODING, > wxSTREAM_FILEEXT >}; > >void wxUseFilterClasses(); > >class wxFilterClassFactoryBase : public wxObject >{ >public: > virtual ~wxFilterClassFactoryBase() { } > > wxString GetProtocol() const { return wxString(*GetProtocols()); } > wxString PopExtension(const wxString& location) const; > > virtual const wxChar * const *GetProtocols(wxStreamProtocolType type > = wxSTREAM_PROTOCOL) const = 0; > > bool CanHandle(const wxString& protocol, > wxStreamProtocolType type > = wxSTREAM_PROTOCOL) const; > >protected: > wxString::size_type FindExtension(const wxString& location) const; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; >}; > >class wxFilterClassFactory : public wxFilterClassFactoryBase >{ >public: > virtual ~wxFilterClassFactory() { } > > virtual wxFilterInputStream *NewStream(wxInputStream& stream) const = 0; > virtual wxFilterOutputStream *NewStream(wxOutputStream& stream) const = 0; > virtual wxFilterInputStream *NewStream(wxInputStream *stream) const = 0; > virtual wxFilterOutputStream *NewStream(wxOutputStream *stream) const = 0; > > static const wxFilterClassFactory *Find(const wxString& protocol, > wxStreamProtocolType type > = wxSTREAM_PROTOCOL); > > static const wxFilterClassFactory *GetFirst(); > const wxFilterClassFactory *GetNext() const { return m_next; } > > void PushFront() { Remove(); m_next = sm_first; sm_first = this; } > void Remove(); > >protected: > wxFilterClassFactory() : m_next(this) { } > > wxFilterClassFactory& operator=(const wxFilterClassFactory&) > { return *this; } > >private: > static wxFilterClassFactory *sm_first; > wxFilterClassFactory *m_next; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; >}; ># 420 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" >class wxStreamBuffer >{ >public: > enum BufMode > { > read, > write, > read_write > }; > > wxStreamBuffer(wxStreamBase& stream, BufMode mode) > { > InitWithStream(stream, mode); > } > > wxStreamBuffer(size_t bufsize, wxInputStream& stream) > { > InitWithStream(stream, read); > SetBufferIO(bufsize); > } > > wxStreamBuffer(size_t bufsize, wxOutputStream& stream) > { > InitWithStream(stream, write); > SetBufferIO(bufsize); > } > > wxStreamBuffer(const wxStreamBuffer& buf); > virtual ~wxStreamBuffer(); > > > virtual size_t Read(void *buffer, size_t size); > size_t Read(wxStreamBuffer *buf); > virtual size_t Write(const void *buffer, size_t size); > size_t Write(wxStreamBuffer *buf); > > virtual char Peek(); > virtual char GetChar(); > virtual void PutChar(char c); > virtual wxFileOffset Tell() const; > virtual wxFileOffset Seek(wxFileOffset pos, wxSeekMode mode); > > > void ResetBuffer(); > void Truncate(); > > > > void SetBufferIO(void *start, void *end, bool takeOwnership = false); > void SetBufferIO(void *start, size_t len, bool takeOwnership = false); > void SetBufferIO(size_t bufsize); > void *GetBufferStart() const { return m_buffer_start; } > void *GetBufferEnd() const { return m_buffer_end; } > void *GetBufferPos() const { return m_buffer_pos; } > size_t GetBufferSize() const { return m_buffer_end - m_buffer_start; } > size_t GetIntPosition() const { return m_buffer_pos - m_buffer_start; } > void SetIntPosition(size_t pos) { m_buffer_pos = m_buffer_start + pos; } > size_t GetLastAccess() const { return m_buffer_end - m_buffer_start; } > size_t GetBytesLeft() const { return m_buffer_end - m_buffer_pos; } > > void Fixed(bool fixed) { m_fixed = fixed; } > void Flushable(bool f) { m_flushable = f; } > > bool FlushBuffer(); > bool FillBuffer(); > size_t GetDataLeft(); > > > wxStreamBase *GetStream() const { return m_stream; } > bool HasBuffer() const { return m_buffer_start != m_buffer_end; } > > bool IsFixed() const { return m_fixed; } > bool IsFlushable() const { return m_flushable; } > > > wxInputStream *GetInputStream() const; > wxOutputStream *GetOutputStream() const; ># 505 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" > wxStreamBuffer(BufMode mode); > >protected: > void GetFromBuffer(void *buffer, size_t size); > void PutToBuffer(const void *buffer, size_t size); > > > void SetError(wxStreamError err); > > > void Init(); > > > void InitWithStream(wxStreamBase& stream, BufMode mode); > > > void InitBuffer(); > > > void FreeBuffer(); > > > > char *m_buffer_start, > *m_buffer_end, > *m_buffer_pos; > > > wxStreamBase *m_stream; > > > BufMode m_mode; > > > bool m_destroybuf, > m_fixed, > m_flushable; > > > private: wxStreamBuffer& operator=(const wxStreamBuffer&); >}; > > > > > >class wxBufferedInputStream : public wxFilterInputStream >{ >public: > > > > > wxBufferedInputStream(wxInputStream& stream, > wxStreamBuffer *buffer = __null); > > > > > wxBufferedInputStream(wxInputStream& stream, size_t bufsize); > > > virtual ~wxBufferedInputStream(); > > char Peek(); > wxInputStream& Read(void *buffer, size_t size); > > > wxFileOffset SeekI(wxFileOffset pos, wxSeekMode mode = wxFromStart); > wxFileOffset TellI() const; > bool IsSeekable() const { return m_parent_i_stream->IsSeekable(); } > > > void SetInputStreamBuffer(wxStreamBuffer *buffer); > wxStreamBuffer *GetInputStreamBuffer() const { return m_i_streambuf; } > > > > > > >protected: > virtual size_t OnSysRead(void *buffer, size_t bufsize); > virtual wxFileOffset OnSysSeek(wxFileOffset seek, wxSeekMode mode); > virtual wxFileOffset OnSysTell() const; > > wxStreamBuffer *m_i_streambuf; > > private: wxBufferedInputStream(const wxBufferedInputStream&); wxBufferedInputStream& operator=(const wxBufferedInputStream&); >}; > > > > > >class wxBufferedOutputStream : public wxFilterOutputStream >{ >public: > > > > > wxBufferedOutputStream(wxOutputStream& stream, > wxStreamBuffer *buffer = __null); > > > > > wxBufferedOutputStream(wxOutputStream& stream, size_t bufsize); > > virtual ~wxBufferedOutputStream(); > > wxOutputStream& Write(const void *buffer, size_t size); > > > wxFileOffset SeekO(wxFileOffset pos, wxSeekMode mode = wxFromStart); > wxFileOffset TellO() const; > bool IsSeekable() const { return m_parent_o_stream->IsSeekable(); } > > void Sync(); > bool Close(); > > wxFileOffset GetLength() const; > > > void SetOutputStreamBuffer(wxStreamBuffer *buffer); > wxStreamBuffer *GetOutputStreamBuffer() const { return m_o_streambuf; } > > > > > > >protected: > virtual size_t OnSysWrite(const void *buffer, size_t bufsize); > virtual wxFileOffset OnSysSeek(wxFileOffset seek, wxSeekMode mode); > virtual wxFileOffset OnSysTell() const; > > wxStreamBuffer *m_o_streambuf; > > private: wxBufferedOutputStream(const wxBufferedOutputStream&); wxBufferedOutputStream& operator=(const wxBufferedOutputStream&); >}; ># 658 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/stream.h" >class wxWrapperInputStream : public wxFilterInputStream >{ >public: > > > > > > > wxWrapperInputStream(wxInputStream& stream); > wxWrapperInputStream(wxInputStream* stream); > > > virtual wxFileOffset GetLength() const; > virtual bool IsSeekable() const; > >protected: > virtual size_t OnSysRead(void *buffer, size_t size); > virtual wxFileOffset OnSysSeek(wxFileOffset pos, wxSeekMode mode); > virtual wxFileOffset OnSysTell() const; > > > > > > > void SynchronizeLastError() const > { > const_cast<wxWrapperInputStream*>(this)-> > Reset(m_parent_i_stream->GetLastError()); > } > > > wxWrapperInputStream(); > > > > void InitParentStream(wxInputStream& stream); > void InitParentStream(wxInputStream* stream); > > private: wxWrapperInputStream(const wxWrapperInputStream&); wxWrapperInputStream& operator=(const wxWrapperInputStream&); >}; ># 24 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 2 ># 48 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" >enum wxImageResolution >{ > > wxIMAGE_RESOLUTION_NONE = 0, > > > wxIMAGE_RESOLUTION_INCHES = 1, > > > wxIMAGE_RESOLUTION_CM = 2 >}; > > >enum wxImageResizeQuality >{ > > wxIMAGE_QUALITY_NEAREST = 0, > wxIMAGE_QUALITY_BILINEAR = 1, > wxIMAGE_QUALITY_BICUBIC = 2, > wxIMAGE_QUALITY_BOX_AVERAGE = 3, > > > wxIMAGE_QUALITY_NORMAL = wxIMAGE_QUALITY_NEAREST, > > > wxIMAGE_QUALITY_HIGH = 4 >}; > > > > >const unsigned char wxIMAGE_ALPHA_TRANSPARENT = 0; >const unsigned char wxIMAGE_ALPHA_THRESHOLD = 0x80; >const unsigned char wxIMAGE_ALPHA_OPAQUE = 0xff; > > > > > >class wxImageHandler; >class wxImage; >class wxPalette; > > > > > > > > wxImage& operator << ( wxImage &object, const wxVariant &variant ); wxVariant& operator << ( wxVariant &variant, const wxImage &object ); > > > > > > >class wxImageHandler: public wxObject >{ >public: > wxImageHandler() > : m_name(wxEmptyString), m_extension(wxEmptyString), m_mime(), m_type(wxBITMAP_TYPE_INVALID) > { } > > > > > virtual bool LoadFile( wxImage *, wxInputStream& , > bool =true, int =-1 ) > { return false; } > virtual bool SaveFile( wxImage *, wxOutputStream& , > bool =true ) > { return false; } > > int GetImageCount( wxInputStream& stream ); > > > bool CanRead( wxInputStream& stream ) { return CallDoCanRead(stream); } > bool CanRead( const wxString& name ); > > > void SetName(const wxString& name) { m_name = name; } > void SetExtension(const wxString& ext) { m_extension = ext; } > void SetAltExtensions(const wxArrayString& exts) { m_altExtensions = exts; } > void SetType(wxBitmapType type) { m_type = type; } > void SetMimeType(const wxString& type) { m_mime = type; } > const wxString& GetName() const { return m_name; } > const wxString& GetExtension() const { return m_extension; } > const wxArrayString& GetAltExtensions() const { return m_altExtensions; } > wxBitmapType GetType() const { return m_type; } > const wxString& GetMimeType() const { return m_mime; } > > > > > > > >protected: > > > > virtual int DoGetImageCount( wxInputStream& ) > { return 1; } > > > > virtual bool DoCanRead( wxInputStream& stream ) = 0; > > > bool CallDoCanRead(wxInputStream& stream); > > > > > > static wxImageResolution > GetResolutionFromOptions(const wxImage& image, int *x, int *y); > > > wxString m_name; > wxString m_extension; > wxArrayString m_altExtensions; > wxString m_mime; > wxBitmapType m_type; > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; >}; > > > > > >class wxImageHistogramEntry >{ >public: > wxImageHistogramEntry() { index = value = 0; } > unsigned long index; > unsigned long value; >}; > >class wxImageHistogramBase_wxImplementation_Pair { public: typedef unsigned long first_type; typedef wxImageHistogramEntry second_type; typedef unsigned long t1; typedef wxImageHistogramEntry t2; typedef const unsigned long const_t1; typedef const wxImageHistogramEntry const_t2; wxImageHistogramBase_wxImplementation_Pair(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; class wxImageHistogramBase_wxImplementation_KeyEx { typedef unsigned long key_type; typedef wxImageHistogramBase_wxImplementation_Pair pair_type; typedef const key_type const_key_type; typedef const pair_type const_pair_type; typedef const_key_type& const_key_reference; typedef const_pair_type& const_pair_reference; public: wxImageHistogramBase_wxImplementation_KeyEx() { } const_key_reference operator()( const_pair_reference pair ) const { return pair.first; } wxImageHistogramBase_wxImplementation_KeyEx& operator=(const wxImageHistogramBase_wxImplementation_KeyEx&) { return *this; } }; class wxImageHistogramBase_wxImplementation_HashTable : protected _wxHashTableBase2 { public: typedef unsigned long key_type; typedef wxImageHistogramBase_wxImplementation_Pair value_type; typedef wxIntegerHash hasher; typedef wxIntegerEqual key_equal; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type& reference; typedef const value_type& const_reference; typedef const unsigned long const_key_type; typedef const wxImageHistogramBase_wxImplementation_Pair const_mapped_type; public: typedef wxImageHistogramBase_wxImplementation_KeyEx key_extractor; typedef wxImageHistogramBase_wxImplementation_HashTable Self; protected: _wxHashTable_NodeBase** m_table; size_t m_tableBuckets; size_t m_items; hasher m_hasher; key_equal m_equals; key_extractor m_getKey; public: struct Node:public _wxHashTable_NodeBase { public: Node( const value_type& value ) : m_value( value ) {} Node* next() { return static_cast<Node*>(m_next); } value_type m_value; }; protected: static void DeleteNode( _wxHashTable_NodeBase* node ) { delete static_cast<Node*>(node); } public: class Iterator { public: Node* m_node; Self* m_ht; Iterator() : m_node(__null), m_ht(__null) {} Iterator( Node* node, const Self* ht ) : m_node(node), m_ht(const_cast<Self*>(ht)) {} bool operator ==( const Iterator& it ) const { return m_node == it.m_node; } bool operator !=( const Iterator& it ) const { return m_node != it.m_node; } protected: Node* GetNextNode() { size_type bucket = GetBucketForNode(m_ht,m_node); for( size_type i = bucket + 1; i < m_ht->m_tableBuckets; ++i ) { if( m_ht->m_table[i] ) return static_cast<Node*>(m_ht->m_table[i]); } return __null; } void PlusPlus() { Node* next = m_node->next(); m_node = next ? next : GetNextNode(); } }; friend class Iterator; public: class iterator : public Iterator { public: iterator() : Iterator() {} iterator( Node* node, Self* ht ) : Iterator( node, ht ) {} iterator& operator++() { PlusPlus(); return *this; } iterator operator++(int) { iterator it=*this;PlusPlus();return it; } reference operator *() const { return m_node->m_value; } pointer operator ->() const { return &(m_node->m_value); } }; class const_iterator : public Iterator { public: const_iterator() : Iterator() {} const_iterator(iterator i) : Iterator(i) {} const_iterator( Node* node, const Self* ht ) : Iterator(node, const_cast<Self*>(ht)) {} const_iterator& operator++() { PlusPlus();return *this; } const_iterator operator++(int) { const_iterator it=*this;PlusPlus();return it; } const_reference operator *() const { return m_node->m_value; } const_pointer operator ->() const { return &(m_node->m_value); } }; wxImageHistogramBase_wxImplementation_HashTable( size_type sz = 10, const hasher& hfun = hasher(), const key_equal& k_eq = key_equal(), const key_extractor& k_ex = key_extractor() ) : m_tableBuckets( GetNextPrime( (unsigned long) sz ) ), m_items( 0 ), m_hasher( hfun ), m_equals( k_eq ), m_getKey( k_ex ) { m_table = (_wxHashTable_NodeBase**)AllocTable(m_tableBuckets); } wxImageHistogramBase_wxImplementation_HashTable( const Self& ht ) : m_table(__null), m_tableBuckets( 0 ), m_items( ht.m_items ), m_hasher( ht.m_hasher ), m_equals( ht.m_equals ), m_getKey( ht.m_getKey ) { HashCopy( ht ); } const Self& operator=( const Self& ht ) { if (&ht != this) { clear(); m_hasher = ht.m_hasher; m_equals = ht.m_equals; m_getKey = ht.m_getKey; m_items = ht.m_items; HashCopy( ht ); } return *this; } ~wxImageHistogramBase_wxImplementation_HashTable() { clear(); FreeTable(m_table); } hasher hash_funct() { return m_hasher; } key_equal key_eq() { return m_equals; } void clear() { DeleteNodes(m_tableBuckets, m_table, DeleteNode); m_items = 0; } size_type size() const { return m_items; } size_type max_size() const { return size_type(-1); } bool empty() const { return size() == 0; } const_iterator end() const { return const_iterator(__null, this); } iterator end() { return iterator(__null, this); } const_iterator begin() const { return const_iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } iterator begin() { return iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } size_type erase( const const_key_type& key ) { _wxHashTable_NodeBase** node = GetNodePtr(key); if( !node ) return 0; --m_items; _wxHashTable_NodeBase* temp = (*node)->m_next; delete static_cast<Node*>(*node); (*node) = temp; if( never_shrink( m_tableBuckets, m_items ) ) ResizeTable( GetPreviousPrime( (unsigned long) m_tableBuckets ) - 1 ); return 1; } protected: static size_type GetBucketForNode( Self* ht, Node* node ) { return ht->m_hasher( ht->m_getKey( node->m_value ) ) % ht->m_tableBuckets; } static Node* CopyNode( Node* node ) { return new Node( *node ); } Node* GetOrCreateNode( const value_type& value, bool& created ) { const const_key_type& key = m_getKey( value ); size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) { created = false; return node; } node = node->next(); } created = true; return CreateNode( value, bucket); } Node * CreateNode( const value_type& value, size_t bucket ) { Node* node = new Node( value ); node->m_next = m_table[bucket]; m_table[bucket] = node; ++m_items; if( grow_lf70( m_tableBuckets, m_items ) ) ResizeTable( m_tableBuckets ); return node; } void CreateNode( const value_type& value ) { CreateNode(value, m_hasher( m_getKey(value) ) % m_tableBuckets ); } _wxHashTable_NodeBase** GetNodePtr(const const_key_type& key) const { size_t bucket = m_hasher( key ) % m_tableBuckets; _wxHashTable_NodeBase** node = &m_table[bucket]; while( *node ) { if (m_equals(m_getKey(static_cast<Node*>(*node)->m_value), key)) return node; node = &(*node)->m_next; } return __null; } Node* GetNode( const const_key_type& key ) const { size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) return node; node = node->next(); } return __null; } void ResizeTable( size_t newSize ) { newSize = GetNextPrime( (unsigned long)newSize ); _wxHashTable_NodeBase** srcTable = m_table; size_t srcBuckets = m_tableBuckets; m_table = (_wxHashTable_NodeBase**)AllocTable( newSize ); m_tableBuckets = newSize; CopyHashTable( srcTable, srcBuckets, this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)&DummyProcessNode ); FreeTable(srcTable); } void HashCopy( const Self& ht ) { ResizeTable( ht.size() ); CopyHashTable( ht.m_table, ht.m_tableBuckets, (_wxHashTableBase2*)this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)CopyNode ); } }; class wxImageHistogramBase:public wxImageHistogramBase_wxImplementation_HashTable { public: typedef wxImageHistogramEntry mapped_type; class Insert_Result { public: typedef iterator first_type; typedef bool second_type; typedef iterator t1; typedef bool t2; typedef const iterator const_t1; typedef const bool const_t2; Insert_Result(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; explicit wxImageHistogramBase( size_type hint = 100, hasher hf = hasher(), key_equal eq = key_equal() ) : wxImageHistogramBase_wxImplementation_HashTable( hint, hf, eq, wxImageHistogramBase_wxImplementation_KeyEx() ) {} mapped_type& operator[]( const const_key_type& key ) { bool created; return GetOrCreateNode( wxImageHistogramBase_wxImplementation_Pair( key, mapped_type() ), created)->m_value.second; } const_iterator find( const const_key_type& key ) const { return const_iterator( GetNode( key ), this ); } iterator find( const const_key_type& key ) { return iterator( GetNode( key ), this ); } Insert_Result insert( const value_type& v ) { bool created; Node *node = GetOrCreateNode( wxImageHistogramBase_wxImplementation_Pair( v.first, v.second ), created); return Insert_Result(iterator(node, this), created); } size_type erase( const key_type& k ) { return wxImageHistogramBase_wxImplementation_HashTable::erase( k ); } void erase( const iterator& it ) { erase( (*it).first ); } size_type count( const const_key_type& key ) { return GetNode( key ) ? 1u : 0u; } } > > ; > >class wxImageHistogram : public wxImageHistogramBase >{ >public: > wxImageHistogram() : wxImageHistogramBase(256) { } > > > static unsigned long MakeKey(unsigned char r, > unsigned char g, > unsigned char b) > { > return (r << 16) | (g << 8) | b; > } > > > > > > > bool FindFirstUnusedColour(unsigned char *r, > unsigned char *g, > unsigned char *b, > unsigned char startR = 1, > unsigned char startG = 0, > unsigned char startB = 0 ) const; >}; > > > > > >class wxImage: public wxObject >{ >public: > > > class RGBValue > { > public: > RGBValue(unsigned char r=0, unsigned char g=0, unsigned char b=0) > : red(r), green(g), blue(b) {} > unsigned char red; > unsigned char green; > unsigned char blue; > }; > > > class HSVValue > { > public: > HSVValue(double h=0.0, double s=0.0, double v=0.0) > : hue(h), saturation(s), value(v) {} > double hue; > double saturation; > double value; > }; > > wxImage() {} > wxImage( int width, int height, bool clear = true ) > { Create( width, height, clear ); } > wxImage( int width, int height, unsigned char* data, bool static_data = false ) > { Create( width, height, data, static_data ); } > wxImage( int width, int height, unsigned char* data, unsigned char* alpha, bool static_data = false ) > { Create( width, height, data, alpha, static_data ); } > > > wxImage( const wxSize& sz, bool clear = true ) > { Create( sz, clear ); } > wxImage( const wxSize& sz, unsigned char* data, bool static_data = false ) > { Create( sz, data, static_data ); } > wxImage( const wxSize& sz, unsigned char* data, unsigned char* alpha, bool static_data = false ) > { Create( sz, data, alpha, static_data ); } > > wxImage( const wxString& name, wxBitmapType type = wxBITMAP_TYPE_ANY, int index = -1 ) > { LoadFile( name, type, index ); } > wxImage( const wxString& name, const wxString& mimetype, int index = -1 ) > { LoadFile( name, mimetype, index ); } > wxImage( const char* const* xpmData ) > { Create(xpmData); } > > > wxImage( wxInputStream& stream, wxBitmapType type = wxBITMAP_TYPE_ANY, int index = -1 ) > { LoadFile( stream, type, index ); } > wxImage( wxInputStream& stream, const wxString& mimetype, int index = -1 ) > { LoadFile( stream, mimetype, index ); } > > > bool Create( const char* const* xpmData ); > > > > > > > bool Create( int width, int height, bool clear = true ); > bool Create( int width, int height, unsigned char* data, bool static_data = false ); > bool Create( int width, int height, unsigned char* data, unsigned char* alpha, bool static_data = false ); > > > bool Create( const wxSize& sz, bool clear = true ) > { return Create(sz.GetWidth(), sz.GetHeight(), clear); } > bool Create( const wxSize& sz, unsigned char* data, bool static_data = false ) > { return Create(sz.GetWidth(), sz.GetHeight(), data, static_data); } > bool Create( const wxSize& sz, unsigned char* data, unsigned char* alpha, bool static_data = false ) > { return Create(sz.GetWidth(), sz.GetHeight(), data, alpha, static_data); } > > void Destroy(); > > > void Clear(unsigned char value = 0); > > > > wxImage Copy() const; > > > wxImage GetSubImage( const wxRect& rect) const; > > > > > > wxImage Size( const wxSize& size, const wxPoint& pos, > int r = -1, int g = -1, int b = -1 ) const; > > > > void Paste( const wxImage &image, int x, int y ); > > > wxImage Scale( int width, int height, > wxImageResizeQuality quality = wxIMAGE_QUALITY_NORMAL ) const; > > > wxImage ResampleNearest(int width, int height) const; > wxImage ResampleBox(int width, int height) const; > wxImage ResampleBilinear(int width, int height) const; > wxImage ResampleBicubic(int width, int height) const; > > > wxImage Blur(int radius) const; > wxImage BlurHorizontal(int radius) const; > wxImage BlurVertical(int radius) const; > > wxImage ShrinkBy( int xFactor , int yFactor ) const ; > > > wxImage& Rescale( int width, int height, > wxImageResizeQuality quality = wxIMAGE_QUALITY_NORMAL ) > { return *this = Scale(width, height, quality); } > > > wxImage& Resize( const wxSize& size, const wxPoint& pos, > int r = -1, int g = -1, int b = -1 ) { return *this = Size(size, pos, r, g, b); } > > > > wxImage Rotate(double angle, const wxPoint & centre_of_rotation, > bool interpolating = true, wxPoint * offset_after_rotation = __null) const; > > wxImage Rotate90( bool clockwise = true ) const; > wxImage Rotate180() const; > wxImage Mirror( bool horizontally = true ) const; > > > void Replace( unsigned char r1, unsigned char g1, unsigned char b1, > unsigned char r2, unsigned char g2, unsigned char b2 ); > > > > wxImage ConvertToGreyscale(double weight_r, double weight_g, double weight_b) const; > wxImage ConvertToGreyscale(void) const; > > > > wxImage ConvertToMono( unsigned char r, unsigned char g, unsigned char b ) const; > > > wxImage ConvertToDisabled(unsigned char brightness = 255) const; > > > void SetRGB( int x, int y, unsigned char r, unsigned char g, unsigned char b ); > void SetRGB( const wxRect& rect, unsigned char r, unsigned char g, unsigned char b ); > unsigned char GetRed( int x, int y ) const; > unsigned char GetGreen( int x, int y ) const; > unsigned char GetBlue( int x, int y ) const; > > void SetAlpha(int x, int y, unsigned char alpha); > unsigned char GetAlpha(int x, int y) const; > > > > bool FindFirstUnusedColour( unsigned char *r, unsigned char *g, unsigned char *b, > unsigned char startR = 1, unsigned char startG = 0, > unsigned char startB = 0 ) const; > > bool SetMaskFromImage(const wxImage & mask, > unsigned char mr, unsigned char mg, unsigned char mb); > > > > > bool ConvertAlphaToMask(unsigned char threshold = wxIMAGE_ALPHA_THRESHOLD); > bool ConvertAlphaToMask(unsigned char mr, unsigned char mg, unsigned char mb, > unsigned char threshold = wxIMAGE_ALPHA_THRESHOLD); ># 409 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" > bool ConvertColourToAlpha( unsigned char r, unsigned char g, unsigned char b ); > > static bool CanRead( const wxString& name ); > static int GetImageCount( const wxString& name, wxBitmapType type = wxBITMAP_TYPE_ANY ); > virtual bool LoadFile( const wxString& name, wxBitmapType type = wxBITMAP_TYPE_ANY, int index = -1 ); > virtual bool LoadFile( const wxString& name, const wxString& mimetype, int index = -1 ); > > > static bool CanRead( wxInputStream& stream ); > static int GetImageCount( wxInputStream& stream, wxBitmapType type = wxBITMAP_TYPE_ANY ); > virtual bool LoadFile( wxInputStream& stream, wxBitmapType type = wxBITMAP_TYPE_ANY, int index = -1 ); > virtual bool LoadFile( wxInputStream& stream, const wxString& mimetype, int index = -1 ); > > > virtual bool SaveFile( const wxString& name ) const; > virtual bool SaveFile( const wxString& name, wxBitmapType type ) const; > virtual bool SaveFile( const wxString& name, const wxString& mimetype ) const; > > > virtual bool SaveFile( wxOutputStream& stream, wxBitmapType type ) const; > virtual bool SaveFile( wxOutputStream& stream, const wxString& mimetype ) const; > > > bool Ok() const { return IsOk(); } > bool IsOk() const; > int GetWidth() const; > int GetHeight() const; > > wxSize GetSize() const > { return wxSize(GetWidth(), GetHeight()); } > > > wxBitmapType GetType() const; > > > > > void SetType(wxBitmapType type); > > > > unsigned char *GetData() const; > void SetData( unsigned char *data, bool static_data=false ); > void SetData( unsigned char *data, int new_width, int new_height, bool static_data=false ); > > unsigned char *GetAlpha() const; > bool HasAlpha() const { return GetAlpha() != __null; } > void SetAlpha(unsigned char *alpha = __null, bool static_data=false); > void InitAlpha(); > void ClearAlpha(); > > > > bool IsTransparent(int x, int y, > unsigned char threshold = wxIMAGE_ALPHA_THRESHOLD) const; > > > void SetMaskColour( unsigned char r, unsigned char g, unsigned char b ); > > > bool GetOrFindMaskColour( unsigned char *r, unsigned char *g, unsigned char *b ) const; > unsigned char GetMaskRed() const; > unsigned char GetMaskGreen() const; > unsigned char GetMaskBlue() const; > void SetMask( bool mask = true ); > bool HasMask() const; > > > > bool HasPalette() const; > const wxPalette& GetPalette() const; > void SetPalette(const wxPalette& palette); > > > > void SetOption(const wxString& name, const wxString& value); > void SetOption(const wxString& name, int value); > wxString GetOption(const wxString& name) const; > int GetOptionInt(const wxString& name) const; > bool HasOption(const wxString& name) const; > > unsigned long CountColours( unsigned long stopafter = (unsigned long) -1 ) const; > > > > > > > > unsigned long ComputeHistogram( wxImageHistogram &h ) const; > > > > void RotateHue(double angle); > > static wxList& GetHandlers() { return sm_handlers; } > static void AddHandler( wxImageHandler *handler ); > static void InsertHandler( wxImageHandler *handler ); > static bool RemoveHandler( const wxString& name ); > static wxImageHandler *FindHandler( const wxString& name ); > static wxImageHandler *FindHandler( const wxString& extension, wxBitmapType imageType ); > static wxImageHandler *FindHandler( wxBitmapType imageType ); > > static wxImageHandler *FindHandlerMime( const wxString& mimetype ); > > static wxString GetImageExtWildcard(); > > static void CleanUpHandlers(); > static void InitStandardHandlers(); > > static HSVValue RGBtoHSV(const RGBValue& rgb); > static RGBValue HSVtoRGB(const HSVValue& hsv); ># 582 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" >protected: > static wxList sm_handlers; > > > > > > long XYToIndex(int x, int y) const; > > virtual wxObjectRefData* CreateRefData() const; > virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const; > >private: > friend class wxImageHandler; > > > enum > { > > > Clone_SameOrientation = 0, > > > > Clone_SwapOrientation = 1 > }; > > > > > > wxImage MakeEmptyClone(int flags = Clone_SameOrientation) const; > > > > > bool DoLoad(wxImageHandler& handler, wxInputStream& stream, int index); > > > > bool DoSave(wxImageHandler& handler, wxOutputStream& stream) const; > > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > >extern void wxInitAllImageHandlers(); > >extern wxImage wxNullImage; > > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagbmp.h" 1 ># 12 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagbmp.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 1 ># 13 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagbmp.h" 2 ># 24 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagbmp.h" >enum >{ > wxBMP_24BPP = 24, > > wxBMP_8BPP = 8, > wxBMP_8BPP_GREY = 9, > wxBMP_8BPP_GRAY = wxBMP_8BPP_GREY, > wxBMP_8BPP_RED = 10, > wxBMP_8BPP_PALETTE = 11, > wxBMP_4BPP = 4, > wxBMP_1BPP = 1, > wxBMP_1BPP_BW = 2 >}; > > > > > >class wxBMPHandler : public wxImageHandler >{ >public: > wxBMPHandler() > { > m_name = L"Windows bitmap file"; > m_extension = L"bmp"; > m_type = wxBITMAP_TYPE_BMP; > m_mime = L"image/x-bmp"; > } > > > virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true ); > virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 ); > >protected: > virtual bool DoCanRead( wxInputStream& stream ); > bool SaveDib(wxImage *image, wxOutputStream& stream, bool verbose, > bool IsBmp, bool IsMask); > bool DoLoadDib(wxImage *image, int width, int height, int bpp, int ncolors, > int comp, wxFileOffset bmpOffset, wxInputStream& stream, > bool verbose, bool IsBmp, bool hasPalette); > bool LoadDib(wxImage *image, wxInputStream& stream, bool verbose, bool IsBmp); > > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > >class wxICOHandler : public wxBMPHandler >{ >public: > wxICOHandler() > { > m_name = L"Windows icon file"; > m_extension = L"ico"; > m_type = wxBITMAP_TYPE_ICO; > m_mime = L"image/x-ico"; > } > > > virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true ); > virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 ); > virtual bool DoLoadFile( wxImage *image, wxInputStream& stream, bool verbose, int index ); > >protected: > virtual int DoGetImageCount( wxInputStream& stream ); > virtual bool DoCanRead( wxInputStream& stream ); > > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > > >class wxCURHandler : public wxICOHandler >{ >public: > wxCURHandler() > { > m_name = L"Windows cursor file"; > m_extension = L"cur"; > m_type = wxBITMAP_TYPE_CUR; > m_mime = L"image/x-cur"; > } > > > > > >protected: > > virtual bool DoCanRead( wxInputStream& stream ); > > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > >class wxANIHandler : public wxCURHandler >{ >public: > wxANIHandler() > { > m_name = L"Windows animated cursor file"; > m_extension = L"ani"; > m_type = wxBITMAP_TYPE_ANI; > m_mime = L"image/x-ani"; > } > > > > virtual bool SaveFile( wxImage *, wxOutputStream& , bool ){return false ;} > virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 ); > >protected: > virtual int DoGetImageCount( wxInputStream& stream ); > virtual bool DoCanRead( wxInputStream& stream ); > > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 638 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagpng.h" 1 ># 31 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagpng.h" >enum >{ > wxPNG_TYPE_COLOUR = 0, > wxPNG_TYPE_GREY = 2, > wxPNG_TYPE_GREY_RED = 3, > wxPNG_TYPE_PALETTE = 4 >}; > >class wxPNGHandler: public wxImageHandler >{ >public: > inline wxPNGHandler() > { > m_name = L"PNG file"; > m_extension = L"png"; > m_type = wxBITMAP_TYPE_PNG; > m_mime = L"image/png"; > } > > static wxVersionInfo GetLibraryVersionInfo(); > > > virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 ); > virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true ); >protected: > virtual bool DoCanRead( wxInputStream& stream ); > > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 639 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imaggif.h" 1 ># 23 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imaggif.h" >struct wxRGB; >struct GifHashTableType; >class wxImageArray; > >class wxGIFHandler : public wxImageHandler >{ >public: > inline wxGIFHandler() > { > m_name = L"GIF file"; > m_extension = L"gif"; > m_type = wxBITMAP_TYPE_GIF; > m_mime = L"image/gif"; > m_hashTable = __null; > } > > > virtual bool LoadFile(wxImage *image, wxInputStream& stream, > bool verbose = true, int index = -1); > virtual bool SaveFile(wxImage *image, wxOutputStream& stream, > bool verbose=true); > > > bool SaveAnimation(const wxImageArray& images, wxOutputStream *stream, > bool verbose = true, int delayMilliSecs = 1000); > >protected: > virtual int DoGetImageCount(wxInputStream& stream); > virtual bool DoCanRead(wxInputStream& stream); > > bool DoSaveFile(const wxImage&, wxOutputStream *, bool verbose, > bool first, int delayMilliSecs, bool loop, > const wxRGB *pal, int palCount, > int mask_index); > >protected: > > > > unsigned long m_crntShiftDWord; > int m_pixelCount; > struct GifHashTableType *m_hashTable; > wxInt16 > m_EOFCode, > m_clearCode, > m_runningCode, > m_runningBits, > m_maxCode1, > m_crntCode, > m_crntShiftState; > wxUint8 m_LZBuf[256]; > > bool InitHashTable(); > void ClearHashTable(); > void InsertHashTable(unsigned long key, int code); > int ExistsHashTable(unsigned long key); > > > bool CompressOutput(wxOutputStream *, int code); > bool SetupCompress(wxOutputStream *, int bpp); > bool CompressLine(wxOutputStream *, const wxUint8 *line, int lineLen); > > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 640 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagpcx.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagpcx.h" >class wxPCXHandler : public wxImageHandler >{ >public: > inline wxPCXHandler() > { > m_name = L"PCX file"; > m_extension = L"pcx"; > m_type = wxBITMAP_TYPE_PCX; > m_mime = L"image/pcx"; > } > > > virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 ); > virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true ); >protected: > virtual bool DoCanRead( wxInputStream& stream ); > > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 641 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagjpeg.h" 1 ># 642 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagtga.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagtga.h" >class wxTGAHandler : public wxImageHandler >{ >public: > wxTGAHandler() > { > m_name = L"TGA file"; > m_extension = L"tga"; > m_altExtensions.Add(L"tpic"); > m_type = wxBITMAP_TYPE_TGA; > m_mime = L"image/tga"; > } > > > virtual bool LoadFile(wxImage* image, wxInputStream& stream, > bool verbose = true, int index = -1); > virtual bool SaveFile(wxImage* image, wxOutputStream& stream, > bool verbose = true); >protected: > virtual bool DoCanRead(wxInputStream& stream); > > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 643 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagtiff.h" 1 ># 644 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagpnm.h" 1 ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagpnm.h" >class wxPNMHandler : public wxImageHandler >{ >public: > inline wxPNMHandler() > { > m_name = L"PNM file"; > m_extension = L"pnm"; > m_altExtensions.Add(L"ppm"); > m_altExtensions.Add(L"pgm"); > m_altExtensions.Add(L"pbm"); > m_type = wxBITMAP_TYPE_PNM; > m_mime = L"image/pnm"; > } > > > virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 ); > virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true ); >protected: > virtual bool DoCanRead( wxInputStream& stream ); > > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 645 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagxpm.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagxpm.h" >class wxXPMHandler : public wxImageHandler >{ >public: > inline wxXPMHandler() > { > m_name = L"XPM file"; > m_extension = L"xpm"; > m_type = wxBITMAP_TYPE_XPM; > m_mime = L"image/xpm"; > } > > > virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 ); > virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true ); >protected: > virtual bool DoCanRead( wxInputStream& stream ); > > >private: > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 646 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagiff.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/imagiff.h" >class wxIFFHandler : public wxImageHandler >{ >public: > wxIFFHandler() > { > m_name = L"IFF file"; > m_extension = L"iff"; > m_type = wxBITMAP_TYPE_IFF; > m_mime = L"image/x-iff"; > } > > > virtual bool LoadFile(wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1); > virtual bool SaveFile(wxImage *image, wxOutputStream& stream, bool verbose=true); >protected: > virtual bool DoCanRead(wxInputStream& stream); > > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 647 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/image.h" 2 ># 22 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/bitmap.h" 2 > >class wxBitmap; >class wxBitmapHandler; >class wxIcon; >class wxMask; >class wxPalette; >class wxDC; > > > > > > > > wxBitmap& operator << ( wxBitmap &object, const wxVariant &variant ); wxVariant& operator << ( wxVariant &variant, const wxBitmap &object ); ># 45 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/bitmap.h" >class wxMaskBase : public wxObject >{ >public: > > bool Create(const wxBitmap& bitmap, const wxColour& colour); > > > > bool Create(const wxBitmap& bitmap, int paletteIndex); > > > > bool Create(const wxBitmap& bitmap); > >protected: > > virtual void FreeData() = 0; > > > > > virtual bool InitFromColour(const wxBitmap& bitmap, > const wxColour& colour) = 0; > virtual bool InitFromMonoBitmap(const wxBitmap& bitmap) = 0; >}; ># 95 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/bitmap.h" >class wxBitmapHelpers >{ >public: > > static wxBitmap NewFromPNGData(const void* data, size_t size); >}; ># 113 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/bitmap.h" >class wxBitmapHandler : public wxObject >{ >public: > wxBitmapHandler() { m_type = wxBITMAP_TYPE_INVALID; } > virtual ~wxBitmapHandler() { } > > > > > > virtual bool Create(wxBitmap *, const void* , > wxBitmapType , int , int , > int = 1) > { return false; } > > virtual bool LoadFile(wxBitmap *, const wxString& , > wxBitmapType , int , > int ) > { return false; } > > virtual bool SaveFile(const wxBitmap *, const wxString& , > wxBitmapType , const wxPalette * = __null) const > { return false; } > > void SetName(const wxString& name) { m_name = name; } > void SetExtension(const wxString& ext) { m_extension = ext; } > void SetType(wxBitmapType type) { m_type = type; } > const wxString& GetName() const { return m_name; } > const wxString& GetExtension() const { return m_extension; } > wxBitmapType GetType() const { return m_type; } > >private: > wxString m_name; > wxString m_extension; > wxBitmapType m_type; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; >}; > > > > > >class wxBitmapBase : public wxGDIObject, > public wxBitmapHelpers >{ >public: ># 175 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/bitmap.h" > virtual bool Create(int width, int height, int depth = (-1)) = 0; > virtual bool Create(const wxSize& sz, int depth = (-1)) = 0; > virtual bool CreateScaled(int w, int h, int d, double logicalScale) > { return Create(wxRound(w*logicalScale), wxRound(h*logicalScale), d); } > > virtual int GetHeight() const = 0; > virtual int GetWidth() const = 0; > virtual int GetDepth() const = 0; > > wxSize GetSize() const > { return wxSize(GetWidth(), GetHeight()); } > > > virtual double GetScaleFactor() const { return 1.0; } > virtual double GetScaledWidth() const { return GetWidth() / GetScaleFactor(); } > virtual double GetScaledHeight() const { return GetHeight() / GetScaleFactor(); } > virtual wxSize GetScaledSize() const > { return wxSize(wxRound(GetScaledWidth()), wxRound(GetScaledHeight())); } > > > virtual wxImage ConvertToImage() const = 0; > > > wxBitmap ConvertToDisabled(unsigned char brightness = 255) const; > > > virtual wxMask *GetMask() const = 0; > virtual void SetMask(wxMask *mask) = 0; > > virtual wxBitmap GetSubBitmap(const wxRect& rect) const = 0; > > virtual bool SaveFile(const wxString &name, wxBitmapType type, > const wxPalette *palette = __null) const = 0; > virtual bool LoadFile(const wxString &name, wxBitmapType type) = 0; ># 219 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/bitmap.h" > virtual wxPalette *GetPalette() const = 0; > virtual void SetPalette(const wxPalette& palette) = 0; > > > > virtual bool CopyFromIcon(const wxIcon& icon) = 0; > > > virtual void SetHeight(int height) = 0; > virtual void SetWidth(int width) = 0; > virtual void SetDepth(int depth) = 0; > > > static inline wxList& GetHandlers() { return sm_handlers; } > static void AddHandler(wxBitmapHandler *handler); > static void InsertHandler(wxBitmapHandler *handler); > static bool RemoveHandler(const wxString& name); > static wxBitmapHandler *FindHandler(const wxString& name); > static wxBitmapHandler *FindHandler(const wxString& extension, wxBitmapType bitmapType); > static wxBitmapHandler *FindHandler(wxBitmapType bitmapType); > > > > > static void CleanUpHandlers(); > > > > > > virtual wxColour QuantizeColour(const wxColour& colour) const > { > return colour; > } > >protected: > static wxList sm_handlers; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; >}; ># 277 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/bitmap.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/bitmap.h" 1 ># 16 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/bitmap.h" >typedef struct _GdkPixbuf GdkPixbuf; >class wxPixelDataBase; > > > > > >class wxMask: public wxMaskBase >{ >public: > wxMask(); > wxMask(const wxMask& mask); > wxMask( const wxBitmap& bitmap, const wxColour& colour ); > > wxMask( const wxBitmap& bitmap, int paletteIndex ); > > wxMask( const wxBitmap& bitmap ); > virtual ~wxMask(); > wxBitmap GetBitmap() const; > > > > > > > wxMask(GdkPixmap*); > operator GdkPixmap*() const; > > >protected: > virtual void FreeData(); > virtual bool InitFromColour(const wxBitmap& bitmap, const wxColour& colour); > virtual bool InitFromMonoBitmap(const wxBitmap& bitmap); > >private: > > > > GdkPixmap* m_bitmap; > > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > > > > >class wxBitmap: public wxBitmapBase >{ >public: > wxBitmap() { } > wxBitmap( int width, int height, int depth = (-1) ) > { Create(width, height, depth); } > wxBitmap( const wxSize& sz, int depth = (-1) ) > { Create(sz, depth); } > wxBitmap( const char bits[], int width, int height, int depth = 1 ); > wxBitmap( const char* const* bits ); > > > > > > wxBitmap( const wxString &filename, wxBitmapType type = wxBITMAP_TYPE_XPM ); > > wxBitmap(const wxImage& image, int depth = (-1)); > > wxBitmap(GdkPixbuf* pixbuf, int depth = 0); > virtual ~wxBitmap(); > > bool Create(int width, int height, int depth = (-1)); > bool Create(const wxSize& sz, int depth = (-1)) > { return Create(sz.GetWidth(), sz.GetHeight(), depth); } > bool Create(int width, int height, const wxDC& ) > { return Create(width,height); } > > > virtual int GetHeight() const; > virtual int GetWidth() const; > virtual int GetDepth() const; > > > wxImage ConvertToImage() const; > > > > virtual bool CopyFromIcon(const wxIcon& icon); > > wxMask *GetMask() const; > void SetMask( wxMask *mask ); > > wxBitmap GetSubBitmap( const wxRect& rect ) const; > > bool SaveFile(const wxString &name, wxBitmapType type, > const wxPalette *palette = __null) const; > bool LoadFile(const wxString &name, wxBitmapType type = wxBITMAP_TYPE_XPM); > > > wxPalette *GetPalette() const; > void SetPalette(const wxPalette& palette); > wxPalette *GetColourMap() const { return GetPalette(); } > > > static void InitStandardHandlers(); > > > > > void SetHeight( int height ); > void SetWidth( int width ); > void SetDepth( int depth ); > > > > > > > > GdkPixmap *GetPixmap() const; > bool HasPixmap() const; > bool HasPixbuf() const; > wxBitmap(GdkPixmap* pixmap); > > GdkPixbuf *GetPixbuf() const; > > > void *GetRawData(wxPixelDataBase& data, int bpp); > void UngetRawData(wxPixelDataBase& data); > > bool HasAlpha() const; > >protected: > > > bool CreateFromImage(const wxImage& image, int depth); > > > > virtual wxGDIRefData* CreateGDIRefData() const; > virtual wxGDIRefData* CloneGDIRefData(const wxGDIRefData* data) const; > >private: > > void SetPixmap(GdkPixmap* pixmap); > > > bool CreateFromImageAsPixmap(const wxImage& image, int depth); > bool CreateFromImageAsPixbuf(const wxImage& image); > > >public: > > enum Representation > { > Pixmap, > Pixbuf > }; > > > void PurgeOtherRepresentations(Representation keep); > > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 278 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/bitmap.h" 2 ># 299 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/bitmap.h" >inline >wxBitmap > >wxBitmapBase:: > > > >ConvertToDisabled(unsigned char brightness) const >{ > > wxImage disabledImage = ConvertToImage().ConvertToDisabled(brightness); > > > > return disabledImage; > >} ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/panelg.h" 2 > >class wxPanel : public wxPanelBase >{ >public: > wxPanel() { } > > > wxPanel(wxWindow *parent, > wxWindowID winid = wxID_ANY, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > long style = 0x00080000 | wxBORDER_NONE, > const wxString& name = wxPanelNameStr) > { > Create(parent, winid, pos, size, style, name); > } ># 44 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/panelg.h" >private: > private: wxPanel(const wxPanel&); wxPanel& operator=(const wxPanel&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 70 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/panel.h" 2 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" 2 > >class wxScrollHelperEvtHandler; >class wxTimer; > > > > > >enum wxScrollbarVisibility >{ > wxSHOW_SB_NEVER = -1, > wxSHOW_SB_DEFAULT, > wxSHOW_SB_ALWAYS >}; ># 64 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" >class wxAnyScrollHelperBase >{ >public: > explicit wxAnyScrollHelperBase(wxWindow* win); > virtual ~wxAnyScrollHelperBase() {} ># 79 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" > void DisableKeyboardScrolling() { m_kbdScrollingEnabled = false; } > > > virtual void OnDraw(wxDC& ) { } > > > virtual void DoPrepareDC(wxDC& dc) = 0; > > > wxWindow *GetTargetWindow() const { return m_targetWindow; } > > > > void HandleOnChar(wxKeyEvent& event); > void HandleOnPaint(wxPaintEvent& event); > >protected: > > > wxWindow *m_win, > *m_targetWindow; > > > bool m_kbdScrollingEnabled; >}; > > >class wxScrollHelperBase : public wxAnyScrollHelperBase >{ >public: > > wxScrollHelperBase(wxWindow *winToScroll); > virtual ~wxScrollHelperBase(); > > > virtual void SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, > int noUnitsX, int noUnitsY, > int xPos = 0, int yPos = 0, > bool noRefresh = false ); > > > > > > > virtual void Scroll(int x, int y) { DoScroll(x, y); } > virtual void Scroll(const wxPoint& pt) { DoScroll(pt.x, pt.y); } > > > int GetScrollPageSize(int orient) const; > void SetScrollPageSize(int orient, int pageSize); > > > > int GetScrollLines( int orient ) const; > > > void SetScrollRate( int xstep, int ystep ); > > > void GetScrollPixelsPerUnit(int *pixelsPerUnitX, int *pixelsPerUnitY) const; > > > > > > > void ShowScrollbars(wxScrollbarVisibility horz, wxScrollbarVisibility vert) > { > DoShowScrollbars(horz, vert); > } > > > virtual bool IsScrollbarShown(int orient) const = 0; ># 163 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" > virtual void EnableScrolling(bool x_scrolling, bool y_scrolling); > > > void GetViewStart(int *x, int *y) const { DoGetViewStart(x, y); } > > wxPoint GetViewStart() const > { > wxPoint pt; > DoGetViewStart(&pt.x, &pt.y); > return pt; > } > > > void SetScale(double xs, double ys) { m_scaleX = xs; m_scaleY = ys; } > double GetScaleX() const { return m_scaleX; } > double GetScaleY() const { return m_scaleY; } > > > void CalcScrolledPosition(int x, int y, int *xx, int *yy) const > { DoCalcScrolledPosition(x, y, xx, yy); } > wxPoint CalcScrolledPosition(const wxPoint& pt) const > { > wxPoint p2; > DoCalcScrolledPosition(pt.x, pt.y, &p2.x, &p2.y); > return p2; > } > > void CalcUnscrolledPosition(int x, int y, int *xx, int *yy) const > { DoCalcUnscrolledPosition(x, y, xx, yy); } > wxPoint CalcUnscrolledPosition(const wxPoint& pt) const > { > wxPoint p2; > DoCalcUnscrolledPosition(pt.x, pt.y, &p2.x, &p2.y); > return p2; > } > > void DoCalcScrolledPosition(int x, int y, int *xx, int *yy) const; > void DoCalcUnscrolledPosition(int x, int y, int *xx, int *yy) const; > > > virtual void AdjustScrollbars() = 0; > > > int CalcScrollInc(wxScrollWinEvent& event); > > > > > > void SetTargetWindow(wxWindow *target); > > void SetTargetRect(const wxRect& rect) { m_rectToScroll = rect; } > wxRect GetTargetRect() const { return m_rectToScroll; } > > virtual void DoPrepareDC(wxDC& dc); > > > bool IsAutoScrolling() const { return m_timerAutoScroll != __null; } > > > void StopAutoScrolling(); > > > > > > > > virtual bool SendAutoScrollEvents(wxScrollWinEvent& event) const; > > > void HandleOnScroll(wxScrollWinEvent& event); > void HandleOnSize(wxSizeEvent& event); > void HandleOnMouseEnter(wxMouseEvent& event); > void HandleOnMouseLeave(wxMouseEvent& event); > > void HandleOnMouseWheel(wxMouseEvent& event); > > void HandleOnChildFocus(wxChildFocusEvent& event); > > > > > > > >protected: > > const wxRect *GetScrollRect() const > { > return m_rectToScroll.width != 0 ? &m_rectToScroll : __null; > } > > > wxSize GetTargetSize() const > { > return m_rectToScroll.width != 0 ? m_rectToScroll.GetSize() > : m_targetWindow->GetClientSize(); > } > > void GetTargetSize(int *w, int *h) const > { > wxSize size = GetTargetSize(); > if ( w ) > *w = size.x; > if ( h ) > *h = size.y; > } > > > virtual void DoGetViewStart(int *x, int *y) const; > virtual void DoScroll(int x, int y) = 0; > virtual void DoShowScrollbars(wxScrollbarVisibility horz, > wxScrollbarVisibility vert) = 0; > > > > bool ScrollLayout(); > void ScrollDoSetVirtualSize(int x, int y); > wxSize ScrollGetBestVirtualSize() const; > > > > void DoSetTargetWindow(wxWindow *target); > > > void DeleteEvtHandler(); > > > > > > > virtual wxSize GetSizeAvailableForScrollTarget(const wxSize& size) > { > > > > > > > return size; > } > > > double m_scaleX; > double m_scaleY; > > wxRect m_rectToScroll; > > wxTimer *m_timerAutoScroll; > > > > > > int m_xScrollPixelsPerLine; > int m_yScrollPixelsPerLine; > int m_xScrollPosition; > int m_yScrollPosition; > int m_xScrollLines; > int m_yScrollLines; > int m_xScrollLinesPerPage; > int m_yScrollLinesPerPage; > > bool m_xScrollingEnabled; > bool m_yScrollingEnabled; > > > int m_wheelRotation; > > > wxScrollHelperEvtHandler *m_handler; > > private: wxScrollHelperBase(const wxScrollHelperBase&); wxScrollHelperBase& operator=(const wxScrollHelperBase&); >}; ># 355 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/scrolwin.h" 1 ># 18 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/gtk/scrolwin.h" >class wxScrollHelper : public wxScrollHelperBase >{ > typedef wxScrollHelperBase base_type; >public: > > wxScrollHelper(wxWindow *win) : wxScrollHelperBase(win) { } > > > virtual void SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, > int noUnitsX, int noUnitsY, > int xPos = 0, int yPos = 0, > bool noRefresh = false); > virtual void AdjustScrollbars(); > > virtual bool IsScrollbarShown(int orient) const; > >protected: > virtual void DoScroll(int x, int y); > virtual void DoShowScrollbars(wxScrollbarVisibility horz, > wxScrollbarVisibility vert); > >private: > > void DoAdjustScrollbar(GtkRange* range, > int pixelsPerLine, > int winSize, > int virtSize, > int *pos, > int *lines, > int *linesPerPage); > > void DoAdjustHScrollbar(int winSize, int virtSize) > { > DoAdjustScrollbar > ( > m_win->m_scrollBar[wxWindow::ScrollDir_Horz], > m_xScrollPixelsPerLine, winSize, virtSize, > &m_xScrollPosition, &m_xScrollLines, &m_xScrollLinesPerPage > ); > } > > void DoAdjustVScrollbar(int winSize, int virtSize) > { > DoAdjustScrollbar > ( > m_win->m_scrollBar[wxWindow::ScrollDir_Vert], > m_yScrollPixelsPerLine, winSize, virtSize, > &m_yScrollPosition, &m_yScrollLines, &m_yScrollLinesPerPage > ); > } > > > void DoScrollOneDir(int orient, > int pos, > int pixelsPerLine, > int *posOld); > > private: wxScrollHelper(const wxScrollHelper&); wxScrollHelper& operator=(const wxScrollHelper&); >}; ># 356 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" 2 ># 368 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" >struct wxScrolledT_Helper >{ > static wxSize FilterBestSize(const wxWindow *win, > const wxScrollHelper *helper, > const wxSize& origBest); > > > >}; > > > > >template<class T> >class wxScrolled : public T, > public wxScrollHelper, > private wxScrolledT_Helper >{ >public: > wxScrolled() : wxScrollHelper(this) { } > wxScrolled(wxWindow *parent, > wxWindowID winid = wxID_ANY, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > long style = (0x40000000 | 0x80000000), > const wxString& name = wxPanelNameStr) > : wxScrollHelper(this) > { > Create(parent, winid, pos, size, style, name); > } > > bool Create(wxWindow *parent, > wxWindowID winid, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > long style = (0x40000000 | 0x80000000), > const wxString& name = wxPanelNameStr) > { > m_targetWindow = this; ># 415 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" > if ( !(style & (0x40000000 | 0x80000000)) ) > style |= 0x40000000 | 0x80000000; > > > > > > > > if ( style & 0x00800000 ) > ShowScrollbars(wxSHOW_SB_ALWAYS, wxSHOW_SB_ALWAYS); > > return T::Create(parent, winid, pos, size, style, name); > > } ># 446 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" > public: virtual void PrepareDC(wxDC& dc) { DoPrepareDC(dc); } virtual bool Layout() { return ScrollLayout(); } virtual bool CanScroll(int orient) const { return IsScrollbarShown(orient); } virtual void DoSetVirtualSize(int x, int y) { ScrollDoSetVirtualSize(x, y); } virtual wxSize GetBestVirtualSize() const { return ScrollGetBestVirtualSize(); } > >protected: > virtual wxSize DoGetBestSize() const > { > return FilterBestSize(this, this, T::DoGetBestSize()); > } > >private: > > > > private: wxScrolled(const wxScrolled&); wxScrolled& operator=(const wxScrolled&); > >}; ># 473 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/scrolwin.h" >class wxScrolledWindow : public wxScrolled<wxPanel> >{ >public: > wxScrolledWindow() : wxScrolled<wxPanel>() {} > wxScrolledWindow(wxWindow *parent, > wxWindowID winid = wxID_ANY, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > long style = (0x40000000 | 0x80000000), > const wxString& name = wxPanelNameStr) > : wxScrolled<wxPanel>(parent, winid, pos, size, style, name) {} > > private: wxScrolledWindow(const wxScrolledWindow&); wxScrolledWindow& operator=(const wxScrolledWindow&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > >typedef wxScrolled<wxWindow> wxScrolledCanvas; ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" 2 > > > > > >extern const char wxGridNameStr[]; ># 61 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" >enum wxGridDirection >{ > wxGRID_COLUMN, > wxGRID_ROW >}; > > >enum wxGridRenderStyle >{ > wxGRID_DRAW_ROWS_HEADER = 0x001, > wxGRID_DRAW_COLS_HEADER = 0x002, > wxGRID_DRAW_CELL_LINES = 0x004, > wxGRID_DRAW_BOX_RECT = 0x008, > wxGRID_DRAW_SELECTION = 0x010, > wxGRID_DRAW_DEFAULT = wxGRID_DRAW_ROWS_HEADER | > wxGRID_DRAW_COLS_HEADER | > wxGRID_DRAW_CELL_LINES | > wxGRID_DRAW_BOX_RECT >}; > > > > > >class wxGrid; >class wxGridCellAttr; >class wxGridCellAttrProviderData; >class wxGridColLabelWindow; >class wxGridCornerLabelWindow; >class wxGridRowLabelWindow; >class wxGridWindow; >class wxGridTypeRegistry; >class wxGridSelection; > >class wxHeaderCtrl; >class wxCheckBox; >class wxComboBox; >class wxTextCtrl; > >class wxSpinCtrl; > > >class wxGridFixedIndicesSet; > >class wxGridOperations; >class wxGridRowOperations; >class wxGridColumnOperations; >class wxGridDirectionOperations; ># 126 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" >class wxGridCellWorker : public wxClientDataContainer, public wxRefCounter >{ >public: > wxGridCellWorker() { } > > > > virtual void SetParameters(const wxString& params); > >protected: > > > virtual ~wxGridCellWorker(); > >private: > > > friend class wxGridCellWorkerDummyFriend; >}; ># 154 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" >class wxGridCellRenderer : public wxGridCellWorker >{ >public: > > > > > > > > virtual void Draw(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > const wxRect& rect, > int row, int col, > bool isSelected) = 0; > > > virtual wxSize GetBestSize(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > int row, int col) = 0; > > > virtual wxGridCellRenderer *Clone() const = 0; >}; ># 189 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" >class wxGridCellEditor : public wxGridCellWorker >{ >public: > wxGridCellEditor(); > > bool IsCreated() const { return m_control != __null; } > wxControl* GetControl() const { return m_control; } > void SetControl(wxControl* control) { m_control = control; } > > wxGridCellAttr* GetCellAttr() const { return m_attr; } > void SetCellAttr(wxGridCellAttr* attr) { m_attr = attr; } > > > virtual void Create(wxWindow* parent, > wxWindowID id, > wxEvtHandler* evtHandler) = 0; > > > virtual void SetSize(const wxRect& rect); > > > > virtual void Show(bool show, wxGridCellAttr *attr = __null); > > > > virtual void PaintBackground(wxDC& dc, > const wxRect& rectCell, > const wxGridCellAttr& attr); ># 226 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > virtual void BeginEdit(int row, int col, wxGrid* grid) = 0; > > > > > > > > virtual bool EndEdit(int row, int col, const wxGrid *grid, > const wxString& oldval, wxString *newval) = 0; > > > > virtual void ApplyEdit(int row, int col, wxGrid* grid) = 0; > > > > virtual void Reset() = 0; ># 253 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > virtual bool IsAcceptedKey(wxKeyEvent& event); > > > > virtual void StartingKey(wxKeyEvent& event); > > > > virtual void StartingClick(); > > > > virtual void HandleReturn(wxKeyEvent& event); > > > virtual void Destroy(); > > > virtual wxGridCellEditor *Clone() const = 0; > > > virtual wxString GetValue() const = 0; > >protected: > > virtual ~wxGridCellEditor(); > > > wxControl* m_control; > > > wxGridCellAttr* m_attr; > > > > > wxColour m_colFgOld, > m_colBgOld; > wxFont m_fontOld; > > > > friend class wxGridCellEditorDummyFriend; > > private: wxGridCellEditor(const wxGridCellEditor&); wxGridCellEditor& operator=(const wxGridCellEditor&); >}; > > > > > > > >class wxGridCornerHeaderRenderer >{ >public: > > virtual void DrawBorder(const wxGrid& grid, > wxDC& dc, > wxRect& rect) const = 0; > > > > > virtual ~wxGridCornerHeaderRenderer() { } >}; > > > >class wxGridHeaderLabelsRenderer > : public wxGridCornerHeaderRenderer >{ >public: > > virtual void DrawLabel(const wxGrid& grid, > wxDC& dc, > const wxString& value, > const wxRect& rect, > int horizAlign, > int vertAlign, > int textOrientation) const; >}; > > > > > >class wxGridRowHeaderRenderer > : public wxGridHeaderLabelsRenderer >{ >}; > >class wxGridColumnHeaderRenderer > : public wxGridHeaderLabelsRenderer >{ >}; > > > >class wxGridRowHeaderRendererDefault > : public wxGridRowHeaderRenderer >{ >public: > virtual void DrawBorder(const wxGrid& grid, > wxDC& dc, > wxRect& rect) const; >}; > > >class wxGridColumnHeaderRendererDefault > : public wxGridColumnHeaderRenderer >{ >public: > virtual void DrawBorder(const wxGrid& grid, > wxDC& dc, > wxRect& rect) const; >}; > > >class wxGridCornerHeaderRendererDefault > : public wxGridCornerHeaderRenderer >{ >public: > virtual void DrawBorder(const wxGrid& grid, > wxDC& dc, > wxRect& rect) const; >}; ># 388 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" >class wxGridCellAttr : public wxClientDataContainer, public wxRefCounter >{ >public: > enum wxAttrKind > { > Any, > Default, > Cell, > Row, > Col, > Merged > }; > > > wxGridCellAttr(wxGridCellAttr *attrDefault = __null) > { > Init(attrDefault); > > SetAlignment(wxALIGN_INVALID, wxALIGN_INVALID); > } > > > > wxGridCellAttr(const wxColour& colText, > const wxColour& colBack, > const wxFont& font, > int hAlign, > int vAlign) > : m_colText(colText), m_colBack(colBack), m_font(font) > { > Init(); > SetAlignment(hAlign, vAlign); > } > > > wxGridCellAttr *Clone() const; > void MergeWith(wxGridCellAttr *mergefrom); > > > void SetTextColour(const wxColour& colText) { m_colText = colText; } > void SetBackgroundColour(const wxColour& colBack) { m_colBack = colBack; } > void SetFont(const wxFont& font) { m_font = font; } > void SetAlignment(int hAlign, int vAlign) > { > m_hAlign = hAlign; > m_vAlign = vAlign; > } > void SetSize(int num_rows, int num_cols); > void SetOverflow(bool allow = true) > { m_overflow = allow ? Overflow : SingleCell; } > void SetReadOnly(bool isReadOnly = true) > { m_isReadOnly = isReadOnly ? ReadOnly : ReadWrite; } > > > void SetRenderer(wxGridCellRenderer *renderer) > { if ( m_renderer ) (m_renderer)->DecRef(); m_renderer = renderer; } > void SetEditor(wxGridCellEditor* editor) > { if ( m_editor ) (m_editor)->DecRef(); m_editor = editor; } > > void SetKind(wxAttrKind kind) { m_attrkind = kind; } > > > bool HasTextColour() const { return m_colText.IsOk(); } > bool HasBackgroundColour() const { return m_colBack.IsOk(); } > bool HasFont() const { return m_font.IsOk(); } > bool HasAlignment() const > { > return m_hAlign != wxALIGN_INVALID || m_vAlign != wxALIGN_INVALID; > } > bool HasRenderer() const { return m_renderer != __null; } > bool HasEditor() const { return m_editor != __null; } > bool HasReadWriteMode() const { return m_isReadOnly != Unset; } > bool HasOverflowMode() const { return m_overflow != UnsetOverflow; } > bool HasSize() const { return m_sizeRows != 1 || m_sizeCols != 1; } > > const wxColour& GetTextColour() const; > const wxColour& GetBackgroundColour() const; > const wxFont& GetFont() const; > void GetAlignment(int *hAlign, int *vAlign) const; > > > > > > > > void GetNonDefaultAlignment(int *hAlign, int *vAlign) const; > > void GetSize(int *num_rows, int *num_cols) const; > bool GetOverflow() const > { return m_overflow != SingleCell; } > wxGridCellRenderer *GetRenderer(const wxGrid* grid, int row, int col) const; > wxGridCellEditor *GetEditor(const wxGrid* grid, int row, int col) const; > > bool IsReadOnly() const { return m_isReadOnly == wxGridCellAttr::ReadOnly; } > > wxAttrKind GetKind() { return m_attrkind; } > > void SetDefAttr(wxGridCellAttr* defAttr) { m_defGridAttr = defAttr; } > >protected: > > virtual ~wxGridCellAttr() > { > if ( m_renderer ) (m_renderer)->DecRef(); > if ( m_editor ) (m_editor)->DecRef(); > } > >private: > enum wxAttrReadMode > { > Unset = -1, > ReadWrite, > ReadOnly > }; > > enum wxAttrOverflowMode > { > UnsetOverflow = -1, > Overflow, > SingleCell > }; > > > void Init(wxGridCellAttr *attrDefault = __null); > > > wxColour m_colText, > m_colBack; > wxFont m_font; > int m_hAlign, > m_vAlign; > int m_sizeRows, > m_sizeCols; > > wxAttrOverflowMode m_overflow; > > wxGridCellRenderer* m_renderer; > wxGridCellEditor* m_editor; > wxGridCellAttr* m_defGridAttr; > > wxAttrReadMode m_isReadOnly; > > wxAttrKind m_attrkind; > > > private: wxGridCellAttr(const wxGridCellAttr&); wxGridCellAttr& operator=(const wxGridCellAttr&); > > > > friend class wxGridCellAttrDummyFriend; >}; ># 553 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" >class wxGridCellAttrProvider : public wxClientDataContainer >{ >public: > wxGridCellAttrProvider(); > virtual ~wxGridCellAttrProvider(); > > > virtual wxGridCellAttr *GetAttr(int row, int col, > wxGridCellAttr::wxAttrKind kind ) const; > > > > virtual void SetAttr(wxGridCellAttr *attr, int row, int col); > virtual void SetRowAttr(wxGridCellAttr *attr, int row); > virtual void SetColAttr(wxGridCellAttr *attr, int col); > > > > void UpdateAttrRows( size_t pos, int numRows ); > void UpdateAttrCols( size_t pos, int numCols ); > > > > > > virtual const wxGridColumnHeaderRenderer& GetColumnHeaderRenderer(int col); > virtual const wxGridRowHeaderRenderer& GetRowHeaderRenderer(int row); > virtual const wxGridCornerHeaderRenderer& GetCornerRenderer(); > >private: > void InitData(); > > wxGridCellAttrProviderData *m_data; > > private: wxGridCellAttrProvider(const wxGridCellAttrProvider&); wxGridCellAttrProvider& operator=(const wxGridCellAttrProvider&); >}; > > > > > >class wxGridCellCoords >{ >public: > wxGridCellCoords() { m_row = m_col = -1; } > wxGridCellCoords( int r, int c ) { m_row = r; m_col = c; } > > > > int GetRow() const { return m_row; } > void SetRow( int n ) { m_row = n; } > int GetCol() const { return m_col; } > void SetCol( int n ) { m_col = n; } > void Set( int row, int col ) { m_row = row; m_col = col; } > > wxGridCellCoords& operator=( const wxGridCellCoords& other ) > { > if ( &other != this ) > { > m_row=other.m_row; > m_col=other.m_col; > } > return *this; > } > > bool operator==( const wxGridCellCoords& other ) const > { > return (m_row == other.m_row && m_col == other.m_col); > } > > bool operator!=( const wxGridCellCoords& other ) const > { > return (m_row != other.m_row || m_col != other.m_col); > } > > bool operator!() const > { > return (m_row == -1 && m_col == -1 ); > } > >private: > int m_row; > int m_col; >}; > > > > >extern wxGridCellCoords wxGridNoCellCoords; >extern wxRect wxGridNoCellRect; > > > >typedef wxGridCellCoords _wxObjArraywxGridCellCoordsArray; typedef int ( *CMPFUNC_wxObjArraywxGridCellCoordsArray)(_wxObjArraywxGridCellCoordsArray **pItem1, _wxObjArraywxGridCellCoordsArray **pItem2); class wxGridCellCoordsArray : protected wxArrayPtrVoid { typedef int ( *CMPFUNCwxArrayPtrVoid)(void **pItem1, void **pItem2); typedef wxArrayPtrVoid base_array; public: wxGridCellCoordsArray() { } wxGridCellCoordsArray(const wxGridCellCoordsArray& src); wxGridCellCoordsArray& operator=(const wxGridCellCoordsArray& src); ~wxGridCellCoordsArray(); void Alloc(size_t count) { wxArrayPtrVoid::reserve(count); } void reserve(size_t count) { wxArrayPtrVoid::reserve(count); } size_t GetCount() const { return base_array::size(); } size_t size() const { return base_array::size(); } bool IsEmpty() const { return base_array::empty(); } bool empty() const { return base_array::empty(); } size_t Count() const { return base_array::size(); } void Shrink() { wxArrayPtrVoid::Shrink(); } _wxObjArraywxGridCellCoordsArray& operator[](size_t uiIndex) const { return *(_wxObjArraywxGridCellCoordsArray*)wxArrayPtrVoid::operator[](uiIndex); } _wxObjArraywxGridCellCoordsArray& Item(size_t uiIndex) const { return *(_wxObjArraywxGridCellCoordsArray*)wxArrayPtrVoid::operator[](uiIndex); } _wxObjArraywxGridCellCoordsArray& Last() const { return *(_wxObjArraywxGridCellCoordsArray*)(wxArrayPtrVoid::operator[](size() - 1)); } int Index(const _wxObjArraywxGridCellCoordsArray& lItem, bool bFromEnd = false) const; void Add(const _wxObjArraywxGridCellCoordsArray& lItem, size_t nInsert = 1); void Add(const _wxObjArraywxGridCellCoordsArray* pItem) { wxArrayPtrVoid::push_back((_wxObjArraywxGridCellCoordsArray*)pItem); } void push_back(const _wxObjArraywxGridCellCoordsArray* pItem) { wxArrayPtrVoid::push_back((_wxObjArraywxGridCellCoordsArray*)pItem); } void push_back(const _wxObjArraywxGridCellCoordsArray& lItem) { Add(lItem); } void Insert(const _wxObjArraywxGridCellCoordsArray& lItem, size_t uiIndex, size_t nInsert = 1); void Insert(const _wxObjArraywxGridCellCoordsArray* pItem, size_t uiIndex) { wxArrayPtrVoid::insert(begin() + uiIndex, (_wxObjArraywxGridCellCoordsArray*)pItem); } void Empty() { DoEmpty(); wxArrayPtrVoid::clear(); } void Clear() { DoEmpty(); wxArrayPtrVoid::clear(); } _wxObjArraywxGridCellCoordsArray* Detach(size_t uiIndex) { _wxObjArraywxGridCellCoordsArray* p = (_wxObjArraywxGridCellCoordsArray*)wxArrayPtrVoid::operator[](uiIndex); wxArrayPtrVoid::erase(begin() + uiIndex); return p; } void RemoveAt(size_t uiIndex, size_t nRemove = 1); void Sort(CMPFUNC_wxObjArraywxGridCellCoordsArray fCmp) { wxArrayPtrVoid::Sort((CMPFUNCwxArrayPtrVoid)fCmp); } private: void DoEmpty(); void DoCopy(const wxGridCellCoordsArray& src); } > ; > > > > > > >class wxGridTableBase : public wxObject, > public wxClientDataContainer >{ >public: > wxGridTableBase(); > virtual ~wxGridTableBase(); > > > > > > virtual int GetNumberRows() = 0; > virtual int GetNumberCols() = 0; > > > > > > int GetRowsCount() const > { return const_cast<wxGridTableBase *>(this)->GetNumberRows(); } > int GetColsCount() const > { return const_cast<wxGridTableBase *>(this)->GetNumberCols(); } > > > virtual bool IsEmptyCell( int row, int col ) > { > return GetValue(row, col).empty(); > } > > bool IsEmpty(const wxGridCellCoords& coord) > { > return IsEmptyCell(coord.GetRow(), coord.GetCol()); > } > > virtual wxString GetValue( int row, int col ) = 0; > virtual void SetValue( int row, int col, const wxString& value ) = 0; > > > virtual wxString GetTypeName( int row, int col ); > virtual bool CanGetValueAs( int row, int col, const wxString& typeName ); > virtual bool CanSetValueAs( int row, int col, const wxString& typeName ); > > virtual long GetValueAsLong( int row, int col ); > virtual double GetValueAsDouble( int row, int col ); > virtual bool GetValueAsBool( int row, int col ); > > virtual void SetValueAsLong( int row, int col, long value ); > virtual void SetValueAsDouble( int row, int col, double value ); > virtual void SetValueAsBool( int row, int col, bool value ); > > > virtual void* GetValueAsCustom( int row, int col, const wxString& typeName ); > virtual void SetValueAsCustom( int row, int col, const wxString& typeName, void* value ); > > > > > virtual void SetView( wxGrid *grid ) { m_view = grid; } > virtual wxGrid * GetView() const { return m_view; } > > virtual void Clear() {} > virtual bool InsertRows( size_t pos = 0, size_t numRows = 1 ); > virtual bool AppendRows( size_t numRows = 1 ); > virtual bool DeleteRows( size_t pos = 0, size_t numRows = 1 ); > virtual bool InsertCols( size_t pos = 0, size_t numCols = 1 ); > virtual bool AppendCols( size_t numCols = 1 ); > virtual bool DeleteCols( size_t pos = 0, size_t numCols = 1 ); > > virtual wxString GetRowLabelValue( int row ); > virtual wxString GetColLabelValue( int col ); > virtual void SetRowLabelValue( int , const wxString& ) {} > virtual void SetColLabelValue( int , const wxString& ) {} > > > > > > void SetAttrProvider(wxGridCellAttrProvider *attrProvider); > > > wxGridCellAttrProvider *GetAttrProvider() const { return m_attrProvider; } > > > > virtual bool CanHaveAttributes(); > > > > virtual wxGridCellAttr *GetAttr( int row, int col, > wxGridCellAttr::wxAttrKind kind ); > > > > virtual void SetAttr(wxGridCellAttr* attr, int row, int col); > virtual void SetRowAttr(wxGridCellAttr *attr, int row); > virtual void SetColAttr(wxGridCellAttr *attr, int col); > >private: > wxGrid * m_view; > wxGridCellAttrProvider *m_attrProvider; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; > private: wxGridTableBase(const wxGridTableBase&); wxGridTableBase& operator=(const wxGridTableBase&); >}; ># 766 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" >enum wxGridTableRequest >{ > wxGRIDTABLE_REQUEST_VIEW_GET_VALUES = 2000, > wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES, > wxGRIDTABLE_NOTIFY_ROWS_INSERTED, > wxGRIDTABLE_NOTIFY_ROWS_APPENDED, > wxGRIDTABLE_NOTIFY_ROWS_DELETED, > wxGRIDTABLE_NOTIFY_COLS_INSERTED, > wxGRIDTABLE_NOTIFY_COLS_APPENDED, > wxGRIDTABLE_NOTIFY_COLS_DELETED >}; > >class wxGridTableMessage >{ >public: > wxGridTableMessage(); > wxGridTableMessage( wxGridTableBase *table, int id, > int comInt1 = -1, > int comInt2 = -1 ); > > void SetTableObject( wxGridTableBase *table ) { m_table = table; } > wxGridTableBase * GetTableObject() const { return m_table; } > void SetId( int id ) { m_id = id; } > int GetId() { return m_id; } > void SetCommandInt( int comInt1 ) { m_comInt1 = comInt1; } > int GetCommandInt() { return m_comInt1; } > void SetCommandInt2( int comInt2 ) { m_comInt2 = comInt2; } > int GetCommandInt2() { return m_comInt2; } > >private: > wxGridTableBase *m_table; > int m_id; > int m_comInt1; > int m_comInt2; > > private: wxGridTableMessage(const wxGridTableMessage&); wxGridTableMessage& operator=(const wxGridTableMessage&); >}; > > > > > > > >typedef wxArrayString _wxObjArraywxGridStringArray; typedef int ( *CMPFUNC_wxObjArraywxGridStringArray)(_wxObjArraywxGridStringArray **pItem1, _wxObjArraywxGridStringArray **pItem2); class wxGridStringArray : protected wxArrayPtrVoid { typedef int ( *CMPFUNCwxArrayPtrVoid)(void **pItem1, void **pItem2); typedef wxArrayPtrVoid base_array; public: wxGridStringArray() { } wxGridStringArray(const wxGridStringArray& src); wxGridStringArray& operator=(const wxGridStringArray& src); ~wxGridStringArray(); void Alloc(size_t count) { wxArrayPtrVoid::reserve(count); } void reserve(size_t count) { wxArrayPtrVoid::reserve(count); } size_t GetCount() const { return base_array::size(); } size_t size() const { return base_array::size(); } bool IsEmpty() const { return base_array::empty(); } bool empty() const { return base_array::empty(); } size_t Count() const { return base_array::size(); } void Shrink() { wxArrayPtrVoid::Shrink(); } _wxObjArraywxGridStringArray& operator[](size_t uiIndex) const { return *(_wxObjArraywxGridStringArray*)wxArrayPtrVoid::operator[](uiIndex); } _wxObjArraywxGridStringArray& Item(size_t uiIndex) const { return *(_wxObjArraywxGridStringArray*)wxArrayPtrVoid::operator[](uiIndex); } _wxObjArraywxGridStringArray& Last() const { return *(_wxObjArraywxGridStringArray*)(wxArrayPtrVoid::operator[](size() - 1)); } int Index(const _wxObjArraywxGridStringArray& lItem, bool bFromEnd = false) const; void Add(const _wxObjArraywxGridStringArray& lItem, size_t nInsert = 1); void Add(const _wxObjArraywxGridStringArray* pItem) { wxArrayPtrVoid::push_back((_wxObjArraywxGridStringArray*)pItem); } void push_back(const _wxObjArraywxGridStringArray* pItem) { wxArrayPtrVoid::push_back((_wxObjArraywxGridStringArray*)pItem); } void push_back(const _wxObjArraywxGridStringArray& lItem) { Add(lItem); } void Insert(const _wxObjArraywxGridStringArray& lItem, size_t uiIndex, size_t nInsert = 1); void Insert(const _wxObjArraywxGridStringArray* pItem, size_t uiIndex) { wxArrayPtrVoid::insert(begin() + uiIndex, (_wxObjArraywxGridStringArray*)pItem); } void Empty() { DoEmpty(); wxArrayPtrVoid::clear(); } void Clear() { DoEmpty(); wxArrayPtrVoid::clear(); } _wxObjArraywxGridStringArray* Detach(size_t uiIndex) { _wxObjArraywxGridStringArray* p = (_wxObjArraywxGridStringArray*)wxArrayPtrVoid::operator[](uiIndex); wxArrayPtrVoid::erase(begin() + uiIndex); return p; } void RemoveAt(size_t uiIndex, size_t nRemove = 1); void Sort(CMPFUNC_wxObjArraywxGridStringArray fCmp) { wxArrayPtrVoid::Sort((CMPFUNCwxArrayPtrVoid)fCmp); } private: void DoEmpty(); void DoCopy(const wxGridStringArray& src); } > ; ># 821 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" >class wxGridStringTable : public wxGridTableBase >{ >public: > wxGridStringTable(); > wxGridStringTable( int numRows, int numCols ); > > > > virtual int GetNumberRows() { return static_cast<int>(m_data.size()); } > virtual int GetNumberCols() { return m_numCols; } > virtual wxString GetValue( int row, int col ); > virtual void SetValue( int row, int col, const wxString& s ); > > > > void Clear(); > bool InsertRows( size_t pos = 0, size_t numRows = 1 ); > bool AppendRows( size_t numRows = 1 ); > bool DeleteRows( size_t pos = 0, size_t numRows = 1 ); > bool InsertCols( size_t pos = 0, size_t numCols = 1 ); > bool AppendCols( size_t numCols = 1 ); > bool DeleteCols( size_t pos = 0, size_t numCols = 1 ); > > void SetRowLabelValue( int row, const wxString& ); > void SetColLabelValue( int col, const wxString& ); > wxString GetRowLabelValue( int row ); > wxString GetColLabelValue( int col ); > >private: > wxGridStringArray m_data; > > > > > > int m_numCols; > > > > > wxArrayString m_rowLabels; > wxArrayString m_colLabels; > > private: wxGridStringTable(const wxGridStringTable&); wxGridStringTable& operator=(const wxGridStringTable&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; ># 882 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" >class wxUnsignedToIntHashMap_wxImplementation_Pair { public: typedef unsigned first_type; typedef int second_type; typedef unsigned t1; typedef int t2; typedef const unsigned const_t1; typedef const int const_t2; wxUnsignedToIntHashMap_wxImplementation_Pair(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; class wxUnsignedToIntHashMap_wxImplementation_KeyEx { typedef unsigned key_type; typedef wxUnsignedToIntHashMap_wxImplementation_Pair pair_type; typedef const key_type const_key_type; typedef const pair_type const_pair_type; typedef const_key_type& const_key_reference; typedef const_pair_type& const_pair_reference; public: wxUnsignedToIntHashMap_wxImplementation_KeyEx() { } const_key_reference operator()( const_pair_reference pair ) const { return pair.first; } wxUnsignedToIntHashMap_wxImplementation_KeyEx& operator=(const wxUnsignedToIntHashMap_wxImplementation_KeyEx&) { return *this; } }; class wxUnsignedToIntHashMap_wxImplementation_HashTable : protected _wxHashTableBase2 { public: typedef unsigned key_type; typedef wxUnsignedToIntHashMap_wxImplementation_Pair value_type; typedef wxIntegerHash hasher; typedef wxIntegerEqual key_equal; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type& reference; typedef const value_type& const_reference; typedef const unsigned const_key_type; typedef const wxUnsignedToIntHashMap_wxImplementation_Pair const_mapped_type; public: typedef wxUnsignedToIntHashMap_wxImplementation_KeyEx key_extractor; typedef wxUnsignedToIntHashMap_wxImplementation_HashTable Self; protected: _wxHashTable_NodeBase** m_table; size_t m_tableBuckets; size_t m_items; hasher m_hasher; key_equal m_equals; key_extractor m_getKey; public: struct Node:public _wxHashTable_NodeBase { public: Node( const value_type& value ) : m_value( value ) {} Node* next() { return static_cast<Node*>(m_next); } value_type m_value; }; protected: static void DeleteNode( _wxHashTable_NodeBase* node ) { delete static_cast<Node*>(node); } public: class Iterator { public: Node* m_node; Self* m_ht; Iterator() : m_node(__null), m_ht(__null) {} Iterator( Node* node, const Self* ht ) : m_node(node), m_ht(const_cast<Self*>(ht)) {} bool operator ==( const Iterator& it ) const { return m_node == it.m_node; } bool operator !=( const Iterator& it ) const { return m_node != it.m_node; } protected: Node* GetNextNode() { size_type bucket = GetBucketForNode(m_ht,m_node); for( size_type i = bucket + 1; i < m_ht->m_tableBuckets; ++i ) { if( m_ht->m_table[i] ) return static_cast<Node*>(m_ht->m_table[i]); } return __null; } void PlusPlus() { Node* next = m_node->next(); m_node = next ? next : GetNextNode(); } }; friend class Iterator; public: class iterator : public Iterator { public: iterator() : Iterator() {} iterator( Node* node, Self* ht ) : Iterator( node, ht ) {} iterator& operator++() { PlusPlus(); return *this; } iterator operator++(int) { iterator it=*this;PlusPlus();return it; } reference operator *() const { return m_node->m_value; } pointer operator ->() const { return &(m_node->m_value); } }; class const_iterator : public Iterator { public: const_iterator() : Iterator() {} const_iterator(iterator i) : Iterator(i) {} const_iterator( Node* node, const Self* ht ) : Iterator(node, const_cast<Self*>(ht)) {} const_iterator& operator++() { PlusPlus();return *this; } const_iterator operator++(int) { const_iterator it=*this;PlusPlus();return it; } const_reference operator *() const { return m_node->m_value; } const_pointer operator ->() const { return &(m_node->m_value); } }; wxUnsignedToIntHashMap_wxImplementation_HashTable( size_type sz = 10, const hasher& hfun = hasher(), const key_equal& k_eq = key_equal(), const key_extractor& k_ex = key_extractor() ) : m_tableBuckets( GetNextPrime( (unsigned long) sz ) ), m_items( 0 ), m_hasher( hfun ), m_equals( k_eq ), m_getKey( k_ex ) { m_table = (_wxHashTable_NodeBase**)AllocTable(m_tableBuckets); } wxUnsignedToIntHashMap_wxImplementation_HashTable( const Self& ht ) : m_table(__null), m_tableBuckets( 0 ), m_items( ht.m_items ), m_hasher( ht.m_hasher ), m_equals( ht.m_equals ), m_getKey( ht.m_getKey ) { HashCopy( ht ); } const Self& operator=( const Self& ht ) { if (&ht != this) { clear(); m_hasher = ht.m_hasher; m_equals = ht.m_equals; m_getKey = ht.m_getKey; m_items = ht.m_items; HashCopy( ht ); } return *this; } ~wxUnsignedToIntHashMap_wxImplementation_HashTable() { clear(); FreeTable(m_table); } hasher hash_funct() { return m_hasher; } key_equal key_eq() { return m_equals; } void clear() { DeleteNodes(m_tableBuckets, m_table, DeleteNode); m_items = 0; } size_type size() const { return m_items; } size_type max_size() const { return size_type(-1); } bool empty() const { return size() == 0; } const_iterator end() const { return const_iterator(__null, this); } iterator end() { return iterator(__null, this); } const_iterator begin() const { return const_iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } iterator begin() { return iterator(static_cast<Node*>(GetFirstNode(m_tableBuckets, m_table)), this); } size_type erase( const const_key_type& key ) { _wxHashTable_NodeBase** node = GetNodePtr(key); if( !node ) return 0; --m_items; _wxHashTable_NodeBase* temp = (*node)->m_next; delete static_cast<Node*>(*node); (*node) = temp; if( never_shrink( m_tableBuckets, m_items ) ) ResizeTable( GetPreviousPrime( (unsigned long) m_tableBuckets ) - 1 ); return 1; } protected: static size_type GetBucketForNode( Self* ht, Node* node ) { return ht->m_hasher( ht->m_getKey( node->m_value ) ) % ht->m_tableBuckets; } static Node* CopyNode( Node* node ) { return new Node( *node ); } Node* GetOrCreateNode( const value_type& value, bool& created ) { const const_key_type& key = m_getKey( value ); size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) { created = false; return node; } node = node->next(); } created = true; return CreateNode( value, bucket); } Node * CreateNode( const value_type& value, size_t bucket ) { Node* node = new Node( value ); node->m_next = m_table[bucket]; m_table[bucket] = node; ++m_items; if( grow_lf70( m_tableBuckets, m_items ) ) ResizeTable( m_tableBuckets ); return node; } void CreateNode( const value_type& value ) { CreateNode(value, m_hasher( m_getKey(value) ) % m_tableBuckets ); } _wxHashTable_NodeBase** GetNodePtr(const const_key_type& key) const { size_t bucket = m_hasher( key ) % m_tableBuckets; _wxHashTable_NodeBase** node = &m_table[bucket]; while( *node ) { if (m_equals(m_getKey(static_cast<Node*>(*node)->m_value), key)) return node; node = &(*node)->m_next; } return __null; } Node* GetNode( const const_key_type& key ) const { size_t bucket = m_hasher( key ) % m_tableBuckets; Node* node = static_cast<Node*>(m_table[bucket]); while( node ) { if( m_equals( m_getKey( node->m_value ), key ) ) return node; node = node->next(); } return __null; } void ResizeTable( size_t newSize ) { newSize = GetNextPrime( (unsigned long)newSize ); _wxHashTable_NodeBase** srcTable = m_table; size_t srcBuckets = m_tableBuckets; m_table = (_wxHashTable_NodeBase**)AllocTable( newSize ); m_tableBuckets = newSize; CopyHashTable( srcTable, srcBuckets, this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)&DummyProcessNode ); FreeTable(srcTable); } void HashCopy( const Self& ht ) { ResizeTable( ht.size() ); CopyHashTable( ht.m_table, ht.m_tableBuckets, (_wxHashTableBase2*)this, m_table, (BucketFromNode)GetBucketForNode, (ProcessNode)CopyNode ); } }; class wxUnsignedToIntHashMap:public wxUnsignedToIntHashMap_wxImplementation_HashTable { public: typedef int mapped_type; class Insert_Result { public: typedef iterator first_type; typedef bool second_type; typedef iterator t1; typedef bool t2; typedef const iterator const_t1; typedef const bool const_t2; Insert_Result(const const_t1& f, const const_t2& s) : first(const_cast<t1&>(f)), second(const_cast<t2&>(s)) {} t1 first; t2 second; }; explicit wxUnsignedToIntHashMap( size_type hint = 100, hasher hf = hasher(), key_equal eq = key_equal() ) : wxUnsignedToIntHashMap_wxImplementation_HashTable( hint, hf, eq, wxUnsignedToIntHashMap_wxImplementation_KeyEx() ) {} mapped_type& operator[]( const const_key_type& key ) { bool created; return GetOrCreateNode( wxUnsignedToIntHashMap_wxImplementation_Pair( key, mapped_type() ), created)->m_value.second; } const_iterator find( const const_key_type& key ) const { return const_iterator( GetNode( key ), this ); } iterator find( const const_key_type& key ) { return iterator( GetNode( key ), this ); } Insert_Result insert( const value_type& v ) { bool created; Node *node = GetOrCreateNode( wxUnsignedToIntHashMap_wxImplementation_Pair( v.first, v.second ), created); return Insert_Result(iterator(node, this), created); } size_type erase( const key_type& k ) { return wxUnsignedToIntHashMap_wxImplementation_HashTable::erase( k ); } void erase( const iterator& it ) { erase( (*it).first ); } size_type count( const const_key_type& key ) { return GetNode( key ) ? 1u : 0u; } } > ; > >struct wxGridSizesInfo >{ > > wxGridSizesInfo() { } > > > wxGridSizesInfo(int defSize, const wxArrayInt& allSizes); > > > > > int GetSize(unsigned pos) const; > > > > int m_sizeDefault; > > > wxUnsignedToIntHashMap m_customSizes; >}; > > > > > >class wxGrid : public wxScrolledWindow >{ >public: > > enum wxGridSelectionModes > { > wxGridSelectCells = 0, > wxGridSelectRows = 1, > wxGridSelectColumns = 2, > wxGridSelectRowsOrColumns = wxGridSelectRows | wxGridSelectColumns > }; > > > > enum TabBehaviour > { > Tab_Stop, > Tab_Wrap, > Tab_Leave > }; > > > > > > wxGrid() { Init(); } > > wxGrid(wxWindow *parent, > wxWindowID id, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > long style = 0x00040000, > const wxString& name = wxGridNameStr) > { > Init(); > > Create(parent, id, pos, size, style, name); > } > > bool Create(wxWindow *parent, > wxWindowID id, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > long style = 0x00040000, > const wxString& name = wxGridNameStr); > > virtual ~wxGrid(); ># 965 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > bool CreateGrid( int numRows, int numCols, > wxGridSelectionModes selmode = wxGridSelectCells ); > > bool SetTable( wxGridTableBase *table, > bool takeOwnership = false, > wxGridSelectionModes selmode = wxGridSelectCells ); > > bool ProcessTableMessage(wxGridTableMessage&); > > wxGridTableBase *GetTable() const { return m_table; } > > > void SetSelectionMode(wxGridSelectionModes selmode); > wxGridSelectionModes GetSelectionMode() const; > > > > int GetNumberRows() const { return m_numRows; } > int GetNumberCols() const { return m_numCols; } > > > > > wxArrayInt CalcRowLabelsExposed( const wxRegion& reg ) const; > > wxArrayInt CalcColLabelsExposed( const wxRegion& reg ) const; > wxGridCellCoordsArray CalcCellsExposed( const wxRegion& reg ) const; > > > void ClearGrid(); > bool InsertRows(int pos = 0, int numRows = 1, bool updateLabels = true) > { > return DoModifyLines(&wxGridTableBase::InsertRows, > pos, numRows, updateLabels); > } > bool InsertCols(int pos = 0, int numCols = 1, bool updateLabels = true) > { > return DoModifyLines(&wxGridTableBase::InsertCols, > pos, numCols, updateLabels); > } > > bool AppendRows(int numRows = 1, bool updateLabels = true) > { > return DoAppendLines(&wxGridTableBase::AppendRows, numRows, updateLabels); > } > bool AppendCols(int numCols = 1, bool updateLabels = true) > { > return DoAppendLines(&wxGridTableBase::AppendCols, numCols, updateLabels); > } > > bool DeleteRows(int pos = 0, int numRows = 1, bool updateLabels = true) > { > return DoModifyLines(&wxGridTableBase::DeleteRows, > pos, numRows, updateLabels); > } > bool DeleteCols(int pos = 0, int numCols = 1, bool updateLabels = true) > { > return DoModifyLines(&wxGridTableBase::DeleteCols, > pos, numCols, updateLabels); > } > > void DrawGridCellArea( wxDC& dc , const wxGridCellCoordsArray& cells ); > void DrawGridSpace( wxDC& dc ); > void DrawCellBorder( wxDC& dc, const wxGridCellCoords& ); > void DrawAllGridLines( wxDC& dc, const wxRegion & reg ); > void DrawCell( wxDC& dc, const wxGridCellCoords& ); > void DrawHighlight(wxDC& dc, const wxGridCellCoordsArray& cells); > > > > virtual void DrawCellHighlight( wxDC& dc, const wxGridCellAttr *attr ); > > virtual void DrawRowLabels( wxDC& dc, const wxArrayInt& rows ); > virtual void DrawRowLabel( wxDC& dc, int row ); > > virtual void DrawColLabels( wxDC& dc, const wxArrayInt& cols ); > virtual void DrawColLabel( wxDC& dc, int col ); > > virtual void DrawCornerLabel(wxDC& dc); > > > > void DrawTextRectangle( wxDC& dc, const wxString&, const wxRect&, > int horizontalAlignment = wxALIGN_LEFT, > int verticalAlignment = wxALIGN_TOP, > int textOrientation = wxHORIZONTAL ) const; > > void DrawTextRectangle( wxDC& dc, const wxArrayString& lines, const wxRect&, > int horizontalAlignment = wxALIGN_LEFT, > int verticalAlignment = wxALIGN_TOP, > int textOrientation = wxHORIZONTAL ) const; > > > > void Render( wxDC& dc, > const wxPoint& pos = wxDefaultPosition, > const wxSize& size = wxDefaultSize, > const wxGridCellCoords& topLeft = wxGridCellCoords(-1, -1), > const wxGridCellCoords& bottomRight = wxGridCellCoords(-1, -1), > int style = wxGRID_DRAW_DEFAULT ); > > > > > void StringToLines( const wxString& value, wxArrayString& lines ) const; > > void GetTextBoxSize( const wxDC& dc, > const wxArrayString& lines, > long *width, long *height ) const; > > > > > > > > void BeginBatch() { m_batchCount++; } > void EndBatch(); > > int GetBatchCount() { return m_batchCount; } > > virtual void Refresh(bool eraseb = true, const wxRect* rect = __null); ># 1095 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > void ForceRefresh(); > > > > > bool IsEditable() const { return m_editable; } > void EnableEditing( bool edit ); > > void EnableCellEditControl( bool enable = true ); > void DisableCellEditControl() { EnableCellEditControl(false); } > bool CanEnableCellControl() const; > bool IsCellEditControlEnabled() const; > bool IsCellEditControlShown() const; > > bool IsCurrentCellReadOnly() const; > > void ShowCellEditControl(); > void HideCellEditControl(); > void SaveEditControlValue(); > > > > > > > > wxGridCellCoords XYToCell(int x, int y) const; > void XYToCell(int x, int y, wxGridCellCoords& coords) const > { coords = XYToCell(x, y); } > wxGridCellCoords XYToCell(const wxPoint& pos) const > { return XYToCell(pos.x, pos.y); } > > > > > > > > int YToRow( int y, bool clipToMinMax = false ) const; > int XToCol( int x, bool clipToMinMax = false ) const; > > int YToEdgeOfRow( int y ) const; > int XToEdgeOfCol( int x ) const; > > wxRect CellToRect( int row, int col ) const; > wxRect CellToRect( const wxGridCellCoords& coords ) const > { return CellToRect( coords.GetRow(), coords.GetCol() ); } > > int GetGridCursorRow() const { return m_currentCellCoords.GetRow(); } > int GetGridCursorCol() const { return m_currentCellCoords.GetCol(); } > > > > > bool IsVisible( int row, int col, bool wholeCellVisible = true ) const; > bool IsVisible( const wxGridCellCoords& coords, bool wholeCellVisible = true ) const > { return IsVisible( coords.GetRow(), coords.GetCol(), wholeCellVisible ); } > void MakeCellVisible( int row, int col ); > void MakeCellVisible( const wxGridCellCoords& coords ) > { MakeCellVisible( coords.GetRow(), coords.GetCol() ); } > > > > > void SetGridCursor(int row, int col) { SetCurrentCell(row, col); } > void SetGridCursor(const wxGridCellCoords& c) { SetCurrentCell(c); } > > void GoToCell(int row, int col) > { > if ( SetCurrentCell(row, col) ) > MakeCellVisible(row, col); > } > > void GoToCell(const wxGridCellCoords& coords) > { > if ( SetCurrentCell(coords) ) > MakeCellVisible(coords); > } > > bool MoveCursorUp( bool expandSelection ); > bool MoveCursorDown( bool expandSelection ); > bool MoveCursorLeft( bool expandSelection ); > bool MoveCursorRight( bool expandSelection ); > bool MovePageDown(); > bool MovePageUp(); > bool MoveCursorUpBlock( bool expandSelection ); > bool MoveCursorDownBlock( bool expandSelection ); > bool MoveCursorLeftBlock( bool expandSelection ); > bool MoveCursorRightBlock( bool expandSelection ); > > void SetTabBehaviour(TabBehaviour behaviour) { m_tabBehaviour = behaviour; } > > > > > int GetDefaultRowLabelSize() const { return 82; } > int GetRowLabelSize() const { return m_rowLabelWidth; } > int GetDefaultColLabelSize() const { return 32; } > int GetColLabelSize() const { return m_colLabelHeight; } > wxColour GetLabelBackgroundColour() const { return m_labelBackgroundColour; } > wxColour GetLabelTextColour() const { return m_labelTextColour; } > wxFont GetLabelFont() const { return m_labelFont; } > void GetRowLabelAlignment( int *horiz, int *vert ) const; > void GetColLabelAlignment( int *horiz, int *vert ) const; > int GetColLabelTextOrientation() const; > wxString GetRowLabelValue( int row ) const; > wxString GetColLabelValue( int col ) const; > > wxColour GetCellHighlightColour() const { return m_cellHighlightColour; } > int GetCellHighlightPenWidth() const { return m_cellHighlightPenWidth; } > int GetCellHighlightROPenWidth() const { return m_cellHighlightROPenWidth; } > > > void UseNativeColHeader(bool native = true); > > > > void SetUseNativeColLabels( bool native = true ); > > void SetRowLabelSize( int width ); > void SetColLabelSize( int height ); > void HideRowLabels() { SetRowLabelSize( 0 ); } > void HideColLabels() { SetColLabelSize( 0 ); } > void SetLabelBackgroundColour( const wxColour& ); > void SetLabelTextColour( const wxColour& ); > void SetLabelFont( const wxFont& ); > void SetRowLabelAlignment( int horiz, int vert ); > void SetColLabelAlignment( int horiz, int vert ); > void SetColLabelTextOrientation( int textOrientation ); > void SetRowLabelValue( int row, const wxString& ); > void SetColLabelValue( int col, const wxString& ); > void SetCellHighlightColour( const wxColour& ); > void SetCellHighlightPenWidth(int width); > void SetCellHighlightROPenWidth(int width); > > > > > > > > void EnableDragRowSize( bool enable = true ); > void DisableDragRowSize() { EnableDragRowSize( false ); } > > void EnableDragColSize( bool enable = true ); > void DisableDragColSize() { EnableDragColSize( false ); } > > > > void DisableRowResize(int row) { DoDisableLineResize(row, m_setFixedRows); } > void DisableColResize(int col) { DoDisableLineResize(col, m_setFixedCols); } > > > > > bool CanDragRowSize(int row) const > { return m_canDragRowSize && DoCanResizeLine(row, m_setFixedRows); } > bool CanDragColSize(int col) const > { return m_canDragColSize && DoCanResizeLine(col, m_setFixedCols); } > > > void EnableDragColMove( bool enable = true ); > void DisableDragColMove() { EnableDragColMove( false ); } > bool CanDragColMove() const { return m_canDragColMove; } > > > void EnableDragGridSize(bool enable = true); > void DisableDragGridSize() { EnableDragGridSize(false); } > bool CanDragGridSize() const { return m_canDragGridSize; } > > > void EnableDragCell( bool enable = true ); > void DisableDragCell() { EnableDragCell( false ); } > bool CanDragCell() const { return m_canDragCell; } > > > > > > > void EnableGridLines(bool enable = true); > bool GridLinesEnabled() const { return m_gridLinesEnabled; } > > > void ClipHorzGridLines(bool clip) > { DoClipGridLines(m_gridLinesClipHorz, clip); } > void ClipVertGridLines(bool clip) > { DoClipGridLines(m_gridLinesClipVert, clip); } > bool AreHorzGridLinesClipped() const { return m_gridLinesClipHorz; } > bool AreVertGridLinesClipped() const { return m_gridLinesClipVert; } > > > void SetGridLineColour(const wxColour& col); > wxColour GetGridLineColour() const { return m_gridLineColour; } > > > > virtual wxPen GetDefaultGridLinePen(); > virtual wxPen GetRowGridLinePen(int row); > virtual wxPen GetColGridLinePen(int col); > > > > > > > void SetAttr(int row, int col, wxGridCellAttr *attr); > void SetRowAttr(int row, wxGridCellAttr *attr); > void SetColAttr(int col, wxGridCellAttr *attr); > > > > > > void RefreshAttr(int row, int col); > > > > > > wxGridCellAttr *GetOrCreateCellAttr(int row, int col) const; > > > > > > void SetColFormatBool(int col); > void SetColFormatNumber(int col); > void SetColFormatFloat(int col, int width = -1, int precision = -1); > void SetColFormatCustom(int col, const wxString& typeName); > > > > int GetDefaultRowSize() const; > int GetRowSize( int row ) const; > bool IsRowShown(int row) const { return GetRowSize(row) != 0; } > int GetDefaultColSize() const; > int GetColSize( int col ) const; > bool IsColShown(int col) const { return GetColSize(col) != 0; } > wxColour GetDefaultCellBackgroundColour() const; > wxColour GetCellBackgroundColour( int row, int col ) const; > wxColour GetDefaultCellTextColour() const; > wxColour GetCellTextColour( int row, int col ) const; > wxFont GetDefaultCellFont() const; > wxFont GetCellFont( int row, int col ) const; > void GetDefaultCellAlignment( int *horiz, int *vert ) const; > void GetCellAlignment( int row, int col, int *horiz, int *vert ) const; > bool GetDefaultCellOverflow() const; > bool GetCellOverflow( int row, int col ) const; ># 1353 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > enum CellSpan > { > CellSpan_Inside = -1, > CellSpan_None = 0, > CellSpan_Main > }; > > CellSpan GetCellSize( int row, int col, int *num_rows, int *num_cols ) const; > > wxSize GetCellSize(const wxGridCellCoords& coords) > { > wxSize s; > GetCellSize(coords.GetRow(), coords.GetCol(), &s.x, &s.y); > return s; > } > > > void SetDefaultRowSize( int height, bool resizeExistingRows = false ); > void SetRowSize( int row, int height ); > void HideRow(int row) { DoSetRowSize(row, 0); } > void ShowRow(int row) { DoSetRowSize(row, -1); } > > void SetDefaultColSize( int width, bool resizeExistingCols = false ); > void SetColSize( int col, int width ); > void HideCol(int col) { DoSetColSize(col, 0); } > void ShowCol(int col) { DoSetColSize(col, -1); } > > > > > wxGridSizesInfo GetColSizes() const > { return wxGridSizesInfo(GetDefaultColSize(), m_colWidths); } > wxGridSizesInfo GetRowSizes() const > { return wxGridSizesInfo(GetDefaultRowSize(), m_rowHeights); } > > void SetColSizes(const wxGridSizesInfo& sizeInfo); > void SetRowSizes(const wxGridSizesInfo& sizeInfo); ># 1407 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > void SetColumnsOrder(const wxArrayInt& order); > > > int GetColAt(int pos) const > { > return m_colAt.empty() ? pos : m_colAt[pos]; > } > > > > void SetColPos(int idx, int pos); > > > > > int GetColPos(int idx) const > { > if ( m_colAt.IsEmpty() ) > return idx; > > for ( int i = 0; i < m_numCols; i++ ) > { > if ( m_colAt[i] == idx ) > return i; > } > > do { if ( wxTheAssertHandler && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h", 1433, __FUNCTION__, "Assert failure", "invalid column index"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return (-1); > } > > > void ResetColPos(); > > > > > > void AutoSizeColumn( int col, bool setAsMin = true ) > { AutoSizeColOrRow(col, setAsMin, wxGRID_COLUMN); } > void AutoSizeRow( int row, bool setAsMin = true ) > { AutoSizeColOrRow(row, setAsMin, wxGRID_ROW); } > > > void AutoSizeColumns( bool setAsMin = true ) > { (void)SetOrCalcColumnSizes(false, setAsMin); } > > void AutoSizeRows( bool setAsMin = true ) > { (void)SetOrCalcRowSizes(false, setAsMin); } > > > > void AutoSize(); > > > > > > > void AutoSizeRowLabelSize( int row ); > > > void AutoSizeColLabelSize( int col ); > > > > > void SetColMinimalWidth( int col, int width ); > void SetRowMinimalHeight( int row, int width ); ># 1484 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > void SetColMinimalAcceptableWidth( int width ); > void SetRowMinimalAcceptableHeight( int width ); > int GetColMinimalAcceptableWidth() const; > int GetRowMinimalAcceptableHeight() const; > > void SetDefaultCellBackgroundColour( const wxColour& ); > void SetCellBackgroundColour( int row, int col, const wxColour& ); > void SetDefaultCellTextColour( const wxColour& ); > > void SetCellTextColour( int row, int col, const wxColour& ); > void SetDefaultCellFont( const wxFont& ); > void SetCellFont( int row, int col, const wxFont& ); > void SetDefaultCellAlignment( int horiz, int vert ); > void SetCellAlignment( int row, int col, int horiz, int vert ); > void SetDefaultCellOverflow( bool allow ); > void SetCellOverflow( int row, int col, bool allow ); > void SetCellSize( int row, int col, int num_rows, int num_cols ); > > > void SetDefaultRenderer(wxGridCellRenderer *renderer); > void SetCellRenderer(int row, int col, wxGridCellRenderer *renderer); > wxGridCellRenderer *GetDefaultRenderer() const; > wxGridCellRenderer* GetCellRenderer(int row, int col) const; > > > void SetDefaultEditor(wxGridCellEditor *editor); > void SetCellEditor(int row, int col, wxGridCellEditor *editor); > wxGridCellEditor *GetDefaultEditor() const; > wxGridCellEditor* GetCellEditor(int row, int col) const; > > > > > > wxString GetCellValue( int row, int col ) const > { > if ( m_table ) > { > return m_table->GetValue( row, col ); > } > else > { > return wxEmptyString; > } > } > > wxString GetCellValue( const wxGridCellCoords& coords ) const > { return GetCellValue( coords.GetRow(), coords.GetCol() ); } > > void SetCellValue( int row, int col, const wxString& s ); > void SetCellValue( const wxGridCellCoords& coords, const wxString& s ) > { SetCellValue( coords.GetRow(), coords.GetCol(), s ); } > > > bool IsReadOnly(int row, int col) const; > > > void SetReadOnly(int row, int col, bool isReadOnly = true); > > > > void SelectRow( int row, bool addToSelected = false ); > void SelectCol( int col, bool addToSelected = false ); > > void SelectBlock( int topRow, int leftCol, int bottomRow, int rightCol, > bool addToSelected = false ); > > void SelectBlock( const wxGridCellCoords& topLeft, > const wxGridCellCoords& bottomRight, > bool addToSelected = false ) > { SelectBlock( topLeft.GetRow(), topLeft.GetCol(), > bottomRight.GetRow(), bottomRight.GetCol(), > addToSelected ); } > > void SelectAll(); > > bool IsSelection() const; > > > > void DeselectRow( int row ); > void DeselectCol( int col ); > void DeselectCell( int row, int col ); > > void ClearSelection(); > > bool IsInSelection( int row, int col ) const; > > bool IsInSelection( const wxGridCellCoords& coords ) const > { return IsInSelection( coords.GetRow(), coords.GetCol() ); } > > wxGridCellCoordsArray GetSelectedCells() const; > wxGridCellCoordsArray GetSelectionBlockTopLeft() const; > wxGridCellCoordsArray GetSelectionBlockBottomRight() const; > wxArrayInt GetSelectedRows() const; > wxArrayInt GetSelectedCols() const; > > > > > > wxRect BlockToDeviceRect( const wxGridCellCoords & topLeft, > const wxGridCellCoords & bottomRight ) const; > > > wxColour GetSelectionBackground() const > { return m_selectionBackground; } > wxColour GetSelectionForeground() const > { return m_selectionForeground; } > > void SetSelectionBackground(const wxColour& c) { m_selectionBackground = c; } > void SetSelectionForeground(const wxColour& c) { m_selectionForeground = c; } > > > > void RegisterDataType(const wxString& typeName, > wxGridCellRenderer* renderer, > wxGridCellEditor* editor); > > virtual wxGridCellEditor* GetDefaultEditorForCell(int row, int col) const; > wxGridCellEditor* GetDefaultEditorForCell(const wxGridCellCoords& c) const > { return GetDefaultEditorForCell(c.GetRow(), c.GetCol()); } > virtual wxGridCellRenderer* GetDefaultRendererForCell(int row, int col) const; > virtual wxGridCellEditor* GetDefaultEditorForType(const wxString& typeName) const; > virtual wxGridCellRenderer* GetDefaultRendererForType(const wxString& typeName) const; > > > > void SetMargins(int extraWidth, int extraHeight) > { > m_extraWidth = extraWidth; > m_extraHeight = extraHeight; > > CalcDimensions(); > } > > > wxWindow* GetGridWindow() const { return (wxWindow*)m_gridWin; } > wxWindow* GetGridRowLabelWindow() const { return (wxWindow*)m_rowLabelWin; } > wxWindow* GetGridColLabelWindow() const { return m_colWindow; } > wxWindow* GetGridCornerLabelWindow() const { return (wxWindow*)m_cornerLabelWin; } > > > wxHeaderCtrl *GetGridColHeader() const > { > do { if ( wxTheAssertHandler && !(m_useNativeHeader) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h", 1629, __FUNCTION__, "m_useNativeHeader", "no column header window"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > > > > return reinterpret_cast<wxHeaderCtrl *>(m_colWindow); > } > > > void SetScrollLineX(int x) { m_xScrollPixelsPerLine = x; } > void SetScrollLineY(int y) { m_yScrollPixelsPerLine = y; } > int GetScrollLineX() const { return m_xScrollPixelsPerLine; } > int GetScrollLineY() const { return m_yScrollPixelsPerLine; } > > > > virtual void SetDropTarget(wxDropTarget *dropTarget); ># 1657 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > int GetSortingColumn() const { return m_sortCol; } > > > bool IsSortingBy(int col) const { return GetSortingColumn() == col; } > > > > > bool IsSortOrderAscending() const { return m_sortIsAscending; } > > > > void SetSortingColumn(int col, bool ascending = true); > > > void UnsetSortingColumn() { SetSortingColumn((-1)); } ># 1841 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > virtual bool Enable(bool enable = true); > virtual wxWindow *GetMainWindowOfCompositeControl() > { return (wxWindow*)m_gridWin; } > virtual void Fit(); > > > void CancelMouseCapture(); > >protected: > virtual wxSize DoGetBestSize() const; > > bool m_created; > > wxGridWindow *m_gridWin; > wxGridCornerLabelWindow *m_cornerLabelWin; > wxGridRowLabelWindow *m_rowLabelWin; > > > > > wxWindow *m_colWindow; > > wxGridColLabelWindow *GetColLabelWindow() const > { > do { if ( wxTheAssertHandler && !(!m_useNativeHeader) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h", 1865, __FUNCTION__, "!m_useNativeHeader", "no column label window"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > return reinterpret_cast<wxGridColLabelWindow *>(m_colWindow); > } > > wxGridTableBase *m_table; > bool m_ownTable; > > int m_numRows; > int m_numCols; > > wxGridCellCoords m_currentCellCoords; > > > wxGridCellCoords m_selectedBlockTopLeft; > wxGridCellCoords m_selectedBlockBottomRight; ># 1890 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > wxGridCellCoords m_selectedBlockCorner; > > wxGridSelection *m_selection; > > wxColour m_selectionBackground; > wxColour m_selectionForeground; > > > > > > void InitRowHeights(); > > int m_defaultRowHeight; > int m_minAcceptableRowHeight; > wxArrayInt m_rowHeights; > wxArrayInt m_rowBottoms; > > > void InitColWidths(); > > int m_defaultColWidth; > int m_minAcceptableColWidth; > wxArrayInt m_colWidths; > wxArrayInt m_colRights; > > int m_sortCol; > bool m_sortIsAscending; > > bool m_useNativeHeader, > m_nativeColumnLabels; > > > int GetColWidth(int col) const; > int GetColLeft(int col) const; > int GetColRight(int col) const; > > >public: > int GetRowHeight(int row) const; >protected: > > int GetRowTop(int row) const; > int GetRowBottom(int row) const; > > int m_rowLabelWidth; > int m_colLabelHeight; > > > int m_extraWidth, > m_extraHeight; > > wxColour m_labelBackgroundColour; > wxColour m_labelTextColour; > wxFont m_labelFont; > > int m_rowLabelHorizAlign; > int m_rowLabelVertAlign; > int m_colLabelHorizAlign; > int m_colLabelVertAlign; > int m_colLabelTextOrientation; > > bool m_defaultRowLabelValues; > bool m_defaultColLabelValues; > > wxColour m_gridLineColour; > bool m_gridLinesEnabled; > bool m_gridLinesClipHorz, > m_gridLinesClipVert; > wxColour m_cellHighlightColour; > int m_cellHighlightPenWidth; > int m_cellHighlightROPenWidth; > > > > int SetOrCalcColumnSizes(bool calcOnly, bool setAsMin = true); > int SetOrCalcRowSizes(bool calcOnly, bool setAsMin = true); > > > void AutoSizeColOrRow(int n, bool setAsMin, wxGridDirection direction); > > > wxCoord CalcColOrRowLabelAreaMinSize(wxGridDirection direction); > > > > wxLongToLongHashMap m_colMinWidths, > m_rowMinHeights; > > > int GetColMinimalWidth(int col) const; > int GetRowMinimalHeight(int col) const; > > > bool CanHaveAttributes() const; > > > > struct CachedAttr > { > int row, col; > wxGridCellAttr *attr; > } m_attrCache; > > > void ClearAttrCache(); > > > void CacheAttr(int row, int col, wxGridCellAttr *attr) const; > > > bool LookupAttr(int row, int col, wxGridCellAttr **attr) const; > > > > wxGridCellAttr *GetCellAttr(int row, int col) const; > wxGridCellAttr *GetCellAttr(const wxGridCellCoords& coords ) const > { return GetCellAttr( coords.GetRow(), coords.GetCol() ); } > > > wxGridCellAttr* m_defaultCellAttr; > > > bool m_inOnKeyDown; > int m_batchCount; > > > wxGridTypeRegistry* m_typeRegistry; > > enum CursorMode > { > WXGRID_CURSOR_SELECT_CELL, > WXGRID_CURSOR_RESIZE_ROW, > WXGRID_CURSOR_RESIZE_COL, > WXGRID_CURSOR_SELECT_ROW, > WXGRID_CURSOR_SELECT_COL, > WXGRID_CURSOR_MOVE_COL > }; > > > > > > > > void ChangeCursorMode(CursorMode mode, > wxWindow *win = __null, > bool captureMouse = true); > > wxWindow *m_winCapture; ># 2049 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > CursorMode m_cursorMode; > > > > wxArrayInt m_colAt; > > bool m_canDragRowSize; > bool m_canDragColSize; > bool m_canDragColMove; > bool m_canDragGridSize; > bool m_canDragCell; > > > > > int m_dragLastPos; > int m_dragRowOrCol; > > > > bool m_isDragging; > > > > > > > > wxPoint m_startDragPos; > > bool m_waitForSlowClick; > > wxGridCellCoords m_selectionStart; > > wxCursor m_rowResizeCursor; > wxCursor m_colResizeCursor; > > bool m_editable; > bool m_cellEditCtrlEnabled; > > TabBehaviour m_tabBehaviour; > > void Init(); > void Create(); > void CreateColumnWindow(); > void CalcDimensions(); > void CalcWindowSizes(); > bool Redimension( wxGridTableMessage& ); > > > > > int SendEvent(const wxEventType evtType, > int row, int col, > const wxMouseEvent& e); > int SendEvent(const wxEventType evtType, > const wxGridCellCoords& coords, > const wxMouseEvent& e) > { return SendEvent(evtType, coords.GetRow(), coords.GetCol(), e); } > int SendEvent(const wxEventType evtType, > int row, int col, > const wxString& s = wxString()); > int SendEvent(const wxEventType evtType, > const wxGridCellCoords& coords, > const wxString& s = wxString()) > { return SendEvent(evtType, coords.GetRow(), coords.GetCol(), s); } > int SendEvent(const wxEventType evtType, const wxString& s = wxString()) > { return SendEvent(evtType, m_currentCellCoords, s); } > > > > bool SendGridSizeEvent(wxEventType type, > int row, int col, > const wxMouseEvent& mouseEv); > > void OnPaint( wxPaintEvent& ); > void OnSize( wxSizeEvent& ); > void OnKeyDown( wxKeyEvent& ); > void OnKeyUp( wxKeyEvent& ); > void OnChar( wxKeyEvent& ); > void OnEraseBackground( wxEraseEvent& ); > void OnHideEditor( wxCommandEvent& ); > > > bool SetCurrentCell( const wxGridCellCoords& coords ); > bool SetCurrentCell( int row, int col ) > { return SetCurrentCell( wxGridCellCoords(row, col) ); } > > > > > void UpdateBlockBeingSelected(int topRow, int leftCol, > int bottomRow, int rightCol); > > void UpdateBlockBeingSelected(const wxGridCellCoords& topLeft, > const wxGridCellCoords& bottomRight) > { UpdateBlockBeingSelected(topLeft.GetRow(), topLeft.GetCol(), > bottomRight.GetRow(), bottomRight.GetCol()); } > > > > bool GetModelValues(); > bool SetModelValues(); > > friend class wxGridSelection; > friend class wxGridRowOperations; > friend class wxGridColumnOperations; > > > friend class wxGridCornerLabelWindow; > friend class wxGridColLabelWindow; > friend class wxGridRowLabelWindow; > friend class wxGridWindow; > friend class wxGridHeaderRenderer; > > friend class wxGridHeaderCtrl; > >private: > > > virtual wxSize GetSizeAvailableForScrollTarget(const wxSize& size); > > > void RedrawGridLines(); > > > > void DrawRangeGridLines(wxDC& dc, const wxRegion& reg, > const wxGridCellCoords& topLeft, > const wxGridCellCoords& bottomRight); > > > > > > void DoDrawGridLines(wxDC& dc, > int top, int left, > int bottom, int right, > int topRow, int leftCol, > int bottomRight, int rightCol); > > > void DoClipGridLines(bool& var, bool clip); > > > > > > > void UpdateColumnSortingIndicator(int col); > > > > void RefreshAfterColPosChange(); > > > > > > > > int XToPos(int x) const; > > > > > > > bool DoGridCellDrag(wxMouseEvent& event, > const wxGridCellCoords& coords, > bool isFirstDrag); > > > void DoGridLineDrag(wxMouseEvent& event, const wxGridOperations& oper); > > > void DoGridDragEvent(wxMouseEvent& event, const wxGridCellCoords& coords); > > > void DoGridCellLeftDown(wxMouseEvent& event, > const wxGridCellCoords& coords, > const wxPoint& pos); > void DoGridCellLeftDClick(wxMouseEvent& event, > const wxGridCellCoords& coords, > const wxPoint& pos); > void DoGridCellLeftUp(wxMouseEvent& event, const wxGridCellCoords& coords); > > > void DoGridMouseMoveEvent(wxMouseEvent& event, > const wxGridCellCoords& coords, > const wxPoint& pos); > > > void ProcessGridCellMouseEvent(wxMouseEvent& event); > > > void ProcessRowLabelMouseEvent(wxMouseEvent& event); > void ProcessColLabelMouseEvent(wxMouseEvent& event); > void ProcessCornerLabelMouseEvent(wxMouseEvent& event); > > void DoColHeaderClick(int col); > > void DoStartResizeCol(int col); > void DoUpdateResizeCol(int x); > void DoUpdateResizeColWidth(int w); > void DoStartMoveCol(int col); > > void DoEndDragResizeRow(const wxMouseEvent& event); > void DoEndDragResizeCol(const wxMouseEvent& event); > void DoEndMoveCol(int pos); > > > void DoGridProcessTab(wxKeyboardState& kbdState); > > > void DeselectLine(int line, const wxGridOperations& oper); > bool DoEndDragResizeLine(const wxGridOperations& oper); > int PosToLinePos(int pos, bool clipToMinMax, > const wxGridOperations& oper) const; > int PosToLine(int pos, bool clipToMinMax, > const wxGridOperations& oper) const; > int PosToEdgeOfLine(int pos, const wxGridOperations& oper) const; > > bool DoMoveCursor(bool expandSelection, > const wxGridDirectionOperations& diroper); > bool DoMoveCursorByPage(const wxGridDirectionOperations& diroper); > bool DoMoveCursorByBlock(bool expandSelection, > const wxGridDirectionOperations& diroper); > void AdvanceToNextNonEmpty(wxGridCellCoords& coords, > const wxGridDirectionOperations& diroper); > > > bool DoModifyLines(bool (wxGridTableBase::*funcModify)(size_t, size_t), > int pos, int num, bool updateLabels); > > bool DoAppendLines(bool (wxGridTableBase::*funcAppend)(size_t), > int num, bool updateLabels); > > > void DoSetSizes(const wxGridSizesInfo& sizeInfo, > const wxGridOperations& oper); > > > void DoDisableLineResize(int line, wxGridFixedIndicesSet *& setFixed); > bool DoCanResizeLine(int line, const wxGridFixedIndicesSet *setFixed) const; > > > void GetRenderSizes( const wxGridCellCoords& topLeft, > const wxGridCellCoords& bottomRight, > wxPoint& pointOffSet, wxSize& sizeGrid, > wxGridCellCoordsArray& renderCells, > wxArrayInt& arrayCols, wxArrayInt& arrayRows ); > > > void SetRenderScale( wxDC& dc, const wxPoint& pos, const wxSize& size, > const wxSize& sizeGrid ); > > > wxPoint GetRenderPosition( wxDC& dc, const wxPoint& position ); > > > void DoRenderBox( wxDC& dc, const int& style, > const wxPoint& pointOffSet, > const wxSize& sizeCellArea, > const wxGridCellCoords& topLeft, > const wxGridCellCoords& bottomRight ); > > > > > > > > void DoSetRowSize( int row, int height ); > void DoSetColSize( int col, int width ); > > > > > > wxGridFixedIndicesSet *m_setFixedRows, > *m_setFixedCols; > > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); > private: static const wxEventTableEntry sm_eventTableEntries[]; protected: static const wxEventTable sm_eventTable; virtual const wxEventTable* GetEventTable() const; static wxEventHashTable sm_eventHashTable; virtual wxEventHashTable& GetEventHashTable() const; > private: wxGrid(const wxGrid&); wxGrid& operator=(const wxGrid&); >}; > > > > > >class wxGridUpdateLocker >{ >public: > > wxGridUpdateLocker(wxGrid *grid = __null) > { > Init(grid); > } > > > > void Create(wxGrid *grid) > { > do { if ( wxTheAssertHandler && !(!m_grid) && (wxOnAssert("/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h", 2354, __FUNCTION__, "!m_grid", L"shouldn't be called more than once"), wxTrapInAssert) ) { wxTrapInAssert = false; wxTrap(); } } while ( (void)0, 0 ); > > Init(grid); > } > > ~wxGridUpdateLocker() > { > if ( m_grid ) > m_grid->EndBatch(); > } > >private: > void Init(wxGrid *grid) > { > m_grid = grid; > if ( m_grid ) > m_grid->BeginBatch(); > } > > wxGrid *m_grid; > > private: wxGridUpdateLocker(const wxGridUpdateLocker&); wxGridUpdateLocker& operator=(const wxGridUpdateLocker&); >}; > > > > > >class wxGridEvent : public wxNotifyEvent, > public wxKeyboardState >{ >public: > wxGridEvent() > : wxNotifyEvent() > { > Init(-1, -1, -1, -1, false); > } > > wxGridEvent(int id, > wxEventType type, > wxObject* obj, > int row = -1, int col = -1, > int x = -1, int y = -1, > bool sel = true, > const wxKeyboardState& kbd = wxKeyboardState()) > : wxNotifyEvent(type, id), > wxKeyboardState(kbd) > { > Init(row, col, x, y, sel); > SetEventObject(obj); > } > > > > __attribute__((deprecated)) wxGridEvent(int id, wxEventType type, wxObject* obj, int row, int col, int x, int y, bool sel, bool control, bool shift = false, bool alt = false, bool meta = false) > > > > > > > > ; > > virtual int GetRow() { return m_row; } > virtual int GetCol() { return m_col; } > wxPoint GetPosition() { return wxPoint( m_x, m_y ); } > bool Selecting() { return m_selecting; } > > virtual wxEvent *Clone() const { return new wxGridEvent(*this); } > >protected: > int m_row; > int m_col; > int m_x; > int m_y; > bool m_selecting; > >private: > void Init(int row, int col, int x, int y, bool sel) > { > m_row = row; > m_col = col; > m_x = x; > m_y = y; > m_selecting = sel; > } > > private: wxGridEvent& operator=(const wxGridEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > >class wxGridSizeEvent : public wxNotifyEvent, > public wxKeyboardState >{ >public: > wxGridSizeEvent() > : wxNotifyEvent() > { > Init(-1, -1, -1); > } > > wxGridSizeEvent(int id, > wxEventType type, > wxObject* obj, > int rowOrCol = -1, > int x = -1, int y = -1, > const wxKeyboardState& kbd = wxKeyboardState()) > : wxNotifyEvent(type, id), > wxKeyboardState(kbd) > { > Init(rowOrCol, x, y); > > SetEventObject(obj); > } > > __attribute__((deprecated)) wxGridSizeEvent(int id, wxEventType type, wxObject* obj, int rowOrCol, int x, int y, bool control, bool shift = false, bool alt = false, bool meta = false) ># 2478 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > ; > > int GetRowOrCol() { return m_rowOrCol; } > wxPoint GetPosition() { return wxPoint( m_x, m_y ); } > > virtual wxEvent *Clone() const { return new wxGridSizeEvent(*this); } > >protected: > int m_rowOrCol; > int m_x; > int m_y; > >private: > void Init(int rowOrCol, int x, int y) > { > m_rowOrCol = rowOrCol; > m_x = x; > m_y = y; > } > > private: wxGridSizeEvent& operator=(const wxGridSizeEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > >class wxGridRangeSelectEvent : public wxNotifyEvent, > public wxKeyboardState >{ >public: > wxGridRangeSelectEvent() > : wxNotifyEvent() > { > Init(wxGridNoCellCoords, wxGridNoCellCoords, false); > } > > wxGridRangeSelectEvent(int id, > wxEventType type, > wxObject* obj, > const wxGridCellCoords& topLeft, > const wxGridCellCoords& bottomRight, > bool sel = true, > const wxKeyboardState& kbd = wxKeyboardState()) > : wxNotifyEvent(type, id), > wxKeyboardState(kbd) > { > Init(topLeft, bottomRight, sel); > > SetEventObject(obj); > } > > __attribute__((deprecated)) wxGridRangeSelectEvent(int id, wxEventType type, wxObject* obj, const wxGridCellCoords& topLeft, const wxGridCellCoords& bottomRight, bool sel, bool control, bool shift = false, bool alt = false, bool meta = false) ># 2537 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grid.h" > ; > > wxGridCellCoords GetTopLeftCoords() { return m_topLeft; } > wxGridCellCoords GetBottomRightCoords() { return m_bottomRight; } > int GetTopRow() { return m_topLeft.GetRow(); } > int GetBottomRow() { return m_bottomRight.GetRow(); } > int GetLeftCol() { return m_topLeft.GetCol(); } > int GetRightCol() { return m_bottomRight.GetCol(); } > bool Selecting() { return m_selecting; } > > virtual wxEvent *Clone() const { return new wxGridRangeSelectEvent(*this); } > >protected: > void Init(const wxGridCellCoords& topLeft, > const wxGridCellCoords& bottomRight, > bool selecting) > { > m_topLeft = topLeft; > m_bottomRight = bottomRight; > m_selecting = selecting; > } > > wxGridCellCoords m_topLeft; > wxGridCellCoords m_bottomRight; > bool m_selecting; > > private: wxGridRangeSelectEvent& operator=(const wxGridRangeSelectEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > >class wxGridEditorCreatedEvent : public wxCommandEvent >{ >public: > wxGridEditorCreatedEvent() > : wxCommandEvent() > { > m_row = 0; > m_col = 0; > m_ctrl = __null; > } > > wxGridEditorCreatedEvent(int id, wxEventType type, wxObject* obj, > int row, int col, wxControl* ctrl); > > int GetRow() { return m_row; } > int GetCol() { return m_col; } > wxControl* GetControl() { return m_ctrl; } > void SetRow(int row) { m_row = row; } > void SetCol(int col) { m_col = col; } > void SetControl(wxControl* ctrl) { m_ctrl = ctrl; } > > virtual wxEvent *Clone() const { return new wxGridEditorCreatedEvent(*this); } > >private: > int m_row; > int m_col; > wxControl* m_ctrl; > > private: wxGridEditorCreatedEvent& operator=(const wxGridEditorCreatedEvent&); public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); >}; > > >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_CELL_LEFT_CLICK; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_CELL_RIGHT_CLICK; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_CELL_LEFT_DCLICK; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_CELL_RIGHT_DCLICK; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_LABEL_LEFT_CLICK; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_LABEL_RIGHT_CLICK; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_LABEL_LEFT_DCLICK; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_LABEL_RIGHT_DCLICK; >extern const wxEventTypeTag< wxGridSizeEvent > wxEVT_GRID_ROW_SIZE; >extern const wxEventTypeTag< wxGridSizeEvent > wxEVT_GRID_COL_SIZE; >extern const wxEventTypeTag< wxGridSizeEvent > wxEVT_GRID_COL_AUTO_SIZE; >extern const wxEventTypeTag< wxGridRangeSelectEvent > wxEVT_GRID_RANGE_SELECT; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_CELL_CHANGING; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_CELL_CHANGED; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_SELECT_CELL; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_EDITOR_SHOWN; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_EDITOR_HIDDEN; >extern const wxEventTypeTag< wxGridEditorCreatedEvent > wxEVT_GRID_EDITOR_CREATED; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_CELL_BEGIN_DRAG; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_COL_MOVE; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_COL_SORT; >extern const wxEventTypeTag< wxGridEvent > wxEVT_GRID_TABBING; > >typedef void (wxEvtHandler::*wxGridEventFunction)(wxGridEvent&); >typedef void (wxEvtHandler::*wxGridSizeEventFunction)(wxGridSizeEvent&); >typedef void (wxEvtHandler::*wxGridRangeSelectEventFunction)(wxGridRangeSelectEvent&); >typedef void (wxEvtHandler::*wxGridEditorCreatedEventFunction)(wxGridEditorCreatedEvent&); ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/grid.h" 2 > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grideditors.h" 1 ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/grideditors.h" >class wxGridCellEditorEvtHandler : public wxEvtHandler >{ >public: > wxGridCellEditorEvtHandler(wxGrid* grid, wxGridCellEditor* editor) > : m_grid(grid), > m_editor(editor), > m_inSetFocus(false) > { > } > > void OnKillFocus(wxFocusEvent& event); > void OnKeyDown(wxKeyEvent& event); > void OnChar(wxKeyEvent& event); > > void SetInSetFocus(bool inSetFocus) { m_inSetFocus = inSetFocus; } > >private: > wxGrid *m_grid; > wxGridCellEditor *m_editor; > > > > bool m_inSetFocus; > > private: static const wxEventTableEntry sm_eventTableEntries[]; protected: static const wxEventTable sm_eventTable; virtual const wxEventTable* GetEventTable() const; static wxEventHashTable sm_eventHashTable; virtual wxEventHashTable& GetEventHashTable() const; > public: static wxClassInfo ms_classInfo; virtual wxClassInfo *GetClassInfo() const; static wxObject* wxCreateObject(); > private: wxGridCellEditorEvtHandler(const wxGridCellEditorEvtHandler&); wxGridCellEditorEvtHandler& operator=(const wxGridCellEditorEvtHandler&); >}; > > > > > >class wxGridCellTextEditor : public wxGridCellEditor >{ >public: > explicit wxGridCellTextEditor(size_t maxChars = 0); > > virtual void Create(wxWindow* parent, > wxWindowID id, > wxEvtHandler* evtHandler); > virtual void SetSize(const wxRect& rect); > > virtual void PaintBackground(wxDC& dc, > const wxRect& rectCell, > const wxGridCellAttr& attr); > > virtual bool IsAcceptedKey(wxKeyEvent& event); > virtual void BeginEdit(int row, int col, wxGrid* grid); > virtual bool EndEdit(int row, int col, const wxGrid* grid, > const wxString& oldval, wxString *newval); > virtual void ApplyEdit(int row, int col, wxGrid* grid); > > virtual void Reset(); > virtual void StartingKey(wxKeyEvent& event); > virtual void HandleReturn(wxKeyEvent& event); > > > virtual void SetParameters(const wxString& params); > virtual void SetValidator(const wxValidator& validator); > > virtual wxGridCellEditor *Clone() const; > > > virtual wxString GetValue() const; > >protected: > wxTextCtrl *Text() const { return (wxTextCtrl *)m_control; } > > > void DoCreate(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler, > long style = 0); > void DoBeginEdit(const wxString& startValue); > void DoReset(const wxString& startValue); > >private: > size_t m_maxChars; > wxScopedPtr<wxValidator> m_validator; > wxString m_value; > > private: wxGridCellTextEditor(const wxGridCellTextEditor&); wxGridCellTextEditor& operator=(const wxGridCellTextEditor&); >}; > > >class wxGridCellNumberEditor : public wxGridCellTextEditor >{ >public: > > > wxGridCellNumberEditor(int min = -1, int max = -1); > > virtual void Create(wxWindow* parent, > wxWindowID id, > wxEvtHandler* evtHandler); > > virtual bool IsAcceptedKey(wxKeyEvent& event); > virtual void BeginEdit(int row, int col, wxGrid* grid); > virtual bool EndEdit(int row, int col, const wxGrid* grid, > const wxString& oldval, wxString *newval); > virtual void ApplyEdit(int row, int col, wxGrid* grid); > > virtual void Reset(); > virtual void StartingKey(wxKeyEvent& event); > > > virtual void SetParameters(const wxString& params); > > virtual wxGridCellEditor *Clone() const > { return new wxGridCellNumberEditor(m_min, m_max); } > > > virtual wxString GetValue() const; > >protected: > > wxSpinCtrl *Spin() const { return (wxSpinCtrl *)m_control; } > > > > bool HasRange() const > { > > return m_min != m_max; > > > > } > > > wxString GetString() const > { return wxString::Format(L"%ld", m_value); } > >private: > int m_min, > m_max; > > long m_value; > > private: wxGridCellNumberEditor(const wxGridCellNumberEditor&); wxGridCellNumberEditor& operator=(const wxGridCellNumberEditor&); >}; > > >enum wxGridCellFloatFormat >{ > > wxGRID_FLOAT_FORMAT_FIXED = 0x0010, > > > wxGRID_FLOAT_FORMAT_SCIENTIFIC = 0x0020, > > > wxGRID_FLOAT_FORMAT_COMPACT = 0x0040, > > > wxGRID_FLOAT_FORMAT_UPPER = 0x0080, > > > wxGRID_FLOAT_FORMAT_DEFAULT = wxGRID_FLOAT_FORMAT_FIXED, > > > wxGRID_FLOAT_FORMAT_MASK = wxGRID_FLOAT_FORMAT_FIXED | > wxGRID_FLOAT_FORMAT_SCIENTIFIC | > wxGRID_FLOAT_FORMAT_COMPACT | > wxGRID_FLOAT_FORMAT_UPPER >}; > > >class wxGridCellFloatEditor : public wxGridCellTextEditor >{ >public: > wxGridCellFloatEditor(int width = -1, > int precision = -1, > int format = wxGRID_FLOAT_FORMAT_DEFAULT); > > virtual void Create(wxWindow* parent, > wxWindowID id, > wxEvtHandler* evtHandler); > > virtual bool IsAcceptedKey(wxKeyEvent& event); > virtual void BeginEdit(int row, int col, wxGrid* grid); > virtual bool EndEdit(int row, int col, const wxGrid* grid, > const wxString& oldval, wxString *newval); > virtual void ApplyEdit(int row, int col, wxGrid* grid); > > virtual void Reset(); > virtual void StartingKey(wxKeyEvent& event); > > virtual wxGridCellEditor *Clone() const > { return new wxGridCellFloatEditor(m_width, m_precision); } > > > > virtual void SetParameters(const wxString& params); > >protected: > > wxString GetString(); > >private: > int m_width, > m_precision; > double m_value; > > int m_style; > wxString m_format; > > private: wxGridCellFloatEditor(const wxGridCellFloatEditor&); wxGridCellFloatEditor& operator=(const wxGridCellFloatEditor&); >}; > > > > > > >class wxGridCellBoolEditor : public wxGridCellEditor >{ >public: > wxGridCellBoolEditor() { } > > virtual void Create(wxWindow* parent, > wxWindowID id, > wxEvtHandler* evtHandler); > > virtual void SetSize(const wxRect& rect); > virtual void Show(bool show, wxGridCellAttr *attr = __null); > > virtual bool IsAcceptedKey(wxKeyEvent& event); > virtual void BeginEdit(int row, int col, wxGrid* grid); > virtual bool EndEdit(int row, int col, const wxGrid* grid, > const wxString& oldval, wxString *newval); > virtual void ApplyEdit(int row, int col, wxGrid* grid); > > virtual void Reset(); > virtual void StartingClick(); > virtual void StartingKey(wxKeyEvent& event); > > virtual wxGridCellEditor *Clone() const > { return new wxGridCellBoolEditor; } > > > > virtual wxString GetValue() const; > > > > static void UseStringValues(const wxString& valueTrue = L"1", > const wxString& valueFalse = wxEmptyString); > > > > static bool IsTrueValue(const wxString& value); > >protected: > wxCheckBox *CBox() const { return (wxCheckBox *)m_control; } > >private: > bool m_value; > > static wxString ms_stringValues[2]; > > private: wxGridCellBoolEditor(const wxGridCellBoolEditor&); wxGridCellBoolEditor& operator=(const wxGridCellBoolEditor&); >}; > > > > > > >class wxGridCellChoiceEditor : public wxGridCellEditor >{ >public: > > wxGridCellChoiceEditor(size_t count = 0, > const wxString choices[] = __null, > bool allowOthers = false); > wxGridCellChoiceEditor(const wxArrayString& choices, > bool allowOthers = false); > > virtual void Create(wxWindow* parent, > wxWindowID id, > wxEvtHandler* evtHandler); > > virtual void SetSize(const wxRect& rect); > > virtual void PaintBackground(wxDC& dc, > const wxRect& rectCell, > const wxGridCellAttr& attr); > > virtual void BeginEdit(int row, int col, wxGrid* grid); > virtual bool EndEdit(int row, int col, const wxGrid* grid, > const wxString& oldval, wxString *newval); > virtual void ApplyEdit(int row, int col, wxGrid* grid); > > virtual void Reset(); > > > virtual void SetParameters(const wxString& params); > > virtual wxGridCellEditor *Clone() const; > > > virtual wxString GetValue() const; > >protected: > wxComboBox *Combo() const { return (wxComboBox *)m_control; } > > wxString m_value; > wxArrayString m_choices; > bool m_allowOthers; > > private: wxGridCellChoiceEditor(const wxGridCellChoiceEditor&); wxGridCellChoiceEditor& operator=(const wxGridCellChoiceEditor&); >}; > > > > > >class wxGridCellEnumEditor : public wxGridCellChoiceEditor >{ >public: > wxGridCellEnumEditor( const wxString& choices = wxEmptyString ); > virtual ~wxGridCellEnumEditor() {} > > virtual wxGridCellEditor* Clone() const; > > virtual void BeginEdit(int row, int col, wxGrid* grid); > virtual bool EndEdit(int row, int col, const wxGrid* grid, > const wxString& oldval, wxString *newval); > virtual void ApplyEdit(int row, int col, wxGrid* grid); > >private: > long m_index; > > private: wxGridCellEnumEditor(const wxGridCellEnumEditor&); wxGridCellEnumEditor& operator=(const wxGridCellEnumEditor&); >}; > > > >class wxGridCellAutoWrapStringEditor : public wxGridCellTextEditor >{ >public: > wxGridCellAutoWrapStringEditor() : wxGridCellTextEditor() { } > virtual void Create(wxWindow* parent, > wxWindowID id, > wxEvtHandler* evtHandler); > > virtual wxGridCellEditor *Clone() const > { return new wxGridCellAutoWrapStringEditor; } > > private: wxGridCellAutoWrapStringEditor(const wxGridCellAutoWrapStringEditor&); wxGridCellAutoWrapStringEditor& operator=(const wxGridCellAutoWrapStringEditor&); >}; ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/grid.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/gridctrl.h" 1 ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/gridctrl.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/grid.h" 1 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/gridctrl.h" 2 ># 23 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/generic/gridctrl.h" >class wxGridCellStringRenderer : public wxGridCellRenderer >{ >public: > > virtual void Draw(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > const wxRect& rect, > int row, int col, > bool isSelected); > > > virtual wxSize GetBestSize(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > int row, int col); > > virtual wxGridCellRenderer *Clone() const > { return new wxGridCellStringRenderer; } > >protected: > > void SetTextColoursAndFont(const wxGrid& grid, > const wxGridCellAttr& attr, > wxDC& dc, > bool isSelected); > > > wxSize DoGetBestSize(const wxGridCellAttr& attr, > wxDC& dc, > const wxString& text); >}; > > >class wxGridCellNumberRenderer : public wxGridCellStringRenderer >{ >public: > > virtual void Draw(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > const wxRect& rect, > int row, int col, > bool isSelected); > > virtual wxSize GetBestSize(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > int row, int col); > > virtual wxGridCellRenderer *Clone() const > { return new wxGridCellNumberRenderer; } > >protected: > wxString GetString(const wxGrid& grid, int row, int col); >}; > >class wxGridCellFloatRenderer : public wxGridCellStringRenderer >{ >public: > wxGridCellFloatRenderer(int width = -1, > int precision = -1, > int format = wxGRID_FLOAT_FORMAT_DEFAULT); > > > int GetWidth() const { return m_width; } > void SetWidth(int width) { m_width = width; m_format.clear(); } > int GetPrecision() const { return m_precision; } > void SetPrecision(int precision) { m_precision = precision; m_format.clear(); } > int GetFormat() const { return m_style; } > void SetFormat(int format) { m_style = format; m_format.clear(); } > > > virtual void Draw(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > const wxRect& rect, > int row, int col, > bool isSelected); > > virtual wxSize GetBestSize(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > int row, int col); > > > > virtual void SetParameters(const wxString& params); > > virtual wxGridCellRenderer *Clone() const; > >protected: > wxString GetString(const wxGrid& grid, int row, int col); > >private: > > int m_width, > m_precision; > > int m_style; > wxString m_format; >}; > > >class wxGridCellBoolRenderer : public wxGridCellRenderer >{ >public: > > virtual void Draw(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > const wxRect& rect, > int row, int col, > bool isSelected); > > > virtual wxSize GetBestSize(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > int row, int col); > > virtual wxGridCellRenderer *Clone() const > { return new wxGridCellBoolRenderer; } > >private: > static wxSize ms_sizeCheckMark; >}; > > > > > > > >class wxGridCellDateTimeRenderer : public wxGridCellStringRenderer >{ >public: > wxGridCellDateTimeRenderer(const wxString& outformat = wxDefaultDateTimeFormat, > const wxString& informat = wxDefaultDateTimeFormat); > > > virtual void Draw(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > const wxRect& rect, > int row, int col, > bool isSelected); > > virtual wxSize GetBestSize(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > int row, int col); > > virtual wxGridCellRenderer *Clone() const; > > > virtual void SetParameters(const wxString& params); > >protected: > wxString GetString(const wxGrid& grid, int row, int col); > > wxString m_iformat; > wxString m_oformat; > wxDateTime m_dateDef; > wxDateTime::TimeZone m_tz; >}; > > > > >class wxGridCellEnumRenderer : public wxGridCellStringRenderer >{ >public: > wxGridCellEnumRenderer( const wxString& choices = wxEmptyString ); > > > virtual void Draw(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > const wxRect& rect, > int row, int col, > bool isSelected); > > virtual wxSize GetBestSize(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > int row, int col); > > virtual wxGridCellRenderer *Clone() const; > > > > virtual void SetParameters(const wxString& params); > >protected: > wxString GetString(const wxGrid& grid, int row, int col); > > wxArrayString m_choices; >}; > > >class wxGridCellAutoWrapStringRenderer : public wxGridCellStringRenderer >{ >public: > wxGridCellAutoWrapStringRenderer() : wxGridCellStringRenderer() { } > > virtual void Draw(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > const wxRect& rect, > int row, int col, > bool isSelected); > > virtual wxSize GetBestSize(wxGrid& grid, > wxGridCellAttr& attr, > wxDC& dc, > int row, int col); > > virtual wxGridCellRenderer *Clone() const > { return new wxGridCellAutoWrapStringRenderer; } > >private: > wxArrayString GetTextLines( wxGrid& grid, > wxDC& dc, > const wxGridCellAttr& attr, > const wxRect& rect, > int row, int col); > > > > > > > void BreakLine(wxDC& dc, > const wxString& logicalLine, > wxCoord maxWidth, > wxArrayString& lines); > > > > > > > wxCoord BreakWord(wxDC& dc, > const wxString& word, > wxCoord maxWidth, > wxArrayString& lines, > wxString& line); > > >}; ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Externals/wxWidgets3/include/wx/grid.h" 2 ># 9 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" 2 > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonTypes.h" 1 ># 10 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonTypes.h" ># 32 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonTypes.h" >typedef uint8_t u8; >typedef uint16_t u16; >typedef uint32_t u32; >typedef uint64_t u64; > >typedef int8_t s8; >typedef int16_t s16; >typedef int32_t s32; >typedef int64_t s64; ># 13 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/GekkoDisassembler.h" 1 ># 31 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/GekkoDisassembler.h" > > > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/StringUtil.h" 1 > > > > > > ># 1 "/usr/include/c++/4.9.1/cstdarg" 1 3 ># 39 "/usr/include/c++/4.9.1/cstdarg" 3 ># 40 "/usr/include/c++/4.9.1/cstdarg" 3 ># 52 "/usr/include/c++/4.9.1/cstdarg" 3 >namespace std >{ > using ::va_list; >} ># 8 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/StringUtil.h" 2 ># 1 "/usr/include/c++/4.9.1/cstddef" 1 3 ># 42 "/usr/include/c++/4.9.1/cstddef" 3 ># 43 "/usr/include/c++/4.9.1/cstddef" 3 > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/stddef.h" 1 3 4 ># 46 "/usr/include/c++/4.9.1/cstddef" 2 3 > > >namespace std >{ > > using ::max_align_t; >} ># 9 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/StringUtil.h" 2 ># 1 "/usr/include/c++/4.9.1/iomanip" 1 3 ># 36 "/usr/include/c++/4.9.1/iomanip" 3 ># 37 "/usr/include/c++/4.9.1/iomanip" 3 > > > > > > ># 1 "/usr/include/c++/4.9.1/locale" 1 3 ># 36 "/usr/include/c++/4.9.1/locale" 3 ># 37 "/usr/include/c++/4.9.1/locale" 3 > > > > ># 1 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 ># 38 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > ># 1 "/usr/include/c++/4.9.1/ctime" 1 3 ># 39 "/usr/include/c++/4.9.1/ctime" 3 ># 40 "/usr/include/c++/4.9.1/ctime" 3 ># 58 "/usr/include/c++/4.9.1/ctime" 3 >namespace std >{ > using ::clock_t; > using ::time_t; > using ::tm; > > using ::clock; > using ::difftime; > using ::mktime; > using ::time; > using ::asctime; > using ::ctime; > using ::gmtime; > using ::localtime; > using ::strftime; >} ># 40 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 52 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > class time_base > { > public: > enum dateorder { no_order, dmy, mdy, ymd, ydm }; > }; > > template<typename _CharT> > struct __timepunct_cache : public locale::facet > { > > static const _CharT* _S_timezones[14]; > > const _CharT* _M_date_format; > const _CharT* _M_date_era_format; > const _CharT* _M_time_format; > const _CharT* _M_time_era_format; > const _CharT* _M_date_time_format; > const _CharT* _M_date_time_era_format; > const _CharT* _M_am; > const _CharT* _M_pm; > const _CharT* _M_am_pm_format; > > > const _CharT* _M_day1; > const _CharT* _M_day2; > const _CharT* _M_day3; > const _CharT* _M_day4; > const _CharT* _M_day5; > const _CharT* _M_day6; > const _CharT* _M_day7; > > > const _CharT* _M_aday1; > const _CharT* _M_aday2; > const _CharT* _M_aday3; > const _CharT* _M_aday4; > const _CharT* _M_aday5; > const _CharT* _M_aday6; > const _CharT* _M_aday7; > > > const _CharT* _M_month01; > const _CharT* _M_month02; > const _CharT* _M_month03; > const _CharT* _M_month04; > const _CharT* _M_month05; > const _CharT* _M_month06; > const _CharT* _M_month07; > const _CharT* _M_month08; > const _CharT* _M_month09; > const _CharT* _M_month10; > const _CharT* _M_month11; > const _CharT* _M_month12; > > > const _CharT* _M_amonth01; > const _CharT* _M_amonth02; > const _CharT* _M_amonth03; > const _CharT* _M_amonth04; > const _CharT* _M_amonth05; > const _CharT* _M_amonth06; > const _CharT* _M_amonth07; > const _CharT* _M_amonth08; > const _CharT* _M_amonth09; > const _CharT* _M_amonth10; > const _CharT* _M_amonth11; > const _CharT* _M_amonth12; > > bool _M_allocated; > > __timepunct_cache(size_t __refs = 0) : facet(__refs), > _M_date_format(0), _M_date_era_format(0), _M_time_format(0), > _M_time_era_format(0), _M_date_time_format(0), > _M_date_time_era_format(0), _M_am(0), _M_pm(0), > _M_am_pm_format(0), _M_day1(0), _M_day2(0), _M_day3(0), > _M_day4(0), _M_day5(0), _M_day6(0), _M_day7(0), > _M_aday1(0), _M_aday2(0), _M_aday3(0), _M_aday4(0), > _M_aday5(0), _M_aday6(0), _M_aday7(0), _M_month01(0), > _M_month02(0), _M_month03(0), _M_month04(0), _M_month05(0), > _M_month06(0), _M_month07(0), _M_month08(0), _M_month09(0), > _M_month10(0), _M_month11(0), _M_month12(0), _M_amonth01(0), > _M_amonth02(0), _M_amonth03(0), _M_amonth04(0), > _M_amonth05(0), _M_amonth06(0), _M_amonth07(0), > _M_amonth08(0), _M_amonth09(0), _M_amonth10(0), > _M_amonth11(0), _M_amonth12(0), _M_allocated(false) > { } > > ~__timepunct_cache(); > > void > _M_cache(const locale& __loc); > > private: > __timepunct_cache& > operator=(const __timepunct_cache&); > > explicit > __timepunct_cache(const __timepunct_cache&); > }; > > template<typename _CharT> > __timepunct_cache<_CharT>::~__timepunct_cache() > { > if (_M_allocated) > { > > } > } > > > template<> > const char* > __timepunct_cache<char>::_S_timezones[14]; > > > template<> > const wchar_t* > __timepunct_cache<wchar_t>::_S_timezones[14]; > > > > template<typename _CharT> > const _CharT* __timepunct_cache<_CharT>::_S_timezones[14]; > > template<typename _CharT> > class __timepunct : public locale::facet > { > public: > > typedef _CharT __char_type; > typedef basic_string<_CharT> __string_type; > typedef __timepunct_cache<_CharT> __cache_type; > > protected: > __cache_type* _M_data; > __c_locale _M_c_locale_timepunct; > const char* _M_name_timepunct; > > public: > > static locale::id id; > > explicit > __timepunct(size_t __refs = 0); > > explicit > __timepunct(__cache_type* __cache, size_t __refs = 0); ># 210 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > explicit > __timepunct(__c_locale __cloc, const char* __s, size_t __refs = 0); > > > > void > _M_put(_CharT* __s, size_t __maxlen, const _CharT* __format, > const tm* __tm) const throw (); > > void > _M_date_formats(const _CharT** __date) const > { > > __date[0] = _M_data->_M_date_format; > __date[1] = _M_data->_M_date_era_format; > } > > void > _M_time_formats(const _CharT** __time) const > { > > __time[0] = _M_data->_M_time_format; > __time[1] = _M_data->_M_time_era_format; > } > > void > _M_date_time_formats(const _CharT** __dt) const > { > > __dt[0] = _M_data->_M_date_time_format; > __dt[1] = _M_data->_M_date_time_era_format; > } > > void > _M_am_pm_format(const _CharT* __ampm) const > { __ampm = _M_data->_M_am_pm_format; } > > void > _M_am_pm(const _CharT** __ampm) const > { > __ampm[0] = _M_data->_M_am; > __ampm[1] = _M_data->_M_pm; > } > > void > _M_days(const _CharT** __days) const > { > __days[0] = _M_data->_M_day1; > __days[1] = _M_data->_M_day2; > __days[2] = _M_data->_M_day3; > __days[3] = _M_data->_M_day4; > __days[4] = _M_data->_M_day5; > __days[5] = _M_data->_M_day6; > __days[6] = _M_data->_M_day7; > } > > void > _M_days_abbreviated(const _CharT** __days) const > { > __days[0] = _M_data->_M_aday1; > __days[1] = _M_data->_M_aday2; > __days[2] = _M_data->_M_aday3; > __days[3] = _M_data->_M_aday4; > __days[4] = _M_data->_M_aday5; > __days[5] = _M_data->_M_aday6; > __days[6] = _M_data->_M_aday7; > } > > void > _M_months(const _CharT** __months) const > { > __months[0] = _M_data->_M_month01; > __months[1] = _M_data->_M_month02; > __months[2] = _M_data->_M_month03; > __months[3] = _M_data->_M_month04; > __months[4] = _M_data->_M_month05; > __months[5] = _M_data->_M_month06; > __months[6] = _M_data->_M_month07; > __months[7] = _M_data->_M_month08; > __months[8] = _M_data->_M_month09; > __months[9] = _M_data->_M_month10; > __months[10] = _M_data->_M_month11; > __months[11] = _M_data->_M_month12; > } > > void > _M_months_abbreviated(const _CharT** __months) const > { > __months[0] = _M_data->_M_amonth01; > __months[1] = _M_data->_M_amonth02; > __months[2] = _M_data->_M_amonth03; > __months[3] = _M_data->_M_amonth04; > __months[4] = _M_data->_M_amonth05; > __months[5] = _M_data->_M_amonth06; > __months[6] = _M_data->_M_amonth07; > __months[7] = _M_data->_M_amonth08; > __months[8] = _M_data->_M_amonth09; > __months[9] = _M_data->_M_amonth10; > __months[10] = _M_data->_M_amonth11; > __months[11] = _M_data->_M_amonth12; > } > > protected: > virtual > ~__timepunct(); > > > void > _M_initialize_timepunct(__c_locale __cloc = 0); > }; > > template<typename _CharT> > locale::id __timepunct<_CharT>::id; > > > template<> > void > __timepunct<char>::_M_initialize_timepunct(__c_locale __cloc); > > template<> > void > __timepunct<char>::_M_put(char*, size_t, const char*, const tm*) const throw (); > > > template<> > void > __timepunct<wchar_t>::_M_initialize_timepunct(__c_locale __cloc); > > template<> > void > __timepunct<wchar_t>::_M_put(wchar_t*, size_t, const wchar_t*, > const tm*) const throw (); > > > >} > > ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/time_members.h" 1 3 ># 37 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/time_members.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _CharT> > __timepunct<_CharT>::__timepunct(size_t __refs) > : facet(__refs), _M_data(0), _M_c_locale_timepunct(0), > _M_name_timepunct(_S_get_c_name()) > { _M_initialize_timepunct(); } > > template<typename _CharT> > __timepunct<_CharT>::__timepunct(__cache_type* __cache, size_t __refs) > : facet(__refs), _M_data(__cache), _M_c_locale_timepunct(0), > _M_name_timepunct(_S_get_c_name()) > { _M_initialize_timepunct(); } > > template<typename _CharT> > __timepunct<_CharT>::__timepunct(__c_locale __cloc, const char* __s, > size_t __refs) > : facet(__refs), _M_data(0), _M_c_locale_timepunct(0), > _M_name_timepunct(0) > { > if (__builtin_strcmp(__s, _S_get_c_name()) != 0) > { > const size_t __len = __builtin_strlen(__s) + 1; > char* __tmp = new char[__len]; > __builtin_memcpy(__tmp, __s, __len); > _M_name_timepunct = __tmp; > } > else > _M_name_timepunct = _S_get_c_name(); > > if (true) > { _M_initialize_timepunct(__cloc); } > if (false) > { > if (_M_name_timepunct != _S_get_c_name()) > delete [] _M_name_timepunct; > ; > } > } > > template<typename _CharT> > __timepunct<_CharT>::~__timepunct() > { > if (_M_name_timepunct != _S_get_c_name()) > delete [] _M_name_timepunct; > delete _M_data; > _S_destroy_c_locale(_M_c_locale_timepunct); > } > > >} ># 349 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 367 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > template<typename _CharT, typename _InIter> > class time_get : public locale::facet, public time_base > { > public: > > > > typedef _CharT char_type; > typedef _InIter iter_type; > > typedef basic_string<_CharT> __string_type; > > > static locale::id id; ># 389 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > explicit > time_get(size_t __refs = 0) > : facet (__refs) { } ># 406 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > dateorder > date_order() const > { return this->do_date_order(); } ># 430 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > iter_type > get_time(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const > { return this->do_get_time(__beg, __end, __io, __err, __tm); } ># 455 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > iter_type > get_date(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const > { return this->do_get_date(__beg, __end, __io, __err, __tm); } ># 483 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > iter_type > get_weekday(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const > { return this->do_get_weekday(__beg, __end, __io, __err, __tm); } ># 512 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > iter_type > get_monthname(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const > { return this->do_get_monthname(__beg, __end, __io, __err, __tm); } ># 538 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > iter_type > get_year(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const > { return this->do_get_year(__beg, __end, __io, __err, __tm); } > > protected: > > virtual > ~time_get() { } ># 558 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual dateorder > do_date_order() const; ># 576 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual iter_type > do_get_time(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const; ># 595 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual iter_type > do_get_date(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const; ># 614 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual iter_type > do_get_weekday(iter_type __beg, iter_type __end, ios_base&, > ios_base::iostate& __err, tm* __tm) const; ># 633 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual iter_type > do_get_monthname(iter_type __beg, iter_type __end, ios_base&, > ios_base::iostate& __err, tm* __tm) const; ># 652 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual iter_type > do_get_year(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const; > > > iter_type > _M_extract_num(iter_type __beg, iter_type __end, int& __member, > int __min, int __max, size_t __len, > ios_base& __io, ios_base::iostate& __err) const; > > > iter_type > _M_extract_name(iter_type __beg, iter_type __end, int& __member, > const _CharT** __names, size_t __indexlen, > ios_base& __io, ios_base::iostate& __err) const; > > > iter_type > _M_extract_wday_or_month(iter_type __beg, iter_type __end, int& __member, > const _CharT** __names, size_t __indexlen, > ios_base& __io, ios_base::iostate& __err) const; > > > iter_type > _M_extract_via_format(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm, > const _CharT* __format) const; > }; > > template<typename _CharT, typename _InIter> > locale::id time_get<_CharT, _InIter>::id; > > > template<typename _CharT, typename _InIter> > class time_get_byname : public time_get<_CharT, _InIter> > { > public: > > typedef _CharT char_type; > typedef _InIter iter_type; > > explicit > time_get_byname(const char*, size_t __refs = 0) > : time_get<_CharT, _InIter>(__refs) { } > > protected: > virtual > ~time_get_byname() { } > }; ># 714 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > template<typename _CharT, typename _OutIter> > class time_put : public locale::facet > { > public: > > > > typedef _CharT char_type; > typedef _OutIter iter_type; > > > > static locale::id id; ># 735 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > explicit > time_put(size_t __refs = 0) > : facet(__refs) { } ># 754 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > iter_type > put(iter_type __s, ios_base& __io, char_type __fill, const tm* __tm, > const _CharT* __beg, const _CharT* __end) const; ># 774 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > iter_type > put(iter_type __s, ios_base& __io, char_type __fill, > const tm* __tm, char __format, char __mod = 0) const > { return this->do_put(__s, __io, __fill, __tm, __format, __mod); } > > protected: > > virtual > ~time_put() > { } ># 801 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual iter_type > do_put(iter_type __s, ios_base& __io, char_type __fill, const tm* __tm, > char __format, char __mod) const; > }; > > template<typename _CharT, typename _OutIter> > locale::id time_put<_CharT, _OutIter>::id; > > > template<typename _CharT, typename _OutIter> > class time_put_byname : public time_put<_CharT, _OutIter> > { > public: > > typedef _CharT char_type; > typedef _OutIter iter_type; > > explicit > time_put_byname(const char*, size_t __refs = 0) > : time_put<_CharT, _OutIter>(__refs) > { }; > > protected: > virtual > ~time_put_byname() { } > }; ># 840 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > class money_base > { > public: > enum part { none, space, symbol, sign, value }; > struct pattern { char field[4]; }; > > static const pattern _S_default_pattern; > > enum > { > _S_minus, > _S_zero, > _S_end = 11 > }; > > > > static const char* _S_atoms; > > > > __attribute__ ((__const__)) static pattern > _S_construct_pattern(char __precedes, char __space, char __posn) throw (); > }; > > template<typename _CharT, bool _Intl> > struct __moneypunct_cache : public locale::facet > { > const char* _M_grouping; > size_t _M_grouping_size; > bool _M_use_grouping; > _CharT _M_decimal_point; > _CharT _M_thousands_sep; > const _CharT* _M_curr_symbol; > size_t _M_curr_symbol_size; > const _CharT* _M_positive_sign; > size_t _M_positive_sign_size; > const _CharT* _M_negative_sign; > size_t _M_negative_sign_size; > int _M_frac_digits; > money_base::pattern _M_pos_format; > money_base::pattern _M_neg_format; > > > > > _CharT _M_atoms[money_base::_S_end]; > > bool _M_allocated; > > __moneypunct_cache(size_t __refs = 0) : facet(__refs), > _M_grouping(0), _M_grouping_size(0), _M_use_grouping(false), > _M_decimal_point(_CharT()), _M_thousands_sep(_CharT()), > _M_curr_symbol(0), _M_curr_symbol_size(0), > _M_positive_sign(0), _M_positive_sign_size(0), > _M_negative_sign(0), _M_negative_sign_size(0), > _M_frac_digits(0), > _M_pos_format(money_base::pattern()), > _M_neg_format(money_base::pattern()), _M_allocated(false) > { } > > ~__moneypunct_cache(); > > void > _M_cache(const locale& __loc); > > private: > __moneypunct_cache& > operator=(const __moneypunct_cache&); > > explicit > __moneypunct_cache(const __moneypunct_cache&); > }; > > template<typename _CharT, bool _Intl> > __moneypunct_cache<_CharT, _Intl>::~__moneypunct_cache() > { > if (_M_allocated) > { > delete [] _M_grouping; > delete [] _M_curr_symbol; > delete [] _M_positive_sign; > delete [] _M_negative_sign; > } > } ># 933 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > template<typename _CharT, bool _Intl> > class moneypunct : public locale::facet, public money_base > { > public: > > > > typedef _CharT char_type; > typedef basic_string<_CharT> string_type; > > typedef __moneypunct_cache<_CharT, _Intl> __cache_type; > > private: > __cache_type* _M_data; > > public: > > > static const bool intl = _Intl; > > static locale::id id; ># 962 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > explicit > moneypunct(size_t __refs = 0) > : facet(__refs), _M_data(0) > { _M_initialize_moneypunct(); } ># 975 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > explicit > moneypunct(__cache_type* __cache, size_t __refs = 0) > : facet(__refs), _M_data(__cache) > { _M_initialize_moneypunct(); } ># 990 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > explicit > moneypunct(__c_locale __cloc, const char* __s, size_t __refs = 0) > : facet(__refs), _M_data(0) > { _M_initialize_moneypunct(__cloc, __s); } ># 1004 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > char_type > decimal_point() const > { return this->do_decimal_point(); } ># 1017 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > char_type > thousands_sep() const > { return this->do_thousands_sep(); } ># 1047 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > string > grouping() const > { return this->do_grouping(); } ># 1060 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > string_type > curr_symbol() const > { return this->do_curr_symbol(); } ># 1077 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > string_type > positive_sign() const > { return this->do_positive_sign(); } ># 1094 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > string_type > negative_sign() const > { return this->do_negative_sign(); } ># 1110 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > int > frac_digits() const > { return this->do_frac_digits(); } ># 1146 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > pattern > pos_format() const > { return this->do_pos_format(); } > > pattern > neg_format() const > { return this->do_neg_format(); } > > > protected: > > virtual > ~moneypunct(); ># 1168 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual char_type > do_decimal_point() const > { return _M_data->_M_decimal_point; } ># 1180 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual char_type > do_thousands_sep() const > { return _M_data->_M_thousands_sep; } ># 1193 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual string > do_grouping() const > { return _M_data->_M_grouping; } ># 1206 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual string_type > do_curr_symbol() const > { return _M_data->_M_curr_symbol; } ># 1219 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual string_type > do_positive_sign() const > { return _M_data->_M_positive_sign; } ># 1232 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual string_type > do_negative_sign() const > { return _M_data->_M_negative_sign; } ># 1246 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual int > do_frac_digits() const > { return _M_data->_M_frac_digits; } ># 1260 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual pattern > do_pos_format() const > { return _M_data->_M_pos_format; } ># 1274 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual pattern > do_neg_format() const > { return _M_data->_M_neg_format; } > > > void > _M_initialize_moneypunct(__c_locale __cloc = 0, > const char* __name = 0); > }; > > template<typename _CharT, bool _Intl> > locale::id moneypunct<_CharT, _Intl>::id; > > template<typename _CharT, bool _Intl> > const bool moneypunct<_CharT, _Intl>::intl; > > template<> > moneypunct<char, true>::~moneypunct(); > > template<> > moneypunct<char, false>::~moneypunct(); > > template<> > void > moneypunct<char, true>::_M_initialize_moneypunct(__c_locale, const char*); > > template<> > void > moneypunct<char, false>::_M_initialize_moneypunct(__c_locale, const char*); > > > template<> > moneypunct<wchar_t, true>::~moneypunct(); > > template<> > moneypunct<wchar_t, false>::~moneypunct(); > > template<> > void > moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale, > const char*); > > template<> > void > moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale, > const char*); > > > > template<typename _CharT, bool _Intl> > class moneypunct_byname : public moneypunct<_CharT, _Intl> > { > public: > typedef _CharT char_type; > typedef basic_string<_CharT> string_type; > > static const bool intl = _Intl; > > explicit > moneypunct_byname(const char* __s, size_t __refs = 0) > : moneypunct<_CharT, _Intl>(__refs) > { > if (__builtin_strcmp(__s, "C") != 0 > && __builtin_strcmp(__s, "POSIX") != 0) > { > __c_locale __tmp; > this->_S_create_c_locale(__tmp, __s); > this->_M_initialize_moneypunct(__tmp); > this->_S_destroy_c_locale(__tmp); > } > } > > protected: > virtual > ~moneypunct_byname() { } > }; > > template<typename _CharT, bool _Intl> > const bool moneypunct_byname<_CharT, _Intl>::intl; ># 1369 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > template<typename _CharT, typename _InIter> > class money_get : public locale::facet > { > public: > > > > typedef _CharT char_type; > typedef _InIter iter_type; > typedef basic_string<_CharT> string_type; > > > > static locale::id id; ># 1391 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > explicit > money_get(size_t __refs = 0) : facet(__refs) { } ># 1421 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > iter_type > get(iter_type __s, iter_type __end, bool __intl, ios_base& __io, > ios_base::iostate& __err, long double& __units) const > { return this->do_get(__s, __end, __intl, __io, __err, __units); } ># 1452 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > iter_type > get(iter_type __s, iter_type __end, bool __intl, ios_base& __io, > ios_base::iostate& __err, string_type& __digits) const > { return this->do_get(__s, __end, __intl, __io, __err, __digits); } > > protected: > > virtual > ~money_get() { } ># 1475 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual iter_type > do_get(iter_type __s, iter_type __end, bool __intl, ios_base& __io, > ios_base::iostate& __err, long double& __units) const; ># 1487 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual iter_type > do_get(iter_type __s, iter_type __end, bool __intl, ios_base& __io, > ios_base::iostate& __err, string_type& __digits) const; ># 1498 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > template<bool _Intl> > iter_type > _M_extract(iter_type __s, iter_type __end, ios_base& __io, > ios_base::iostate& __err, string& __digits) const; > }; > > template<typename _CharT, typename _InIter> > locale::id money_get<_CharT, _InIter>::id; ># 1520 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > template<typename _CharT, typename _OutIter> > class money_put : public locale::facet > { > public: > > > typedef _CharT char_type; > typedef _OutIter iter_type; > typedef basic_string<_CharT> string_type; > > > > static locale::id id; ># 1541 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > explicit > money_put(size_t __refs = 0) : facet(__refs) { } ># 1561 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > iter_type > put(iter_type __s, bool __intl, ios_base& __io, > char_type __fill, long double __units) const > { return this->do_put(__s, __intl, __io, __fill, __units); } ># 1584 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > iter_type > put(iter_type __s, bool __intl, ios_base& __io, > char_type __fill, const string_type& __digits) const > { return this->do_put(__s, __intl, __io, __fill, __digits); } > > protected: > > virtual > ~money_put() { } ># 1618 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual iter_type > do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill, > long double __units) const; ># 1642 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual iter_type > do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill, > const string_type& __digits) const; ># 1653 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > template<bool _Intl> > iter_type > _M_insert(iter_type __s, ios_base& __io, char_type __fill, > const string_type& __digits) const; > }; > > template<typename _CharT, typename _OutIter> > locale::id money_put<_CharT, _OutIter>::id; > > > > > > > > struct messages_base > { > typedef int catalog; > }; ># 1694 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > template<typename _CharT> > class messages : public locale::facet, public messages_base > { > public: > > > > typedef _CharT char_type; > typedef basic_string<_CharT> string_type; > > > protected: > > > __c_locale _M_c_locale_messages; > const char* _M_name_messages; > > public: > > static locale::id id; ># 1722 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > explicit > messages(size_t __refs = 0); ># 1736 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > explicit > messages(__c_locale __cloc, const char* __s, size_t __refs = 0); ># 1749 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > catalog > open(const basic_string<char>& __s, const locale& __loc) const > { return this->do_open(__s, __loc); } ># 1767 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > catalog > open(const basic_string<char>&, const locale&, const char*) const; ># 1785 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > string_type > get(catalog __c, int __set, int __msgid, const string_type& __s) const > { return this->do_get(__c, __set, __msgid, __s); } ># 1796 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > void > close(catalog __c) const > { return this->do_close(__c); } > > protected: > > virtual > ~messages(); ># 1816 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual catalog > do_open(const basic_string<char>&, const locale&) const; ># 1835 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 3 > virtual string_type > do_get(catalog, int, int, const string_type& __dfault) const; > > > > > > > virtual void > do_close(catalog) const; > > > char* > _M_convert_to_char(const string_type& __msg) const > { > > return reinterpret_cast<char*>(const_cast<_CharT*>(__msg.c_str())); > } > > > string_type > _M_convert_from_char(char*) const > { > > return string_type(); > } > }; > > template<typename _CharT> > locale::id messages<_CharT>::id; > > > template<> > string > messages<char>::do_get(catalog, int, int, const string&) const; > > > template<> > wstring > messages<wchar_t>::do_get(catalog, int, int, const wstring&) const; > > > > template<typename _CharT> > class messages_byname : public messages<_CharT> > { > public: > typedef _CharT char_type; > typedef basic_string<_CharT> string_type; > > explicit > messages_byname(const char* __s, size_t __refs = 0); > > protected: > virtual > ~messages_byname() > { } > }; > > >} > > ># 1 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/messages_members.h" 1 3 ># 36 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/messages_members.h" 3 ># 1 "/usr/include/libintl.h" 1 3 4 ># 34 "/usr/include/libintl.h" 3 4 >extern "C" { > > > > >extern char *gettext (const char *__msgid) > throw () __attribute__ ((__format_arg__ (1))); > > > >extern char *dgettext (const char *__domainname, const char *__msgid) > throw () __attribute__ ((__format_arg__ (2))); >extern char *__dgettext (const char *__domainname, const char *__msgid) > throw () __attribute__ ((__format_arg__ (2))); > > > >extern char *dcgettext (const char *__domainname, > const char *__msgid, int __category) > throw () __attribute__ ((__format_arg__ (2))); >extern char *__dcgettext (const char *__domainname, > const char *__msgid, int __category) > throw () __attribute__ ((__format_arg__ (2))); > > > > >extern char *ngettext (const char *__msgid1, const char *__msgid2, > unsigned long int __n) > throw () __attribute__ ((__format_arg__ (1))) __attribute__ ((__format_arg__ (2))); > > > >extern char *dngettext (const char *__domainname, const char *__msgid1, > const char *__msgid2, unsigned long int __n) > throw () __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3))); > > > >extern char *dcngettext (const char *__domainname, const char *__msgid1, > const char *__msgid2, unsigned long int __n, > int __category) > throw () __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3))); > > > > > >extern char *textdomain (const char *__domainname) throw (); > > > >extern char *bindtextdomain (const char *__domainname, > const char *__dirname) throw (); > > > >extern char *bind_textdomain_codeset (const char *__domainname, > const char *__codeset) throw (); ># 121 "/usr/include/libintl.h" 3 4 >} ># 37 "/usr/include/c++/4.9.1/x86_64-redhat-linux/bits/messages_members.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > template<typename _CharT> > messages<_CharT>::messages(size_t __refs) > : facet(__refs), _M_c_locale_messages(_S_get_c_locale()), > _M_name_messages(_S_get_c_name()) > { } > > template<typename _CharT> > messages<_CharT>::messages(__c_locale __cloc, const char* __s, > size_t __refs) > : facet(__refs), _M_c_locale_messages(0), _M_name_messages(0) > { > if (__builtin_strcmp(__s, _S_get_c_name()) != 0) > { > const size_t __len = __builtin_strlen(__s) + 1; > char* __tmp = new char[__len]; > __builtin_memcpy(__tmp, __s, __len); > _M_name_messages = __tmp; > } > else > _M_name_messages = _S_get_c_name(); > > > _M_c_locale_messages = _S_clone_c_locale(__cloc); > } > > template<typename _CharT> > typename messages<_CharT>::catalog > messages<_CharT>::open(const basic_string<char>& __s, const locale& __loc, > const char* __dir) const > { > bindtextdomain(__s.c_str(), __dir); > return this->do_open(__s, __loc); > } > > > template<typename _CharT> > messages<_CharT>::~messages() > { > if (_M_name_messages != _S_get_c_name()) > delete [] _M_name_messages; > _S_destroy_c_locale(_M_c_locale_messages); > } > > template<typename _CharT> > typename messages<_CharT>::catalog > messages<_CharT>::do_open(const basic_string<char>& __s, > const locale&) const > { > > > textdomain(__s.c_str()); > return 0; > } > > template<typename _CharT> > void > messages<_CharT>::do_close(catalog) const > { } > > > template<typename _CharT> > messages_byname<_CharT>::messages_byname(const char* __s, size_t __refs) > : messages<_CharT>(__refs) > { > if (this->_M_name_messages != locale::facet::_S_get_c_name()) > { > delete [] this->_M_name_messages; > if (__builtin_strcmp(__s, locale::facet::_S_get_c_name()) != 0) > { > const size_t __len = __builtin_strlen(__s) + 1; > char* __tmp = new char[__len]; > __builtin_memcpy(__tmp, __s, __len); > this->_M_name_messages = __tmp; > } > else > this->_M_name_messages = locale::facet::_S_get_c_name(); > } > > if (__builtin_strcmp(__s, "C") != 0 > && __builtin_strcmp(__s, "POSIX") != 0) > { > this->_S_destroy_c_locale(this->_M_c_locale_messages); > this->_S_create_c_locale(this->_M_c_locale_messages, __s); > } > } > > >} ># 1899 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 2 3 > > ># 1 "/usr/include/c++/4.9.1/bits/codecvt.h" 1 3 ># 39 "/usr/include/c++/4.9.1/bits/codecvt.h" 3 ># 40 "/usr/include/c++/4.9.1/bits/codecvt.h" 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > class codecvt_base > { > public: > enum result > { > ok, > partial, > error, > noconv > }; > }; ># 67 "/usr/include/c++/4.9.1/bits/codecvt.h" 3 > template<typename _InternT, typename _ExternT, typename _StateT> > class __codecvt_abstract_base > : public locale::facet, public codecvt_base > { > public: > > typedef codecvt_base::result result; > typedef _InternT intern_type; > typedef _ExternT extern_type; > typedef _StateT state_type; ># 115 "/usr/include/c++/4.9.1/bits/codecvt.h" 3 > result > out(state_type& __state, const intern_type* __from, > const intern_type* __from_end, const intern_type*& __from_next, > extern_type* __to, extern_type* __to_end, > extern_type*& __to_next) const > { > return this->do_out(__state, __from, __from_end, __from_next, > __to, __to_end, __to_next); > } ># 154 "/usr/include/c++/4.9.1/bits/codecvt.h" 3 > result > unshift(state_type& __state, extern_type* __to, extern_type* __to_end, > extern_type*& __to_next) const > { return this->do_unshift(__state, __to,__to_end,__to_next); } ># 195 "/usr/include/c++/4.9.1/bits/codecvt.h" 3 > result > in(state_type& __state, const extern_type* __from, > const extern_type* __from_end, const extern_type*& __from_next, > intern_type* __to, intern_type* __to_end, > intern_type*& __to_next) const > { > return this->do_in(__state, __from, __from_end, __from_next, > __to, __to_end, __to_next); > } > > int > encoding() const throw() > { return this->do_encoding(); } > > bool > always_noconv() const throw() > { return this->do_always_noconv(); } > > int > length(state_type& __state, const extern_type* __from, > const extern_type* __end, size_t __max) const > { return this->do_length(__state, __from, __end, __max); } > > int > max_length() const throw() > { return this->do_max_length(); } > > protected: > explicit > __codecvt_abstract_base(size_t __refs = 0) : locale::facet(__refs) { } > > virtual > ~__codecvt_abstract_base() { } ># 236 "/usr/include/c++/4.9.1/bits/codecvt.h" 3 > virtual result > do_out(state_type& __state, const intern_type* __from, > const intern_type* __from_end, const intern_type*& __from_next, > extern_type* __to, extern_type* __to_end, > extern_type*& __to_next) const = 0; > > virtual result > do_unshift(state_type& __state, extern_type* __to, > extern_type* __to_end, extern_type*& __to_next) const = 0; > > virtual result > do_in(state_type& __state, const extern_type* __from, > const extern_type* __from_end, const extern_type*& __from_next, > intern_type* __to, intern_type* __to_end, > intern_type*& __to_next) const = 0; > > virtual int > do_encoding() const throw() = 0; > > virtual bool > do_always_noconv() const throw() = 0; > > virtual int > do_length(state_type&, const extern_type* __from, > const extern_type* __end, size_t __max) const = 0; > > virtual int > do_max_length() const throw() = 0; > }; ># 275 "/usr/include/c++/4.9.1/bits/codecvt.h" 3 > template<typename _InternT, typename _ExternT, typename _StateT> > class codecvt > : public __codecvt_abstract_base<_InternT, _ExternT, _StateT> > { > public: > > typedef codecvt_base::result result; > typedef _InternT intern_type; > typedef _ExternT extern_type; > typedef _StateT state_type; > > protected: > __c_locale _M_c_locale_codecvt; > > public: > static locale::id id; > > explicit > codecvt(size_t __refs = 0) > : __codecvt_abstract_base<_InternT, _ExternT, _StateT> (__refs), > _M_c_locale_codecvt(0) > { } > > explicit > codecvt(__c_locale __cloc, size_t __refs = 0); > > protected: > virtual > ~codecvt() { } > > virtual result > do_out(state_type& __state, const intern_type* __from, > const intern_type* __from_end, const intern_type*& __from_next, > extern_type* __to, extern_type* __to_end, > extern_type*& __to_next) const; > > virtual result > do_unshift(state_type& __state, extern_type* __to, > extern_type* __to_end, extern_type*& __to_next) const; > > virtual result > do_in(state_type& __state, const extern_type* __from, > const extern_type* __from_end, const extern_type*& __from_next, > intern_type* __to, intern_type* __to_end, > intern_type*& __to_next) const; > > virtual int > do_encoding() const throw(); > > virtual bool > do_always_noconv() const throw(); > > virtual int > do_length(state_type&, const extern_type* __from, > const extern_type* __end, size_t __max) const; > > virtual int > do_max_length() const throw(); > }; > > template<typename _InternT, typename _ExternT, typename _StateT> > locale::id codecvt<_InternT, _ExternT, _StateT>::id; > > > template<> > class codecvt<char, char, mbstate_t> > : public __codecvt_abstract_base<char, char, mbstate_t> > { > public: > > typedef char intern_type; > typedef char extern_type; > typedef mbstate_t state_type; > > protected: > __c_locale _M_c_locale_codecvt; > > public: > static locale::id id; > > explicit > codecvt(size_t __refs = 0); > > explicit > codecvt(__c_locale __cloc, size_t __refs = 0); > > protected: > virtual > ~codecvt(); > > virtual result > do_out(state_type& __state, const intern_type* __from, > const intern_type* __from_end, const intern_type*& __from_next, > extern_type* __to, extern_type* __to_end, > extern_type*& __to_next) const; > > virtual result > do_unshift(state_type& __state, extern_type* __to, > extern_type* __to_end, extern_type*& __to_next) const; > > virtual result > do_in(state_type& __state, const extern_type* __from, > const extern_type* __from_end, const extern_type*& __from_next, > intern_type* __to, intern_type* __to_end, > intern_type*& __to_next) const; > > virtual int > do_encoding() const throw(); > > virtual bool > do_always_noconv() const throw(); > > virtual int > do_length(state_type&, const extern_type* __from, > const extern_type* __end, size_t __max) const; > > virtual int > do_max_length() const throw(); > }; > > > > template<> > class codecvt<wchar_t, char, mbstate_t> > : public __codecvt_abstract_base<wchar_t, char, mbstate_t> > { > public: > > typedef wchar_t intern_type; > typedef char extern_type; > typedef mbstate_t state_type; > > protected: > __c_locale _M_c_locale_codecvt; > > public: > static locale::id id; > > explicit > codecvt(size_t __refs = 0); > > explicit > codecvt(__c_locale __cloc, size_t __refs = 0); > > protected: > virtual > ~codecvt(); > > virtual result > do_out(state_type& __state, const intern_type* __from, > const intern_type* __from_end, const intern_type*& __from_next, > extern_type* __to, extern_type* __to_end, > extern_type*& __to_next) const; > > virtual result > do_unshift(state_type& __state, > extern_type* __to, extern_type* __to_end, > extern_type*& __to_next) const; > > virtual result > do_in(state_type& __state, > const extern_type* __from, const extern_type* __from_end, > const extern_type*& __from_next, > intern_type* __to, intern_type* __to_end, > intern_type*& __to_next) const; > > virtual > int do_encoding() const throw(); > > virtual > bool do_always_noconv() const throw(); > > virtual > int do_length(state_type&, const extern_type* __from, > const extern_type* __end, size_t __max) const; > > virtual int > do_max_length() const throw(); > }; > > > > template<typename _InternT, typename _ExternT, typename _StateT> > class codecvt_byname : public codecvt<_InternT, _ExternT, _StateT> > { > public: > explicit > codecvt_byname(const char* __s, size_t __refs = 0) > : codecvt<_InternT, _ExternT, _StateT>(__refs) > { > if (__builtin_strcmp(__s, "C") != 0 > && __builtin_strcmp(__s, "POSIX") != 0) > { > this->_S_destroy_c_locale(this->_M_c_locale_codecvt); > this->_S_create_c_locale(this->_M_c_locale_codecvt, __s); > } > } > > protected: > virtual > ~codecvt_byname() { } > }; > > > > > extern template class codecvt_byname<char, char, mbstate_t>; > > extern template > const codecvt<char, char, mbstate_t>& > use_facet<codecvt<char, char, mbstate_t> >(const locale&); > > extern template > bool > has_facet<codecvt<char, char, mbstate_t> >(const locale&); > > > extern template class codecvt_byname<wchar_t, char, mbstate_t>; > > extern template > const codecvt<wchar_t, char, mbstate_t>& > use_facet<codecvt<wchar_t, char, mbstate_t> >(const locale&); > > extern template > bool > has_facet<codecvt<wchar_t, char, mbstate_t> >(const locale&); > > > > >} ># 1902 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 2 3 > ># 1 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.tcc" 1 3 ># 33 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.tcc" 3 ># 34 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.tcc" 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _CharT, bool _Intl> > struct __use_cache<__moneypunct_cache<_CharT, _Intl> > > { > const __moneypunct_cache<_CharT, _Intl>* > operator() (const locale& __loc) const > { > const size_t __i = moneypunct<_CharT, _Intl>::id._M_id(); > const locale::facet** __caches = __loc._M_impl->_M_caches; > if (!__caches[__i]) > { > __moneypunct_cache<_CharT, _Intl>* __tmp = 0; > if (true) > { > __tmp = new __moneypunct_cache<_CharT, _Intl>; > __tmp->_M_cache(__loc); > } > if (false) > { > delete __tmp; > ; > } > __loc._M_impl->_M_install_cache(__tmp, __i); > } > return static_cast< > const __moneypunct_cache<_CharT, _Intl>*>(__caches[__i]); > } > }; > > template<typename _CharT, bool _Intl> > void > __moneypunct_cache<_CharT, _Intl>::_M_cache(const locale& __loc) > { > _M_allocated = true; > > const moneypunct<_CharT, _Intl>& __mp = > use_facet<moneypunct<_CharT, _Intl> >(__loc); > > _M_decimal_point = __mp.decimal_point(); > _M_thousands_sep = __mp.thousands_sep(); > _M_frac_digits = __mp.frac_digits(); > > char* __grouping = 0; > _CharT* __curr_symbol = 0; > _CharT* __positive_sign = 0; > _CharT* __negative_sign = 0; > if (true) > { > _M_grouping_size = __mp.grouping().size(); > __grouping = new char[_M_grouping_size]; > __mp.grouping().copy(__grouping, _M_grouping_size); > _M_grouping = __grouping; > _M_use_grouping = (_M_grouping_size > && static_cast<signed char>(_M_grouping[0]) > 0 > && (_M_grouping[0] > != __gnu_cxx::__numeric_traits<char>::__max)); > > _M_curr_symbol_size = __mp.curr_symbol().size(); > __curr_symbol = new _CharT[_M_curr_symbol_size]; > __mp.curr_symbol().copy(__curr_symbol, _M_curr_symbol_size); > _M_curr_symbol = __curr_symbol; > > _M_positive_sign_size = __mp.positive_sign().size(); > __positive_sign = new _CharT[_M_positive_sign_size]; > __mp.positive_sign().copy(__positive_sign, _M_positive_sign_size); > _M_positive_sign = __positive_sign; > > _M_negative_sign_size = __mp.negative_sign().size(); > __negative_sign = new _CharT[_M_negative_sign_size]; > __mp.negative_sign().copy(__negative_sign, _M_negative_sign_size); > _M_negative_sign = __negative_sign; > > _M_pos_format = __mp.pos_format(); > _M_neg_format = __mp.neg_format(); > > const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__loc); > __ct.widen(money_base::_S_atoms, > money_base::_S_atoms + money_base::_S_end, _M_atoms); > } > if (false) > { > delete [] __grouping; > delete [] __curr_symbol; > delete [] __positive_sign; > delete [] __negative_sign; > ; > } > } > > > > template<typename _CharT, typename _InIter> > template<bool _Intl> > _InIter > money_get<_CharT, _InIter>:: > _M_extract(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, string& __units) const > { > typedef char_traits<_CharT> __traits_type; > typedef typename string_type::size_type size_type; > typedef money_base::part part; > typedef __moneypunct_cache<_CharT, _Intl> __cache_type; > > const locale& __loc = __io._M_getloc(); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > > __use_cache<__cache_type> __uc; > const __cache_type* __lc = __uc(__loc); > const char_type* __lit = __lc->_M_atoms; > > > bool __negative = false; > > size_type __sign_size = 0; > > const bool __mandatory_sign = (__lc->_M_positive_sign_size > && __lc->_M_negative_sign_size); > > string __grouping_tmp; > if (__lc->_M_use_grouping) > __grouping_tmp.reserve(32); > > int __last_pos = 0; > > int __n = 0; > > bool __testvalid = true; > > bool __testdecfound = false; > > > string __res; > __res.reserve(32); > > const char_type* __lit_zero = __lit + money_base::_S_zero; > const money_base::pattern __p = __lc->_M_neg_format; > for (int __i = 0; __i < 4 && __testvalid; ++__i) > { > const part __which = static_cast<part>(__p.field[__i]); > switch (__which) > { > case money_base::symbol: > > > > > if (__io.flags() & ios_base::showbase || __sign_size > 1 > || __i == 0 > || (__i == 1 && (__mandatory_sign > || (static_cast<part>(__p.field[0]) > == money_base::sign) > || (static_cast<part>(__p.field[2]) > == money_base::space))) > || (__i == 2 && ((static_cast<part>(__p.field[3]) > == money_base::value) > || (__mandatory_sign > && (static_cast<part>(__p.field[3]) > == money_base::sign))))) > { > const size_type __len = __lc->_M_curr_symbol_size; > size_type __j = 0; > for (; __beg != __end && __j < __len > && *__beg == __lc->_M_curr_symbol[__j]; > ++__beg, ++__j); > if (__j != __len > && (__j || __io.flags() & ios_base::showbase)) > __testvalid = false; > } > break; > case money_base::sign: > > if (__lc->_M_positive_sign_size && __beg != __end > && *__beg == __lc->_M_positive_sign[0]) > { > __sign_size = __lc->_M_positive_sign_size; > ++__beg; > } > else if (__lc->_M_negative_sign_size && __beg != __end > && *__beg == __lc->_M_negative_sign[0]) > { > __negative = true; > __sign_size = __lc->_M_negative_sign_size; > ++__beg; > } > else if (__lc->_M_positive_sign_size > && !__lc->_M_negative_sign_size) > > > __negative = true; > else if (__mandatory_sign) > __testvalid = false; > break; > case money_base::value: > > > for (; __beg != __end; ++__beg) > { > const char_type __c = *__beg; > const char_type* __q = __traits_type::find(__lit_zero, > 10, __c); > if (__q != 0) > { > __res += money_base::_S_atoms[__q - __lit]; > ++__n; > } > else if (__c == __lc->_M_decimal_point > && !__testdecfound) > { > if (__lc->_M_frac_digits <= 0) > break; > > __last_pos = __n; > __n = 0; > __testdecfound = true; > } > else if (__lc->_M_use_grouping > && __c == __lc->_M_thousands_sep > && !__testdecfound) > { > if (__n) > { > > __grouping_tmp += static_cast<char>(__n); > __n = 0; > } > else > { > __testvalid = false; > break; > } > } > else > break; > } > if (__res.empty()) > __testvalid = false; > break; > case money_base::space: > > if (__beg != __end && __ctype.is(ctype_base::space, *__beg)) > ++__beg; > else > __testvalid = false; > case money_base::none: > > if (__i != 3) > for (; __beg != __end > && __ctype.is(ctype_base::space, *__beg); ++__beg); > break; > } > } > > > if (__sign_size > 1 && __testvalid) > { > const char_type* __sign = __negative ? __lc->_M_negative_sign > : __lc->_M_positive_sign; > size_type __i = 1; > for (; __beg != __end && __i < __sign_size > && *__beg == __sign[__i]; ++__beg, ++__i); > > if (__i != __sign_size) > __testvalid = false; > } > > if (__testvalid) > { > > if (__res.size() > 1) > { > const size_type __first = __res.find_first_not_of('0'); > const bool __only_zeros = __first == string::npos; > if (__first) > __res.erase(0, __only_zeros ? __res.size() - 1 : __first); > } > > > if (__negative && __res[0] != '0') > __res.insert(__res.begin(), '-'); > > > if (__grouping_tmp.size()) > { > > __grouping_tmp += static_cast<char>(__testdecfound ? __last_pos > : __n); > if (!std::__verify_grouping(__lc->_M_grouping, > __lc->_M_grouping_size, > __grouping_tmp)) > __err |= ios_base::failbit; > } > > > if (__testdecfound && __n != __lc->_M_frac_digits) > __testvalid = false; > } > > > if (!__testvalid) > __err |= ios_base::failbit; > else > __units.swap(__res); > > > if (__beg == __end) > __err |= ios_base::eofbit; > return __beg; > } ># 362 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.tcc" 3 > template<typename _CharT, typename _InIter> > _InIter > money_get<_CharT, _InIter>:: > do_get(iter_type __beg, iter_type __end, bool __intl, ios_base& __io, > ios_base::iostate& __err, long double& __units) const > { > string __str; > __beg = __intl ? _M_extract<true>(__beg, __end, __io, __err, __str) > : _M_extract<false>(__beg, __end, __io, __err, __str); > std::__convert_to_v(__str.c_str(), __units, __err, _S_get_c_locale()); > return __beg; > } > > template<typename _CharT, typename _InIter> > _InIter > money_get<_CharT, _InIter>:: > do_get(iter_type __beg, iter_type __end, bool __intl, ios_base& __io, > ios_base::iostate& __err, string_type& __digits) const > { > typedef typename string::size_type size_type; > > const locale& __loc = __io._M_getloc(); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > > string __str; > __beg = __intl ? _M_extract<true>(__beg, __end, __io, __err, __str) > : _M_extract<false>(__beg, __end, __io, __err, __str); > const size_type __len = __str.size(); > if (__len) > { > __digits.resize(__len); > __ctype.widen(__str.data(), __str.data() + __len, &__digits[0]); > } > return __beg; > } > > template<typename _CharT, typename _OutIter> > template<bool _Intl> > _OutIter > money_put<_CharT, _OutIter>:: > _M_insert(iter_type __s, ios_base& __io, char_type __fill, > const string_type& __digits) const > { > typedef typename string_type::size_type size_type; > typedef money_base::part part; > typedef __moneypunct_cache<_CharT, _Intl> __cache_type; > > const locale& __loc = __io._M_getloc(); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > > __use_cache<__cache_type> __uc; > const __cache_type* __lc = __uc(__loc); > const char_type* __lit = __lc->_M_atoms; > > > > const char_type* __beg = __digits.data(); > > money_base::pattern __p; > const char_type* __sign; > size_type __sign_size; > if (!(*__beg == __lit[money_base::_S_minus])) > { > __p = __lc->_M_pos_format; > __sign = __lc->_M_positive_sign; > __sign_size = __lc->_M_positive_sign_size; > } > else > { > __p = __lc->_M_neg_format; > __sign = __lc->_M_negative_sign; > __sign_size = __lc->_M_negative_sign_size; > if (__digits.size()) > ++__beg; > } > > > size_type __len = __ctype.scan_not(ctype_base::digit, __beg, > __beg + __digits.size()) - __beg; > if (__len) > { > > > > string_type __value; > __value.reserve(2 * __len); > > > > long __paddec = __len - __lc->_M_frac_digits; > if (__paddec > 0) > { > if (__lc->_M_frac_digits < 0) > __paddec = __len; > if (__lc->_M_grouping_size) > { > __value.assign(2 * __paddec, char_type()); > _CharT* __vend = > std::__add_grouping(&__value[0], __lc->_M_thousands_sep, > __lc->_M_grouping, > __lc->_M_grouping_size, > __beg, __beg + __paddec); > __value.erase(__vend - &__value[0]); > } > else > __value.assign(__beg, __paddec); > } > > > if (__lc->_M_frac_digits > 0) > { > __value += __lc->_M_decimal_point; > if (__paddec >= 0) > __value.append(__beg + __paddec, __lc->_M_frac_digits); > else > { > > __value.append(-__paddec, __lit[money_base::_S_zero]); > __value.append(__beg, __len); > } > } > > > const ios_base::fmtflags __f = __io.flags() > & ios_base::adjustfield; > __len = __value.size() + __sign_size; > __len += ((__io.flags() & ios_base::showbase) > ? __lc->_M_curr_symbol_size : 0); > > string_type __res; > __res.reserve(2 * __len); > > const size_type __width = static_cast<size_type>(__io.width()); > const bool __testipad = (__f == ios_base::internal > && __len < __width); > > for (int __i = 0; __i < 4; ++__i) > { > const part __which = static_cast<part>(__p.field[__i]); > switch (__which) > { > case money_base::symbol: > if (__io.flags() & ios_base::showbase) > __res.append(__lc->_M_curr_symbol, > __lc->_M_curr_symbol_size); > break; > case money_base::sign: > > > > if (__sign_size) > __res += __sign[0]; > break; > case money_base::value: > __res += __value; > break; > case money_base::space: > > > > if (__testipad) > __res.append(__width - __len, __fill); > else > __res += __fill; > break; > case money_base::none: > if (__testipad) > __res.append(__width - __len, __fill); > break; > } > } > > > if (__sign_size > 1) > __res.append(__sign + 1, __sign_size - 1); > > > __len = __res.size(); > if (__width > __len) > { > if (__f == ios_base::left) > > __res.append(__width - __len, __fill); > else > > __res.insert(0, __width - __len, __fill); > __len = __width; > } > > > __s = std::__write(__s, __res.data(), __len); > } > __io.width(0); > return __s; > } ># 567 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.tcc" 3 > template<typename _CharT, typename _OutIter> > _OutIter > money_put<_CharT, _OutIter>:: > do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill, > long double __units) const > { > const locale __loc = __io.getloc(); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > > > int __cs_size = 64; > char* __cs = static_cast<char*>(__builtin_alloca(__cs_size)); > > > int __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, > "%.*Lf", 0, __units); > > if (__len >= __cs_size) > { > __cs_size = __len + 1; > __cs = static_cast<char*>(__builtin_alloca(__cs_size)); > __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, > "%.*Lf", 0, __units); > } ># 599 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.tcc" 3 > string_type __digits(__len, char_type()); > __ctype.widen(__cs, __cs + __len, &__digits[0]); > return __intl ? _M_insert<true>(__s, __io, __fill, __digits) > : _M_insert<false>(__s, __io, __fill, __digits); > } > > template<typename _CharT, typename _OutIter> > _OutIter > money_put<_CharT, _OutIter>:: > do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill, > const string_type& __digits) const > { return __intl ? _M_insert<true>(__s, __io, __fill, __digits) > : _M_insert<false>(__s, __io, __fill, __digits); } > > > > > > > template<typename _CharT, typename _InIter> > time_base::dateorder > time_get<_CharT, _InIter>::do_date_order() const > { return time_base::no_order; } > > > > template<typename _CharT, typename _InIter> > _InIter > time_get<_CharT, _InIter>:: > _M_extract_via_format(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm, > const _CharT* __format) const > { > const locale& __loc = __io._M_getloc(); > const __timepunct<_CharT>& __tp = use_facet<__timepunct<_CharT> >(__loc); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > const size_t __len = char_traits<_CharT>::length(__format); > > ios_base::iostate __tmperr = ios_base::goodbit; > size_t __i = 0; > for (; __beg != __end && __i < __len && !__tmperr; ++__i) > { > if (__ctype.narrow(__format[__i], 0) == '%') > { > > char __c = __ctype.narrow(__format[++__i], 0); > int __mem = 0; > if (__c == 'E' || __c == 'O') > __c = __ctype.narrow(__format[++__i], 0); > switch (__c) > { > const char* __cs; > _CharT __wcs[10]; > case 'a': > > const char_type* __days1[7]; > __tp._M_days_abbreviated(__days1); > __beg = _M_extract_name(__beg, __end, __tm->tm_wday, __days1, > 7, __io, __tmperr); > break; > case 'A': > > const char_type* __days2[7]; > __tp._M_days(__days2); > __beg = _M_extract_name(__beg, __end, __tm->tm_wday, __days2, > 7, __io, __tmperr); > break; > case 'h': > case 'b': > > const char_type* __months1[12]; > __tp._M_months_abbreviated(__months1); > __beg = _M_extract_name(__beg, __end, __tm->tm_mon, > __months1, 12, __io, __tmperr); > break; > case 'B': > > const char_type* __months2[12]; > __tp._M_months(__months2); > __beg = _M_extract_name(__beg, __end, __tm->tm_mon, > __months2, 12, __io, __tmperr); > break; > case 'c': > > const char_type* __dt[2]; > __tp._M_date_time_formats(__dt); > __beg = _M_extract_via_format(__beg, __end, __io, __tmperr, > __tm, __dt[0]); > break; > case 'd': > > __beg = _M_extract_num(__beg, __end, __tm->tm_mday, 1, 31, 2, > __io, __tmperr); > break; > case 'e': > > > if (__ctype.is(ctype_base::space, *__beg)) > __beg = _M_extract_num(++__beg, __end, __tm->tm_mday, 1, 9, > 1, __io, __tmperr); > else > __beg = _M_extract_num(__beg, __end, __tm->tm_mday, 10, 31, > 2, __io, __tmperr); > break; > case 'D': > > __cs = "%m/%d/%y"; > __ctype.widen(__cs, __cs + 9, __wcs); > __beg = _M_extract_via_format(__beg, __end, __io, __tmperr, > __tm, __wcs); > break; > case 'H': > > __beg = _M_extract_num(__beg, __end, __tm->tm_hour, 0, 23, 2, > __io, __tmperr); > break; > case 'I': > > __beg = _M_extract_num(__beg, __end, __tm->tm_hour, 1, 12, 2, > __io, __tmperr); > break; > case 'm': > > __beg = _M_extract_num(__beg, __end, __mem, 1, 12, 2, > __io, __tmperr); > if (!__tmperr) > __tm->tm_mon = __mem - 1; > break; > case 'M': > > __beg = _M_extract_num(__beg, __end, __tm->tm_min, 0, 59, 2, > __io, __tmperr); > break; > case 'n': > if (__ctype.narrow(*__beg, 0) == '\n') > ++__beg; > else > __tmperr |= ios_base::failbit; > break; > case 'R': > > __cs = "%H:%M"; > __ctype.widen(__cs, __cs + 6, __wcs); > __beg = _M_extract_via_format(__beg, __end, __io, __tmperr, > __tm, __wcs); > break; > case 'S': > > > > __beg = _M_extract_num(__beg, __end, __tm->tm_sec, 0, 60, 2, > > > > __io, __tmperr); > break; > case 't': > if (__ctype.narrow(*__beg, 0) == '\t') > ++__beg; > else > __tmperr |= ios_base::failbit; > break; > case 'T': > > __cs = "%H:%M:%S"; > __ctype.widen(__cs, __cs + 9, __wcs); > __beg = _M_extract_via_format(__beg, __end, __io, __tmperr, > __tm, __wcs); > break; > case 'x': > > const char_type* __dates[2]; > __tp._M_date_formats(__dates); > __beg = _M_extract_via_format(__beg, __end, __io, __tmperr, > __tm, __dates[0]); > break; > case 'X': > > const char_type* __times[2]; > __tp._M_time_formats(__times); > __beg = _M_extract_via_format(__beg, __end, __io, __tmperr, > __tm, __times[0]); > break; > case 'y': > case 'C': > > case 'Y': > > > > > __beg = _M_extract_num(__beg, __end, __mem, 0, 9999, 4, > __io, __tmperr); > if (!__tmperr) > __tm->tm_year = __mem < 0 ? __mem + 100 : __mem - 1900; > break; > case 'Z': > > if (__ctype.is(ctype_base::upper, *__beg)) > { > int __tmp; > __beg = _M_extract_name(__beg, __end, __tmp, > __timepunct_cache<_CharT>::_S_timezones, > 14, __io, __tmperr); > > > if (__beg != __end && !__tmperr && __tmp == 0 > && (*__beg == __ctype.widen('-') > || *__beg == __ctype.widen('+'))) > { > __beg = _M_extract_num(__beg, __end, __tmp, 0, 23, 2, > __io, __tmperr); > __beg = _M_extract_num(__beg, __end, __tmp, 0, 59, 2, > __io, __tmperr); > } > } > else > __tmperr |= ios_base::failbit; > break; > default: > > __tmperr |= ios_base::failbit; > } > } > else > { > > if (__format[__i] == *__beg) > ++__beg; > else > __tmperr |= ios_base::failbit; > } > } > > if (__tmperr || __i != __len) > __err |= ios_base::failbit; > > return __beg; > } > > template<typename _CharT, typename _InIter> > _InIter > time_get<_CharT, _InIter>:: > _M_extract_num(iter_type __beg, iter_type __end, int& __member, > int __min, int __max, size_t __len, > ios_base& __io, ios_base::iostate& __err) const > { > const locale& __loc = __io._M_getloc(); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > > > int __mult = __len == 2 ? 10 : (__len == 4 ? 1000 : 1); > > ++__min; > size_t __i = 0; > int __value = 0; > for (; __beg != __end && __i < __len; ++__beg, ++__i) > { > const char __c = __ctype.narrow(*__beg, '*'); > if (__c >= '0' && __c <= '9') > { > __value = __value * 10 + (__c - '0'); > const int __valuec = __value * __mult; > if (__valuec > __max || __valuec + __mult < __min) > break; > __mult /= 10; > } > else > break; > } > if (__i == __len) > __member = __value; > > else if (__len == 4 && __i == 2) > __member = __value - 100; > else > __err |= ios_base::failbit; > > return __beg; > } > > > > template<typename _CharT, typename _InIter> > _InIter > time_get<_CharT, _InIter>:: > _M_extract_name(iter_type __beg, iter_type __end, int& __member, > const _CharT** __names, size_t __indexlen, > ios_base& __io, ios_base::iostate& __err) const > { > typedef char_traits<_CharT> __traits_type; > const locale& __loc = __io._M_getloc(); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > > int* __matches = static_cast<int*>(__builtin_alloca(sizeof(int) > * __indexlen)); > size_t __nmatches = 0; > size_t __pos = 0; > bool __testvalid = true; > const char_type* __name; > > > > > > if (__beg != __end) > { > const char_type __c = *__beg; > for (size_t __i1 = 0; __i1 < __indexlen; ++__i1) > if (__c == __names[__i1][0] > || __c == __ctype.toupper(__names[__i1][0])) > __matches[__nmatches++] = __i1; > } > > while (__nmatches > 1) > { > > size_t __minlen = __traits_type::length(__names[__matches[0]]); > for (size_t __i2 = 1; __i2 < __nmatches; ++__i2) > __minlen = std::min(__minlen, > __traits_type::length(__names[__matches[__i2]])); > ++__beg, ++__pos; > if (__pos < __minlen && __beg != __end) > for (size_t __i3 = 0; __i3 < __nmatches;) > { > __name = __names[__matches[__i3]]; > if (!(__name[__pos] == *__beg)) > __matches[__i3] = __matches[--__nmatches]; > else > ++__i3; > } > else > break; > } > > if (__nmatches == 1) > { > > ++__beg, ++__pos; > __name = __names[__matches[0]]; > const size_t __len = __traits_type::length(__name); > while (__pos < __len && __beg != __end && __name[__pos] == *__beg) > ++__beg, ++__pos; > > if (__len == __pos) > __member = __matches[0]; > else > __testvalid = false; > } > else > __testvalid = false; > if (!__testvalid) > __err |= ios_base::failbit; > > return __beg; > } > > template<typename _CharT, typename _InIter> > _InIter > time_get<_CharT, _InIter>:: > _M_extract_wday_or_month(iter_type __beg, iter_type __end, int& __member, > const _CharT** __names, size_t __indexlen, > ios_base& __io, ios_base::iostate& __err) const > { > typedef char_traits<_CharT> __traits_type; > const locale& __loc = __io._M_getloc(); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > > int* __matches = static_cast<int*>(__builtin_alloca(2 * sizeof(int) > * __indexlen)); > size_t __nmatches = 0; > size_t* __matches_lengths = 0; > size_t __pos = 0; > > if (__beg != __end) > { > const char_type __c = *__beg; > for (size_t __i = 0; __i < 2 * __indexlen; ++__i) > if (__c == __names[__i][0] > || __c == __ctype.toupper(__names[__i][0])) > __matches[__nmatches++] = __i; > } > > if (__nmatches) > { > ++__beg, ++__pos; > > __matches_lengths > = static_cast<size_t*>(__builtin_alloca(sizeof(size_t) > * __nmatches)); > for (size_t __i = 0; __i < __nmatches; ++__i) > __matches_lengths[__i] > = __traits_type::length(__names[__matches[__i]]); > } > > for (; __beg != __end; ++__beg, ++__pos) > { > size_t __nskipped = 0; > const char_type __c = *__beg; > for (size_t __i = 0; __i < __nmatches;) > { > const char_type* __name = __names[__matches[__i]]; > if (__pos >= __matches_lengths[__i]) > ++__nskipped, ++__i; > else if (!(__name[__pos] == __c)) > { > --__nmatches; > __matches[__i] = __matches[__nmatches]; > __matches_lengths[__i] = __matches_lengths[__nmatches]; > } > else > ++__i; > } > if (__nskipped == __nmatches) > break; > } > > if ((__nmatches == 1 && __matches_lengths[0] == __pos) > || (__nmatches == 2 && (__matches_lengths[0] == __pos > || __matches_lengths[1] == __pos))) > __member = (__matches[0] >= __indexlen > ? __matches[0] - __indexlen : __matches[0]); > else > __err |= ios_base::failbit; > > return __beg; > } > > template<typename _CharT, typename _InIter> > _InIter > time_get<_CharT, _InIter>:: > do_get_time(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const > { > const locale& __loc = __io._M_getloc(); > const __timepunct<_CharT>& __tp = use_facet<__timepunct<_CharT> >(__loc); > const char_type* __times[2]; > __tp._M_time_formats(__times); > __beg = _M_extract_via_format(__beg, __end, __io, __err, > __tm, __times[0]); > if (__beg == __end) > __err |= ios_base::eofbit; > return __beg; > } > > template<typename _CharT, typename _InIter> > _InIter > time_get<_CharT, _InIter>:: > do_get_date(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const > { > const locale& __loc = __io._M_getloc(); > const __timepunct<_CharT>& __tp = use_facet<__timepunct<_CharT> >(__loc); > const char_type* __dates[2]; > __tp._M_date_formats(__dates); > __beg = _M_extract_via_format(__beg, __end, __io, __err, > __tm, __dates[0]); > if (__beg == __end) > __err |= ios_base::eofbit; > return __beg; > } > > template<typename _CharT, typename _InIter> > _InIter > time_get<_CharT, _InIter>:: > do_get_weekday(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const > { > typedef char_traits<_CharT> __traits_type; > const locale& __loc = __io._M_getloc(); > const __timepunct<_CharT>& __tp = use_facet<__timepunct<_CharT> >(__loc); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > const char_type* __days[14]; > __tp._M_days_abbreviated(__days); > __tp._M_days(__days + 7); > int __tmpwday; > ios_base::iostate __tmperr = ios_base::goodbit; > > __beg = _M_extract_wday_or_month(__beg, __end, __tmpwday, __days, 7, > __io, __tmperr); > if (!__tmperr) > __tm->tm_wday = __tmpwday; > else > __err |= ios_base::failbit; > > if (__beg == __end) > __err |= ios_base::eofbit; > return __beg; > } > > template<typename _CharT, typename _InIter> > _InIter > time_get<_CharT, _InIter>:: > do_get_monthname(iter_type __beg, iter_type __end, > ios_base& __io, ios_base::iostate& __err, tm* __tm) const > { > typedef char_traits<_CharT> __traits_type; > const locale& __loc = __io._M_getloc(); > const __timepunct<_CharT>& __tp = use_facet<__timepunct<_CharT> >(__loc); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > const char_type* __months[24]; > __tp._M_months_abbreviated(__months); > __tp._M_months(__months + 12); > int __tmpmon; > ios_base::iostate __tmperr = ios_base::goodbit; > > __beg = _M_extract_wday_or_month(__beg, __end, __tmpmon, __months, 12, > __io, __tmperr); > if (!__tmperr) > __tm->tm_mon = __tmpmon; > else > __err |= ios_base::failbit; > > if (__beg == __end) > __err |= ios_base::eofbit; > return __beg; > } > > template<typename _CharT, typename _InIter> > _InIter > time_get<_CharT, _InIter>:: > do_get_year(iter_type __beg, iter_type __end, ios_base& __io, > ios_base::iostate& __err, tm* __tm) const > { > const locale& __loc = __io._M_getloc(); > const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); > int __tmpyear; > ios_base::iostate __tmperr = ios_base::goodbit; > > __beg = _M_extract_num(__beg, __end, __tmpyear, 0, 9999, 4, > __io, __tmperr); > if (!__tmperr) > __tm->tm_year = __tmpyear < 0 ? __tmpyear + 100 : __tmpyear - 1900; > else > __err |= ios_base::failbit; > > if (__beg == __end) > __err |= ios_base::eofbit; > return __beg; > } > > template<typename _CharT, typename _OutIter> > _OutIter > time_put<_CharT, _OutIter>:: > put(iter_type __s, ios_base& __io, char_type __fill, const tm* __tm, > const _CharT* __beg, const _CharT* __end) const > { > const locale& __loc = __io._M_getloc(); > ctype<_CharT> const& __ctype = use_facet<ctype<_CharT> >(__loc); > for (; __beg != __end; ++__beg) > if (__ctype.narrow(*__beg, 0) != '%') > { > *__s = *__beg; > ++__s; > } > else if (++__beg != __end) > { > char __format; > char __mod = 0; > const char __c = __ctype.narrow(*__beg, 0); > if (__c != 'E' && __c != 'O') > __format = __c; > else if (++__beg != __end) > { > __mod = __c; > __format = __ctype.narrow(*__beg, 0); > } > else > break; > __s = this->do_put(__s, __io, __fill, __tm, __format, __mod); > } > else > break; > return __s; > } > > template<typename _CharT, typename _OutIter> > _OutIter > time_put<_CharT, _OutIter>:: > do_put(iter_type __s, ios_base& __io, char_type, const tm* __tm, > char __format, char __mod) const > { > const locale& __loc = __io._M_getloc(); > ctype<_CharT> const& __ctype = use_facet<ctype<_CharT> >(__loc); > __timepunct<_CharT> const& __tp = use_facet<__timepunct<_CharT> >(__loc); > > > > const size_t __maxlen = 128; > char_type __res[__maxlen]; > > > > > > > char_type __fmt[4]; > __fmt[0] = __ctype.widen('%'); > if (!__mod) > { > __fmt[1] = __format; > __fmt[2] = char_type(); > } > else > { > __fmt[1] = __mod; > __fmt[2] = __format; > __fmt[3] = char_type(); > } > > __tp._M_put(__res, __maxlen, __fmt, __tm); > > > return std::__write(__s, __res, char_traits<char_type>::length(__res)); > } > > > > > > extern template class moneypunct<char, false>; > extern template class moneypunct<char, true>; > extern template class moneypunct_byname<char, false>; > extern template class moneypunct_byname<char, true>; > extern template class money_get<char>; > extern template class money_put<char>; > extern template class __timepunct<char>; > extern template class time_put<char>; > extern template class time_put_byname<char>; > extern template class time_get<char>; > extern template class time_get_byname<char>; > extern template class messages<char>; > extern template class messages_byname<char>; > > extern template > const moneypunct<char, true>& > use_facet<moneypunct<char, true> >(const locale&); > > extern template > const moneypunct<char, false>& > use_facet<moneypunct<char, false> >(const locale&); > > extern template > const money_put<char>& > use_facet<money_put<char> >(const locale&); > > extern template > const money_get<char>& > use_facet<money_get<char> >(const locale&); > > extern template > const __timepunct<char>& > use_facet<__timepunct<char> >(const locale&); > > extern template > const time_put<char>& > use_facet<time_put<char> >(const locale&); > > extern template > const time_get<char>& > use_facet<time_get<char> >(const locale&); > > extern template > const messages<char>& > use_facet<messages<char> >(const locale&); > > extern template > bool > has_facet<moneypunct<char> >(const locale&); > > extern template > bool > has_facet<money_put<char> >(const locale&); > > extern template > bool > has_facet<money_get<char> >(const locale&); > > extern template > bool > has_facet<__timepunct<char> >(const locale&); > > extern template > bool > has_facet<time_put<char> >(const locale&); > > extern template > bool > has_facet<time_get<char> >(const locale&); > > extern template > bool > has_facet<messages<char> >(const locale&); > > > extern template class moneypunct<wchar_t, false>; > extern template class moneypunct<wchar_t, true>; > extern template class moneypunct_byname<wchar_t, false>; > extern template class moneypunct_byname<wchar_t, true>; > extern template class money_get<wchar_t>; > extern template class money_put<wchar_t>; > extern template class __timepunct<wchar_t>; > extern template class time_put<wchar_t>; > extern template class time_put_byname<wchar_t>; > extern template class time_get<wchar_t>; > extern template class time_get_byname<wchar_t>; > extern template class messages<wchar_t>; > extern template class messages_byname<wchar_t>; > > extern template > const moneypunct<wchar_t, true>& > use_facet<moneypunct<wchar_t, true> >(const locale&); > > extern template > const moneypunct<wchar_t, false>& > use_facet<moneypunct<wchar_t, false> >(const locale&); > > extern template > const money_put<wchar_t>& > use_facet<money_put<wchar_t> >(const locale&); > > extern template > const money_get<wchar_t>& > use_facet<money_get<wchar_t> >(const locale&); > > extern template > const __timepunct<wchar_t>& > use_facet<__timepunct<wchar_t> >(const locale&); > > extern template > const time_put<wchar_t>& > use_facet<time_put<wchar_t> >(const locale&); > > extern template > const time_get<wchar_t>& > use_facet<time_get<wchar_t> >(const locale&); > > extern template > const messages<wchar_t>& > use_facet<messages<wchar_t> >(const locale&); > > extern template > bool > has_facet<moneypunct<wchar_t> >(const locale&); > > extern template > bool > has_facet<money_put<wchar_t> >(const locale&); > > extern template > bool > has_facet<money_get<wchar_t> >(const locale&); > > extern template > bool > has_facet<__timepunct<wchar_t> >(const locale&); > > extern template > bool > has_facet<time_put<wchar_t> >(const locale&); > > extern template > bool > has_facet<time_get<wchar_t> >(const locale&); > > extern template > bool > has_facet<messages<wchar_t> >(const locale&); > > > > >} ># 1904 "/usr/include/c++/4.9.1/bits/locale_facets_nonio.h" 2 3 ># 42 "/usr/include/c++/4.9.1/locale" 2 3 ># 44 "/usr/include/c++/4.9.1/iomanip" 2 3 > > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > > > struct _Resetiosflags { ios_base::fmtflags _M_mask; }; ># 65 "/usr/include/c++/4.9.1/iomanip" 3 > inline _Resetiosflags > resetiosflags(ios_base::fmtflags __mask) > { return { __mask }; } > > template<typename _CharT, typename _Traits> > inline basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f) > { > __is.setf(ios_base::fmtflags(0), __f._M_mask); > return __is; > } > > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f) > { > __os.setf(ios_base::fmtflags(0), __f._M_mask); > return __os; > } > > > struct _Setiosflags { ios_base::fmtflags _M_mask; }; ># 95 "/usr/include/c++/4.9.1/iomanip" 3 > inline _Setiosflags > setiosflags(ios_base::fmtflags __mask) > { return { __mask }; } > > template<typename _CharT, typename _Traits> > inline basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f) > { > __is.setf(__f._M_mask); > return __is; > } > > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f) > { > __os.setf(__f._M_mask); > return __os; > } > > > struct _Setbase { int _M_base; }; ># 126 "/usr/include/c++/4.9.1/iomanip" 3 > inline _Setbase > setbase(int __base) > { return { __base }; } > > template<typename _CharT, typename _Traits> > inline basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f) > { > __is.setf(__f._M_base == 8 ? ios_base::oct : > __f._M_base == 10 ? ios_base::dec : > __f._M_base == 16 ? ios_base::hex : > ios_base::fmtflags(0), ios_base::basefield); > return __is; > } > > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f) > { > __os.setf(__f._M_base == 8 ? ios_base::oct : > __f._M_base == 10 ? ios_base::dec : > __f._M_base == 16 ? ios_base::hex : > ios_base::fmtflags(0), ios_base::basefield); > return __os; > } > > > template<typename _CharT> > struct _Setfill { _CharT _M_c; }; ># 163 "/usr/include/c++/4.9.1/iomanip" 3 > template<typename _CharT> > inline _Setfill<_CharT> > setfill(_CharT __c) > { return { __c }; } > > template<typename _CharT, typename _Traits> > inline basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f) > { > __is.fill(__f._M_c); > return __is; > } > > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f) > { > __os.fill(__f._M_c); > return __os; > } > > > struct _Setprecision { int _M_n; }; ># 194 "/usr/include/c++/4.9.1/iomanip" 3 > inline _Setprecision > setprecision(int __n) > { return { __n }; } > > template<typename _CharT, typename _Traits> > inline basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f) > { > __is.precision(__f._M_n); > return __is; > } > > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f) > { > __os.precision(__f._M_n); > return __os; > } > > > struct _Setw { int _M_n; }; ># 224 "/usr/include/c++/4.9.1/iomanip" 3 > inline _Setw > setw(int __n) > { return { __n }; } > > template<typename _CharT, typename _Traits> > inline basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f) > { > __is.width(__f._M_n); > return __is; > } > > template<typename _CharT, typename _Traits> > inline basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f) > { > __os.width(__f._M_n); > return __os; > } > > > > template<typename _MoneyT> > struct _Get_money { _MoneyT& _M_mon; bool _M_intl; }; ># 257 "/usr/include/c++/4.9.1/iomanip" 3 > template<typename _MoneyT> > inline _Get_money<_MoneyT> > get_money(_MoneyT& __mon, bool __intl = false) > { return { __mon, __intl }; } > > template<typename _CharT, typename _Traits, typename _MoneyT> > basic_istream<_CharT, _Traits>& > operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f) > { > typename basic_istream<_CharT, _Traits>::sentry __cerb(__is, false); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > typedef istreambuf_iterator<_CharT, _Traits> _Iter; > typedef money_get<_CharT, _Iter> _MoneyGet; > > const _MoneyGet& __mg = use_facet<_MoneyGet>(__is.getloc()); > __mg.get(_Iter(__is.rdbuf()), _Iter(), __f._M_intl, > __is, __err, __f._M_mon); > } > if (false) > { > __is._M_setstate(ios_base::badbit); > ; > } > if (false) > { __is._M_setstate(ios_base::badbit); } > if (__err) > __is.setstate(__err); > } > return __is; > } > > > template<typename _MoneyT> > struct _Put_money { const _MoneyT& _M_mon; bool _M_intl; }; ># 304 "/usr/include/c++/4.9.1/iomanip" 3 > template<typename _MoneyT> > inline _Put_money<_MoneyT> > put_money(const _MoneyT& __mon, bool __intl = false) > { return { __mon, __intl }; } > > template<typename _CharT, typename _Traits, typename _MoneyT> > basic_ostream<_CharT, _Traits>& > operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f) > { > typename basic_ostream<_CharT, _Traits>::sentry __cerb(__os); > if (__cerb) > { > ios_base::iostate __err = ios_base::goodbit; > if (true) > { > typedef ostreambuf_iterator<_CharT, _Traits> _Iter; > typedef money_put<_CharT, _Iter> _MoneyPut; > > const _MoneyPut& __mp = use_facet<_MoneyPut>(__os.getloc()); > if (__mp.put(_Iter(__os.rdbuf()), __f._M_intl, __os, > __os.fill(), __f._M_mon).failed()) > __err |= ios_base::badbit; > } > if (false) > { > __os._M_setstate(ios_base::badbit); > ; > } > if (false) > { __os._M_setstate(ios_base::badbit); } > if (__err) > __os.setstate(__err); > } > return __os; > } ># 506 "/usr/include/c++/4.9.1/iomanip" 3 > extern template ostream& operator<<(ostream&, _Setfill<char>); > extern template ostream& operator<<(ostream&, _Setiosflags); > extern template ostream& operator<<(ostream&, _Resetiosflags); > extern template ostream& operator<<(ostream&, _Setbase); > extern template ostream& operator<<(ostream&, _Setprecision); > extern template ostream& operator<<(ostream&, _Setw); > extern template istream& operator>>(istream&, _Setfill<char>); > extern template istream& operator>>(istream&, _Setiosflags); > extern template istream& operator>>(istream&, _Resetiosflags); > extern template istream& operator>>(istream&, _Setbase); > extern template istream& operator>>(istream&, _Setprecision); > extern template istream& operator>>(istream&, _Setw); > > > extern template wostream& operator<<(wostream&, _Setfill<wchar_t>); > extern template wostream& operator<<(wostream&, _Setiosflags); > extern template wostream& operator<<(wostream&, _Resetiosflags); > extern template wostream& operator<<(wostream&, _Setbase); > extern template wostream& operator<<(wostream&, _Setprecision); > extern template wostream& operator<<(wostream&, _Setw); > extern template wistream& operator>>(wistream&, _Setfill<wchar_t>); > extern template wistream& operator>>(wistream&, _Setiosflags); > extern template wistream& operator>>(wistream&, _Resetiosflags); > extern template wistream& operator>>(wistream&, _Setbase); > extern template wistream& operator>>(wistream&, _Setprecision); > extern template wistream& operator>>(wistream&, _Setw); > > > > >} ># 10 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/StringUtil.h" 2 ># 1 "/usr/include/c++/4.9.1/sstream" 1 3 ># 36 "/usr/include/c++/4.9.1/sstream" 3 ># 37 "/usr/include/c++/4.9.1/sstream" 3 > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 63 "/usr/include/c++/4.9.1/sstream" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > class basic_stringbuf : public basic_streambuf<_CharT, _Traits> > { > public: > > typedef _CharT char_type; > typedef _Traits traits_type; > > > typedef _Alloc allocator_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; > > typedef basic_streambuf<char_type, traits_type> __streambuf_type; > typedef basic_string<char_type, _Traits, _Alloc> __string_type; > typedef typename __string_type::size_type __size_type; > > protected: > > ios_base::openmode _M_mode; > > > __string_type _M_string; > > public: ># 97 "/usr/include/c++/4.9.1/sstream" 3 > explicit > basic_stringbuf(ios_base::openmode __mode = ios_base::in | ios_base::out) > : __streambuf_type(), _M_mode(__mode), _M_string() > { } ># 110 "/usr/include/c++/4.9.1/sstream" 3 > explicit > basic_stringbuf(const __string_type& __str, > ios_base::openmode __mode = ios_base::in | ios_base::out) > : __streambuf_type(), _M_mode(), _M_string(__str.data(), __str.size()) > { _M_stringbuf_init(__mode); } ># 125 "/usr/include/c++/4.9.1/sstream" 3 > __string_type > str() const > { > __string_type __ret; > if (this->pptr()) > { > > if (this->pptr() > this->egptr()) > __ret = __string_type(this->pbase(), this->pptr()); > else > __ret = __string_type(this->pbase(), this->egptr()); > } > else > __ret = _M_string; > return __ret; > } ># 149 "/usr/include/c++/4.9.1/sstream" 3 > void > str(const __string_type& __s) > { > > _M_string.assign(__s.data(), __s.size()); > _M_stringbuf_init(_M_mode); > } > > protected: > > void > _M_stringbuf_init(ios_base::openmode __mode) > { > _M_mode = __mode; > __size_type __len = 0; > if (_M_mode & (ios_base::ate | ios_base::app)) > __len = _M_string.size(); > _M_sync(const_cast<char_type*>(_M_string.data()), 0, __len); > } > > virtual streamsize > showmanyc() > { > streamsize __ret = -1; > if (_M_mode & ios_base::in) > { > _M_update_egptr(); > __ret = this->egptr() - this->gptr(); > } > return __ret; > } > > virtual int_type > underflow(); > > virtual int_type > pbackfail(int_type __c = traits_type::eof()); > > virtual int_type > overflow(int_type __c = traits_type::eof()); ># 201 "/usr/include/c++/4.9.1/sstream" 3 > virtual __streambuf_type* > setbuf(char_type* __s, streamsize __n) > { > if (__s && __n >= 0) > { > > > > > > > _M_string.clear(); > > > _M_sync(__s, __n, 0); > } > return this; > } > > virtual pos_type > seekoff(off_type __off, ios_base::seekdir __way, > ios_base::openmode __mode = ios_base::in | ios_base::out); > > virtual pos_type > seekpos(pos_type __sp, > ios_base::openmode __mode = ios_base::in | ios_base::out); > > > > > void > _M_sync(char_type* __base, __size_type __i, __size_type __o); > > > > void > _M_update_egptr() > { > const bool __testin = _M_mode & ios_base::in; > if (this->pptr() && this->pptr() > this->egptr()) > { > if (__testin) > this->setg(this->eback(), this->gptr(), this->pptr()); > else > this->setg(this->pptr(), this->pptr(), this->pptr()); > } > } > > > > void > _M_pbump(char_type* __pbeg, char_type* __pend, off_type __off); > }; ># 271 "/usr/include/c++/4.9.1/sstream" 3 > template<typename _CharT, typename _Traits, typename _Alloc> > class basic_istringstream : public basic_istream<_CharT, _Traits> > { > public: > > typedef _CharT char_type; > typedef _Traits traits_type; > > > typedef _Alloc allocator_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; > > > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > typedef basic_stringbuf<_CharT, _Traits, _Alloc> __stringbuf_type; > typedef basic_istream<char_type, traits_type> __istream_type; > > private: > __stringbuf_type _M_stringbuf; > > public: ># 307 "/usr/include/c++/4.9.1/sstream" 3 > explicit > basic_istringstream(ios_base::openmode __mode = ios_base::in) > : __istream_type(), _M_stringbuf(__mode | ios_base::in) > { this->init(&_M_stringbuf); } ># 325 "/usr/include/c++/4.9.1/sstream" 3 > explicit > basic_istringstream(const __string_type& __str, > ios_base::openmode __mode = ios_base::in) > : __istream_type(), _M_stringbuf(__str, __mode | ios_base::in) > { this->init(&_M_stringbuf); } > > > > > > > > ~basic_istringstream() > { } ># 347 "/usr/include/c++/4.9.1/sstream" 3 > __stringbuf_type* > rdbuf() const > { return const_cast<__stringbuf_type*>(&_M_stringbuf); } > > > > > > __string_type > str() const > { return _M_stringbuf.str(); } > > > > > > > > void > str(const __string_type& __s) > { _M_stringbuf.str(__s); } > }; ># 386 "/usr/include/c++/4.9.1/sstream" 3 > template <typename _CharT, typename _Traits, typename _Alloc> > class basic_ostringstream : public basic_ostream<_CharT, _Traits> > { > public: > > typedef _CharT char_type; > typedef _Traits traits_type; > > > typedef _Alloc allocator_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; > > > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > typedef basic_stringbuf<_CharT, _Traits, _Alloc> __stringbuf_type; > typedef basic_ostream<char_type, traits_type> __ostream_type; > > private: > __stringbuf_type _M_stringbuf; > > public: ># 422 "/usr/include/c++/4.9.1/sstream" 3 > explicit > basic_ostringstream(ios_base::openmode __mode = ios_base::out) > : __ostream_type(), _M_stringbuf(__mode | ios_base::out) > { this->init(&_M_stringbuf); } ># 440 "/usr/include/c++/4.9.1/sstream" 3 > explicit > basic_ostringstream(const __string_type& __str, > ios_base::openmode __mode = ios_base::out) > : __ostream_type(), _M_stringbuf(__str, __mode | ios_base::out) > { this->init(&_M_stringbuf); } > > > > > > > > ~basic_ostringstream() > { } ># 462 "/usr/include/c++/4.9.1/sstream" 3 > __stringbuf_type* > rdbuf() const > { return const_cast<__stringbuf_type*>(&_M_stringbuf); } > > > > > > __string_type > str() const > { return _M_stringbuf.str(); } > > > > > > > > void > str(const __string_type& __s) > { _M_stringbuf.str(__s); } > }; ># 501 "/usr/include/c++/4.9.1/sstream" 3 > template <typename _CharT, typename _Traits, typename _Alloc> > class basic_stringstream : public basic_iostream<_CharT, _Traits> > { > public: > > typedef _CharT char_type; > typedef _Traits traits_type; > > > typedef _Alloc allocator_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; > > > typedef basic_string<_CharT, _Traits, _Alloc> __string_type; > typedef basic_stringbuf<_CharT, _Traits, _Alloc> __stringbuf_type; > typedef basic_iostream<char_type, traits_type> __iostream_type; > > private: > __stringbuf_type _M_stringbuf; > > public: ># 536 "/usr/include/c++/4.9.1/sstream" 3 > explicit > basic_stringstream(ios_base::openmode __m = ios_base::out | ios_base::in) > : __iostream_type(), _M_stringbuf(__m) > { this->init(&_M_stringbuf); } ># 552 "/usr/include/c++/4.9.1/sstream" 3 > explicit > basic_stringstream(const __string_type& __str, > ios_base::openmode __m = ios_base::out | ios_base::in) > : __iostream_type(), _M_stringbuf(__str, __m) > { this->init(&_M_stringbuf); } > > > > > > > > ~basic_stringstream() > { } ># 574 "/usr/include/c++/4.9.1/sstream" 3 > __stringbuf_type* > rdbuf() const > { return const_cast<__stringbuf_type*>(&_M_stringbuf); } > > > > > > __string_type > str() const > { return _M_stringbuf.str(); } > > > > > > > > void > str(const __string_type& __s) > { _M_stringbuf.str(__s); } > }; > > >} > ># 1 "/usr/include/c++/4.9.1/bits/sstream.tcc" 1 3 ># 37 "/usr/include/c++/4.9.1/bits/sstream.tcc" 3 ># 38 "/usr/include/c++/4.9.1/bits/sstream.tcc" 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template <class _CharT, class _Traits, class _Alloc> > typename basic_stringbuf<_CharT, _Traits, _Alloc>::int_type > basic_stringbuf<_CharT, _Traits, _Alloc>:: > pbackfail(int_type __c) > { > int_type __ret = traits_type::eof(); > if (this->eback() < this->gptr()) > { > > > const bool __testeof = traits_type::eq_int_type(__c, __ret); > if (!__testeof) > { > const bool __testeq = traits_type::eq(traits_type:: > to_char_type(__c), > this->gptr()[-1]); > const bool __testout = this->_M_mode & ios_base::out; > if (__testeq || __testout) > { > this->gbump(-1); > if (!__testeq) > *this->gptr() = traits_type::to_char_type(__c); > __ret = __c; > } > } > else > { > this->gbump(-1); > __ret = traits_type::not_eof(__c); > } > } > return __ret; > } > > template <class _CharT, class _Traits, class _Alloc> > typename basic_stringbuf<_CharT, _Traits, _Alloc>::int_type > basic_stringbuf<_CharT, _Traits, _Alloc>:: > overflow(int_type __c) > { > const bool __testout = this->_M_mode & ios_base::out; > if (__builtin_expect(!__testout, false)) > return traits_type::eof(); > > const bool __testeof = traits_type::eq_int_type(__c, traits_type::eof()); > if (__builtin_expect(__testeof, false)) > return traits_type::not_eof(__c); > > const __size_type __capacity = _M_string.capacity(); > const __size_type __max_size = _M_string.max_size(); > const bool __testput = this->pptr() < this->epptr(); > if (__builtin_expect(!__testput && __capacity == __max_size, false)) > return traits_type::eof(); > > > > const char_type __conv = traits_type::to_char_type(__c); > if (!__testput) > { ># 110 "/usr/include/c++/4.9.1/bits/sstream.tcc" 3 > const __size_type __opt_len = std::max(__size_type(2 * __capacity), > __size_type(512)); > const __size_type __len = std::min(__opt_len, __max_size); > __string_type __tmp; > __tmp.reserve(__len); > if (this->pbase()) > __tmp.assign(this->pbase(), this->epptr() - this->pbase()); > __tmp.push_back(__conv); > _M_string.swap(__tmp); > _M_sync(const_cast<char_type*>(_M_string.data()), > this->gptr() - this->eback(), this->pptr() - this->pbase()); > } > else > *this->pptr() = __conv; > this->pbump(1); > return __c; > } > > template <class _CharT, class _Traits, class _Alloc> > typename basic_stringbuf<_CharT, _Traits, _Alloc>::int_type > basic_stringbuf<_CharT, _Traits, _Alloc>:: > underflow() > { > int_type __ret = traits_type::eof(); > const bool __testin = this->_M_mode & ios_base::in; > if (__testin) > { > > _M_update_egptr(); > > if (this->gptr() < this->egptr()) > __ret = traits_type::to_int_type(*this->gptr()); > } > return __ret; > } > > template <class _CharT, class _Traits, class _Alloc> > typename basic_stringbuf<_CharT, _Traits, _Alloc>::pos_type > basic_stringbuf<_CharT, _Traits, _Alloc>:: > seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) > { > pos_type __ret = pos_type(off_type(-1)); > bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; > bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; > const bool __testboth = __testin && __testout && __way != ios_base::cur; > __testin &= !(__mode & ios_base::out); > __testout &= !(__mode & ios_base::in); > > > > const char_type* __beg = __testin ? this->eback() : this->pbase(); > if ((__beg || !__off) && (__testin || __testout || __testboth)) > { > _M_update_egptr(); > > off_type __newoffi = __off; > off_type __newoffo = __newoffi; > if (__way == ios_base::cur) > { > __newoffi += this->gptr() - __beg; > __newoffo += this->pptr() - __beg; > } > else if (__way == ios_base::end) > __newoffo = __newoffi += this->egptr() - __beg; > > if ((__testin || __testboth) > && __newoffi >= 0 > && this->egptr() - __beg >= __newoffi) > { > this->setg(this->eback(), this->eback() + __newoffi, > this->egptr()); > __ret = pos_type(__newoffi); > } > if ((__testout || __testboth) > && __newoffo >= 0 > && this->egptr() - __beg >= __newoffo) > { > _M_pbump(this->pbase(), this->epptr(), __newoffo); > __ret = pos_type(__newoffo); > } > } > return __ret; > } > > template <class _CharT, class _Traits, class _Alloc> > typename basic_stringbuf<_CharT, _Traits, _Alloc>::pos_type > basic_stringbuf<_CharT, _Traits, _Alloc>:: > seekpos(pos_type __sp, ios_base::openmode __mode) > { > pos_type __ret = pos_type(off_type(-1)); > const bool __testin = (ios_base::in & this->_M_mode & __mode) != 0; > const bool __testout = (ios_base::out & this->_M_mode & __mode) != 0; > > const char_type* __beg = __testin ? this->eback() : this->pbase(); > if ((__beg || !off_type(__sp)) && (__testin || __testout)) > { > _M_update_egptr(); > > const off_type __pos(__sp); > const bool __testpos = (0 <= __pos > && __pos <= this->egptr() - __beg); > if (__testpos) > { > if (__testin) > this->setg(this->eback(), this->eback() + __pos, > this->egptr()); > if (__testout) > _M_pbump(this->pbase(), this->epptr(), __pos); > __ret = __sp; > } > } > return __ret; > } > > template <class _CharT, class _Traits, class _Alloc> > void > basic_stringbuf<_CharT, _Traits, _Alloc>:: > _M_sync(char_type* __base, __size_type __i, __size_type __o) > { > const bool __testin = _M_mode & ios_base::in; > const bool __testout = _M_mode & ios_base::out; > char_type* __endg = __base + _M_string.size(); > char_type* __endp = __base + _M_string.capacity(); > > if (__base != _M_string.data()) > { > > __endg += __i; > __i = 0; > __endp = __endg; > } > > if (__testin) > this->setg(__base, __base + __i, __endg); > if (__testout) > { > _M_pbump(__base, __endp, __o); > > > > if (!__testin) > this->setg(__endg, __endg, __endg); > } > } > > template <class _CharT, class _Traits, class _Alloc> > void > basic_stringbuf<_CharT, _Traits, _Alloc>:: > _M_pbump(char_type* __pbeg, char_type* __pend, off_type __off) > { > this->setp(__pbeg, __pend); > while (__off > __gnu_cxx::__numeric_traits<int>::__max) > { > this->pbump(__gnu_cxx::__numeric_traits<int>::__max); > __off -= __gnu_cxx::__numeric_traits<int>::__max; > } > this->pbump(__off); > } > > > > > extern template class basic_stringbuf<char>; > extern template class basic_istringstream<char>; > extern template class basic_ostringstream<char>; > extern template class basic_stringstream<char>; > > > extern template class basic_stringbuf<wchar_t>; > extern template class basic_istringstream<wchar_t>; > extern template class basic_ostringstream<wchar_t>; > extern template class basic_stringstream<wchar_t>; > > > > >} ># 601 "/usr/include/c++/4.9.1/sstream" 2 3 ># 11 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/StringUtil.h" 2 > ># 1 "/usr/include/c++/4.9.1/vector" 1 3 ># 58 "/usr/include/c++/4.9.1/vector" 3 ># 59 "/usr/include/c++/4.9.1/vector" 3 > > > ># 1 "/usr/include/c++/4.9.1/bits/stl_construct.h" 1 3 ># 61 "/usr/include/c++/4.9.1/bits/stl_construct.h" 3 ># 1 "/usr/include/c++/4.9.1/ext/alloc_traits.h" 1 3 ># 32 "/usr/include/c++/4.9.1/ext/alloc_traits.h" 3 ># 33 "/usr/include/c++/4.9.1/ext/alloc_traits.h" 3 > > > ># 1 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 1 3 ># 39 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _Alloc, typename _Tp> > class __alloctr_rebind_helper > { > template<typename _Alloc2, typename _Tp2> > static constexpr true_type > _S_chk(typename _Alloc2::template rebind<_Tp2>::other*); > > template<typename, typename> > static constexpr false_type > _S_chk(...); > > public: > using __type = decltype(_S_chk<_Alloc, _Tp>(nullptr)); > }; > > template<typename _Alloc, typename _Tp, > bool = __alloctr_rebind_helper<_Alloc, _Tp>::__type::value> > struct __alloctr_rebind; > > template<typename _Alloc, typename _Tp> > struct __alloctr_rebind<_Alloc, _Tp, true> > { > typedef typename _Alloc::template rebind<_Tp>::other __type; > }; > > template<template<typename, typename...> class _Alloc, typename _Tp, > typename _Up, typename... _Args> > struct __alloctr_rebind<_Alloc<_Up, _Args...>, _Tp, false> > { > typedef _Alloc<_Tp, _Args...> __type; > }; > > > > > > template<typename _Alloc> > struct allocator_traits > { > > typedef _Alloc allocator_type; > > typedef typename _Alloc::value_type value_type; ># 95 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 >private: template<typename _Tp> static typename _Tp::pointer _S_pointer_helper(_Tp*); static value_type* _S_pointer_helper(...); typedef decltype(_S_pointer_helper((_Alloc*)0)) __pointer; public: > > > > > > > typedef __pointer pointer; > >private: template<typename _Tp> static typename _Tp::const_pointer _S_const_pointer_helper(_Tp*); static typename pointer_traits<pointer>::template rebind<const value_type> _S_const_pointer_helper(...); typedef decltype(_S_const_pointer_helper((_Alloc*)0)) __const_pointer; public: ># 113 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > typedef __const_pointer const_pointer; > >private: template<typename _Tp> static typename _Tp::void_pointer _S_void_pointer_helper(_Tp*); static typename pointer_traits<pointer>::template rebind<void> _S_void_pointer_helper(...); typedef decltype(_S_void_pointer_helper((_Alloc*)0)) __void_pointer; public: ># 124 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > typedef __void_pointer void_pointer; > >private: template<typename _Tp> static typename _Tp::const_void_pointer _S_const_void_pointer_helper(_Tp*); static typename pointer_traits<pointer>::template rebind<const void> _S_const_void_pointer_helper(...); typedef decltype(_S_const_void_pointer_helper((_Alloc*)0)) __const_void_pointer; public: ># 135 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > typedef __const_void_pointer const_void_pointer; > >private: template<typename _Tp> static typename _Tp::difference_type _S_difference_type_helper(_Tp*); static typename pointer_traits<pointer>::difference_type _S_difference_type_helper(...); typedef decltype(_S_difference_type_helper((_Alloc*)0)) __difference_type; public: ># 146 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > typedef __difference_type difference_type; > >private: template<typename _Tp> static typename _Tp::size_type _S_size_type_helper(_Tp*); static typename make_unsigned<difference_type>::type _S_size_type_helper(...); typedef decltype(_S_size_type_helper((_Alloc*)0)) __size_type; public: ># 157 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > typedef __size_type size_type; > >private: template<typename _Tp> static typename _Tp::propagate_on_container_copy_assignment _S_propagate_on_container_copy_assignment_helper(_Tp*); static false_type _S_propagate_on_container_copy_assignment_helper(...); typedef decltype(_S_propagate_on_container_copy_assignment_helper((_Alloc*)0)) __propagate_on_container_copy_assignment; public: ># 168 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > typedef __propagate_on_container_copy_assignment > propagate_on_container_copy_assignment; > >private: template<typename _Tp> static typename _Tp::propagate_on_container_move_assignment _S_propagate_on_container_move_assignment_helper(_Tp*); static false_type _S_propagate_on_container_move_assignment_helper(...); typedef decltype(_S_propagate_on_container_move_assignment_helper((_Alloc*)0)) __propagate_on_container_move_assignment; public: ># 180 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > typedef __propagate_on_container_move_assignment > propagate_on_container_move_assignment; > >private: template<typename _Tp> static typename _Tp::propagate_on_container_swap _S_propagate_on_container_swap_helper(_Tp*); static false_type _S_propagate_on_container_swap_helper(...); typedef decltype(_S_propagate_on_container_swap_helper((_Alloc*)0)) __propagate_on_container_swap; public: ># 192 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > typedef __propagate_on_container_swap propagate_on_container_swap; > > > > template<typename _Tp> > using rebind_alloc = typename __alloctr_rebind<_Alloc, _Tp>::__type; > template<typename _Tp> > using rebind_traits = allocator_traits<rebind_alloc<_Tp>>; > > private: > template<typename _Alloc2> > struct __allocate_helper > { > template<typename _Alloc3, > typename = decltype(std::declval<_Alloc3*>()->allocate( > std::declval<size_type>(), > std::declval<const_void_pointer>()))> > static true_type __test(int); > > template<typename> > static false_type __test(...); > > using type = decltype(__test<_Alloc>(0)); > }; > > template<typename _Alloc2> > using __has_allocate = typename __allocate_helper<_Alloc2>::type; > > template<typename _Alloc2, > typename = _Require<__has_allocate<_Alloc2>>> > static pointer > _S_allocate(_Alloc2& __a, size_type __n, const_void_pointer __hint) > { return __a.allocate(__n, __hint); } > > template<typename _Alloc2, typename _UnusedHint, > typename = _Require<__not_<__has_allocate<_Alloc2>>>> > static pointer > _S_allocate(_Alloc2& __a, size_type __n, _UnusedHint) > { return __a.allocate(__n); } > > template<typename _Tp, typename... _Args> > struct __construct_helper > { > template<typename _Alloc2, > typename = decltype(std::declval<_Alloc2*>()->construct( > std::declval<_Tp*>(), std::declval<_Args>()...))> > static true_type __test(int); > > template<typename> > static false_type __test(...); > > using type = decltype(__test<_Alloc>(0)); > }; > > template<typename _Tp, typename... _Args> > using __has_construct > = typename __construct_helper<_Tp, _Args...>::type; > > template<typename _Tp, typename... _Args> > static _Require<__has_construct<_Tp, _Args...>> > _S_construct(_Alloc& __a, _Tp* __p, _Args&&... __args) > { __a.construct(__p, std::forward<_Args>(__args)...); } > > template<typename _Tp, typename... _Args> > static > _Require<__and_<__not_<__has_construct<_Tp, _Args...>>, > is_constructible<_Tp, _Args...>>> > _S_construct(_Alloc&, _Tp* __p, _Args&&... __args) > { ::new((void*)__p) _Tp(std::forward<_Args>(__args)...); } > > template<typename _Tp> > struct __destroy_helper > { > template<typename _Alloc2, > typename = decltype(std::declval<_Alloc2*>()->destroy( > std::declval<_Tp*>()))> > static true_type __test(int); > > template<typename> > static false_type __test(...); > > using type = decltype(__test<_Alloc>(0)); > }; > > template<typename _Tp> > using __has_destroy = typename __destroy_helper<_Tp>::type; > > template<typename _Tp> > static _Require<__has_destroy<_Tp>> > _S_destroy(_Alloc& __a, _Tp* __p) > { __a.destroy(__p); } > > template<typename _Tp> > static _Require<__not_<__has_destroy<_Tp>>> > _S_destroy(_Alloc&, _Tp* __p) > { __p->~_Tp(); } > > template<typename _Alloc2> > struct __maxsize_helper > { > template<typename _Alloc3, > typename = decltype(std::declval<_Alloc3*>()->max_size())> > static true_type __test(int); > > template<typename> > static false_type __test(...); > > using type = decltype(__test<_Alloc2>(0)); > }; > > template<typename _Alloc2> > using __has_max_size = typename __maxsize_helper<_Alloc2>::type; > > template<typename _Alloc2, > typename = _Require<__has_max_size<_Alloc2>>> > static size_type > _S_max_size(_Alloc2& __a, int) > { return __a.max_size(); } > > template<typename _Alloc2, > typename = _Require<__not_<__has_max_size<_Alloc2>>>> > static size_type > _S_max_size(_Alloc2&, ...) > { return __gnu_cxx::__numeric_traits<size_type>::__max; } > > template<typename _Alloc2> > struct __select_helper > { > template<typename _Alloc3, typename > = decltype(std::declval<_Alloc3*>() > ->select_on_container_copy_construction())> > static true_type __test(int); > > template<typename> > static false_type __test(...); > > using type = decltype(__test<_Alloc2>(0)); > }; > > template<typename _Alloc2> > using __has_soccc = typename __select_helper<_Alloc2>::type; > > template<typename _Alloc2, > typename = _Require<__has_soccc<_Alloc2>>> > static _Alloc2 > _S_select(_Alloc2& __a, int) > { return __a.select_on_container_copy_construction(); } > > template<typename _Alloc2, > typename = _Require<__not_<__has_soccc<_Alloc2>>>> > static _Alloc2 > _S_select(_Alloc2& __a, ...) > { return __a; } > > public: ># 355 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > static pointer > allocate(_Alloc& __a, size_type __n) > { return __a.allocate(__n); } ># 370 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > static pointer > allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) > { return _S_allocate(__a, __n, __hint); } ># 382 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > static void deallocate(_Alloc& __a, pointer __p, size_type __n) > { __a.deallocate(__p, __n); } ># 396 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > template<typename _Tp, typename... _Args> > static auto construct(_Alloc& __a, _Tp* __p, _Args&&... __args) > -> decltype(_S_construct(__a, __p, std::forward<_Args>(__args)...)) > { _S_construct(__a, __p, std::forward<_Args>(__args)...); } ># 409 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > template <class _Tp> > static void destroy(_Alloc& __a, _Tp* __p) > { _S_destroy(__a, __p); } ># 421 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > static size_type max_size(const _Alloc& __a) noexcept > { return _S_max_size(__a, 0); } ># 432 "/usr/include/c++/4.9.1/bits/alloc_traits.h" 3 > static _Alloc > select_on_container_copy_construction(const _Alloc& __rhs) > { return _S_select(__rhs, 0); } > }; > > template<typename _Alloc> > inline void > __do_alloc_on_copy(_Alloc& __one, const _Alloc& __two, true_type) > { __one = __two; } > > template<typename _Alloc> > inline void > __do_alloc_on_copy(_Alloc&, const _Alloc&, false_type) > { } > > template<typename _Alloc> > inline void __alloc_on_copy(_Alloc& __one, const _Alloc& __two) > { > typedef allocator_traits<_Alloc> __traits; > typedef typename __traits::propagate_on_container_copy_assignment __pocca; > __do_alloc_on_copy(__one, __two, __pocca()); > } > > template<typename _Alloc> > inline _Alloc __alloc_on_copy(const _Alloc& __a) > { > typedef allocator_traits<_Alloc> __traits; > return __traits::select_on_container_copy_construction(__a); > } > > template<typename _Alloc> > inline void __do_alloc_on_move(_Alloc& __one, _Alloc& __two, true_type) > { __one = std::move(__two); } > > template<typename _Alloc> > inline void __do_alloc_on_move(_Alloc&, _Alloc&, false_type) > { } > > template<typename _Alloc> > inline void __alloc_on_move(_Alloc& __one, _Alloc& __two) > { > typedef allocator_traits<_Alloc> __traits; > typedef typename __traits::propagate_on_container_move_assignment __pocma; > __do_alloc_on_move(__one, __two, __pocma()); > } > > template<typename _Alloc> > inline void __do_alloc_on_swap(_Alloc& __one, _Alloc& __two, true_type) > { > using std::swap; > swap(__one, __two); > } > > template<typename _Alloc> > inline void __do_alloc_on_swap(_Alloc&, _Alloc&, false_type) > { } > > template<typename _Alloc> > inline void __alloc_on_swap(_Alloc& __one, _Alloc& __two) > { > typedef allocator_traits<_Alloc> __traits; > typedef typename __traits::propagate_on_container_swap __pocs; > __do_alloc_on_swap(__one, __two, __pocs()); > } > > template<typename _Alloc> > class __is_copy_insertable_impl > { > typedef allocator_traits<_Alloc> _Traits; > > template<typename _Up, typename > = decltype(_Traits::construct(std::declval<_Alloc&>(), > std::declval<_Up*>(), > std::declval<const _Up&>()))> > static true_type > _M_select(int); > > template<typename _Up> > static false_type > _M_select(...); > > public: > typedef decltype(_M_select<typename _Alloc::value_type>(0)) type; > }; > > > template<typename _Alloc> > struct __is_copy_insertable > : __is_copy_insertable_impl<_Alloc>::type > { }; > > > template<typename _Tp> > struct __is_copy_insertable<allocator<_Tp>> > : is_copy_constructible<_Tp> > { }; > > >} ># 37 "/usr/include/c++/4.9.1/ext/alloc_traits.h" 2 3 > > > > >namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) >{ > > > > template<typename _Alloc> > struct __allocator_always_compares_equal : std::false_type { }; > > template<typename _Tp> > struct __allocator_always_compares_equal<std::allocator<_Tp>> > : std::true_type { }; > > template<typename, typename> struct array_allocator; > > template<typename _Tp, typename _Array> > struct __allocator_always_compares_equal<array_allocator<_Tp, _Array>> > : std::true_type { }; > > template<typename> struct bitmap_allocator; > > template<typename _Tp> > struct __allocator_always_compares_equal<bitmap_allocator<_Tp>> > : std::true_type { }; > > template<typename> struct malloc_allocator; > > template<typename _Tp> > struct __allocator_always_compares_equal<malloc_allocator<_Tp>> > : std::true_type { }; > > template<typename> struct mt_allocator; > > template<typename _Tp> > struct __allocator_always_compares_equal<mt_allocator<_Tp>> > : std::true_type { }; > > template<typename> struct new_allocator; > > template<typename _Tp> > struct __allocator_always_compares_equal<new_allocator<_Tp>> > : std::true_type { }; > > template<typename> struct pool_allocator; > > template<typename _Tp> > struct __allocator_always_compares_equal<pool_allocator<_Tp>> > : std::true_type { }; > > > > > > >template<typename _Alloc> > struct __alloc_traits > > : std::allocator_traits<_Alloc> > > { > typedef _Alloc allocator_type; > > typedef std::allocator_traits<_Alloc> _Base_type; > typedef typename _Base_type::value_type value_type; > typedef typename _Base_type::pointer pointer; > typedef typename _Base_type::const_pointer const_pointer; > typedef typename _Base_type::size_type size_type; > typedef typename _Base_type::difference_type difference_type; > > typedef value_type& reference; > typedef const value_type& const_reference; > using _Base_type::allocate; > using _Base_type::deallocate; > using _Base_type::construct; > using _Base_type::destroy; > using _Base_type::max_size; > > private: > template<typename _Ptr> > using __is_custom_pointer > = std::__and_<std::is_same<pointer, _Ptr>, > std::__not_<std::is_pointer<_Ptr>>>; > > public: > > template<typename _Ptr, typename... _Args> > static typename std::enable_if<__is_custom_pointer<_Ptr>::value>::type > construct(_Alloc& __a, _Ptr __p, _Args&&... __args) > { > _Base_type::construct(__a, std::addressof(*__p), > std::forward<_Args>(__args)...); > } > > > template<typename _Ptr> > static typename std::enable_if<__is_custom_pointer<_Ptr>::value>::type > destroy(_Alloc& __a, _Ptr __p) > { _Base_type::destroy(__a, std::addressof(*__p)); } > > static _Alloc _S_select_on_copy(const _Alloc& __a) > { return _Base_type::select_on_container_copy_construction(__a); } > > static void _S_on_swap(_Alloc& __a, _Alloc& __b) > { std::__alloc_on_swap(__a, __b); } > > static constexpr bool _S_propagate_on_copy_assign() > { return _Base_type::propagate_on_container_copy_assignment::value; } > > static constexpr bool _S_propagate_on_move_assign() > { return _Base_type::propagate_on_container_move_assignment::value; } > > static constexpr bool _S_propagate_on_swap() > { return _Base_type::propagate_on_container_swap::value; } > > static constexpr bool _S_always_equal() > { return __allocator_always_compares_equal<_Alloc>::value; } > > static constexpr bool _S_nothrow_move() > { return _S_propagate_on_move_assign() || _S_always_equal(); } > > static constexpr bool _S_nothrow_swap() > { > using std::swap; > return !_S_propagate_on_swap() > || noexcept(swap(std::declval<_Alloc&>(), std::declval<_Alloc&>())); > } > > template<typename _Tp> > struct rebind > { typedef typename _Base_type::template rebind_alloc<_Tp> other; }; ># 210 "/usr/include/c++/4.9.1/ext/alloc_traits.h" 3 > }; > > >} ># 62 "/usr/include/c++/4.9.1/bits/stl_construct.h" 2 3 > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > > > > > template<typename _T1, typename... _Args> > inline void > _Construct(_T1* __p, _Args&&... __args) > { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); } ># 90 "/usr/include/c++/4.9.1/bits/stl_construct.h" 3 > template<typename _Tp> > inline void > _Destroy(_Tp* __pointer) > { __pointer->~_Tp(); } > > template<bool> > struct _Destroy_aux > { > template<typename _ForwardIterator> > static void > __destroy(_ForwardIterator __first, _ForwardIterator __last) > { > for (; __first != __last; ++__first) > std::_Destroy(std::__addressof(*__first)); > } > }; > > template<> > struct _Destroy_aux<true> > { > template<typename _ForwardIterator> > static void > __destroy(_ForwardIterator, _ForwardIterator) { } > }; > > > > > > > template<typename _ForwardIterator> > inline void > _Destroy(_ForwardIterator __first, _ForwardIterator __last) > { > typedef typename iterator_traits<_ForwardIterator>::value_type > _Value_type; > std::_Destroy_aux<__has_trivial_destructor(_Value_type)>:: > __destroy(__first, __last); > } > > > > > > > > template<typename _ForwardIterator, typename _Allocator> > void > _Destroy(_ForwardIterator __first, _ForwardIterator __last, > _Allocator& __alloc) > { > typedef __gnu_cxx::__alloc_traits<_Allocator> __traits; > for (; __first != __last; ++__first) > __traits::destroy(__alloc, std::__addressof(*__first)); > } > > template<typename _ForwardIterator, typename _Tp> > inline void > _Destroy(_ForwardIterator __first, _ForwardIterator __last, > allocator<_Tp>&) > { > _Destroy(__first, __last); > } > > >} ># 63 "/usr/include/c++/4.9.1/vector" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/stl_uninitialized.h" 1 3 ># 59 "/usr/include/c++/4.9.1/bits/stl_uninitialized.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<bool _TrivialValueTypes> > struct __uninitialized_copy > { > template<typename _InputIterator, typename _ForwardIterator> > static _ForwardIterator > __uninit_copy(_InputIterator __first, _InputIterator __last, > _ForwardIterator __result) > { > _ForwardIterator __cur = __result; > if (true) > { > for (; __first != __last; ++__first, ++__cur) > std::_Construct(std::__addressof(*__cur), *__first); > return __cur; > } > if (false) > { > std::_Destroy(__result, __cur); > ; > } > } > }; > > template<> > struct __uninitialized_copy<true> > { > template<typename _InputIterator, typename _ForwardIterator> > static _ForwardIterator > __uninit_copy(_InputIterator __first, _InputIterator __last, > _ForwardIterator __result) > { return std::copy(__first, __last, __result); } > }; ># 105 "/usr/include/c++/4.9.1/bits/stl_uninitialized.h" 3 > template<typename _InputIterator, typename _ForwardIterator> > inline _ForwardIterator > uninitialized_copy(_InputIterator __first, _InputIterator __last, > _ForwardIterator __result) > { > typedef typename iterator_traits<_InputIterator>::value_type > _ValueType1; > typedef typename iterator_traits<_ForwardIterator>::value_type > _ValueType2; > > > > > typedef typename iterator_traits<_InputIterator>::reference _RefType; > const bool __assignable = is_assignable<_ValueType1, _RefType>::value; > > > return std::__uninitialized_copy<__is_trivial(_ValueType1) > && __is_trivial(_ValueType2) > && __assignable>:: > __uninit_copy(__first, __last, __result); > } > > > template<bool _TrivialValueType> > struct __uninitialized_fill > { > template<typename _ForwardIterator, typename _Tp> > static void > __uninit_fill(_ForwardIterator __first, _ForwardIterator __last, > const _Tp& __x) > { > _ForwardIterator __cur = __first; > if (true) > { > for (; __cur != __last; ++__cur) > std::_Construct(std::__addressof(*__cur), __x); > } > if (false) > { > std::_Destroy(__first, __cur); > ; > } > } > }; > > template<> > struct __uninitialized_fill<true> > { > template<typename _ForwardIterator, typename _Tp> > static void > __uninit_fill(_ForwardIterator __first, _ForwardIterator __last, > const _Tp& __x) > { std::fill(__first, __last, __x); } > }; ># 170 "/usr/include/c++/4.9.1/bits/stl_uninitialized.h" 3 > template<typename _ForwardIterator, typename _Tp> > inline void > uninitialized_fill(_ForwardIterator __first, _ForwardIterator __last, > const _Tp& __x) > { > typedef typename iterator_traits<_ForwardIterator>::value_type > _ValueType; > > > > > const bool __assignable = is_copy_assignable<_ValueType>::value; > > > std::__uninitialized_fill<__is_trivial(_ValueType) && __assignable>:: > __uninit_fill(__first, __last, __x); > } > > > template<bool _TrivialValueType> > struct __uninitialized_fill_n > { > template<typename _ForwardIterator, typename _Size, typename _Tp> > static void > __uninit_fill_n(_ForwardIterator __first, _Size __n, > const _Tp& __x) > { > _ForwardIterator __cur = __first; > if (true) > { > for (; __n > 0; --__n, ++__cur) > std::_Construct(std::__addressof(*__cur), __x); > } > if (false) > { > std::_Destroy(__first, __cur); > ; > } > } > }; > > template<> > struct __uninitialized_fill_n<true> > { > template<typename _ForwardIterator, typename _Size, typename _Tp> > static void > __uninit_fill_n(_ForwardIterator __first, _Size __n, > const _Tp& __x) > { std::fill_n(__first, __n, __x); } > }; ># 230 "/usr/include/c++/4.9.1/bits/stl_uninitialized.h" 3 > template<typename _ForwardIterator, typename _Size, typename _Tp> > inline void > uninitialized_fill_n(_ForwardIterator __first, _Size __n, const _Tp& __x) > { > typedef typename iterator_traits<_ForwardIterator>::value_type > _ValueType; > > > > > const bool __assignable = is_copy_assignable<_ValueType>::value; > > > std::__uninitialized_fill_n<__is_trivial(_ValueType) && __assignable>:: > __uninit_fill_n(__first, __n, __x); > } > > > > > > > > template<typename _InputIterator, typename _ForwardIterator, > typename _Allocator> > _ForwardIterator > __uninitialized_copy_a(_InputIterator __first, _InputIterator __last, > _ForwardIterator __result, _Allocator& __alloc) > { > _ForwardIterator __cur = __result; > if (true) > { > typedef __gnu_cxx::__alloc_traits<_Allocator> __traits; > for (; __first != __last; ++__first, ++__cur) > __traits::construct(__alloc, std::__addressof(*__cur), *__first); > return __cur; > } > if (false) > { > std::_Destroy(__result, __cur, __alloc); > ; > } > } > > template<typename _InputIterator, typename _ForwardIterator, typename _Tp> > inline _ForwardIterator > __uninitialized_copy_a(_InputIterator __first, _InputIterator __last, > _ForwardIterator __result, allocator<_Tp>&) > { return std::uninitialized_copy(__first, __last, __result); } > > template<typename _InputIterator, typename _ForwardIterator, > typename _Allocator> > inline _ForwardIterator > __uninitialized_move_a(_InputIterator __first, _InputIterator __last, > _ForwardIterator __result, _Allocator& __alloc) > { > return std::__uninitialized_copy_a(std::make_move_iterator(__first), > std::make_move_iterator(__last), > __result, __alloc); > } > > template<typename _InputIterator, typename _ForwardIterator, > typename _Allocator> > inline _ForwardIterator > __uninitialized_move_if_noexcept_a(_InputIterator __first, > _InputIterator __last, > _ForwardIterator __result, > _Allocator& __alloc) > { > return std::__uninitialized_copy_a > (std::__make_move_if_noexcept_iterator(__first), > std::__make_move_if_noexcept_iterator(__last), __result, __alloc); > } > > template<typename _ForwardIterator, typename _Tp, typename _Allocator> > void > __uninitialized_fill_a(_ForwardIterator __first, _ForwardIterator __last, > const _Tp& __x, _Allocator& __alloc) > { > _ForwardIterator __cur = __first; > if (true) > { > typedef __gnu_cxx::__alloc_traits<_Allocator> __traits; > for (; __cur != __last; ++__cur) > __traits::construct(__alloc, std::__addressof(*__cur), __x); > } > if (false) > { > std::_Destroy(__first, __cur, __alloc); > ; > } > } > > template<typename _ForwardIterator, typename _Tp, typename _Tp2> > inline void > __uninitialized_fill_a(_ForwardIterator __first, _ForwardIterator __last, > const _Tp& __x, allocator<_Tp2>&) > { std::uninitialized_fill(__first, __last, __x); } > > template<typename _ForwardIterator, typename _Size, typename _Tp, > typename _Allocator> > void > __uninitialized_fill_n_a(_ForwardIterator __first, _Size __n, > const _Tp& __x, _Allocator& __alloc) > { > _ForwardIterator __cur = __first; > if (true) > { > typedef __gnu_cxx::__alloc_traits<_Allocator> __traits; > for (; __n > 0; --__n, ++__cur) > __traits::construct(__alloc, std::__addressof(*__cur), __x); > } > if (false) > { > std::_Destroy(__first, __cur, __alloc); > ; > } > } > > template<typename _ForwardIterator, typename _Size, typename _Tp, > typename _Tp2> > inline void > __uninitialized_fill_n_a(_ForwardIterator __first, _Size __n, > const _Tp& __x, allocator<_Tp2>&) > { std::uninitialized_fill_n(__first, __n, __x); } ># 366 "/usr/include/c++/4.9.1/bits/stl_uninitialized.h" 3 > template<typename _InputIterator1, typename _InputIterator2, > typename _ForwardIterator, typename _Allocator> > inline _ForwardIterator > __uninitialized_copy_move(_InputIterator1 __first1, > _InputIterator1 __last1, > _InputIterator2 __first2, > _InputIterator2 __last2, > _ForwardIterator __result, > _Allocator& __alloc) > { > _ForwardIterator __mid = std::__uninitialized_copy_a(__first1, __last1, > __result, > __alloc); > if (true) > { > return std::__uninitialized_move_a(__first2, __last2, __mid, __alloc); > } > if (false) > { > std::_Destroy(__result, __mid, __alloc); > ; > } > } > > > > > > template<typename _InputIterator1, typename _InputIterator2, > typename _ForwardIterator, typename _Allocator> > inline _ForwardIterator > __uninitialized_move_copy(_InputIterator1 __first1, > _InputIterator1 __last1, > _InputIterator2 __first2, > _InputIterator2 __last2, > _ForwardIterator __result, > _Allocator& __alloc) > { > _ForwardIterator __mid = std::__uninitialized_move_a(__first1, __last1, > __result, > __alloc); > if (true) > { > return std::__uninitialized_copy_a(__first2, __last2, __mid, __alloc); > } > if (false) > { > std::_Destroy(__result, __mid, __alloc); > ; > } > } > > > > > template<typename _ForwardIterator, typename _Tp, typename _InputIterator, > typename _Allocator> > inline _ForwardIterator > __uninitialized_fill_move(_ForwardIterator __result, _ForwardIterator __mid, > const _Tp& __x, _InputIterator __first, > _InputIterator __last, _Allocator& __alloc) > { > std::__uninitialized_fill_a(__result, __mid, __x, __alloc); > if (true) > { > return std::__uninitialized_move_a(__first, __last, __mid, __alloc); > } > if (false) > { > std::_Destroy(__result, __mid, __alloc); > ; > } > } > > > > > template<typename _InputIterator, typename _ForwardIterator, typename _Tp, > typename _Allocator> > inline void > __uninitialized_move_fill(_InputIterator __first1, _InputIterator __last1, > _ForwardIterator __first2, > _ForwardIterator __last2, const _Tp& __x, > _Allocator& __alloc) > { > _ForwardIterator __mid2 = std::__uninitialized_move_a(__first1, __last1, > __first2, > __alloc); > if (true) > { > std::__uninitialized_fill_a(__mid2, __last2, __x, __alloc); > } > if (false) > { > std::_Destroy(__first2, __mid2, __alloc); > ; > } > } > > > > > > template<bool _TrivialValueType> > struct __uninitialized_default_1 > { > template<typename _ForwardIterator> > static void > __uninit_default(_ForwardIterator __first, _ForwardIterator __last) > { > _ForwardIterator __cur = __first; > if (true) > { > for (; __cur != __last; ++__cur) > std::_Construct(std::__addressof(*__cur)); > } > if (false) > { > std::_Destroy(__first, __cur); > ; > } > } > }; > > template<> > struct __uninitialized_default_1<true> > { > template<typename _ForwardIterator> > static void > __uninit_default(_ForwardIterator __first, _ForwardIterator __last) > { > typedef typename iterator_traits<_ForwardIterator>::value_type > _ValueType; > > std::fill(__first, __last, _ValueType()); > } > }; > > template<bool _TrivialValueType> > struct __uninitialized_default_n_1 > { > template<typename _ForwardIterator, typename _Size> > static void > __uninit_default_n(_ForwardIterator __first, _Size __n) > { > _ForwardIterator __cur = __first; > if (true) > { > for (; __n > 0; --__n, ++__cur) > std::_Construct(std::__addressof(*__cur)); > } > if (false) > { > std::_Destroy(__first, __cur); > ; > } > } > }; > > template<> > struct __uninitialized_default_n_1<true> > { > template<typename _ForwardIterator, typename _Size> > static void > __uninit_default_n(_ForwardIterator __first, _Size __n) > { > typedef typename iterator_traits<_ForwardIterator>::value_type > _ValueType; > > std::fill_n(__first, __n, _ValueType()); > } > }; > > > > > template<typename _ForwardIterator> > inline void > __uninitialized_default(_ForwardIterator __first, > _ForwardIterator __last) > { > typedef typename iterator_traits<_ForwardIterator>::value_type > _ValueType; > > const bool __assignable = is_copy_assignable<_ValueType>::value; > > std::__uninitialized_default_1<__is_trivial(_ValueType) > && __assignable>:: > __uninit_default(__first, __last); > } > > > > template<typename _ForwardIterator, typename _Size> > inline void > __uninitialized_default_n(_ForwardIterator __first, _Size __n) > { > typedef typename iterator_traits<_ForwardIterator>::value_type > _ValueType; > > const bool __assignable = is_copy_assignable<_ValueType>::value; > > std::__uninitialized_default_n_1<__is_trivial(_ValueType) > && __assignable>:: > __uninit_default_n(__first, __n); > } > > > > > > template<typename _ForwardIterator, typename _Allocator> > void > __uninitialized_default_a(_ForwardIterator __first, > _ForwardIterator __last, > _Allocator& __alloc) > { > _ForwardIterator __cur = __first; > if (true) > { > typedef __gnu_cxx::__alloc_traits<_Allocator> __traits; > for (; __cur != __last; ++__cur) > __traits::construct(__alloc, std::__addressof(*__cur)); > } > if (false) > { > std::_Destroy(__first, __cur, __alloc); > ; > } > } > > template<typename _ForwardIterator, typename _Tp> > inline void > __uninitialized_default_a(_ForwardIterator __first, > _ForwardIterator __last, > allocator<_Tp>&) > { std::__uninitialized_default(__first, __last); } > > > > > > template<typename _ForwardIterator, typename _Size, typename _Allocator> > void > __uninitialized_default_n_a(_ForwardIterator __first, _Size __n, > _Allocator& __alloc) > { > _ForwardIterator __cur = __first; > if (true) > { > typedef __gnu_cxx::__alloc_traits<_Allocator> __traits; > for (; __n > 0; --__n, ++__cur) > __traits::construct(__alloc, std::__addressof(*__cur)); > } > if (false) > { > std::_Destroy(__first, __cur, __alloc); > ; > } > } > > template<typename _ForwardIterator, typename _Size, typename _Tp> > inline void > __uninitialized_default_n_a(_ForwardIterator __first, _Size __n, > allocator<_Tp>&) > { std::__uninitialized_default_n(__first, __n); } > > > template<typename _InputIterator, typename _Size, > typename _ForwardIterator> > _ForwardIterator > __uninitialized_copy_n(_InputIterator __first, _Size __n, > _ForwardIterator __result, input_iterator_tag) > { > _ForwardIterator __cur = __result; > if (true) > { > for (; __n > 0; --__n, ++__first, ++__cur) > std::_Construct(std::__addressof(*__cur), *__first); > return __cur; > } > if (false) > { > std::_Destroy(__result, __cur); > ; > } > } > > template<typename _RandomAccessIterator, typename _Size, > typename _ForwardIterator> > inline _ForwardIterator > __uninitialized_copy_n(_RandomAccessIterator __first, _Size __n, > _ForwardIterator __result, > random_access_iterator_tag) > { return std::uninitialized_copy(__first, __first + __n, __result); } ># 671 "/usr/include/c++/4.9.1/bits/stl_uninitialized.h" 3 > template<typename _InputIterator, typename _Size, typename _ForwardIterator> > inline _ForwardIterator > uninitialized_copy_n(_InputIterator __first, _Size __n, > _ForwardIterator __result) > { return std::__uninitialized_copy_n(__first, __n, __result, > std::__iterator_category(__first)); } > > > >} ># 64 "/usr/include/c++/4.9.1/vector" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/stl_vector.h" 1 3 ># 66 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > template<typename _Tp, typename _Alloc> > struct _Vector_base > { > typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template > rebind<_Tp>::other _Tp_alloc_type; > typedef typename __gnu_cxx::__alloc_traits<_Tp_alloc_type>::pointer > pointer; > > struct _Vector_impl > : public _Tp_alloc_type > { > pointer _M_start; > pointer _M_finish; > pointer _M_end_of_storage; > > _Vector_impl() > : _Tp_alloc_type(), _M_start(0), _M_finish(0), _M_end_of_storage(0) > { } > > _Vector_impl(_Tp_alloc_type const& __a) noexcept > : _Tp_alloc_type(__a), _M_start(0), _M_finish(0), _M_end_of_storage(0) > { } > > > _Vector_impl(_Tp_alloc_type&& __a) noexcept > : _Tp_alloc_type(std::move(__a)), > _M_start(0), _M_finish(0), _M_end_of_storage(0) > { } > > > void _M_swap_data(_Vector_impl& __x) noexcept > { > std::swap(_M_start, __x._M_start); > std::swap(_M_finish, __x._M_finish); > std::swap(_M_end_of_storage, __x._M_end_of_storage); > } > }; > > public: > typedef _Alloc allocator_type; > > _Tp_alloc_type& > _M_get_Tp_allocator() noexcept > { return *static_cast<_Tp_alloc_type*>(&this->_M_impl); } > > const _Tp_alloc_type& > _M_get_Tp_allocator() const noexcept > { return *static_cast<const _Tp_alloc_type*>(&this->_M_impl); } > > allocator_type > get_allocator() const noexcept > { return allocator_type(_M_get_Tp_allocator()); } > > _Vector_base() > : _M_impl() { } > > _Vector_base(const allocator_type& __a) noexcept > : _M_impl(__a) { } > > _Vector_base(size_t __n) > : _M_impl() > { _M_create_storage(__n); } > > _Vector_base(size_t __n, const allocator_type& __a) > : _M_impl(__a) > { _M_create_storage(__n); } > > > _Vector_base(_Tp_alloc_type&& __a) noexcept > : _M_impl(std::move(__a)) { } > > _Vector_base(_Vector_base&& __x) noexcept > : _M_impl(std::move(__x._M_get_Tp_allocator())) > { this->_M_impl._M_swap_data(__x._M_impl); } > > _Vector_base(_Vector_base&& __x, const allocator_type& __a) > : _M_impl(__a) > { > if (__x.get_allocator() == __a) > this->_M_impl._M_swap_data(__x._M_impl); > else > { > size_t __n = __x._M_impl._M_finish - __x._M_impl._M_start; > _M_create_storage(__n); > } > } > > > ~_Vector_base() noexcept > { _M_deallocate(this->_M_impl._M_start, this->_M_impl._M_end_of_storage > - this->_M_impl._M_start); } > > public: > _Vector_impl _M_impl; > > pointer > _M_allocate(size_t __n) > { > typedef __gnu_cxx::__alloc_traits<_Tp_alloc_type> _Tr; > return __n != 0 ? _Tr::allocate(_M_impl, __n) : 0; > } > > void > _M_deallocate(pointer __p, size_t __n) > { > typedef __gnu_cxx::__alloc_traits<_Tp_alloc_type> _Tr; > if (__p) > _Tr::deallocate(_M_impl, __p, __n); > } > > private: > void > _M_create_storage(size_t __n) > { > this->_M_impl._M_start = this->_M_allocate(__n); > this->_M_impl._M_finish = this->_M_impl._M_start; > this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n; > } > }; ># 213 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > template<typename _Tp, typename _Alloc = std::allocator<_Tp> > > class vector : protected _Vector_base<_Tp, _Alloc> > { > > typedef typename _Alloc::value_type _Alloc_value_type; > > > > typedef _Vector_base<_Tp, _Alloc> _Base; > typedef typename _Base::_Tp_alloc_type _Tp_alloc_type; > typedef __gnu_cxx::__alloc_traits<_Tp_alloc_type> _Alloc_traits; > > public: > typedef _Tp value_type; > typedef typename _Base::pointer pointer; > typedef typename _Alloc_traits::const_pointer const_pointer; > typedef typename _Alloc_traits::reference reference; > typedef typename _Alloc_traits::const_reference const_reference; > typedef __gnu_cxx::__normal_iterator<pointer, vector> iterator; > typedef __gnu_cxx::__normal_iterator<const_pointer, vector> > const_iterator; > typedef std::reverse_iterator<const_iterator> const_reverse_iterator; > typedef std::reverse_iterator<iterator> reverse_iterator; > typedef size_t size_type; > typedef ptrdiff_t difference_type; > typedef _Alloc allocator_type; > > protected: > using _Base::_M_allocate; > using _Base::_M_deallocate; > using _Base::_M_impl; > using _Base::_M_get_Tp_allocator; > > public: > > > > > > > vector() > > noexcept(is_nothrow_default_constructible<_Alloc>::value) > > : _Base() { } > > > > > > explicit > vector(const allocator_type& __a) noexcept > : _Base(__a) { } ># 276 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > explicit > vector(size_type __n, const allocator_type& __a = allocator_type()) > : _Base(__n, __a) > { _M_default_initialize(__n); } ># 289 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > vector(size_type __n, const value_type& __value, > const allocator_type& __a = allocator_type()) > : _Base(__n, __a) > { _M_fill_initialize(__n, __value); } ># 318 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > vector(const vector& __x) > : _Base(__x.size(), > _Alloc_traits::_S_select_on_copy(__x._M_get_Tp_allocator())) > { this->_M_impl._M_finish = > std::__uninitialized_copy_a(__x.begin(), __x.end(), > this->_M_impl._M_start, > _M_get_Tp_allocator()); > } ># 335 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > vector(vector&& __x) noexcept > : _Base(std::move(__x)) { } > > > vector(const vector& __x, const allocator_type& __a) > : _Base(__x.size(), __a) > { this->_M_impl._M_finish = > std::__uninitialized_copy_a(__x.begin(), __x.end(), > this->_M_impl._M_start, > _M_get_Tp_allocator()); > } > > > vector(vector&& __rv, const allocator_type& __m) > noexcept(_Alloc_traits::_S_always_equal()) > : _Base(std::move(__rv), __m) > { > if (__rv.get_allocator() != __m) > { > this->_M_impl._M_finish = > std::__uninitialized_move_a(__rv.begin(), __rv.end(), > this->_M_impl._M_start, > _M_get_Tp_allocator()); > __rv.clear(); > } > } ># 373 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > vector(initializer_list<value_type> __l, > const allocator_type& __a = allocator_type()) > : _Base(__a) > { > _M_range_initialize(__l.begin(), __l.end(), > random_access_iterator_tag()); > } ># 399 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > template<typename _InputIterator, > typename = std::_RequireInputIter<_InputIterator>> > vector(_InputIterator __first, _InputIterator __last, > const allocator_type& __a = allocator_type()) > : _Base(__a) > { _M_initialize_dispatch(__first, __last, __false_type()); } ># 423 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > ~vector() noexcept > { std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, > _M_get_Tp_allocator()); } ># 435 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > vector& > operator=(const vector& __x); ># 447 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > vector& > operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) > { > constexpr bool __move_storage = > _Alloc_traits::_S_propagate_on_move_assign() > || _Alloc_traits::_S_always_equal(); > _M_move_assign(std::move(__x), > integral_constant<bool, __move_storage>()); > return *this; > } ># 469 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > vector& > operator=(initializer_list<value_type> __l) > { > this->assign(__l.begin(), __l.end()); > return *this; > } ># 487 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > void > assign(size_type __n, const value_type& __val) > { _M_fill_assign(__n, __val); } ># 504 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > template<typename _InputIterator, > typename = std::_RequireInputIter<_InputIterator>> > void > assign(_InputIterator __first, _InputIterator __last) > { _M_assign_dispatch(__first, __last, __false_type()); } ># 532 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > void > assign(initializer_list<value_type> __l) > { this->assign(__l.begin(), __l.end()); } > > > > using _Base::get_allocator; > > > > > > > > iterator > begin() noexcept > { return iterator(this->_M_impl._M_start); } > > > > > > > const_iterator > begin() const noexcept > { return const_iterator(this->_M_impl._M_start); } > > > > > > > iterator > end() noexcept > { return iterator(this->_M_impl._M_finish); } > > > > > > > const_iterator > end() const noexcept > { return const_iterator(this->_M_impl._M_finish); } > > > > > > > reverse_iterator > rbegin() noexcept > { return reverse_iterator(end()); } > > > > > > > const_reverse_iterator > rbegin() const noexcept > { return const_reverse_iterator(end()); } > > > > > > > reverse_iterator > rend() noexcept > { return reverse_iterator(begin()); } > > > > > > > const_reverse_iterator > rend() const noexcept > { return const_reverse_iterator(begin()); } > > > > > > > > const_iterator > cbegin() const noexcept > { return const_iterator(this->_M_impl._M_start); } > > > > > > > const_iterator > cend() const noexcept > { return const_iterator(this->_M_impl._M_finish); } > > > > > > > const_reverse_iterator > crbegin() const noexcept > { return const_reverse_iterator(end()); } > > > > > > > const_reverse_iterator > crend() const noexcept > { return const_reverse_iterator(begin()); } > > > > > size_type > size() const noexcept > { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); } > > > size_type > max_size() const noexcept > { return _Alloc_traits::max_size(_M_get_Tp_allocator()); } ># 672 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > void > resize(size_type __new_size) > { > if (__new_size > size()) > _M_default_append(__new_size - size()); > else if (__new_size < size()) > _M_erase_at_end(this->_M_impl._M_start + __new_size); > } ># 692 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > void > resize(size_type __new_size, const value_type& __x) > { > if (__new_size > size()) > insert(end(), __new_size - size(), __x); > else if (__new_size < size()) > _M_erase_at_end(this->_M_impl._M_start + __new_size); > } ># 724 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > void > shrink_to_fit() > { _M_shrink_to_fit(); } > > > > > > > size_type > capacity() const noexcept > { return size_type(this->_M_impl._M_end_of_storage > - this->_M_impl._M_start); } > > > > > > bool > empty() const noexcept > { return begin() == end(); } ># 763 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > void > reserve(size_type __n); ># 778 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > reference > operator[](size_type __n) noexcept > { return *(this->_M_impl._M_start + __n); } ># 793 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > const_reference > operator[](size_type __n) const noexcept > { return *(this->_M_impl._M_start + __n); } > > protected: > > void > _M_range_check(size_type __n) const > { > if (__n >= this->size()) > __throw_out_of_range_fmt(("vector::_M_range_check: __n " "(which is %zu) >= this->size() " "(which is %zu)") > > , > __n, this->size()); > } > > public: ># 821 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > reference > at(size_type __n) > { > _M_range_check(__n); > return (*this)[__n]; > } ># 839 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > const_reference > at(size_type __n) const > { > _M_range_check(__n); > return (*this)[__n]; > } > > > > > > reference > front() noexcept > { return *begin(); } > > > > > > const_reference > front() const noexcept > { return *begin(); } > > > > > > reference > back() noexcept > { return *(end() - 1); } > > > > > > const_reference > back() const noexcept > { return *(end() - 1); } ># 886 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > _Tp* > > > > data() noexcept > { return _M_data_ptr(this->_M_impl._M_start); } > > > const _Tp* > > > > data() const noexcept > { return _M_data_ptr(this->_M_impl._M_start); } ># 912 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > void > push_back(const value_type& __x) > { > if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage) > { > _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, > __x); > ++this->_M_impl._M_finish; > } > else > > _M_emplace_back_aux(__x); > > > > } > > > void > push_back(value_type&& __x) > { emplace_back(std::move(__x)); } > > template<typename... _Args> > void > emplace_back(_Args&&... __args); ># 948 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > void > pop_back() noexcept > { > --this->_M_impl._M_finish; > _Alloc_traits::destroy(this->_M_impl, this->_M_impl._M_finish); > } ># 968 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > template<typename... _Args> > iterator > emplace(const_iterator __position, _Args&&... __args); ># 983 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > iterator > insert(const_iterator __position, const value_type& __x); ># 1013 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > iterator > insert(const_iterator __position, value_type&& __x) > { return emplace(__position, std::move(__x)); } ># 1030 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > iterator > insert(const_iterator __position, initializer_list<value_type> __l) > { return this->insert(__position, __l.begin(), __l.end()); } ># 1050 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > iterator > insert(const_iterator __position, size_type __n, const value_type& __x) > { > difference_type __offset = __position - cbegin(); > _M_fill_insert(begin() + __offset, __n, __x); > return begin() + __offset; > } ># 1092 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > template<typename _InputIterator, > typename = std::_RequireInputIter<_InputIterator>> > iterator > insert(const_iterator __position, _InputIterator __first, > _InputIterator __last) > { > difference_type __offset = __position - cbegin(); > _M_insert_dispatch(begin() + __offset, > __first, __last, __false_type()); > return begin() + __offset; > } ># 1144 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > iterator > > erase(const_iterator __position) > { return _M_erase(begin() + (__position - cbegin())); } ># 1171 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > iterator > > erase(const_iterator __first, const_iterator __last) > { > const auto __beg = begin(); > const auto __cbeg = cbegin(); > return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); > } ># 1193 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > void > swap(vector& __x) > > noexcept(_Alloc_traits::_S_nothrow_swap()) > > { > this->_M_impl._M_swap_data(__x._M_impl); > _Alloc_traits::_S_on_swap(_M_get_Tp_allocator(), > __x._M_get_Tp_allocator()); > } > > > > > > > > void > clear() noexcept > { _M_erase_at_end(this->_M_impl._M_start); } > > protected: > > > > > template<typename _ForwardIterator> > pointer > _M_allocate_and_copy(size_type __n, > _ForwardIterator __first, _ForwardIterator __last) > { > pointer __result = this->_M_allocate(__n); > if (true) > { > std::__uninitialized_copy_a(__first, __last, __result, > _M_get_Tp_allocator()); > return __result; > } > if (false) > { > _M_deallocate(__result, __n); > ; > } > } ># 1245 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > template<typename _Integer> > void > _M_initialize_dispatch(_Integer __n, _Integer __value, __true_type) > { > this->_M_impl._M_start = _M_allocate(static_cast<size_type>(__n)); > this->_M_impl._M_end_of_storage = > this->_M_impl._M_start + static_cast<size_type>(__n); > _M_fill_initialize(static_cast<size_type>(__n), __value); > } > > > template<typename _InputIterator> > void > _M_initialize_dispatch(_InputIterator __first, _InputIterator __last, > __false_type) > { > typedef typename std::iterator_traits<_InputIterator>:: > iterator_category _IterCategory; > _M_range_initialize(__first, __last, _IterCategory()); > } > > > template<typename _InputIterator> > void > _M_range_initialize(_InputIterator __first, > _InputIterator __last, std::input_iterator_tag) > { > for (; __first != __last; ++__first) > > emplace_back(*__first); > > > > } > > > template<typename _ForwardIterator> > void > _M_range_initialize(_ForwardIterator __first, > _ForwardIterator __last, std::forward_iterator_tag) > { > const size_type __n = std::distance(__first, __last); > this->_M_impl._M_start = this->_M_allocate(__n); > this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n; > this->_M_impl._M_finish = > std::__uninitialized_copy_a(__first, __last, > this->_M_impl._M_start, > _M_get_Tp_allocator()); > } > > > > void > _M_fill_initialize(size_type __n, const value_type& __value) > { > std::__uninitialized_fill_n_a(this->_M_impl._M_start, __n, __value, > _M_get_Tp_allocator()); > this->_M_impl._M_finish = this->_M_impl._M_end_of_storage; > } > > > > void > _M_default_initialize(size_type __n) > { > std::__uninitialized_default_n_a(this->_M_impl._M_start, __n, > _M_get_Tp_allocator()); > this->_M_impl._M_finish = this->_M_impl._M_end_of_storage; > } ># 1323 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > template<typename _Integer> > void > _M_assign_dispatch(_Integer __n, _Integer __val, __true_type) > { _M_fill_assign(__n, __val); } > > > template<typename _InputIterator> > void > _M_assign_dispatch(_InputIterator __first, _InputIterator __last, > __false_type) > { > typedef typename std::iterator_traits<_InputIterator>:: > iterator_category _IterCategory; > _M_assign_aux(__first, __last, _IterCategory()); > } > > > template<typename _InputIterator> > void > _M_assign_aux(_InputIterator __first, _InputIterator __last, > std::input_iterator_tag); > > > template<typename _ForwardIterator> > void > _M_assign_aux(_ForwardIterator __first, _ForwardIterator __last, > std::forward_iterator_tag); > > > > void > _M_fill_assign(size_type __n, const value_type& __val); ># 1363 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > template<typename _Integer> > void > _M_insert_dispatch(iterator __pos, _Integer __n, _Integer __val, > __true_type) > { _M_fill_insert(__pos, __n, __val); } > > > template<typename _InputIterator> > void > _M_insert_dispatch(iterator __pos, _InputIterator __first, > _InputIterator __last, __false_type) > { > typedef typename std::iterator_traits<_InputIterator>:: > iterator_category _IterCategory; > _M_range_insert(__pos, __first, __last, _IterCategory()); > } > > > template<typename _InputIterator> > void > _M_range_insert(iterator __pos, _InputIterator __first, > _InputIterator __last, std::input_iterator_tag); > > > template<typename _ForwardIterator> > void > _M_range_insert(iterator __pos, _ForwardIterator __first, > _ForwardIterator __last, std::forward_iterator_tag); > > > > void > _M_fill_insert(iterator __pos, size_type __n, const value_type& __x); > > > > void > _M_default_append(size_type __n); > > bool > _M_shrink_to_fit(); > > > > > > > > template<typename... _Args> > void > _M_insert_aux(iterator __position, _Args&&... __args); > > template<typename... _Args> > void > _M_emplace_back_aux(_Args&&... __args); > > > > size_type > _M_check_len(size_type __n, const char* __s) const > { > if (max_size() - size() < __n) > __throw_length_error((__s)); > > const size_type __len = size() + std::max(size(), __n); > return (__len < size() || __len > max_size()) ? max_size() : __len; > } > > > > > > void > _M_erase_at_end(pointer __pos) noexcept > { > std::_Destroy(__pos, this->_M_impl._M_finish, _M_get_Tp_allocator()); > this->_M_impl._M_finish = __pos; > } > > iterator > _M_erase(iterator __position); > > iterator > _M_erase(iterator __first, iterator __last); > > > private: > > > > void > _M_move_assign(vector&& __x, std::true_type) noexcept > { > vector __tmp(get_allocator()); > this->_M_impl._M_swap_data(__tmp._M_impl); > this->_M_impl._M_swap_data(__x._M_impl); > std::__alloc_on_move(_M_get_Tp_allocator(), __x._M_get_Tp_allocator()); > } > > > > void > _M_move_assign(vector&& __x, std::false_type) > { > if (__x._M_get_Tp_allocator() == this->_M_get_Tp_allocator()) > _M_move_assign(std::move(__x), std::true_type()); > else > { > > > this->assign(std::__make_move_if_noexcept_iterator(__x.begin()), > std::__make_move_if_noexcept_iterator(__x.end())); > __x.clear(); > } > } > > > > template<typename _Up> > _Up* > _M_data_ptr(_Up* __ptr) const > { return __ptr; } > > template<typename _Ptr> > typename std::pointer_traits<_Ptr>::element_type* > _M_data_ptr(_Ptr __ptr) const > { return empty() ? nullptr : std::__addressof(*__ptr); } > > > > > > > }; ># 1509 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > template<typename _Tp, typename _Alloc> > inline bool > operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) > { return (__x.size() == __y.size() > && std::equal(__x.begin(), __x.end(), __y.begin())); } ># 1526 "/usr/include/c++/4.9.1/bits/stl_vector.h" 3 > template<typename _Tp, typename _Alloc> > inline bool > operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) > { return std::lexicographical_compare(__x.begin(), __x.end(), > __y.begin(), __y.end()); } > > > template<typename _Tp, typename _Alloc> > inline bool > operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) > { return !(__x == __y); } > > > template<typename _Tp, typename _Alloc> > inline bool > operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) > { return __y < __x; } > > > template<typename _Tp, typename _Alloc> > inline bool > operator<=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) > { return !(__y < __x); } > > > template<typename _Tp, typename _Alloc> > inline bool > operator>=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) > { return !(__x < __y); } > > > template<typename _Tp, typename _Alloc> > inline void > swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) > { __x.swap(__y); } > > >} ># 65 "/usr/include/c++/4.9.1/vector" 2 3 ># 1 "/usr/include/c++/4.9.1/bits/stl_bvector.h" 1 3 ># 63 "/usr/include/c++/4.9.1/bits/stl_bvector.h" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > typedef unsigned long _Bit_type; > enum { _S_word_bit = int(8 * sizeof(_Bit_type)) }; > > struct _Bit_reference > { > _Bit_type * _M_p; > _Bit_type _M_mask; > > _Bit_reference(_Bit_type * __x, _Bit_type __y) > : _M_p(__x), _M_mask(__y) { } > > _Bit_reference() noexcept : _M_p(0), _M_mask(0) { } > > operator bool() const noexcept > { return !!(*_M_p & _M_mask); } > > _Bit_reference& > operator=(bool __x) noexcept > { > if (__x) > *_M_p |= _M_mask; > else > *_M_p &= ~_M_mask; > return *this; > } > > _Bit_reference& > operator=(const _Bit_reference& __x) noexcept > { return *this = bool(__x); } > > bool > operator==(const _Bit_reference& __x) const > { return bool(*this) == bool(__x); } > > bool > operator<(const _Bit_reference& __x) const > { return !bool(*this) && bool(__x); } > > void > flip() noexcept > { *_M_p ^= _M_mask; } > }; > > > inline void > swap(_Bit_reference __x, _Bit_reference __y) noexcept > { > bool __tmp = __x; > __x = __y; > __y = __tmp; > } > > inline void > swap(_Bit_reference __x, bool& __y) noexcept > { > bool __tmp = __x; > __x = __y; > __y = __tmp; > } > > inline void > swap(bool& __x, _Bit_reference __y) noexcept > { > bool __tmp = __x; > __x = __y; > __y = __tmp; > } > > > struct _Bit_iterator_base > : public std::iterator<std::random_access_iterator_tag, bool> > { > _Bit_type * _M_p; > unsigned int _M_offset; > > _Bit_iterator_base(_Bit_type * __x, unsigned int __y) > : _M_p(__x), _M_offset(__y) { } > > void > _M_bump_up() > { > if (_M_offset++ == int(_S_word_bit) - 1) > { > _M_offset = 0; > ++_M_p; > } > } > > void > _M_bump_down() > { > if (_M_offset-- == 0) > { > _M_offset = int(_S_word_bit) - 1; > --_M_p; > } > } > > void > _M_incr(ptrdiff_t __i) > { > difference_type __n = __i + _M_offset; > _M_p += __n / int(_S_word_bit); > __n = __n % int(_S_word_bit); > if (__n < 0) > { > __n += int(_S_word_bit); > --_M_p; > } > _M_offset = static_cast<unsigned int>(__n); > } > > bool > operator==(const _Bit_iterator_base& __i) const > { return _M_p == __i._M_p && _M_offset == __i._M_offset; } > > bool > operator<(const _Bit_iterator_base& __i) const > { > return _M_p < __i._M_p > || (_M_p == __i._M_p && _M_offset < __i._M_offset); > } > > bool > operator!=(const _Bit_iterator_base& __i) const > { return !(*this == __i); } > > bool > operator>(const _Bit_iterator_base& __i) const > { return __i < *this; } > > bool > operator<=(const _Bit_iterator_base& __i) const > { return !(__i < *this); } > > bool > operator>=(const _Bit_iterator_base& __i) const > { return !(*this < __i); } > }; > > inline ptrdiff_t > operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y) > { > return (int(_S_word_bit) * (__x._M_p - __y._M_p) > + __x._M_offset - __y._M_offset); > } > > struct _Bit_iterator : public _Bit_iterator_base > { > typedef _Bit_reference reference; > typedef _Bit_reference* pointer; > typedef _Bit_iterator iterator; > > _Bit_iterator() : _Bit_iterator_base(0, 0) { } > > _Bit_iterator(_Bit_type * __x, unsigned int __y) > : _Bit_iterator_base(__x, __y) { } > > iterator > _M_const_cast() const > { return *this; } > > reference > operator*() const > { return reference(_M_p, 1UL << _M_offset); } > > iterator& > operator++() > { > _M_bump_up(); > return *this; > } > > iterator > operator++(int) > { > iterator __tmp = *this; > _M_bump_up(); > return __tmp; > } > > iterator& > operator--() > { > _M_bump_down(); > return *this; > } > > iterator > operator--(int) > { > iterator __tmp = *this; > _M_bump_down(); > return __tmp; > } > > iterator& > operator+=(difference_type __i) > { > _M_incr(__i); > return *this; > } > > iterator& > operator-=(difference_type __i) > { > *this += -__i; > return *this; > } > > iterator > operator+(difference_type __i) const > { > iterator __tmp = *this; > return __tmp += __i; > } > > iterator > operator-(difference_type __i) const > { > iterator __tmp = *this; > return __tmp -= __i; > } > > reference > operator[](difference_type __i) const > { return *(*this + __i); } > }; > > inline _Bit_iterator > operator+(ptrdiff_t __n, const _Bit_iterator& __x) > { return __x + __n; } > > struct _Bit_const_iterator : public _Bit_iterator_base > { > typedef bool reference; > typedef bool const_reference; > typedef const bool* pointer; > typedef _Bit_const_iterator const_iterator; > > _Bit_const_iterator() : _Bit_iterator_base(0, 0) { } > > _Bit_const_iterator(_Bit_type * __x, unsigned int __y) > : _Bit_iterator_base(__x, __y) { } > > _Bit_const_iterator(const _Bit_iterator& __x) > : _Bit_iterator_base(__x._M_p, __x._M_offset) { } > > _Bit_iterator > _M_const_cast() const > { return _Bit_iterator(_M_p, _M_offset); } > > const_reference > operator*() const > { return _Bit_reference(_M_p, 1UL << _M_offset); } > > const_iterator& > operator++() > { > _M_bump_up(); > return *this; > } > > const_iterator > operator++(int) > { > const_iterator __tmp = *this; > _M_bump_up(); > return __tmp; > } > > const_iterator& > operator--() > { > _M_bump_down(); > return *this; > } > > const_iterator > operator--(int) > { > const_iterator __tmp = *this; > _M_bump_down(); > return __tmp; > } > > const_iterator& > operator+=(difference_type __i) > { > _M_incr(__i); > return *this; > } > > const_iterator& > operator-=(difference_type __i) > { > *this += -__i; > return *this; > } > > const_iterator > operator+(difference_type __i) const > { > const_iterator __tmp = *this; > return __tmp += __i; > } > > const_iterator > operator-(difference_type __i) const > { > const_iterator __tmp = *this; > return __tmp -= __i; > } > > const_reference > operator[](difference_type __i) const > { return *(*this + __i); } > }; > > inline _Bit_const_iterator > operator+(ptrdiff_t __n, const _Bit_const_iterator& __x) > { return __x + __n; } > > inline void > __fill_bvector(_Bit_iterator __first, _Bit_iterator __last, bool __x) > { > for (; __first != __last; ++__first) > *__first = __x; > } > > inline void > fill(_Bit_iterator __first, _Bit_iterator __last, const bool& __x) > { > if (__first._M_p != __last._M_p) > { > std::fill(__first._M_p + 1, __last._M_p, __x ? ~0 : 0); > __fill_bvector(__first, _Bit_iterator(__first._M_p + 1, 0), __x); > __fill_bvector(_Bit_iterator(__last._M_p, 0), __last, __x); > } > else > __fill_bvector(__first, __last, __x); > } > > template<typename _Alloc> > struct _Bvector_base > { > typedef typename _Alloc::template rebind<_Bit_type>::other > _Bit_alloc_type; > > struct _Bvector_impl > : public _Bit_alloc_type > { > _Bit_iterator _M_start; > _Bit_iterator _M_finish; > _Bit_type* _M_end_of_storage; > > _Bvector_impl() > : _Bit_alloc_type(), _M_start(), _M_finish(), _M_end_of_storage(0) > { } > > _Bvector_impl(const _Bit_alloc_type& __a) > : _Bit_alloc_type(__a), _M_start(), _M_finish(), _M_end_of_storage(0) > { } > > > _Bvector_impl(_Bit_alloc_type&& __a) > : _Bit_alloc_type(std::move(__a)), _M_start(), _M_finish(), > _M_end_of_storage(0) > { } > > }; > > public: > typedef _Alloc allocator_type; > > _Bit_alloc_type& > _M_get_Bit_allocator() noexcept > { return *static_cast<_Bit_alloc_type*>(&this->_M_impl); } > > const _Bit_alloc_type& > _M_get_Bit_allocator() const noexcept > { return *static_cast<const _Bit_alloc_type*>(&this->_M_impl); } > > allocator_type > get_allocator() const noexcept > { return allocator_type(_M_get_Bit_allocator()); } > > _Bvector_base() > : _M_impl() { } > > _Bvector_base(const allocator_type& __a) > : _M_impl(__a) { } > > > _Bvector_base(_Bvector_base&& __x) noexcept > : _M_impl(std::move(__x._M_get_Bit_allocator())) > { > this->_M_impl._M_start = __x._M_impl._M_start; > this->_M_impl._M_finish = __x._M_impl._M_finish; > this->_M_impl._M_end_of_storage = __x._M_impl._M_end_of_storage; > __x._M_impl._M_start = _Bit_iterator(); > __x._M_impl._M_finish = _Bit_iterator(); > __x._M_impl._M_end_of_storage = 0; > } > > > ~_Bvector_base() > { this->_M_deallocate(); } > > protected: > _Bvector_impl _M_impl; > > _Bit_type* > _M_allocate(size_t __n) > { return _M_impl.allocate(_S_nword(__n)); } > > void > _M_deallocate() > { > if (_M_impl._M_start._M_p) > _M_impl.deallocate(_M_impl._M_start._M_p, > _M_impl._M_end_of_storage - _M_impl._M_start._M_p); > } > > static size_t > _S_nword(size_t __n) > { return (__n + int(_S_word_bit) - 1) / int(_S_word_bit); } > }; > > >} > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ ># 525 "/usr/include/c++/4.9.1/bits/stl_bvector.h" 3 >template<typename _Alloc> > class vector<bool, _Alloc> : protected _Bvector_base<_Alloc> > { > typedef _Bvector_base<_Alloc> _Base; > > > template<typename> friend struct hash; > > > public: > typedef bool value_type; > typedef size_t size_type; > typedef ptrdiff_t difference_type; > typedef _Bit_reference reference; > typedef bool const_reference; > typedef _Bit_reference* pointer; > typedef const bool* const_pointer; > typedef _Bit_iterator iterator; > typedef _Bit_const_iterator const_iterator; > typedef std::reverse_iterator<const_iterator> const_reverse_iterator; > typedef std::reverse_iterator<iterator> reverse_iterator; > typedef _Alloc allocator_type; > > allocator_type get_allocator() const > { return _Base::get_allocator(); } > > protected: > using _Base::_M_allocate; > using _Base::_M_deallocate; > using _Base::_S_nword; > using _Base::_M_get_Bit_allocator; > > public: > vector() > : _Base() { } > > explicit > vector(const allocator_type& __a) > : _Base(__a) { } > > > explicit > vector(size_type __n, const allocator_type& __a = allocator_type()) > : vector(__n, false, __a) > { } > > vector(size_type __n, const bool& __value, > const allocator_type& __a = allocator_type()) > : _Base(__a) > { > _M_initialize(__n); > std::fill(this->_M_impl._M_start._M_p, this->_M_impl._M_end_of_storage, > __value ? ~0 : 0); > } ># 591 "/usr/include/c++/4.9.1/bits/stl_bvector.h" 3 > vector(const vector& __x) > : _Base(__x._M_get_Bit_allocator()) > { > _M_initialize(__x.size()); > _M_copy_aligned(__x.begin(), __x.end(), this->_M_impl._M_start); > } > > > vector(vector&& __x) noexcept > : _Base(std::move(__x)) { } > > vector(initializer_list<bool> __l, > const allocator_type& __a = allocator_type()) > : _Base(__a) > { > _M_initialize_range(__l.begin(), __l.end(), > random_access_iterator_tag()); > } > > > > template<typename _InputIterator, > typename = std::_RequireInputIter<_InputIterator>> > vector(_InputIterator __first, _InputIterator __last, > const allocator_type& __a = allocator_type()) > : _Base(__a) > { _M_initialize_dispatch(__first, __last, __false_type()); } ># 629 "/usr/include/c++/4.9.1/bits/stl_bvector.h" 3 > ~vector() noexcept { } > > vector& > operator=(const vector& __x) > { > if (&__x == this) > return *this; > if (__x.size() > capacity()) > { > this->_M_deallocate(); > _M_initialize(__x.size()); > } > this->_M_impl._M_finish = _M_copy_aligned(__x.begin(), __x.end(), > begin()); > return *this; > } > > > vector& > operator=(vector&& __x) > { > > > this->clear(); > this->swap(__x); > return *this; > } > > vector& > operator=(initializer_list<bool> __l) > { > this->assign (__l.begin(), __l.end()); > return *this; > } > > > > > > > void > assign(size_type __n, const bool& __x) > { _M_fill_assign(__n, __x); } > > > template<typename _InputIterator, > typename = std::_RequireInputIter<_InputIterator>> > void > assign(_InputIterator __first, _InputIterator __last) > { _M_assign_dispatch(__first, __last, __false_type()); } ># 690 "/usr/include/c++/4.9.1/bits/stl_bvector.h" 3 > void > assign(initializer_list<bool> __l) > { this->assign(__l.begin(), __l.end()); } > > > iterator > begin() noexcept > { return this->_M_impl._M_start; } > > const_iterator > begin() const noexcept > { return this->_M_impl._M_start; } > > iterator > end() noexcept > { return this->_M_impl._M_finish; } > > const_iterator > end() const noexcept > { return this->_M_impl._M_finish; } > > reverse_iterator > rbegin() noexcept > { return reverse_iterator(end()); } > > const_reverse_iterator > rbegin() const noexcept > { return const_reverse_iterator(end()); } > > reverse_iterator > rend() noexcept > { return reverse_iterator(begin()); } > > const_reverse_iterator > rend() const noexcept > { return const_reverse_iterator(begin()); } > > > const_iterator > cbegin() const noexcept > { return this->_M_impl._M_start; } > > const_iterator > cend() const noexcept > { return this->_M_impl._M_finish; } > > const_reverse_iterator > crbegin() const noexcept > { return const_reverse_iterator(end()); } > > const_reverse_iterator > crend() const noexcept > { return const_reverse_iterator(begin()); } > > > size_type > size() const noexcept > { return size_type(end() - begin()); } > > size_type > max_size() const noexcept > { > const size_type __isize = > __gnu_cxx::__numeric_traits<difference_type>::__max > - int(_S_word_bit) + 1; > const size_type __asize = _M_get_Bit_allocator().max_size(); > return (__asize <= __isize / int(_S_word_bit) > ? __asize * int(_S_word_bit) : __isize); > } > > size_type > capacity() const noexcept > { return size_type(const_iterator(this->_M_impl._M_end_of_storage, 0) > - begin()); } > > bool > empty() const noexcept > { return begin() == end(); } > > reference > operator[](size_type __n) > { > return *iterator(this->_M_impl._M_start._M_p > + __n / int(_S_word_bit), __n % int(_S_word_bit)); > } > > const_reference > operator[](size_type __n) const > { > return *const_iterator(this->_M_impl._M_start._M_p > + __n / int(_S_word_bit), __n % int(_S_word_bit)); > } > > protected: > void > _M_range_check(size_type __n) const > { > if (__n >= this->size()) > __throw_out_of_range_fmt(("vector<bool>::_M_range_check: __n " "(which is %zu) >= this->size() " "(which is %zu)") > > , > __n, this->size()); > } > > public: > reference > at(size_type __n) > { _M_range_check(__n); return (*this)[__n]; } > > const_reference > at(size_type __n) const > { _M_range_check(__n); return (*this)[__n]; } > > void > reserve(size_type __n) > { > if (__n > max_size()) > __throw_length_error(("vector::reserve")); > if (capacity() < __n) > _M_reallocate(__n); > } > > reference > front() > { return *begin(); } > > const_reference > front() const > { return *begin(); } > > reference > back() > { return *(end() - 1); } > > const_reference > back() const > { return *(end() - 1); } > > > > > > > void > data() noexcept { } > > void > push_back(bool __x) > { > if (this->_M_impl._M_finish._M_p != this->_M_impl._M_end_of_storage) > *this->_M_impl._M_finish++ = __x; > else > _M_insert_aux(end(), __x); > } > > void > swap(vector& __x) > { > std::swap(this->_M_impl._M_start, __x._M_impl._M_start); > std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish); > std::swap(this->_M_impl._M_end_of_storage, > __x._M_impl._M_end_of_storage); > > > > std::__alloc_swap<typename _Base::_Bit_alloc_type>:: > _S_do_it(_M_get_Bit_allocator(), __x._M_get_Bit_allocator()); > } > > > static void > swap(reference __x, reference __y) noexcept > { > bool __tmp = __x; > __x = __y; > __y = __tmp; > } > > iterator > > insert(const_iterator __position, const bool& __x = bool()) > > > > { > const difference_type __n = __position - begin(); > if (this->_M_impl._M_finish._M_p != this->_M_impl._M_end_of_storage > && __position == end()) > *this->_M_impl._M_finish++ = __x; > else > _M_insert_aux(__position._M_const_cast(), __x); > return begin() + __n; > } > > > template<typename _InputIterator, > typename = std::_RequireInputIter<_InputIterator>> > iterator > insert(const_iterator __position, > _InputIterator __first, _InputIterator __last) > { > difference_type __offset = __position - cbegin(); > _M_insert_dispatch(__position._M_const_cast(), > __first, __last, __false_type()); > return begin() + __offset; > } ># 908 "/usr/include/c++/4.9.1/bits/stl_bvector.h" 3 > iterator > insert(const_iterator __position, size_type __n, const bool& __x) > { > difference_type __offset = __position - cbegin(); > _M_fill_insert(__position._M_const_cast(), __n, __x); > return begin() + __offset; > } > > > > > > > > iterator > insert(const_iterator __p, initializer_list<bool> __l) > { return this->insert(__p, __l.begin(), __l.end()); } > > > void > pop_back() > { --this->_M_impl._M_finish; } > > iterator > > erase(const_iterator __position) > > > > { return _M_erase(__position._M_const_cast()); } > > iterator > > erase(const_iterator __first, const_iterator __last) > > > > { return _M_erase(__first._M_const_cast(), __last._M_const_cast()); } > > void > resize(size_type __new_size, bool __x = bool()) > { > if (__new_size < size()) > _M_erase_at_end(begin() + difference_type(__new_size)); > else > insert(end(), __new_size - size(), __x); > } > > > void > shrink_to_fit() > { _M_shrink_to_fit(); } > > > void > flip() noexcept > { > for (_Bit_type * __p = this->_M_impl._M_start._M_p; > __p != this->_M_impl._M_end_of_storage; ++__p) > *__p = ~*__p; > } > > void > clear() noexcept > { _M_erase_at_end(begin()); } > > > template<typename... _Args> > void > emplace_back(_Args&&... __args) > { push_back(bool(__args...)); } > > template<typename... _Args> > iterator > emplace(const_iterator __pos, _Args&&... __args) > { return insert(__pos, bool(__args...)); } > > > protected: > > iterator > _M_copy_aligned(const_iterator __first, const_iterator __last, > iterator __result) > { > _Bit_type* __q = std::copy(__first._M_p, __last._M_p, __result._M_p); > return std::copy(const_iterator(__last._M_p, 0), __last, > iterator(__q, 0)); > } > > void > _M_initialize(size_type __n) > { > _Bit_type* __q = this->_M_allocate(__n); > this->_M_impl._M_end_of_storage = __q + _S_nword(__n); > this->_M_impl._M_start = iterator(__q, 0); > this->_M_impl._M_finish = this->_M_impl._M_start + difference_type(__n); > } > > void > _M_reallocate(size_type __n); > > > bool > _M_shrink_to_fit(); > > > > > > > template<typename _Integer> > void > _M_initialize_dispatch(_Integer __n, _Integer __x, __true_type) > { > _M_initialize(static_cast<size_type>(__n)); > std::fill(this->_M_impl._M_start._M_p, > this->_M_impl._M_end_of_storage, __x ? ~0 : 0); > } > > template<typename _InputIterator> > void > _M_initialize_dispatch(_InputIterator __first, _InputIterator __last, > __false_type) > { _M_initialize_range(__first, __last, > std::__iterator_category(__first)); } > > template<typename _InputIterator> > void > _M_initialize_range(_InputIterator __first, _InputIterator __last, > std::input_iterator_tag) > { > for (; __first != __last; ++__first) > push_back(*__first); > } > > template<typename _ForwardIterator> > void > _M_initialize_range(_ForwardIterator __first, _ForwardIterator __last, > std::forward_iterator_tag) > { > const size_type __n = std::distance(__first, __last); > _M_initialize(__n); > std::copy(__first, __last, this->_M_impl._M_start); > } > > > > template<typename _Integer> > void > _M_assign_dispatch(_Integer __n, _Integer __val, __true_type) > { _M_fill_assign(__n, __val); } > > template<class _InputIterator> > void > _M_assign_dispatch(_InputIterator __first, _InputIterator __last, > __false_type) > { _M_assign_aux(__first, __last, std::__iterator_category(__first)); } > > void > _M_fill_assign(size_t __n, bool __x) > { > if (__n > size()) > { > std::fill(this->_M_impl._M_start._M_p, > this->_M_impl._M_end_of_storage, __x ? ~0 : 0); > insert(end(), __n - size(), __x); > } > else > { > _M_erase_at_end(begin() + __n); > std::fill(this->_M_impl._M_start._M_p, > this->_M_impl._M_end_of_storage, __x ? ~0 : 0); > } > } > > template<typename _InputIterator> > void > _M_assign_aux(_InputIterator __first, _InputIterator __last, > std::input_iterator_tag) > { > iterator __cur = begin(); > for (; __first != __last && __cur != end(); ++__cur, ++__first) > *__cur = *__first; > if (__first == __last) > _M_erase_at_end(__cur); > else > insert(end(), __first, __last); > } > > template<typename _ForwardIterator> > void > _M_assign_aux(_ForwardIterator __first, _ForwardIterator __last, > std::forward_iterator_tag) > { > const size_type __len = std::distance(__first, __last); > if (__len < size()) > _M_erase_at_end(std::copy(__first, __last, begin())); > else > { > _ForwardIterator __mid = __first; > std::advance(__mid, size()); > std::copy(__first, __mid, begin()); > insert(end(), __mid, __last); > } > } > > > > > > template<typename _Integer> > void > _M_insert_dispatch(iterator __pos, _Integer __n, _Integer __x, > __true_type) > { _M_fill_insert(__pos, __n, __x); } > > template<typename _InputIterator> > void > _M_insert_dispatch(iterator __pos, > _InputIterator __first, _InputIterator __last, > __false_type) > { _M_insert_range(__pos, __first, __last, > std::__iterator_category(__first)); } > > void > _M_fill_insert(iterator __position, size_type __n, bool __x); > > template<typename _InputIterator> > void > _M_insert_range(iterator __pos, _InputIterator __first, > _InputIterator __last, std::input_iterator_tag) > { > for (; __first != __last; ++__first) > { > __pos = insert(__pos, *__first); > ++__pos; > } > } > > template<typename _ForwardIterator> > void > _M_insert_range(iterator __position, _ForwardIterator __first, > _ForwardIterator __last, std::forward_iterator_tag); > > void > _M_insert_aux(iterator __position, bool __x); > > size_type > _M_check_len(size_type __n, const char* __s) const > { > if (max_size() - size() < __n) > __throw_length_error((__s)); > > const size_type __len = size() + std::max(size(), __n); > return (__len < size() || __len > max_size()) ? max_size() : __len; > } > > void > _M_erase_at_end(iterator __pos) > { this->_M_impl._M_finish = __pos; } > > iterator > _M_erase(iterator __pos); > > iterator > _M_erase(iterator __first, iterator __last); > }; > > >} > > > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > > > template<typename _Alloc> > struct hash<std::vector<bool, _Alloc>> > : public __hash_base<size_t, std::vector<bool, _Alloc>> > { > size_t > operator()(const std::vector<bool, _Alloc>&) const noexcept; > }; > > >} ># 66 "/usr/include/c++/4.9.1/vector" 2 3 > > > ># 1 "/usr/include/c++/4.9.1/bits/vector.tcc" 1 3 ># 59 "/usr/include/c++/4.9.1/bits/vector.tcc" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _Tp, typename _Alloc> > void > vector<_Tp, _Alloc>:: > reserve(size_type __n) > { > if (__n > this->max_size()) > __throw_length_error(("vector::reserve")); > if (this->capacity() < __n) > { > const size_type __old_size = size(); > pointer __tmp = _M_allocate_and_copy(__n, > std::__make_move_if_noexcept_iterator(this->_M_impl._M_start), > std::__make_move_if_noexcept_iterator(this->_M_impl._M_finish)); > std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, > _M_get_Tp_allocator()); > _M_deallocate(this->_M_impl._M_start, > this->_M_impl._M_end_of_storage > - this->_M_impl._M_start); > this->_M_impl._M_start = __tmp; > this->_M_impl._M_finish = __tmp + __old_size; > this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n; > } > } > > > template<typename _Tp, typename _Alloc> > template<typename... _Args> > void > vector<_Tp, _Alloc>:: > emplace_back(_Args&&... __args) > { > if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage) > { > _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, > std::forward<_Args>(__args)...); > ++this->_M_impl._M_finish; > } > else > _M_emplace_back_aux(std::forward<_Args>(__args)...); > } > > > template<typename _Tp, typename _Alloc> > typename vector<_Tp, _Alloc>::iterator > vector<_Tp, _Alloc>:: > > insert(const_iterator __position, const value_type& __x) > > > > { > const size_type __n = __position - begin(); > if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage > && __position == end()) > { > _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, __x); > ++this->_M_impl._M_finish; > } > else > { > > const auto __pos = begin() + (__position - cbegin()); > if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage) > { > _Tp __x_copy = __x; > _M_insert_aux(__pos, std::move(__x_copy)); > } > else > _M_insert_aux(__pos, __x); > > > > } > return iterator(this->_M_impl._M_start + __n); > } > > template<typename _Tp, typename _Alloc> > typename vector<_Tp, _Alloc>::iterator > vector<_Tp, _Alloc>:: > _M_erase(iterator __position) > { > if (__position + 1 != end()) > std::move(__position + 1, end(), __position); > --this->_M_impl._M_finish; > _Alloc_traits::destroy(this->_M_impl, this->_M_impl._M_finish); > return __position; > } > > template<typename _Tp, typename _Alloc> > typename vector<_Tp, _Alloc>::iterator > vector<_Tp, _Alloc>:: > _M_erase(iterator __first, iterator __last) > { > if (__first != __last) > { > if (__last != end()) > std::move(__last, end(), __first); > _M_erase_at_end(__first.base() + (end() - __last)); > } > return __first; > } > > template<typename _Tp, typename _Alloc> > vector<_Tp, _Alloc>& > vector<_Tp, _Alloc>:: > operator=(const vector<_Tp, _Alloc>& __x) > { > if (&__x != this) > { > > if (_Alloc_traits::_S_propagate_on_copy_assign()) > { > if (!_Alloc_traits::_S_always_equal() > && _M_get_Tp_allocator() != __x._M_get_Tp_allocator()) > { > > this->clear(); > _M_deallocate(this->_M_impl._M_start, > this->_M_impl._M_end_of_storage > - this->_M_impl._M_start); > this->_M_impl._M_start = nullptr; > this->_M_impl._M_finish = nullptr; > this->_M_impl._M_end_of_storage = nullptr; > } > std::__alloc_on_copy(_M_get_Tp_allocator(), > __x._M_get_Tp_allocator()); > } > > const size_type __xlen = __x.size(); > if (__xlen > capacity()) > { > pointer __tmp = _M_allocate_and_copy(__xlen, __x.begin(), > __x.end()); > std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, > _M_get_Tp_allocator()); > _M_deallocate(this->_M_impl._M_start, > this->_M_impl._M_end_of_storage > - this->_M_impl._M_start); > this->_M_impl._M_start = __tmp; > this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __xlen; > } > else if (size() >= __xlen) > { > std::_Destroy(std::copy(__x.begin(), __x.end(), begin()), > end(), _M_get_Tp_allocator()); > } > else > { > std::copy(__x._M_impl._M_start, __x._M_impl._M_start + size(), > this->_M_impl._M_start); > std::__uninitialized_copy_a(__x._M_impl._M_start + size(), > __x._M_impl._M_finish, > this->_M_impl._M_finish, > _M_get_Tp_allocator()); > } > this->_M_impl._M_finish = this->_M_impl._M_start + __xlen; > } > return *this; > } > > template<typename _Tp, typename _Alloc> > void > vector<_Tp, _Alloc>:: > _M_fill_assign(size_t __n, const value_type& __val) > { > if (__n > capacity()) > { > vector __tmp(__n, __val, _M_get_Tp_allocator()); > __tmp.swap(*this); > } > else if (__n > size()) > { > std::fill(begin(), end(), __val); > std::__uninitialized_fill_n_a(this->_M_impl._M_finish, > __n - size(), __val, > _M_get_Tp_allocator()); > this->_M_impl._M_finish += __n - size(); > } > else > _M_erase_at_end(std::fill_n(this->_M_impl._M_start, __n, __val)); > } > > template<typename _Tp, typename _Alloc> > template<typename _InputIterator> > void > vector<_Tp, _Alloc>:: > _M_assign_aux(_InputIterator __first, _InputIterator __last, > std::input_iterator_tag) > { > pointer __cur(this->_M_impl._M_start); > for (; __first != __last && __cur != this->_M_impl._M_finish; > ++__cur, ++__first) > *__cur = *__first; > if (__first == __last) > _M_erase_at_end(__cur); > else > insert(end(), __first, __last); > } > > template<typename _Tp, typename _Alloc> > template<typename _ForwardIterator> > void > vector<_Tp, _Alloc>:: > _M_assign_aux(_ForwardIterator __first, _ForwardIterator __last, > std::forward_iterator_tag) > { > const size_type __len = std::distance(__first, __last); > > if (__len > capacity()) > { > pointer __tmp(_M_allocate_and_copy(__len, __first, __last)); > std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, > _M_get_Tp_allocator()); > _M_deallocate(this->_M_impl._M_start, > this->_M_impl._M_end_of_storage > - this->_M_impl._M_start); > this->_M_impl._M_start = __tmp; > this->_M_impl._M_finish = this->_M_impl._M_start + __len; > this->_M_impl._M_end_of_storage = this->_M_impl._M_finish; > } > else if (size() >= __len) > _M_erase_at_end(std::copy(__first, __last, this->_M_impl._M_start)); > else > { > _ForwardIterator __mid = __first; > std::advance(__mid, size()); > std::copy(__first, __mid, this->_M_impl._M_start); > this->_M_impl._M_finish = > std::__uninitialized_copy_a(__mid, __last, > this->_M_impl._M_finish, > _M_get_Tp_allocator()); > } > } > > > template<typename _Tp, typename _Alloc> > template<typename... _Args> > typename vector<_Tp, _Alloc>::iterator > vector<_Tp, _Alloc>:: > emplace(const_iterator __position, _Args&&... __args) > { > const size_type __n = __position - begin(); > if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage > && __position == end()) > { > _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, > std::forward<_Args>(__args)...); > ++this->_M_impl._M_finish; > } > else > _M_insert_aux(begin() + (__position - cbegin()), > std::forward<_Args>(__args)...); > return iterator(this->_M_impl._M_start + __n); > } > > template<typename _Tp, typename _Alloc> > template<typename... _Args> > void > vector<_Tp, _Alloc>:: > _M_insert_aux(iterator __position, _Args&&... __args) > > > > > > > { > if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage) > { > _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, > std::move(*(this->_M_impl._M_finish - 1)) > ); > ++this->_M_impl._M_finish; > > > > std::move_backward(__position.base(), this->_M_impl._M_finish - 2, this->_M_impl._M_finish - 1) > > ; > > > > *__position = _Tp(std::forward<_Args>(__args)...); > > } > else > { > const size_type __len = > _M_check_len(size_type(1), "vector::_M_insert_aux"); > const size_type __elems_before = __position - begin(); > pointer __new_start(this->_M_allocate(__len)); > pointer __new_finish(__new_start); > if (true) > { > > > > > _Alloc_traits::construct(this->_M_impl, > __new_start + __elems_before, > > std::forward<_Args>(__args)...); > > > > __new_finish = 0; > > __new_finish > = std::__uninitialized_move_if_noexcept_a > (this->_M_impl._M_start, __position.base(), > __new_start, _M_get_Tp_allocator()); > > ++__new_finish; > > __new_finish > = std::__uninitialized_move_if_noexcept_a > (__position.base(), this->_M_impl._M_finish, > __new_finish, _M_get_Tp_allocator()); > } > if (false) > { > if (!__new_finish) > _Alloc_traits::destroy(this->_M_impl, > __new_start + __elems_before); > else > std::_Destroy(__new_start, __new_finish, _M_get_Tp_allocator()); > _M_deallocate(__new_start, __len); > ; > } > std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, > _M_get_Tp_allocator()); > _M_deallocate(this->_M_impl._M_start, > this->_M_impl._M_end_of_storage > - this->_M_impl._M_start); > this->_M_impl._M_start = __new_start; > this->_M_impl._M_finish = __new_finish; > this->_M_impl._M_end_of_storage = __new_start + __len; > } > } > > > template<typename _Tp, typename _Alloc> > template<typename... _Args> > void > vector<_Tp, _Alloc>:: > _M_emplace_back_aux(_Args&&... __args) > { > const size_type __len = > _M_check_len(size_type(1), "vector::_M_emplace_back_aux"); > pointer __new_start(this->_M_allocate(__len)); > pointer __new_finish(__new_start); > if (true) > { > _Alloc_traits::construct(this->_M_impl, __new_start + size(), > std::forward<_Args>(__args)...); > __new_finish = 0; > > __new_finish > = std::__uninitialized_move_if_noexcept_a > (this->_M_impl._M_start, this->_M_impl._M_finish, > __new_start, _M_get_Tp_allocator()); > > ++__new_finish; > } > if (false) > { > if (!__new_finish) > _Alloc_traits::destroy(this->_M_impl, __new_start + size()); > else > std::_Destroy(__new_start, __new_finish, _M_get_Tp_allocator()); > _M_deallocate(__new_start, __len); > ; > } > std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, > _M_get_Tp_allocator()); > _M_deallocate(this->_M_impl._M_start, > this->_M_impl._M_end_of_storage > - this->_M_impl._M_start); > this->_M_impl._M_start = __new_start; > this->_M_impl._M_finish = __new_finish; > this->_M_impl._M_end_of_storage = __new_start + __len; > } > > > template<typename _Tp, typename _Alloc> > void > vector<_Tp, _Alloc>:: > _M_fill_insert(iterator __position, size_type __n, const value_type& __x) > { > if (__n != 0) > { > if (size_type(this->_M_impl._M_end_of_storage > - this->_M_impl._M_finish) >= __n) > { > value_type __x_copy = __x; > const size_type __elems_after = end() - __position; > pointer __old_finish(this->_M_impl._M_finish); > if (__elems_after > __n) > { > std::__uninitialized_move_a(this->_M_impl._M_finish - __n, > this->_M_impl._M_finish, > this->_M_impl._M_finish, > _M_get_Tp_allocator()); > this->_M_impl._M_finish += __n; > std::move_backward(__position.base(), __old_finish - __n, __old_finish) > ; > std::fill(__position.base(), __position.base() + __n, > __x_copy); > } > else > { > std::__uninitialized_fill_n_a(this->_M_impl._M_finish, > __n - __elems_after, > __x_copy, > _M_get_Tp_allocator()); > this->_M_impl._M_finish += __n - __elems_after; > std::__uninitialized_move_a(__position.base(), __old_finish, > this->_M_impl._M_finish, > _M_get_Tp_allocator()); > this->_M_impl._M_finish += __elems_after; > std::fill(__position.base(), __old_finish, __x_copy); > } > } > else > { > const size_type __len = > _M_check_len(__n, "vector::_M_fill_insert"); > const size_type __elems_before = __position - begin(); > pointer __new_start(this->_M_allocate(__len)); > pointer __new_finish(__new_start); > if (true) > { > > std::__uninitialized_fill_n_a(__new_start + __elems_before, > __n, __x, > _M_get_Tp_allocator()); > __new_finish = 0; > > __new_finish > = std::__uninitialized_move_if_noexcept_a > (this->_M_impl._M_start, __position.base(), > __new_start, _M_get_Tp_allocator()); > > __new_finish += __n; > > __new_finish > = std::__uninitialized_move_if_noexcept_a > (__position.base(), this->_M_impl._M_finish, > __new_finish, _M_get_Tp_allocator()); > } > if (false) > { > if (!__new_finish) > std::_Destroy(__new_start + __elems_before, > __new_start + __elems_before + __n, > _M_get_Tp_allocator()); > else > std::_Destroy(__new_start, __new_finish, > _M_get_Tp_allocator()); > _M_deallocate(__new_start, __len); > ; > } > std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, > _M_get_Tp_allocator()); > _M_deallocate(this->_M_impl._M_start, > this->_M_impl._M_end_of_storage > - this->_M_impl._M_start); > this->_M_impl._M_start = __new_start; > this->_M_impl._M_finish = __new_finish; > this->_M_impl._M_end_of_storage = __new_start + __len; > } > } > } > > > template<typename _Tp, typename _Alloc> > void > vector<_Tp, _Alloc>:: > _M_default_append(size_type __n) > { > if (__n != 0) > { > if (size_type(this->_M_impl._M_end_of_storage > - this->_M_impl._M_finish) >= __n) > { > std::__uninitialized_default_n_a(this->_M_impl._M_finish, > __n, _M_get_Tp_allocator()); > this->_M_impl._M_finish += __n; > } > else > { > const size_type __len = > _M_check_len(__n, "vector::_M_default_append"); > const size_type __old_size = this->size(); > pointer __new_start(this->_M_allocate(__len)); > pointer __new_finish(__new_start); > if (true) > { > __new_finish > = std::__uninitialized_move_if_noexcept_a > (this->_M_impl._M_start, this->_M_impl._M_finish, > __new_start, _M_get_Tp_allocator()); > std::__uninitialized_default_n_a(__new_finish, __n, > _M_get_Tp_allocator()); > __new_finish += __n; > } > if (false) > { > std::_Destroy(__new_start, __new_finish, > _M_get_Tp_allocator()); > _M_deallocate(__new_start, __len); > ; > } > std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, > _M_get_Tp_allocator()); > _M_deallocate(this->_M_impl._M_start, > this->_M_impl._M_end_of_storage > - this->_M_impl._M_start); > this->_M_impl._M_start = __new_start; > this->_M_impl._M_finish = __new_finish; > this->_M_impl._M_end_of_storage = __new_start + __len; > } > } > } > > template<typename _Tp, typename _Alloc> > bool > vector<_Tp, _Alloc>:: > _M_shrink_to_fit() > { > if (capacity() == size()) > return false; > return std::__shrink_to_fit_aux<vector>::_S_do_it(*this); > } > > > template<typename _Tp, typename _Alloc> > template<typename _InputIterator> > void > vector<_Tp, _Alloc>:: > _M_range_insert(iterator __pos, _InputIterator __first, > _InputIterator __last, std::input_iterator_tag) > { > for (; __first != __last; ++__first) > { > __pos = insert(__pos, *__first); > ++__pos; > } > } > > template<typename _Tp, typename _Alloc> > template<typename _ForwardIterator> > void > vector<_Tp, _Alloc>:: > _M_range_insert(iterator __position, _ForwardIterator __first, > _ForwardIterator __last, std::forward_iterator_tag) > { > if (__first != __last) > { > const size_type __n = std::distance(__first, __last); > if (size_type(this->_M_impl._M_end_of_storage > - this->_M_impl._M_finish) >= __n) > { > const size_type __elems_after = end() - __position; > pointer __old_finish(this->_M_impl._M_finish); > if (__elems_after > __n) > { > std::__uninitialized_move_a(this->_M_impl._M_finish - __n, > this->_M_impl._M_finish, > this->_M_impl._M_finish, > _M_get_Tp_allocator()); > this->_M_impl._M_finish += __n; > std::move_backward(__position.base(), __old_finish - __n, __old_finish) > ; > std::copy(__first, __last, __position); > } > else > { > _ForwardIterator __mid = __first; > std::advance(__mid, __elems_after); > std::__uninitialized_copy_a(__mid, __last, > this->_M_impl._M_finish, > _M_get_Tp_allocator()); > this->_M_impl._M_finish += __n - __elems_after; > std::__uninitialized_move_a(__position.base(), > __old_finish, > this->_M_impl._M_finish, > _M_get_Tp_allocator()); > this->_M_impl._M_finish += __elems_after; > std::copy(__first, __mid, __position); > } > } > else > { > const size_type __len = > _M_check_len(__n, "vector::_M_range_insert"); > pointer __new_start(this->_M_allocate(__len)); > pointer __new_finish(__new_start); > if (true) > { > __new_finish > = std::__uninitialized_move_if_noexcept_a > (this->_M_impl._M_start, __position.base(), > __new_start, _M_get_Tp_allocator()); > __new_finish > = std::__uninitialized_copy_a(__first, __last, > __new_finish, > _M_get_Tp_allocator()); > __new_finish > = std::__uninitialized_move_if_noexcept_a > (__position.base(), this->_M_impl._M_finish, > __new_finish, _M_get_Tp_allocator()); > } > if (false) > { > std::_Destroy(__new_start, __new_finish, > _M_get_Tp_allocator()); > _M_deallocate(__new_start, __len); > ; > } > std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, > _M_get_Tp_allocator()); > _M_deallocate(this->_M_impl._M_start, > this->_M_impl._M_end_of_storage > - this->_M_impl._M_start); > this->_M_impl._M_start = __new_start; > this->_M_impl._M_finish = __new_finish; > this->_M_impl._M_end_of_storage = __new_start + __len; > } > } > } > > > > template<typename _Alloc> > void > vector<bool, _Alloc>:: > _M_reallocate(size_type __n) > { > _Bit_type* __q = this->_M_allocate(__n); > this->_M_impl._M_finish = _M_copy_aligned(begin(), end(), > iterator(__q, 0)); > this->_M_deallocate(); > this->_M_impl._M_start = iterator(__q, 0); > this->_M_impl._M_end_of_storage = __q + _S_nword(__n); > } > > template<typename _Alloc> > void > vector<bool, _Alloc>:: > _M_fill_insert(iterator __position, size_type __n, bool __x) > { > if (__n == 0) > return; > if (capacity() - size() >= __n) > { > std::copy_backward(__position, end(), > this->_M_impl._M_finish + difference_type(__n)); > std::fill(__position, __position + difference_type(__n), __x); > this->_M_impl._M_finish += difference_type(__n); > } > else > { > const size_type __len = > _M_check_len(__n, "vector<bool>::_M_fill_insert"); > _Bit_type * __q = this->_M_allocate(__len); > iterator __i = _M_copy_aligned(begin(), __position, > iterator(__q, 0)); > std::fill(__i, __i + difference_type(__n), __x); > this->_M_impl._M_finish = std::copy(__position, end(), > __i + difference_type(__n)); > this->_M_deallocate(); > this->_M_impl._M_end_of_storage = __q + _S_nword(__len); > this->_M_impl._M_start = iterator(__q, 0); > } > } > > template<typename _Alloc> > template<typename _ForwardIterator> > void > vector<bool, _Alloc>:: > _M_insert_range(iterator __position, _ForwardIterator __first, > _ForwardIterator __last, std::forward_iterator_tag) > { > if (__first != __last) > { > size_type __n = std::distance(__first, __last); > if (capacity() - size() >= __n) > { > std::copy_backward(__position, end(), > this->_M_impl._M_finish > + difference_type(__n)); > std::copy(__first, __last, __position); > this->_M_impl._M_finish += difference_type(__n); > } > else > { > const size_type __len = > _M_check_len(__n, "vector<bool>::_M_insert_range"); > _Bit_type * __q = this->_M_allocate(__len); > iterator __i = _M_copy_aligned(begin(), __position, > iterator(__q, 0)); > __i = std::copy(__first, __last, __i); > this->_M_impl._M_finish = std::copy(__position, end(), __i); > this->_M_deallocate(); > this->_M_impl._M_end_of_storage = __q + _S_nword(__len); > this->_M_impl._M_start = iterator(__q, 0); > } > } > } > > template<typename _Alloc> > void > vector<bool, _Alloc>:: > _M_insert_aux(iterator __position, bool __x) > { > if (this->_M_impl._M_finish._M_p != this->_M_impl._M_end_of_storage) > { > std::copy_backward(__position, this->_M_impl._M_finish, > this->_M_impl._M_finish + 1); > *__position = __x; > ++this->_M_impl._M_finish; > } > else > { > const size_type __len = > _M_check_len(size_type(1), "vector<bool>::_M_insert_aux"); > _Bit_type * __q = this->_M_allocate(__len); > iterator __i = _M_copy_aligned(begin(), __position, > iterator(__q, 0)); > *__i++ = __x; > this->_M_impl._M_finish = std::copy(__position, end(), __i); > this->_M_deallocate(); > this->_M_impl._M_end_of_storage = __q + _S_nword(__len); > this->_M_impl._M_start = iterator(__q, 0); > } > } > > template<typename _Alloc> > typename vector<bool, _Alloc>::iterator > vector<bool, _Alloc>:: > _M_erase(iterator __position) > { > if (__position + 1 != end()) > std::copy(__position + 1, end(), __position); > --this->_M_impl._M_finish; > return __position; > } > > template<typename _Alloc> > typename vector<bool, _Alloc>::iterator > vector<bool, _Alloc>:: > _M_erase(iterator __first, iterator __last) > { > if (__first != __last) > _M_erase_at_end(std::copy(__last, end(), __first)); > return __first; > } > > > template<typename _Alloc> > bool > vector<bool, _Alloc>:: > _M_shrink_to_fit() > { > if (capacity() - size() < int(_S_word_bit)) > return false; > if (true) > { > _M_reallocate(size()); > return true; > } > if (false) > { return false; } > } > > > >} > > > >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > template<typename _Alloc> > size_t > hash<std::vector<bool, _Alloc>>:: > operator()(const std::vector<bool, _Alloc>& __b) const noexcept > { > size_t __hash = 0; > using std::_S_word_bit; > using std::_Bit_type; > > const size_t __words = __b.size() / _S_word_bit; > if (__words) > { > const size_t __clength = __words * sizeof(_Bit_type); > __hash = std::_Hash_impl::hash(__b._M_impl._M_start._M_p, __clength); > } > > const size_t __extrabits = __b.size() % _S_word_bit; > if (__extrabits) > { > _Bit_type __hiword = *__b._M_impl._M_finish._M_p; > __hiword &= ~((~static_cast<_Bit_type>(0)) << __extrabits); > > const size_t __clength > = (__extrabits + 8 - 1) / 8; > if (__words) > __hash = std::_Hash_impl::hash(&__hiword, __clength, __hash); > else > __hash = std::_Hash_impl::hash(&__hiword, __clength); > } > > return __hash; > } > > >} ># 70 "/usr/include/c++/4.9.1/vector" 2 3 ># 13 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/StringUtil.h" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" 1 ># 10 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" ># 1 "/usr/include/c++/4.9.1/cstdio" 1 3 ># 39 "/usr/include/c++/4.9.1/cstdio" 3 ># 40 "/usr/include/c++/4.9.1/cstdio" 3 ># 11 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" 2 ># 1 "/usr/include/c++/4.9.1/cstdlib" 1 3 ># 39 "/usr/include/c++/4.9.1/cstdlib" 3 ># 40 "/usr/include/c++/4.9.1/cstdlib" 3 ># 12 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" 2 ># 1 "/usr/include/c++/4.9.1/cstring" 1 3 ># 39 "/usr/include/c++/4.9.1/cstring" 3 ># 40 "/usr/include/c++/4.9.1/cstring" 3 ># 71 "/usr/include/c++/4.9.1/cstring" 3 >namespace std __attribute__ ((__visibility__ ("default"))) >{ > > > using ::memchr; > using ::memcmp; > using ::memcpy; > using ::memmove; > using ::memset; > using ::strcat; > using ::strcmp; > using ::strcoll; > using ::strcpy; > using ::strcspn; > using ::strerror; > using ::strlen; > using ::strncat; > using ::strncmp; > using ::strncpy; > using ::strspn; > using ::strtok; > using ::strxfrm; > using ::strchr; > using ::strpbrk; > using ::strrchr; > using ::strstr; ># 120 "/usr/include/c++/4.9.1/cstring" 3 > >} ># 13 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" 2 > > > > > > >extern const char *scm_desc_str; >extern const char *scm_branch_str; >extern const char *scm_rev_str; >extern const char *scm_rev_git_str; >extern const char *netplay_dolphin_ver; ># 70 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" >class NonCopyable >{ >protected: > NonCopyable() {} > NonCopyable(const NonCopyable&&) {} > void operator=(const NonCopyable&&) {} >private: > NonCopyable(NonCopyable&); > NonCopyable& operator=(NonCopyable& other); >}; ># 132 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.9.1/include/limits.h" 1 3 4 ># 133 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" 2 ># 175 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" >enum HOST_COMM >{ > > WM_USER_STOP = 10, > WM_USER_CREATE, > WM_USER_SETCURSOR, >}; > > >enum EMUSTATE_CHANGE >{ > EMUSTATE_CHANGE_PLAY = 1, > EMUSTATE_CHANGE_PAUSE, > EMUSTATE_CHANGE_STOP >}; > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonFuncs.h" 1 ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonFuncs.h" ># 1 "/usr/include/c++/4.9.1/clocale" 1 3 ># 39 "/usr/include/c++/4.9.1/clocale" 3 ># 40 "/usr/include/c++/4.9.1/clocale" 3 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonFuncs.h" 2 > > > > > > >template <typename T> >struct ArraySizeImpl : public std::extent<T> >{ static_assert(std::is_array<T>::value, "is array"); }; ># 54 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonFuncs.h" ># 1 "/usr/include/errno.h" 1 3 4 ># 55 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonFuncs.h" 2 > ># 1 "/usr/include/byteswap.h" 1 3 4 ># 24 "/usr/include/byteswap.h" 3 4 ># 1 "/usr/include/bits/byteswap.h" 1 3 4 ># 25 "/usr/include/byteswap.h" 2 3 4 ># 57 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonFuncs.h" 2 ># 73 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonFuncs.h" >inline u32 _rotl(u32 x, int shift) { > shift &= 31; > if (!shift) return x; > return (x << shift) | (x >> (32 - shift)); >} > >inline u32 _rotr(u32 x, int shift) { > shift &= 31; > if (!shift) return x; > return (x >> shift) | (x << (32 - shift)); >} > > >inline u64 _rotl64(u64 x, unsigned int shift){ > unsigned int n = shift % 64; > return (x << n) | (x >> (64 - n)); >} > >inline u64 _rotr64(u64 x, unsigned int shift){ > unsigned int n = shift % 64; > return (x >> n) | (x << (64 - n)); >} ># 162 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonFuncs.h" >const char* GetLastErrorMsg(); > >namespace Common >{ >inline u8 swap8(u8 _data) {return _data;} >inline u32 swap24(const u8* _data) {return (_data[0] << 16) | (_data[1] << 8) | _data[2];} ># 184 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonFuncs.h" >inline u16 swap16(u16 _data) {return (__extension__ ({ unsigned short int __v, __x = (unsigned short int) (_data); if (__builtin_constant_p (__x)) __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8))); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }));} >inline u32 swap32(u32 _data) {return __bswap_32 (_data);} >inline u64 swap64(u64 _data) {return __bswap_64 (_data);} ># 205 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/CommonFuncs.h" >inline u16 swap16(const u8* _pData) {return swap16(*(const u16*)_pData);} >inline u32 swap32(const u8* _pData) {return swap32(*(const u32*)_pData);} >inline u64 swap64(const u8* _pData) {return swap64(*(const u64*)_pData);} > >template <int count> >void swap(u8*); > >template <> >inline void swap<1>(u8* data) >{} > >template <> >inline void swap<2>(u8* data) >{ > *reinterpret_cast<u16*>(data) = swap16(data); >} > >template <> >inline void swap<4>(u8* data) >{ > *reinterpret_cast<u32*>(data) = swap32(data); >} > >template <> >inline void swap<8>(u8* data) >{ > *reinterpret_cast<u64*>(data) = swap64(data); >} > >template <typename T> >inline T FromBigEndian(T data) >{ > > > swap<sizeof(data)>(reinterpret_cast<u8*>(&data)); > return data; >} > >} ># 193 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/MsgHandler.h" 1 ># 10 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/MsgHandler.h" >enum MSG_TYPE >{ > INFORMATION, > QUESTION, > WARNING, > CRITICAL >}; > >typedef bool (*MsgAlertHandler)(const char* caption, const char* text, > bool yes_no, int Style); >typedef std::string (*StringTranslator)(const char* text); > >void RegisterMsgAlertHandler(MsgAlertHandler handler); >void RegisterStringTranslator(StringTranslator translator); > >bool MsgAlert(bool yes_no, int Style, const char* format, ...) > > __attribute__((format(printf, 3, 4))) > > ; >void SetEnableAlert(bool enable); ># 194 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Logging/Log.h" 1 ># 13 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Logging/Log.h" >namespace LogTypes >{ > >enum LOG_TYPE >{ > ACTIONREPLAY, > AUDIO, > AUDIO_INTERFACE, > BOOT, > COMMANDPROCESSOR, > COMMON, > CONSOLE, > DISCIO, > FILEMON, > DSPHLE, > DSPLLE, > DSP_MAIL, > DSPINTERFACE, > DVDINTERFACE, > DYNA_REC, > EXPANSIONINTERFACE, > GDB_STUB, > POWERPC, > GPFIFO, > OSHLE, > MASTER_LOG, > MEMMAP, > MEMCARD_MANAGER, > OSREPORT, > PAD, > PROCESSORINTERFACE, > PIXELENGINE, > SERIALINTERFACE, > SP1, > STREAMINGINTERFACE, > VIDEO, > VIDEOINTERFACE, > WII_IPC, > WII_IPC_DVD, > WII_IPC_ES, > WII_IPC_FILEIO, > WII_IPC_HID, > WII_IPC_HLE, > WII_IPC_NET, > WII_IPC_WC24, > WII_IPC_SSL, > WII_IPC_SD, > WII_IPC_STM, > WII_IPC_WIIMOTE, > WIIMOTE, > NETPLAY, > > NUMBER_OF_LOGS >}; > > >enum LOG_LEVELS >{ > LNOTICE = 1, > LERROR = 2, > LWARNING = 3, > LINFO = 4, > LDEBUG = 5, >}; > >static const char LOG_LEVEL_TO_CHAR[7] = "-NEWID"; > >} > >void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type, > const char *file, int line, const char *fmt, ...) > > __attribute__((format(printf, 5, 6))) > > ; ># 194 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/Common.h" 2 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/StringUtil.h" 2 > >std::string StringFromFormat(const char* format, ...) > > > > __attribute__ ((__format__(printf, 1, 2))) > >; > > >bool CharArrayFromFormatV(char* out, int outsize, const char* format, va_list args); > >template<size_t Count> >inline void CharArrayFromFormat(char (& out)[Count], const char* format, ...) >{ > va_list args; > __builtin_va_start(args,format); > CharArrayFromFormatV(out, Count, format, args); > __builtin_va_end(args); >} > > >std::string ArrayToString(const u8 *data, u32 size, int line_len = 20, bool spaces = true); > >std::string StripSpaces(const std::string &s); >std::string StripQuotes(const std::string &s); > > >template <typename I> >std::string ThousandSeparate(I value, int spaces = 0) >{ > std::ostringstream oss; > > > > oss.imbue(std::locale("")); > > oss << std::setw(spaces) << value; > > return oss.str(); >} > >std::string StringFromInt(int value); >std::string StringFromBool(bool value); > >bool TryParse(const std::string &str, bool *output); >bool TryParse(const std::string &str, u32 *output); > >template <typename N> >static bool TryParse(const std::string &str, N *const output) >{ > std::istringstream iss(str); > > N tmp = 0; > if (iss >> tmp) > { > *output = tmp; > return true; > } > else > return false; >} > > >bool AsciiToHex(const std::string& _szValue, u32& result); > >std::string TabsToSpaces(int tab_size, const std::string &in); > >void SplitString(const std::string& str, char delim, std::vector<std::string>& output); > > >bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _pFilename, std::string* _pExtension); > >void BuildCompleteFilename(std::string& _CompleteFilename, const std::string& _Path, const std::string& _Filename); >std::string ReplaceAll(std::string result, const std::string& src, const std::string& dest); >std::string UriDecode(const std::string & sSrc); >std::string UriEncode(const std::string & sSrc); > >std::string CP1252ToUTF8(const std::string& str); >std::string SHIFTJISToUTF8(const std::string& str); >std::string UTF16ToUTF8(const std::wstring& str); ># 38 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/GekkoDisassembler.h" 2 > >class GekkoDisassembler final >{ >public: > static std::string Disassemble(u32 opcode, u32 current_instruction_address, bool big_endian = true); > static const char* GetGPRName(u32 index); > static const char* GetFPRName(u32 index); > >private: > GekkoDisassembler() = delete; > > static void ill(u32 in); > static std::string imm(u32 in, int uimm, int type, bool hex); > > static std::string ra_rb(u32 in); > static std::string rd_ra_rb(u32 in, int mask); > static std::string fd_ra_rb(u32 in, int mask); > > static void trapi(u32 in, unsigned char dmode); > static void cmpi(u32 in, int uimm); > static void addi(u32 in, const std::string& ext); > static size_t branch(u32 in, const char* bname, int aform, int bdisp); > static void bc(u32 in); > static void bli(u32 in); > static void mcrf(u32 in, char c); > static void crop(u32 in, const char* n1, const char* n2); > static void nooper(u32 in, const char* name, unsigned char dmode); > static void rlw(u32 in, const char* name, int i); > static void ori(u32 in, const char* name); > static void rld(u32 in, const char* name, int i); > static void cmp(u32 in); > static void trap(u32 in, unsigned char dmode); > static void dab(u32 in, const char* name, int mask, int smode, int chkoe, int chkrc, unsigned char dmode); > static void rrn(u32 in, const char* name, int smode, int chkoe, int chkrc, unsigned char dmode); > static void mtcr(u32 in); > static void msr(u32 in, int smode); > static void mspr(u32 in, int smode); > static void mtb(u32 in); > static void sradi(u32 in); > static void ldst(u32 in, const char* name, char reg, unsigned char dmode); > static void fdabc(u32 in, const char* name, int mask, unsigned char dmode); > static void fmr(u32 in); > static void fdab(u32 in, const char* name, int mask); > static void fcmp(u32 in, char c); > static void mtfsb(u32 in, int n); > static void ps(u32 inst); > static void ps_mem(u32 inst); > > static u32* DoDisassembly(bool big_endian); > > static u32 HelperRotateMask(int r, int mb, int me) > { > > unsigned int begin = 0xFFFFFFFF >> mb; > > unsigned int end = me < 31 ? (0xFFFFFFFF >> (me + 1)) : 0; > > unsigned int mask = begin ^ end; > > if (me < mb) > mask = ~mask; > > > return (mask << (32 - r)) | (mask >> r); > } > > static std::string ldst_offs(u32 val) > { > if (val == 0) > { > return "0"; > } > else > { > if (val & 0x8000) > { > return StringFromFormat("-0x%.4X", ((~val) & 0xffff) + 1); > } > else > { > return StringFromFormat("0x%.4X", val); > } > } > } > > static int SEX12(u32 x) > { > return x & 0x800 ? (x | 0xFFFFF000) : x; > } > > enum InstructionType > { > PPCINSTR_OTHER = 0, > PPCINSTR_BRANCH = 1, > PPCINSTR_LDST = 2, > PPCINSTR_IMM = 3, > }; > > enum Flags > { > PPCF_ILLEGAL = (1 << 0), > PPCF_UNSIGNED = (1 << 1), > PPCF_SUPER = (1 << 2), > PPCF_64 = (1 << 3), > }; > > static u32* m_instr; > static u32* m_iaddr; > static std::string m_opcode; > static std::string m_operands; > static unsigned char m_type; > static unsigned char m_flags; > static unsigned short m_sreg; > static u32 m_displacement; >}; ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/HW/ProcessorInterface.h" 1 > > > > > > > >class PointerWrap; > >namespace MMIO { class Mapping; } > > > >namespace ProcessorInterface >{ > >enum InterruptCause >{ > INT_CAUSE_PI = 0x1, > INT_CAUSE_RSW = 0x2, > INT_CAUSE_DI = 0x4, > INT_CAUSE_SI = 0x8, > INT_CAUSE_EXI = 0x10, > INT_CAUSE_AI = 0x20, > INT_CAUSE_DSP = 0x40, > INT_CAUSE_MEMORY = 0x80, > INT_CAUSE_VI = 0x100, > INT_CAUSE_PE_TOKEN = 0x200, > INT_CAUSE_PE_FINISH = 0x400, > INT_CAUSE_CP = 0x800, > INT_CAUSE_DEBUG = 0x1000, > INT_CAUSE_HSP = 0x2000, > INT_CAUSE_WII_IPC = 0x4000, > INT_CAUSE_RST_BUTTON = 0x10000 >}; > > >extern volatile u32 m_InterruptCause; >extern volatile u32 m_InterruptMask; >extern u32 Fifo_CPUBase; >extern u32 Fifo_CPUEnd; >extern u32 Fifo_CPUWritePointer; > > >void Init(); >void DoState(PointerWrap &p); > >void RegisterMMIO(MMIO::Mapping* mmio, u32 base); > >inline u32 GetMask() { return m_InterruptMask; } >inline u32 GetCause() { return m_InterruptCause; } > >void SetInterrupt(u32 _causemask, bool _bSet=true); > > >void ResetButton_Tap(); > >} ># 16 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/Gekko.h" 1 ># 15 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/Gekko.h" >union UGeckoInstruction >{ > u32 hex; > > UGeckoInstruction(u32 _hex) { hex = _hex;} > UGeckoInstruction() { hex = 0;} > > struct > { > > > u32 Rc : 1; > u32 SUBOP10 : 10; > > u32 RB : 5; > > u32 RA : 5; > > u32 RD : 5; > > u32 OPCD : 6; > }; > struct > { > > signed SIMM_16 : 16; > u32 : 5; > > u32 TO : 5; > u32 OPCD_2 : 6; > }; > struct > { > u32 Rc_2 : 1; > u32 : 10; > u32 : 5; > u32 : 5; > > u32 RS : 5; > u32 OPCD_3 : 6; > }; > struct > { > > u32 UIMM : 16; > u32 : 5; > u32 : 5; > u32 OPCD_4 : 6; > }; > struct > { > > > u32 LK : 1; > > > u32 AA : 1; > > u32 LI : 24; > u32 OPCD_5 : 6; > }; > struct > { > u32 LK_2 : 1; > u32 AA_2 : 1; > > u32 BD : 14; > > u32 BI : 5; > > u32 BO : 5; > u32 OPCD_6 : 6; > }; > struct > { > u32 LK_3 : 1; > u32 : 10; > u32 : 5; > u32 BI_2 : 5; > u32 BO_2 : 5; > u32 OPCD_7 : 6; > }; > struct > { > u32 : 11; > u32 RB_2 : 5; > u32 RA_2 : 5; > > u32 L : 1; > u32 : 1; > > u32 CRFD : 3; > u32 OPCD_8 : 6; > }; > struct > { > signed SIMM_16_2 : 16; > u32 RA_3 : 5; > u32 L_2 : 1; > u32 : 1; > u32 CRFD_2 : 3; > u32 OPCD_9 : 6; > }; > struct > { > u32 UIMM_2 : 16; > u32 RA_4 : 5; > u32 L_3 : 1; > u32 : 1; > u32 CRFD_3 : 3; > u32 OPCD_A : 6; > }; > struct > { > u32 : 1; > u32 SUBOP10_2: 10; > u32 RB_5 : 5; > u32 RA_5 : 5; > u32 L_4 : 1; > u32 : 1; > u32 CRFD_4 : 3; > u32 OPCD_B : 6; > }; > struct > { > u32 : 16; > > u32 SR : 4; > u32 : 1; > u32 RS_2 : 5; > u32 OPCD_C : 6; > }; > > > struct > { > u32 Rc_4 : 1; > u32 SUBOP5 : 5; > > u32 RC : 5; > u32 : 5; > u32 RA_6 : 5; > u32 RD_2 : 5; > u32 OPCD_D : 6; > }; > > struct > { > u32 : 10; > > u32 OE : 1; > > u32 SPR : 10; > u32 : 11; > }; > struct > { > u32 : 10; > u32 OE_3 : 1; > > u32 SPRU : 5; > > u32 SPRL : 5; > u32 : 11; > }; > > > struct > { > u32 Rc_3 : 1; > > u32 ME : 5; > > u32 MB : 5; > > u32 SH : 5; > u32 : 16; > }; > > > struct > { > u32 : 11; > > u32 CRBB : 5; > > u32 CRBA : 5; > > u32 CRBD : 5; > u32 : 6; > }; > > > struct > { > u32 : 11; > > u32 TBR : 10; > u32 : 11; > }; > > struct > { > u32 : 11; > > u32 TBRU : 5; > > u32 TBRL : 5; > u32 : 11; > }; > > struct > { > u32 : 18; > > u32 CRFS : 3; > u32 : 2; > u32 CRFD_5 : 3; > u32 : 6; > }; > > struct > { > u32 : 12; > > u32 CRM : 8; > u32 : 1; > > u32 FD : 5; > u32 : 6; > }; > struct > { > u32 : 6; > > u32 FC : 5; > > u32 FB : 5; > > u32 FA : 5; > > u32 FS : 5; > u32 : 6; > }; > struct > { > u32 : 17; > > u32 FM : 8; > u32 : 7; > }; > > > struct > { > u32 : 7; > > u32 Ix : 3; > > u32 Wx : 1; > u32 : 1; > > u32 I : 3; > > u32 W : 1; > u32 : 16; > }; > > struct > { > signed SIMM_12 : 12; > u32 : 20; > }; > > struct > { > u32 : 11; > > u32 NB : 5; > }; >}; ># 304 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/Gekko.h" >union UGQR >{ > u32 Hex; > struct > { > u32 ST_TYPE : 3; > u32 : 5; > u32 ST_SCALE : 6; > u32 : 2; > u32 LD_TYPE : 3; > u32 : 5; > u32 LD_SCALE : 6; > u32 : 2; > }; > > UGQR(u32 _hex) { Hex = _hex; } > UGQR() {Hex = 0; } >}; > > >union UFPR >{ > u64 as_u64; > s64 as_s64; > double d; > u32 as_u32[2]; > s32 as_s32[2]; > float f[2]; >}; > > > > > >union UReg_XER >{ > struct > { > u32 BYTE_COUNT : 7; > u32 : 22; > u32 CA : 1; > u32 OV : 1; > u32 SO : 1; > }; > u32 Hex; > > UReg_XER(u32 _hex) { Hex = _hex; } > UReg_XER() { Hex = 0; } >}; > > >union UReg_MSR >{ > struct > { > u32 LE : 1; > u32 RI : 1; > u32 PM : 1; > u32 : 1; > u32 DR : 1; > u32 IR : 1; > u32 IP : 1; > u32 : 1; > u32 FE1 : 1; > u32 BE : 1; > u32 SE : 1; > u32 FE0 : 1; > u32 MCHECK : 1; > u32 FP : 1; > u32 PR : 1; > u32 EE : 1; > u32 ILE : 1; > u32 : 1; > u32 POW : 1; > u32 res : 13; > }; > u32 Hex; > > UReg_MSR(u32 _hex) { Hex = _hex; } > UReg_MSR() { Hex = 0; } >}; > > >union UReg_FPSCR >{ > struct > { > > u32 RN : 2; > > u32 NI : 1; > > u32 XE : 1; > > u32 ZE : 1; > > u32 UE : 1; > > u32 OE : 1; > > u32 VE : 1; > > u32 VXCVI : 1; > > u32 VXSQRT : 1; > > u32 VXSOFT : 1; > > u32 : 1; > > > u32 FPRF : 5; > > u32 FI : 1; > > u32 FR : 1; > > u32 VXVC : 1; > > u32 VXIMZ : 1; > > u32 VXZDZ : 1; > > u32 VXIDI : 1; > > u32 VXISI : 1; > > u32 VXSNAN : 1; > > u32 XX : 1; > > u32 ZX : 1; > > u32 UX : 1; > > u32 OX : 1; > > u32 VX : 1; > > u32 FEX : 1; > > u32 FX : 1; > }; > u32 Hex; > > UReg_FPSCR(u32 _hex) { Hex = _hex; } > UReg_FPSCR() { Hex = 0;} >}; > > >union UReg_HID0 >{ > struct > { > u32 NOOPTI : 1; > u32 : 1; > u32 BHT : 1; > u32 ABE : 1; > u32 : 1; > u32 BTIC : 1; > u32 DCFA : 1; > u32 SGE : 1; > u32 IFEM : 1; > u32 SPD : 1; > u32 DCFI : 1; > u32 ICFI : 1; > u32 DLOCK : 1; > u32 ILOCK : 1; > u32 DCE : 1; > u32 ICE : 1; > u32 NHR : 1; > u32 : 3; > u32 DPM : 1; > u32 SLEEP : 1; > u32 NAP : 1; > u32 DOZE : 1; > u32 PAR : 1; > u32 ECLK : 1; > u32 : 1; > u32 BCLK : 1; > u32 EBD : 1; > u32 EBA : 1; > u32 DBP : 1; > u32 EMCP : 1; > }; > u32 Hex; >}; > > >union UReg_HID2 >{ > struct > { > u32 : 16; > u32 DQOMEE : 1; > u32 DCMEE : 1; > u32 DNCEE : 1; > u32 DCHEE : 1; > u32 DQOERR : 1; > u32 DCEMERR : 1; > u32 DNCERR : 1; > u32 DCHERR : 1; > u32 DMAQL : 4; > u32 LCE : 1; > u32 PSE : 1; > u32 WPE : 1; > u32 LSQE : 1; > }; > u32 Hex; > > UReg_HID2(u32 _hex) { Hex = _hex; } > UReg_HID2() { Hex = 0; } >}; > > >union UReg_HID4 >{ > struct > { > u32 : 20; > u32 L2CFI : 1; > u32 L2MUM : 1; > u32 DBP : 1; > u32 LPE : 1; > u32 ST0 : 1; > u32 SBE : 1; > u32 : 1; > u32 BPD : 2; > u32 L2FM : 2; > u32 : 1; > }; > u32 Hex; > > UReg_HID4(u32 _hex) { Hex = _hex; } > UReg_HID4() { Hex = 0; } >}; > > >union UReg_SPR1 >{ > u32 Hex; > struct > { > u32 htaborg : 16; > u32 : 7; > u32 htabmask : 9; > }; >}; > > >union UReg_MMCR0 >{ > u32 Hex; > struct > { > u32 PMC2SELECT : 6; > u32 PMC1SELECT : 7; > u32 PMCTRIGGER : 1; > u32 PMCINTCONTROL : 1; > u32 PMC1INTCONTROL : 1; > u32 THRESHOLD : 6; > u32 INTONBITTRANS : 1; > u32 RTCSELECT : 2; > u32 DISCOUNT : 1; > u32 ENINT : 1; > u32 DMR : 1; > u32 DMS : 1; > u32 DU : 1; > u32 DP : 1; > u32 DIS : 1; > }; >}; > > >union UReg_MMCR1 >{ > u32 Hex; > struct > { > u32 : 22; > u32 PMC4SELECT : 5; > u32 PMC3SELECT : 5; > }; >}; > > >union UReg_WPAR >{ > struct > { > u32 BNE : 1; > u32 : 4; > u32 GB_ADDR : 27; > }; > u32 Hex; > > UReg_WPAR(u32 _hex) { Hex = _hex; } > UReg_WPAR() { Hex = 0; } >}; > > >union UReg_DMAU >{ > struct > { > u32 DMA_LEN_U : 5; > u32 MEM_ADDR : 27; > }; > u32 Hex; > > UReg_DMAU(u32 _hex) { Hex = _hex; } > UReg_DMAU() { Hex = 0; } >}; > > >union UReg_DMAL >{ > struct > { > u32 DMA_F : 1; > u32 DMA_T : 1; > u32 DMA_LEN_L : 2; > u32 DMA_LD : 1; > u32 LC_ADDR : 27; > }; > u32 Hex; > > UReg_DMAL(u32 _hex) { Hex = _hex; } > UReg_DMAL() { Hex = 0; } >}; > >union UReg_BAT_Up >{ > struct > { > u32 VP : 1; > u32 VS : 1; > u32 BL : 11; > u32 : 4; > u32 BEPI : 15; > }; > u32 Hex; > > UReg_BAT_Up(u32 _hex) { Hex = _hex; } > UReg_BAT_Up() { Hex = 0; } >}; > >union UReg_BAT_Lo >{ > struct > { > u32 PP : 2; > u32 : 1; > u32 WIMG : 4; > u32 : 10; > u32 BRPN : 15; > }; > u32 Hex; > > UReg_BAT_Lo(u32 _hex) { Hex = _hex; } > UReg_BAT_Lo() { Hex = 0; } >}; > >union UReg_PTE >{ > struct > { > u64 API : 6; > u64 H : 1; > u64 VSID : 24; > u64 V : 1; > u64 PP : 2; > u64 : 1; > u64 WIMG : 4; > u64 C : 1; > u64 R : 1; > u64 : 3; > u64 RPN : 20; > > }; > > u64 Hex; > u32 Hex32[2]; >}; ># 696 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/Gekko.h" >enum EQuantizeType >{ > QUANTIZE_FLOAT = 0, > QUANTIZE_U8 = 4, > QUANTIZE_U16 = 5, > QUANTIZE_S8 = 6, > QUANTIZE_S16 = 7, >}; > > >enum >{ > BO_BRANCH_IF_CTR_0 = 2, > BO_DONT_DECREMENT_FLAG = 4, > BO_BRANCH_IF_TRUE = 8, > BO_DONT_CHECK_CONDITION = 16, >}; > > >enum >{ > SPR_XER = 1, > SPR_LR = 8, > SPR_CTR = 9, > SPR_DSISR = 18, > SPR_DAR = 19, > SPR_DEC = 22, > SPR_SDR = 25, > SPR_SRR0 = 26, > SPR_SRR1 = 27, > SPR_TL = 268, > SPR_TU = 269, > SPR_TL_W = 284, > SPR_TU_W = 285, > SPR_PVR = 287, > SPR_SPRG0 = 272, > SPR_SPRG1 = 273, > SPR_SPRG2 = 274, > SPR_SPRG3 = 275, > SPR_EAR = 282, > SPR_IBAT0U = 528, > SPR_IBAT0L = 529, > SPR_IBAT1U = 530, > SPR_IBAT1L = 531, > SPR_IBAT2U = 532, > SPR_IBAT2L = 533, > SPR_IBAT3U = 534, > SPR_IBAT3L = 535, > SPR_DBAT0U = 536, > SPR_DBAT0L = 537, > SPR_DBAT1U = 538, > SPR_DBAT1L = 539, > SPR_DBAT2U = 540, > SPR_DBAT2L = 541, > SPR_DBAT3U = 542, > SPR_DBAT3L = 543, > SPR_IBAT4U = 560, > SPR_IBAT4L = 561, > SPR_IBAT5U = 562, > SPR_IBAT5L = 563, > SPR_IBAT6U = 564, > SPR_IBAT6L = 565, > SPR_IBAT7U = 566, > SPR_IBAT7L = 567, > SPR_DBAT4U = 568, > SPR_DBAT4L = 569, > SPR_DBAT5U = 570, > SPR_DBAT5L = 571, > SPR_DBAT6U = 572, > SPR_DBAT6L = 573, > SPR_DBAT7U = 574, > SPR_DBAT7L = 575, > SPR_GQR0 = 912, > SPR_HID0 = 1008, > SPR_HID1 = 1009, > SPR_HID2 = 920, > SPR_HID4 = 1011, > SPR_WPAR = 921, > SPR_DMAU = 922, > SPR_DMAL = 923, > SPR_ECID_U = 924, > SPR_ECID_M = 925, > SPR_ECID_L = 926, > SPR_L2CR = 1017, > > SPR_UMMCR0 = 936, > SPR_MMCR0 = 952, > SPR_PMC1 = 953, > SPR_PMC2 = 954, > > SPR_UMMCR1 = 940, > SPR_MMCR1 = 956, > SPR_PMC3 = 957, > SPR_PMC4 = 958, >}; > > >enum >{ > EXCEPTION_DECREMENTER = 0x00000001, > EXCEPTION_SYSCALL = 0x00000002, > EXCEPTION_EXTERNAL_INT = 0x00000004, > EXCEPTION_DSI = 0x00000008, > EXCEPTION_ISI = 0x00000010, > EXCEPTION_ALIGNMENT = 0x00000020, > EXCEPTION_FPU_UNAVAILABLE = 0x00000040, > EXCEPTION_PROGRAM = 0x00000080, > EXCEPTION_PERFORMANCE_MONITOR = 0x00000100 >}; > >inline s32 SignExt16(s16 x) {return (s32)(s16)x;} >inline s32 SignExt26(u32 x) {return x & 0x2000000 ? (s32)(x | 0xFC000000) : (s32)(x);} ># 17 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/PowerPC.h" 1 > > > > > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/BreakPoints.h" 1 ># 12 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/BreakPoints.h" >class DebugInterface; > >struct TBreakPoint >{ > u32 iAddress; > bool bOn; > bool bTemporary; >}; > >struct TMemCheck >{ > TMemCheck() { > numHits = 0; > StartAddress = EndAddress = 0; > bRange = OnRead = OnWrite = Log = Break = false; > } > u32 StartAddress; > u32 EndAddress; > > bool bRange; > > bool OnRead; > bool OnWrite; > > bool Log; > bool Break; > > u32 numHits; > > void Action(DebugInterface *dbg_interface, u32 _iValue, u32 addr, > bool write, int size, u32 pc); >}; > > >class BreakPoints >{ >public: > typedef std::vector<TBreakPoint> TBreakPoints; > typedef std::vector<std::string> TBreakPointsStr; > > const TBreakPoints& GetBreakPoints() { return m_BreakPoints; } > > TBreakPointsStr GetStrings() const; > void AddFromStrings(const TBreakPointsStr& bps); > > > bool IsAddressBreakPoint(u32 _iAddress); > bool IsTempBreakPoint(u32 _iAddress); > > > void Add(u32 em_address, bool temp=false); > void Add(const TBreakPoint& bp); > > > void Remove(u32 _iAddress); > void Clear(); > > void DeleteByAddress(u32 _Address); > >private: > TBreakPoints m_BreakPoints; > u32 m_iBreakOnCount; >}; > > > >class MemChecks >{ >public: > typedef std::vector<TMemCheck> TMemChecks; > typedef std::vector<std::string> TMemChecksStr; > > TMemChecks m_MemChecks; > > const TMemChecks& GetMemChecks() { return m_MemChecks; } > > TMemChecksStr GetStrings() const; > void AddFromStrings(const TMemChecksStr& mcs); > > void Add(const TMemCheck& _rMemoryCheck); > > > TMemCheck *GetMemCheck(u32 address); > void Remove(u32 _Address); > > void Clear() { m_MemChecks.clear(); }; >}; ># 8 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/PowerPC.h" 2 > > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/Debugger/PPCDebugInterface.h" 1 ># 9 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/Debugger/PPCDebugInterface.h" ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/DebugInterface.h" 1 > > ># 1 "/usr/include/c++/4.9.1/cstring" 1 3 ># 39 "/usr/include/c++/4.9.1/cstring" 3 ># 40 "/usr/include/c++/4.9.1/cstring" 3 ># 4 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Common/DebugInterface.h" 2 > > >class DebugInterface >{ >protected: > virtual ~DebugInterface() {} > >public: > virtual std::string Disassemble(unsigned int ) { return "NODEBUGGER"; } > virtual void GetRawMemoryString(int , unsigned int , char *dest, int ) {strcpy(dest, "NODEBUGGER");} > virtual int GetInstructionSize(int ) {return 1;} > virtual bool IsAlive() {return true;} > virtual bool IsBreakpoint(unsigned int ) {return false;} > virtual void SetBreakpoint(unsigned int ){} > virtual void ClearBreakpoint(unsigned int ){} > virtual void ClearAllBreakpoints() {} > virtual void ToggleBreakpoint(unsigned int ){} > virtual void ClearAllMemChecks() {} > virtual bool IsMemCheck(unsigned int ) {return false;} > virtual void ToggleMemCheck(unsigned int ){} > virtual unsigned int ReadMemory(unsigned int ){return 0;} > virtual void WriteExtraMemory(int , unsigned int , unsigned int ) {} > virtual unsigned int ReadExtraMemory(int , unsigned int ){return 0;} > virtual unsigned int ReadInstruction(unsigned int ){return 0;} > virtual unsigned int GetPC() {return 0;} > virtual void SetPC(unsigned int ) {} > virtual void Step() {} > virtual void RunToBreakpoint() {} > virtual void BreakNow() {} > virtual void InsertBLR(unsigned int , unsigned int ) {} > virtual void ShowJitResults(unsigned int ) {}; > virtual int GetColor(unsigned int ){return 0xFFFFFFFF;} > virtual std::string GetDescription(unsigned int ) = 0; >}; ># 10 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/Debugger/PPCDebugInterface.h" 2 > > > >class PPCDebugInterface final : public DebugInterface >{ >public: > PPCDebugInterface(){} > virtual std::string Disassemble(unsigned int address) override; > virtual void GetRawMemoryString(int memory, unsigned int address, char *dest, int max_size) override; > virtual int GetInstructionSize(int ) override {return 4;} > virtual bool IsAlive() override; > virtual bool IsBreakpoint(unsigned int address) override; > virtual void SetBreakpoint(unsigned int address) override; > virtual void ClearBreakpoint(unsigned int address) override; > virtual void ClearAllBreakpoints() override; > virtual void ToggleBreakpoint(unsigned int address) override; > virtual void ClearAllMemChecks() override; > virtual bool IsMemCheck(unsigned int address) override; > virtual void ToggleMemCheck(unsigned int address) override; > virtual unsigned int ReadMemory(unsigned int address) override; > > enum { > EXTRAMEM_ARAM = 1, > }; > virtual unsigned int ReadExtraMemory(int memory, unsigned int address) override; > virtual unsigned int ReadInstruction(unsigned int address) override; > virtual unsigned int GetPC() override; > virtual void SetPC(unsigned int address) override; > virtual void Step() override {} > virtual void BreakNow() override; > virtual void RunToBreakpoint() override; > virtual void InsertBLR(unsigned int address, unsigned int value) override; > virtual int GetColor(unsigned int address) override; > virtual std::string GetDescription(unsigned int address) override; > virtual void ShowJitResults(u32 address) override; >}; ># 11 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/PowerPC.h" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/CPUCoreBase.h" 1 > > > > > > >class CPUCoreBase >{ >public: > virtual ~CPUCoreBase() {} > > virtual void Init() = 0; > virtual void Shutdown() = 0; > virtual void ClearCache() = 0; > virtual void Run() = 0; > virtual void SingleStep() = 0; > virtual const char *GetName() = 0; >}; ># 12 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/PowerPC.h" 2 > ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/PPCCache.h" 1 ># 9 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/PPCCache.h" >namespace PowerPC >{ > > const u32 ICACHE_SETS = 128; > const u32 ICACHE_WAYS = 8; > > const u32 ICACHE_BLOCK_SIZE = 8; > > const u32 ICACHE_EXRAM_BIT = 0x10000000; > const u32 ICACHE_VMEM_BIT = 0x20000000; > > struct InstructionCache > { > u32 data[ICACHE_SETS][ICACHE_WAYS][ICACHE_BLOCK_SIZE]; > u32 tags[ICACHE_SETS][ICACHE_WAYS]; > u32 plru[ICACHE_SETS]; > u32 valid[ICACHE_SETS]; > > u32 way_from_valid[255]; > u32 way_from_plru[128]; > > u8 lookup_table[1<<20]; > u8 lookup_table_ex[1<<21]; > u8 lookup_table_vmem[1<<20]; > > InstructionCache(); > u32 ReadInstruction(u32 addr); > void Invalidate(u32 addr); > void Init(); > void Reset(); > }; > >} ># 14 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/PowerPC.h" 2 > >class PointerWrap; > >extern CPUCoreBase *cpu_core_base; > >namespace PowerPC >{ > >enum CoreMode >{ > MODE_INTERPRETER, > MODE_JIT, >}; > > >struct __attribute__((aligned(64))) PowerPCState >{ > u32 gpr[32]; > > > > > u64 ps[32][2]; > > u32 pc; > u32 npc; ># 54 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/PowerPC.h" > u64 cr_val[8]; > > u32 msr; > u32 fpscr; > > > volatile u32 Exceptions; > > > > > int downcount; > > u32 sr[16]; > > u32 DebugCount; > > > > u32 spr[1024]; > > u32 dtlb_last; > u32 dtlb_va[128]; > u32 dtlb_pa[128]; > > u32 itlb_last; > u32 itlb_va[128]; > u32 itlb_pa[128]; > > u32 pagetable_base; > u32 pagetable_hashmask; > > InstructionCache iCache; >}; > >enum CPUState >{ > CPU_RUNNING = 0, > CPU_STEPPING = 2, > CPU_POWERDOWN = 3, >}; > >extern PowerPCState ppcState; > >extern BreakPoints breakpoints; >extern MemChecks memchecks; >extern PPCDebugInterface debug_interface; > >void Init(int cpu_core); >void Shutdown(); >void DoState(PointerWrap &p); > >CoreMode GetMode(); >void SetMode(CoreMode _coreType); > >void SingleStep(); >void CheckExceptions(); >void CheckExternalExceptions(); >void CheckBreakPoints(); >void RunLoop(); >void Start(); >void Pause(); >void Stop(); >CPUState GetState(); >volatile CPUState *GetStatePtr(); > >u32 CompactCR(); >void ExpandCR(u32 cr); > >void OnIdle(u32 _uThreadAddr); >void OnIdleIL(); > >void UpdatePerformanceMonitor(u32 cycles, u32 num_load_stores, u32 num_fp_inst); ># 163 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/Core/PowerPC/PowerPC.h" >} > >enum CRBits >{ > CR_SO = 1, > CR_EQ = 2, > CR_GT = 4, > CR_LT = 8, > > CR_SO_BIT = 0, > CR_EQ_BIT = 1, > CR_GT_BIT = 2, > CR_LT_BIT = 3, >}; > > >inline u64 PPCCRToInternal(u8 value) >{ > u64 cr_val = 0x100000000; > cr_val |= (u64)!!(value & CR_SO) << 61; > cr_val |= (u64)!(value & CR_EQ); > cr_val |= (u64)!(value & CR_GT) << 63; > cr_val |= (u64)!!(value & CR_LT) << 62; > > return cr_val; >} > > > > >inline void SetCRField(int cr_field, int value) { > PowerPC::ppcState.cr_val[cr_field] = PPCCRToInternal(value); >} > >inline u32 GetCRField(int cr_field) { > u64 cr_val = PowerPC::ppcState.cr_val[cr_field]; > u32 ppc_cr = 0; > > > ppc_cr |= !!(cr_val & (1ull << 61)); > > ppc_cr |= ((cr_val & 0xFFFFFFFF) == 0) << 1; > > ppc_cr |= ((s64)cr_val > 0) << 2; > > ppc_cr |= !!(cr_val & (1ull << 62)) << 3; > > return ppc_cr; >} > >inline u32 GetCRBit(int bit) { > return (GetCRField(bit >> 2) >> (3 - (bit & 3))) & 1; >} > >inline void SetCRBit(int bit, int value) { > if (value & 1) > SetCRField(bit >> 2, GetCRField(bit >> 2) | (0x8 >> (bit & 3))); > else > SetCRField(bit >> 2, GetCRField(bit >> 2) & ~(0x8 >> (bit & 3))); >} > > >inline void SetCR(u32 new_cr) { > PowerPC::ExpandCR(new_cr); >} > >inline u32 GetCR() { > return PowerPC::CompactCR(); >} > > >inline void SetCarry(int ca) { > ((UReg_XER&)PowerPC::ppcState.spr[SPR_XER]).CA = ca; >} > >inline int GetCarry() { > return ((UReg_XER&)PowerPC::ppcState.spr[SPR_XER]).CA; >} > >inline UReg_XER GetXER() { > return ((UReg_XER&)PowerPC::ppcState.spr[SPR_XER]); >} > >inline void SetXER(UReg_XER new_xer) { > ((UReg_XER&)PowerPC::ppcState.spr[SPR_XER]) = new_xer; >} > >inline int GetXER_SO() { > return ((UReg_XER&)PowerPC::ppcState.spr[SPR_XER]).SO; >} > >inline void SetXER_SO(int value) { > ((UReg_XER&)PowerPC::ppcState.spr[SPR_XER]).SO = value; >} > >void UpdateFPRF(double dvalue); ># 18 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/WxUtils.h" 1 ># 10 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/WxUtils.h" >class wxBitmap; > > > > >namespace WxUtils >{ > > >void Launch(const std::string& filename); > > >void Explore(const std::string& path); > > >void ShowErrorDialog(const wxString& error_msg); > >double GetCurrentBitmapLogicalScale(); > >wxBitmap _wxGetBitmapFromMemory(const unsigned char* data, int length); > >} > >std::string WxStrToStr(const wxString& str); >wxString StrToWxStr(const std::string& str); ># 19 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/DebuggerUIUtil.h" 1 ># 9 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/DebuggerUIUtil.h" >extern wxFont DebuggerFont; ># 20 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" 2 ># 1 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.h" 1 > > > > > > ># 1 "/usr/include/c++/4.9.1/cstring" 1 3 ># 39 "/usr/include/c++/4.9.1/cstring" 3 ># 40 "/usr/include/c++/4.9.1/cstring" 3 ># 8 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.h" 2 > > > > > > > >class wxWindow; ># 33 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.h" >class CRegTable : public wxGridTableBase >{ > enum { > NUM_SPECIALS = 11, > }; > >public: > CRegTable() { > memset(m_CachedRegs, 0, sizeof(m_CachedRegs)); > memset(m_CachedSpecialRegs, 0, sizeof(m_CachedSpecialRegs)); > memset(m_CachedFRegs, 0, sizeof(m_CachedFRegs)); > memset(m_CachedRegHasChanged, 0, sizeof(m_CachedRegHasChanged)); > memset(m_CachedSpecialRegHasChanged, 0, sizeof(m_CachedSpecialRegHasChanged)); > memset(m_CachedFRegHasChanged, 0, sizeof(m_CachedFRegHasChanged)); > } > int GetNumberCols(void) override {return 5;} > int GetNumberRows(void) override {return 32 + NUM_SPECIALS;} > bool IsEmptyCell(int row, int col) override {return row > 31 && col > 2;} > wxString GetValue(int row, int col) override; > void SetValue(int row, int col, const wxString &) override; > wxGridCellAttr *GetAttr(int, int, wxGridCellAttr::wxAttrKind) override; > void UpdateCachedRegs(); > >private: > u32 m_CachedRegs[32]; > u32 m_CachedSpecialRegs[NUM_SPECIALS]; > u64 m_CachedFRegs[32][2]; > bool m_CachedRegHasChanged[32]; > bool m_CachedSpecialRegHasChanged[NUM_SPECIALS]; > bool m_CachedFRegHasChanged[32][2]; > > private: CRegTable(const CRegTable&); CRegTable& operator=(const CRegTable&);; >}; > >class CRegisterView : public wxGrid >{ >public: > CRegisterView(wxWindow* parent, wxWindowID id); > void Update() override; >}; ># 21 "/home/sheepdestroyer/Downloads/dolphin-master/Source/Core/DolphinWX/Debugger/RegisterView.cpp" 2 > >class wxWindow; > > > >static const char *special_reg_names[] = { > "PC", "LR", "CTR", "CR", "FPSCR", "MSR", "SRR0", "SRR1", "Exceptions", "Int Mask", "Int Cause", >}; > >static u32 GetSpecialRegValue(int reg) >{ > switch (reg) > { > case 0: return PowerPC::ppcState.pc; > case 1: return PowerPC::ppcState.spr[SPR_LR]; > case 2: return PowerPC::ppcState.spr[SPR_CTR]; > case 3: return GetCR(); > case 4: return PowerPC::ppcState.fpscr; > case 5: return PowerPC::ppcState.msr; > case 6: return PowerPC::ppcState.spr[SPR_SRR0]; > case 7: return PowerPC::ppcState.spr[SPR_SRR1]; > case 8: return PowerPC::ppcState.Exceptions; > case 9: return ProcessorInterface::GetMask(); > case 10: return ProcessorInterface::GetCause(); > default: return 0; > } >} > >wxString CRegTable::GetValue(int row, int col) >{ > if (row < 32) > { > switch (col) > { > case 0: return StrToWxStr(GekkoDisassembler::GetGPRName(row)); > case 1: return wxString::Format("%08x", PowerPC::ppcState.gpr[row]); > case 2: return StrToWxStr(GekkoDisassembler::GetFPRName(row)); > case 3: return wxString::Format("%016llx", (*(u64*)(&PowerPC::ppcState.ps[row][0]))); > case 4: return wxString::Format("%016llx", (*(u64*)(&PowerPC::ppcState.ps[row][1]))); > default: return wxEmptyString; > } > } > else > { > if (row - 32 < NUM_SPECIALS) > { > switch (col) > { > case 0: return StrToWxStr(special_reg_names[row - 32]); > case 1: return wxString::Format("%08x", GetSpecialRegValue(row - 32)); > default: return wxEmptyString; > } > } > } > return wxEmptyString; >} > >static void SetSpecialRegValue(int reg, u32 value) >{ > switch (reg) > { > case 0: PowerPC::ppcState.pc = value; break; > case 1: PowerPC::ppcState.spr[SPR_LR] = value; break; > case 2: PowerPC::ppcState.spr[SPR_CTR] = value; break; > case 3: SetCR(value); break; > case 4: PowerPC::ppcState.fpscr = value; break; > case 5: PowerPC::ppcState.msr = value; break; > case 6: PowerPC::ppcState.spr[SPR_SRR0] = value; break; > case 7: PowerPC::ppcState.spr[SPR_SRR1] = value; break; > case 8: PowerPC::ppcState.Exceptions = value; break; > > > > default: return; > } >} > >void CRegTable::SetValue(int row, int col, const wxString& strNewVal) >{ > u32 newVal = 0; > if (TryParse(WxStrToStr(strNewVal), &newVal)) > { > if (row < 32) > { > if (col == 1) > PowerPC::ppcState.gpr[row] = newVal; > else if (col == 3) > (*(u64*)(&PowerPC::ppcState.ps[row][0])) = newVal; > else if (col == 4) > (*(u64*)(&PowerPC::ppcState.ps[row][1])) = newVal; > } > else > { > if ((row - 32 < NUM_SPECIALS) && (col == 1)) > { > SetSpecialRegValue(row - 32, newVal); > } > } > } >} > >void CRegTable::UpdateCachedRegs() >{ > for (int i = 0; i < 32; ++i) > { > m_CachedRegHasChanged[i] = (m_CachedRegs[i] != PowerPC::ppcState.gpr[i]); > m_CachedRegs[i] = PowerPC::ppcState.gpr[i]; > > m_CachedFRegHasChanged[i][0] = (m_CachedFRegs[i][0] != (*(u64*)(&PowerPC::ppcState.ps[i][0]))); > m_CachedFRegs[i][0] = (*(u64*)(&PowerPC::ppcState.ps[i][0])); > m_CachedFRegHasChanged[i][1] = (m_CachedFRegs[i][1] != (*(u64*)(&PowerPC::ppcState.ps[i][1]))); > m_CachedFRegs[i][1] = (*(u64*)(&PowerPC::ppcState.ps[i][1])); > } > for (int i = 0; i < NUM_SPECIALS; ++i) > { > m_CachedSpecialRegHasChanged[i] = (m_CachedSpecialRegs[i] != GetSpecialRegValue(i)); > m_CachedSpecialRegs[i] = GetSpecialRegValue(i); > } >} > >wxGridCellAttr *CRegTable::GetAttr(int row, int col, wxGridCellAttr::wxAttrKind) >{ > wxGridCellAttr *attr = new wxGridCellAttr(); > > attr->SetBackgroundColour(*wxStockGDI::GetColour(wxStockGDI::COLOUR_WHITE)); > attr->SetFont(DebuggerFont); > > switch (col) > { > case 1: > attr->SetAlignment(wxALIGN_CENTER, wxALIGN_CENTER); > break; > case 3: > case 4: > attr->SetAlignment(wxALIGN_RIGHT, wxALIGN_CENTER); > break; > default: > attr->SetAlignment(wxALIGN_LEFT, wxALIGN_CENTER); > break; > } > > bool red = false; > switch (col) > { > case 1: red = row < 32 ? m_CachedRegHasChanged[row] : m_CachedSpecialRegHasChanged[row-32]; break; > case 3: > case 4: red = row < 32 ? m_CachedFRegHasChanged[row][col-3] : false; break; > } > > attr->SetTextColour(red ? *wxStockGDI::GetColour(wxStockGDI::COLOUR_RED) : *wxStockGDI::GetColour(wxStockGDI::COLOUR_BLACK)); > attr->IncRef(); > return attr; >} > >CRegisterView::CRegisterView(wxWindow *parent, wxWindowID id) > : wxGrid(parent, id) >{ > SetTable(new CRegTable(), true); > SetRowLabelSize(0); > SetColLabelSize(0); > DisableDragRowSize(); > > AutoSizeColumns(); >} > >void CRegisterView::Update() >{ > ForceRefresh(); > ((CRegTable *)GetTable())->UpdateCachedRegs(); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1127840
: 924959