diff --git a/_unit_tests_2compat_8hpp_source.html b/_unit_tests_2compat_8hpp_source.html index 56f098fcb..e168ac0a9 100644 --- a/_unit_tests_2compat_8hpp_source.html +++ b/_unit_tests_2compat_8hpp_source.html @@ -3,12 +3,14 @@ - + stdex: UnitTests/compat.hpp Source File + + @@ -30,7 +32,7 @@ - + @@ -170,7 +172,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/annotated.html b/annotated.html index 11e891e91..2361df025 100644 --- a/annotated.html +++ b/annotated.html @@ -3,12 +3,14 @@ - + stdex: Class List + + @@ -30,7 +32,7 @@ - + @@ -74,12 +76,12 @@ $(function() {
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 1234]
- - +
[detail level 1234]
 Nstdex
 Nchrono
+ + - + @@ -96,9 +98,9 @@ $(function() { - + - + @@ -204,7 +206,7 @@ $(function() { - + - + - + - + - + @@ -256,31 +258,32 @@ $(function() { - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + +
 Nstdex
 Nchrono
 Nhtml
 Nhtml
 Nidrec
 Nidrec
 Nparser
 Nparser
 Nstream
 Nstream
 Nwav
 Nwav
 Chex_encHexadecimal encoding session
 CintervalNumerical interval
 Clazy_progressLazy progress indicator base class
 CmappingMaps index in source string to index in destination string
 Cmd2_tMD2 hash value
 Cmd5_hashHashes as MD5
 Cno_deleteNoop deleter
 Cno_delete< T[]>Noop array deleter
 CpoolPer-NUMA pool of items
 CprogressProgress indicator base class
 Cprogress_switcherProgress indicator switcher
 CringRing buffer
 Csha1_hashHashes as SHA1
 Csha256_tSHA256 hash value
 Csha_tSHA hash value
 CspinlockSpin-lock
 Cstream_hasherHashes read to or write from data of the stream
 Csys_info_tSystem information
 Csys_objectOperating system object (file, pipe, anything with an OS handle etc.)
 Cuser_cancelledUser cancelled exception
 Cvector_queueHelper class to allow limited size FIFO queues implemented as vector of elements
 CwatchdogTriggers callback if not reset frequently enough
 ClocaleLocale_t helper class to free_locale when going out of scope
 CmappingMaps index in source string to index in destination string
 Cmd2_tMD2 hash value
 Cmd5_hashHashes as MD5
 Cno_deleteNoop deleter
 Cno_delete< T[]>Noop array deleter
 CpoolPer-NUMA pool of items
 CprogressProgress indicator base class
 Cprogress_switcherProgress indicator switcher
 CringRing buffer
 Csha1_hashHashes as SHA1
 Csha256_tSHA256 hash value
 Csha_tSHA hash value
 CspinlockSpin-lock
 Cstream_hasherHashes read to or write from data of the stream
 Csys_info_tSystem information
 Csys_objectOperating system object (file, pipe, anything with an OS handle etc.)
 Cuser_cancelledUser cancelled exception
 Cvector_queueHelper class to allow limited size FIFO queues implemented as vector of elements
 CwatchdogTriggers callback if not reset frequently enough
diff --git a/base64_8hpp_source.html b/base64_8hpp_source.html index acda685d9..59b34b830 100644 --- a/base64_8hpp_source.html +++ b/base64_8hpp_source.html @@ -3,12 +3,14 @@ - + stdex: include/stdex/base64.hpp Source File + + @@ -30,7 +32,7 @@ - + @@ -137,9 +139,9 @@ $(document).ready(function() { init_codefold(0); });
59 }
60
-
69 template<class _Elem, class _Traits, class _Ax>
+
69 template<class T, class TR, class AX>
-
70 void encode(_Inout_ std::basic_string<_Elem, _Traits, _Ax> &out, _In_bytecount_(size) const void *data, _In_ size_t size, _In_opt_ bool is_last = true)
+
70 void encode(_Inout_ std::basic_string<T, TR, AX> &out, _In_bytecount_(size) const void *data, _In_ size_t size, _In_opt_ bool is_last = true)
71 {
72 _Assume_(data || !size);
73
@@ -149,7 +151,7 @@ $(document).ready(function() { init_codefold(0); });
77 // Convert data character by character.
78 for (size_t i = 0;; i++) {
79 if (m_num >= 3) {
-
80 encode(out);
+
80 encode(out);
81 m_num = 0;
82 }
83
@@ -161,7 +163,7 @@ $(document).ready(function() { init_codefold(0); });
89
90 // If this is the last block, flush the buffer.
91 if (is_last && m_num) {
-
92 encode(out, m_num);
+
92 encode(out, m_num);
93 m_num = 0;
94 }
95 }
@@ -182,9 +184,9 @@ $(document).ready(function() { init_codefold(0); });
116
117 protected:
-
121 template<class _Elem, class _Traits, class _Ax>
+
121 template<class T, class TR, class AX>
-
122 void encode(_Inout_ std::basic_string<_Elem, _Traits, _Ax> &out)
+
122 void encode(_Inout_ std::basic_string<T, TR, AX> &out)
123 {
124 out += base64_enc_lookup[ m_buf[0] >> 2 ];
125 out += base64_enc_lookup[((m_buf[0] << 4) | (m_buf[1] >> 4)) & 0x3f];
@@ -193,9 +195,9 @@ $(document).ready(function() { init_codefold(0); });
128 }
129
-
133 template<class _Elem, class _Traits, class _Ax>
+
133 template<class T, class TR, class AX>
-
134 void encode(_Inout_ std::basic_string<_Elem, _Traits, _Ax> &out, _In_ size_t size)
+
134 void encode(_Inout_ std::basic_string<T, TR, AX> &out, _In_ size_t size)
135 {
136 if (size > 0) {
137 out += base64_enc_lookup[m_buf[0] >> 2];
@@ -341,9 +343,9 @@ $(document).ready(function() { init_codefold(0); });
280 }
281
-
290 template<class _Ty, class _Ax, class _Tchr>
+
290 template<class T_to, class AX, class T_from>
-
291 void decode(_Inout_ std::vector<_Ty, _Ax> &out, _Out_ bool &is_last, _In_z_count_(size) const _Tchr *data, _In_ size_t size)
+
291 void decode(_Inout_ std::vector<T_to, AX> &out, _Out_ bool &is_last, _In_z_count_(size) const T_from *data, _In_ size_t size)
292 {
293 is_last = false;
294
@@ -357,7 +359,7 @@ $(document).ready(function() { init_codefold(0); });
302 for (size_t i = 0;; i++) {
303 if (m_num >= 4) {
304 // Buffer full; decode it.
-
305 size_t nibbles = decode(out);
+
305 size_t nibbles = decode(out);
306 if (nibbles < 3) {
307 is_last = true;
308 break;
@@ -389,16 +391,16 @@ $(document).ready(function() { init_codefold(0); });
340
341 protected:
-
345 template<class _Ty, class _Ax>
+
345 template<class T, class AX>
-
346 size_t decode(_Inout_ std::vector<_Ty, _Ax> &out)
+
346 size_t decode(_Inout_ std::vector<T, AX> &out)
347 {
348 m_num = 0;
-
349 out.push_back((_Ty)(((m_buf[0] << 2) | (m_buf[1] >> 4)) & 0xff));
+
349 out.push_back((T)(((m_buf[0] << 2) | (m_buf[1] >> 4)) & 0xff));
350 if (m_buf[2] < 64) {
-
351 out.push_back((_Ty)(((m_buf[1] << 4) | (m_buf[2] >> 2)) & 0xff));
+
351 out.push_back((T)(((m_buf[1] << 4) | (m_buf[2] >> 2)) & 0xff));
352 if (m_buf[3] < 64) {
-
353 out.push_back((_Ty)(((m_buf[2] << 6) | m_buf[3]) & 0xff));
+
353 out.push_back((T)(((m_buf[2] << 6) | m_buf[3]) & 0xff));
354 return 3;
355 } else
356 return 2;
@@ -507,18 +509,18 @@ $(document).ready(function() { init_codefold(0); });
457}
Base64 decoding session.
Definition base64.hpp:269
size_t m_num
Number of bytes used in m_buf
Definition base64.hpp:363
+
size_t decode(std::vector< T, AX > &out)
Decodes one complete internal buffer of data.
Definition base64.hpp:346
base64_dec() noexcept
Constructs blank decoding session.
Definition base64.hpp:274
-
void decode(std::vector< _Ty, _Ax > &out, bool &is_last, const _Tchr *data, size_t size)
Decodes one block of information, and appends it to the output.
Definition base64.hpp:291
size_t dec_size(size_t size) const noexcept
Returns maximum decoded size.
Definition base64.hpp:336
-
size_t decode(std::vector< _Ty, _Ax > &out)
Decodes one complete internal buffer of data.
Definition base64.hpp:346
void clear() noexcept
Resets decoding session.
Definition base64.hpp:324
+
void decode(std::vector< T_to, AX > &out, bool &is_last, const T_from *data, size_t size)
Decodes one block of information, and appends it to the output.
Definition base64.hpp:291
uint8_t m_buf[4]
Internal buffer.
Definition base64.hpp:362
Base64 encoding session.
Definition base64.hpp:49
-
void encode(std::basic_string< _Elem, _Traits, _Ax > &out, const void *data, size_t size, bool is_last=true)
Encodes one block of information, and appends it to the output.
Definition base64.hpp:70
-
void encode(std::basic_string< _Elem, _Traits, _Ax > &out)
Encodes one complete internal buffer of data.
Definition base64.hpp:122
+
void encode(std::basic_string< T, TR, AX > &out, size_t size)
Encodes partial internal buffer of data.
Definition base64.hpp:134
+
void encode(std::basic_string< T, TR, AX > &out)
Encodes one complete internal buffer of data.
Definition base64.hpp:122
+
void encode(std::basic_string< T, TR, AX > &out, const void *data, size_t size, bool is_last=true)
Encodes one block of information, and appends it to the output.
Definition base64.hpp:70
size_t m_num
Number of bytes used in m_buf
Definition base64.hpp:162
uint8_t m_buf[3]
Internal buffer.
Definition base64.hpp:161
-
void encode(std::basic_string< _Elem, _Traits, _Ax > &out, size_t size)
Encodes partial internal buffer of data.
Definition base64.hpp:134
base64_enc() noexcept
Constructs blank encoding session.
Definition base64.hpp:54
void clear() noexcept
Resets encoding session.
Definition base64.hpp:100
size_t enc_size(size_t size) const noexcept
Returns maximum encoded size.
Definition base64.hpp:112
@@ -541,7 +543,7 @@ $(document).ready(function() { init_codefold(0); });
diff --git a/chrono_8hpp_source.html b/chrono_8hpp_source.html index 34fe98ccc..b83ea24df 100644 --- a/chrono_8hpp_source.html +++ b/chrono_8hpp_source.html @@ -3,12 +3,14 @@ - + stdex: include/stdex/chrono.hpp Source File + + @@ -30,7 +32,7 @@ - + @@ -370,18 +372,18 @@ $(document).ready(function() { init_codefold(0); });
324 }
325
-
326 template<class _Traits = std::char_traits<char>, class _Ax = std::allocator<char>>
-
327 static std::basic_string<char, _Traits, _Ax> to_str(_In_ const time_point tp, _In_z_ const char* format, _In_opt_ locale_t locale)
+
326 template<class TR = std::char_traits<char>, class AX = std::allocator<char>>
+
327 static std::basic_string<char, TR, AX> to_str(_In_ const time_point tp, _In_z_ const char* format, _In_opt_ locale_t locale)
328 {
329 struct tm date;
330 to_system(tp, date);
-
331 std::basic_string<char, _Traits, _Ax> str;
+
331 std::basic_string<char, TR, AX> str;
332 char stack_buffer[1024 / sizeof(char)];
333 size_t n;
334#if _WIN32
-
335 n = _strftime_l(stack_buffer, _countof(stack_buffer), format, &date, locale);
+
335 n = _strftime_l(stack_buffer, _countof(stack_buffer), format, &date, locale);
336#else
-
337 n = strftime_l(stack_buffer, _countof(stack_buffer), format, &date, locale);
+
337 n = strftime_l(stack_buffer, _countof(stack_buffer), format, &date, locale);
338#endif
339 if (n) {
340 str.assign(stack_buffer, stack_buffer + n);
@@ -391,9 +393,9 @@ $(document).ready(function() { init_codefold(0); });
344 for (;;) {
345 std::unique_ptr<char> buf(new char[num_chars]);
346#if _WIN32
-
347 n = _strftime_l(buf.get(), num_chars, format, &date, locale);
+
347 n = _strftime_l(buf.get(), num_chars, format, &date, locale);
348#else
-
349 n = strftime_l(buf.get(), num_chars, format, &date, locale);
+
349 n = strftime_l(buf.get(), num_chars, format, &date, locale);
350#endif
351 if (n) {
352 str.assign(buf.get(), buf.get() + n);
@@ -403,12 +405,12 @@ $(document).ready(function() { init_codefold(0); });
356 }
357 }
358
-
359 template<class _Traits = std::char_traits<wchar_t>, class _Ax = std::allocator<wchar_t>>
-
360 static std::basic_string<wchar_t, _Traits, _Ax> to_str(_In_ const time_point tp, _In_z_ const wchar_t* format, _In_opt_ locale_t locale)
+
359 template<class TR = std::char_traits<wchar_t>, class AX = std::allocator<wchar_t>>
+
360 static std::basic_string<wchar_t, TR, AX> to_str(_In_ const time_point tp, _In_z_ const wchar_t* format, _In_opt_ locale_t locale)
361 {
362 struct tm date;
363 to_system(tp, date);
-
364 std::basic_string<wchar_t, _Traits, _Ax> str;
+
364 std::basic_string<wchar_t, TR, AX> str;
365 wchar_t stack_buffer[1024 / sizeof(wchar_t)];
366 size_t n;
367#if _WIN32
@@ -436,15 +438,16 @@ $(document).ready(function() { init_codefold(0); });
389 }
390 }
391
-
392 template<class _Traits = std::char_traits<char>, class _Ax = std::allocator<char>>
-
393 static std::basic_string<char, _Traits, _Ax> to_rfc822(_In_ const time_point tp)
+
392 template<class TR = std::char_traits<char>, class AX = std::allocator<char>>
+
393 static std::basic_string<char, TR, AX> to_rfc822(_In_ const time_point tp)
394 {
-
395 return to_str(tp, "%a, %d %b %Y %H:%M:%S GMT", locale_C.get());
+
395 return to_str(tp, "%a, %d %b %Y %H:%M:%S GMT", stdex::locale_C);
396 }
397 };
398 }
399}
+
stdex::locale
locale_t helper class to free_locale when going out of scope.
Definition locale.hpp:69
stdex::chrono::aosn_date
AOsn date.
Definition chrono.hpp:25
stdex::chrono::aosn_date::from_dmy
static time_point from_dmy(uint8_t day, uint8_t month, int32_t year) noexcept
Returns time point from calendar day, month and year.
Definition chrono.hpp:105
stdex::chrono::aosn_date::to_dmy
static void to_dmy(const time_point tp, uint8_t *day, uint8_t *month, int32_t *year) noexcept
Returns calendar day, month and year from time point.
Definition chrono.hpp:127
@@ -466,7 +469,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/classes.html b/classes.html index 191851973..c2896b0c6 100644 --- a/classes.html +++ b/classes.html @@ -3,12 +3,14 @@ - + stdex: Class Index + + @@ -30,7 +32,7 @@ - + @@ -104,7 +106,7 @@ $(function() {
inserted_token (stdex::html)
instruction (stdex::html)
interval (stdex)
L
-
label (stdex::wav)
lazy_progress (stdex)
limiter (stdex::stream)
list (stdex::wav)
ltxt (stdex::wav)
+
label (stdex::wav)
lazy_progress (stdex)
limiter (stdex::stream)
list (stdex::wav)
locale (stdex)
ltxt (stdex::wav)
M
mapping (stdex)
md2_t (stdex)
md5_hash (stdex)
memory_file (stdex::stream)
@@ -136,7 +138,7 @@ $(function() { diff --git a/classstdex_1_1base64__dec-members.html b/classstdex_1_1base64__dec-members.html index 8e4047548..ce97fae10 100644 --- a/classstdex_1_1base64__dec-members.html +++ b/classstdex_1_1base64__dec-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -83,14 +85,14 @@ $(function() { base64_dec() noexceptstdex::base64_decinline clear() noexceptstdex::base64_decinline dec_size(size_t size) const noexceptstdex::base64_decinline - decode(std::vector< _Ty, _Ax > &out, bool &is_last, const _Tchr *data, size_t size)stdex::base64_decinline - decode(std::vector< _Ty, _Ax > &out)stdex::base64_decinlineprotected + decode(std::vector< T_to, AX > &out, bool &is_last, const T_from *data, size_t size)stdex::base64_decinline + decode(std::vector< T, AX > &out)stdex::base64_decinlineprotected m_bufstdex::base64_decprotected m_numstdex::base64_decprotected diff --git a/classstdex_1_1base64__dec.html b/classstdex_1_1base64__dec.html index 6c0fd947e..af9d565ad 100644 --- a/classstdex_1_1base64__dec.html +++ b/classstdex_1_1base64__dec.html @@ -3,12 +3,14 @@ - + stdex: stdex::base64_dec Class Reference + + @@ -30,7 +32,7 @@ - + @@ -84,7 +86,7 @@ $(function() {

Base64 decoding session. - More...

+ More...

#include <stdex/base64.hpp>

@@ -103,25 +105,25 @@ Public Member Functions  base64_dec () noexcept  Constructs blank decoding session.
  -template<class _Ty , class _Ax , class _Tchr > -void decode (std::vector< _Ty, _Ax > &out, bool &is_last, const _Tchr *data, size_t size) - Decodes one block of information, and appends it to the output.
-  +template<class T_to , class AX , class T_from > +void decode (std::vector< T_to, AX > &out, bool &is_last, const T_from *data, size_t size) + Decodes one block of information, and appends it to the output.
void clear () noexcept  Resets decoding session.
  -size_t dec_size (size_t size) const noexcept +size_t dec_size (size_t size) const noexcept  Returns maximum decoded size.
  - - - - + + + +

Protected Member Functions

-template<class _Ty , class _Ax >
size_t decode (std::vector< _Ty, _Ax > &out)
 Decodes one complete internal buffer of data.
 
+template<class T , class AX >
size_t decode (std::vector< T, AX > &out)
 Decodes one complete internal buffer of data.
 
@@ -149,8 +151,7 @@ size_t  - - +

Protected Attributes

m_num
size_t stdex::base64_dec::dec_size (size_t size)size_t size) const
@@ -172,13 +173,13 @@ size_t m_num
- -

◆ decode()

+ +

◆ decode()

-template<class _Ty , class _Ax , class _Tchr >
+template<class T_to , class AX , class T_from >
- - + - - + - - + - - - - - - - +
@@ -186,31 +187,22 @@ template<class _Ty , class _Ax , class _Tchr >
void stdex::base64_dec::decode (std::vector< _Ty, _Ax > & out, std::vector< T_to, AX > & out,
bool & is_last, bool & is_last,
const _Tchr * data, const T_from * data,
size_t size 
)size_t size )
@@ -239,7 +231,7 @@ template<class _Ty , class _Ax , class _Tchr >
diff --git a/classstdex_1_1base64__dec.png b/classstdex_1_1base64__dec.png index ed49ff3ec..8a9ca4666 100644 Binary files a/classstdex_1_1base64__dec.png and b/classstdex_1_1base64__dec.png differ diff --git a/classstdex_1_1base64__enc-members.html b/classstdex_1_1base64__enc-members.html index 7aa5c3e28..ed691a110 100644 --- a/classstdex_1_1base64__enc-members.html +++ b/classstdex_1_1base64__enc-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -83,15 +85,15 @@ $(function() { base64_enc() noexceptstdex::base64_encinline clear() noexceptstdex::base64_encinline enc_size(size_t size) const noexceptstdex::base64_encinline - encode(std::basic_string< _Elem, _Traits, _Ax > &out, const void *data, size_t size, bool is_last=true)stdex::base64_encinline - encode(std::basic_string< _Elem, _Traits, _Ax > &out)stdex::base64_encinlineprotected - encode(std::basic_string< _Elem, _Traits, _Ax > &out, size_t size)stdex::base64_encinlineprotected + encode(std::basic_string< T, TR, AX > &out, const void *data, size_t size, bool is_last=true)stdex::base64_encinline + encode(std::basic_string< T, TR, AX > &out)stdex::base64_encinlineprotected + encode(std::basic_string< T, TR, AX > &out, size_t size)stdex::base64_encinlineprotected m_bufstdex::base64_encprotected m_numstdex::base64_encprotected diff --git a/classstdex_1_1base64__enc.html b/classstdex_1_1base64__enc.html index eb395faee..47ba2f012 100644 --- a/classstdex_1_1base64__enc.html +++ b/classstdex_1_1base64__enc.html @@ -3,12 +3,14 @@ - + stdex: stdex::base64_enc Class Reference + + @@ -30,7 +32,7 @@ - + @@ -84,7 +86,7 @@ $(function() {

Base64 encoding session. - More...

+ More...

#include <stdex/base64.hpp>

@@ -103,30 +105,30 @@ Public Member Functions  base64_enc () noexcept  Constructs blank encoding session.
  -template<class _Elem , class _Traits , class _Ax > -void encode (std::basic_string< _Elem, _Traits, _Ax > &out, const void *data, size_t size, bool is_last=true) - Encodes one block of information, and appends it to the output.
-  +template<class T , class TR , class AX > +void encode (std::basic_string< T, TR, AX > &out, const void *data, size_t size, bool is_last=true) + Encodes one block of information, and appends it to the output.
void clear () noexcept  Resets encoding session.
  -size_t enc_size (size_t size) const noexcept +size_t enc_size (size_t size) const noexcept  Returns maximum encoded size.
  - - - - - - - - + + + + + + + +

Protected Member Functions

-template<class _Elem , class _Traits , class _Ax >
void encode (std::basic_string< _Elem, _Traits, _Ax > &out)
 Encodes one complete internal buffer of data.
 
-template<class _Elem , class _Traits , class _Ax >
void encode (std::basic_string< _Elem, _Traits, _Ax > &out, size_t size)
 Encodes partial internal buffer of data.
 
+template<class T , class TR , class AX >
void encode (std::basic_string< T, TR, AX > &out)
 Encodes one complete internal buffer of data.
 
+template<class T , class TR , class AX >
void encode (std::basic_string< T, TR, AX > &out, size_t size)
 Encodes partial internal buffer of data.
 
@@ -154,8 +156,7 @@ size_t  - - +

Protected Attributes

m_num
size_t stdex::base64_enc::enc_size (size_t size)size_t size) const
@@ -177,13 +178,13 @@ size_t m_num
- -

◆ encode()

+ +

◆ encode()

-template<class _Elem , class _Traits , class _Ax >
+template<class T , class TR , class AX >
- - + - - + - - + - - - - - - - +
@@ -191,31 +192,22 @@ template<class _Elem , class _Traits , class _Ax >
void stdex::base64_enc::encode (std::basic_string< _Elem, _Traits, _Ax > & out, std::basic_string< T, TR, AX > & out,
const void * data, const void * data,
size_t size, size_t size,
bool is_last = true 
)bool is_last = true )
@@ -244,7 +236,7 @@ template<class _Elem , class _Traits , class _Ax >
diff --git a/classstdex_1_1base64__enc.png b/classstdex_1_1base64__enc.png index 8c65c97f5..deaf3fb3d 100644 Binary files a/classstdex_1_1base64__enc.png and b/classstdex_1_1base64__enc.png differ diff --git a/classstdex_1_1base64__reader-members.html b/classstdex_1_1base64__reader-members.html index 8169e8b4c..d8bce4fd2 100644 --- a/classstdex_1_1base64__reader-members.html +++ b/classstdex_1_1base64__reader-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -88,8 +90,8 @@ $(function() { converter(basic &source) (defined in stdex::stream::converter)stdex::stream::converterinline dec_size(size_t size) const noexceptstdex::base64_decinlineprotected decode()stdex::base64_readerinlineprotected - stdex::base64_dec::decode(std::vector< _Ty, _Ax > &out, bool &is_last, const _Tchr *data, size_t size)stdex::base64_decinlineprotected - stdex::base64_dec::decode(std::vector< _Ty, _Ax > &out)stdex::base64_decinlineprotected + stdex::base64_dec::decode(std::vector< T_to, AX > &out, bool &is_last, const T_from *data, size_t size)stdex::base64_decinlineprotected + stdex::base64_dec::decode(std::vector< T, AX > &out)stdex::base64_decinlineprotected flush()stdex::stream::converterinlinevirtual m_bufstdex::base64_decprotected m_numstdex::base64_decprotected @@ -111,10 +113,10 @@ $(function() { operator<<(const double data) (defined in stdex::stream::basic)stdex::stream::basicinline operator<<(const char data) (defined in stdex::stream::basic)stdex::stream::basicinline operator<<(const T *data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator<<(const std::basic_string< _Elem, _Traits, _Ax > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator<<(const std::vector< _Ty, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator<<(const std::set< _Kty, _Pr, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator<<(const std::multiset< _Kty, _Pr, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator<<(const std::basic_string< T, TR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator<<(const std::vector< T, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator<<(const std::set< KEY, PR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator<<(const std::multiset< KEY, PR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline operator>>(int8_t &data) (defined in stdex::stream::basic)stdex::stream::basicinline operator>>(int16_t &data) (defined in stdex::stream::basic)stdex::stream::basicinline operator>>(int32_t &data) (defined in stdex::stream::basic)stdex::stream::basicinline @@ -126,34 +128,34 @@ $(function() { operator>>(float &data) (defined in stdex::stream::basic)stdex::stream::basicinline operator>>(double &data) (defined in stdex::stream::basic)stdex::stream::basicinline operator>>(char &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator>>(std::basic_string< _Elem, _Traits, _Ax > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator>>(std::vector< _Ty, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator>>(std::set< _Kty, _Pr, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator>>(std::multiset< _Kty, _Pr, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator>>(std::basic_string< T, TR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator>>(std::vector< T, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator>>(std::set< KEY, PR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator>>(std::multiset< KEY, PR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline read(_Out_writes_bytes_to_opt_(length, return) void *data, size_t length)stdex::base64_readerinlinevirtual read_array(_Out_writes_bytes_(size *count) void *array, size_t size, size_t count)stdex::stream::basicinline read_byte()stdex::stream::basicinline read_data(T &data)stdex::stream::basicinline read_remainder(size_t max_length=SIZE_MAX)stdex::stream::basicinlinevirtual - read_str(std::basic_string< _Elem, _Traits, _Ax > &data)stdex::stream::basicinline - readln(std::basic_string< _Elem, _Traits, _Ax > &str)stdex::stream::basicinline - readln(std::basic_string< T_to, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline - readln_and_attach(std::basic_string< _Elem, _Traits, _Ax > &str)stdex::stream::basicinline - readln_and_attach(std::basic_string< T_to, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline + read_str(std::basic_string< T, TR, AX > &data)stdex::stream::basicinline + readln(std::basic_string< T, TR, AX > &str)stdex::stream::basicinline + readln(std::basic_string< T_to, TR, AX > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline + readln_and_attach(std::basic_string< T, TR, AX > &str)stdex::stream::basicinline + readln_and_attach(std::basic_string< T_to, TR, AX > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline skip(fsize_t amount)stdex::stream::basicinlinevirtual state() conststdex::stream::basicinline write(_In_reads_bytes_opt_(length) const void *data, size_t length)stdex::stream::converterinlinevirtual write_array(_In_reads_bytes_opt_(size *count) const void *array, size_t size, size_t count)stdex::stream::basicinline write_array(const T_from *str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline write_array(_In_reads_or_z_opt_(num_chars) const T_from *str, size_t num_chars, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline - write_array(const std::basic_string< T_from, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline + write_array(const std::basic_string< T_from, TR, AX > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline write_byte(uint8_t byte, fsize_t amount=1)stdex::stream::basicinline write_charset(charset_id charset)stdex::stream::basicinline write_data(const T data)stdex::stream::basicinline write_sprintf(_Printf_format_string_params_(2) const char *format, locale_t locale,...)stdex::stream::basicinline write_sprintf(_Printf_format_string_params_(2) const wchar_t *format, locale_t locale,...)stdex::stream::basicinline write_str(const T *data)stdex::stream::basicinline - write_str(const std::basic_string< _Elem, _Traits, _Ax > &data)stdex::stream::basicinline + write_str(const std::basic_string< T, TR, AX > &data)stdex::stream::basicinline write_stream(basic &stream, fsize_t amount=fsize_max)stdex::stream::basicinline write_vsprintf(_Printf_format_string_params_(2) const char *format, locale_t locale, va_list params)stdex::stream::basicinline write_vsprintf(_Printf_format_string_params_(2) const wchar_t *format, locale_t locale, va_list params)stdex::stream::basicinline @@ -161,7 +163,7 @@ $(function() { diff --git a/classstdex_1_1base64__reader.html b/classstdex_1_1base64__reader.html index f8ae63d7f..13b9114b4 100644 --- a/classstdex_1_1base64__reader.html +++ b/classstdex_1_1base64__reader.html @@ -3,12 +3,14 @@ - + stdex: stdex::base64_reader Class Reference + + @@ -30,7 +32,7 @@ - + @@ -84,7 +86,7 @@ $(function() {

Converts from Base64 when reading from a stream. - More...

+ More...

#include <stdex/base64.hpp>

@@ -104,10 +106,10 @@ Public Member Functions  base64_reader (stdex::stream::basic &source)   -virtual size_t read (_Out_writes_bytes_to_opt_(length, return) void *data, size_t length) +virtual size_t read (_Out_writes_bytes_to_opt_(length, return) void *data, size_t length)  Reads block of data from the stream.
  -- Public Member Functions inherited from stdex::stream::converter +- Public Member Functions inherited from stdex::stream::converter  converter (basic &source)   @@ -120,7 +122,7 @@ Public Member Functions virtual void flush ()  Persists volatile element data.
  -- Public Member Functions inherited from stdex::stream::basic +- Public Member Functions inherited from stdex::stream::basic  basic (state_t state=state_t::ok)   @@ -154,22 +156,22 @@ void write_byte (uint8 basicwrite_data (const T data)  Writes one primitive data type.
  -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -size_t readln (std::basic_string< _Elem, _Traits, _Ax > &str) - Reads stream to the end-of-line or end-of-file.
-  -template<class T_from , class T_to , class _Traits = std::char_traits<T_to>, class _Ax = std::allocator<T_to>> -size_t readln (std::basic_string< T_to, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder) - Reads stream to the end-of-line or end-of-file.
-  -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -size_t readln_and_attach (std::basic_string< _Elem, _Traits, _Ax > &str) - Reads stream to the end-of-line or end-of-file and append to str.
-  -template<class T_from , class T_to , class _Traits = std::char_traits<T_to>, class _Ax = std::allocator<T_to>> -size_t readln_and_attach (std::basic_string< T_to, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder) - Reads stream to the end-of-line or end-of-file and append to str.
-  +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +size_t readln (std::basic_string< T, TR, AX > &str) + Reads stream to the end-of-line or end-of-file.
+  +template<class T_from , class T_to , class TR = std::char_traits<T_to>, class AX = std::allocator<T_to>> +size_t readln (std::basic_string< T_to, TR, AX > &str, charset_encoder< T_from, T_to > &encoder) + Reads stream to the end-of-line or end-of-file.
+  +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +size_t readln_and_attach (std::basic_string< T, TR, AX > &str) + Reads stream to the end-of-line or end-of-file and append to str.
+  +template<class T_from , class T_to , class TR = std::char_traits<T_to>, class AX = std::allocator<T_to>> +size_t readln_and_attach (std::basic_string< T_to, TR, AX > &str, charset_encoder< T_from, T_to > &encoder) + Reads stream to the end-of-line or end-of-file and append to str.
+  size_t read_array (_Out_writes_bytes_(size *count) void *array, size_t size, size_t count)  Reads an array of data from the stream.
  @@ -184,22 +186,22 @@ void write_byte (uint8 size_t write_array (_In_reads_or_z_opt_(num_chars) const T_from *str, size_t num_chars, charset_encoder< T_from, T_to > &encoder)  Writes array of characters to the stream.
  -template<class T_from , class T_to , class _Traits = std::char_traits<T_from>, class _Ax = std::allocator<T_from>> -size_t write_array (const std::basic_string< T_from, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder) - Writes array of characters to the stream.
-  -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -basicread_str (std::basic_string< _Elem, _Traits, _Ax > &data) - Reads length-prefixed string from the stream.
-  +template<class T_from , class T_to , class TR = std::char_traits<T_from>, class AX = std::allocator<T_from>> +size_t write_array (const std::basic_string< T_from, TR, AX > &str, charset_encoder< T_from, T_to > &encoder) + Writes array of characters to the stream.
+  +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +basicread_str (std::basic_string< T, TR, AX > &data) + Reads length-prefixed string from the stream.
+  template<class T > basicwrite_str (const T *data)  Writes string to the stream length-prefixed.
  -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -basicwrite_str (const std::basic_string< _Elem, _Traits, _Ax > &data) - Writes string to the stream length-prefixed.
-  +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +basicwrite_str (const std::basic_string< T, TR, AX > &data) + Writes string to the stream length-prefixed.
+  fsize_t write_stream (basic &stream, fsize_t amount=fsize_max)  Writes content of another stream.
  @@ -207,16 +209,16 @@ void write_byte (uint8 void write_charset (charset_id charset)  Writes UTF8, UTF-16 or UTF-32 byte-order-mark.
  -size_t write_sprintf (_Printf_format_string_params_(2) const char *format, locale_t locale,...) +size_t write_sprintf (_Printf_format_string_params_(2) const char *format, locale_t locale,...)  Writes formatted string to the stream.
  -size_t write_sprintf (_Printf_format_string_params_(2) const wchar_t *format, locale_t locale,...) +size_t write_sprintf (_Printf_format_string_params_(2) const wchar_t *format, locale_t locale,...)  Writes formatted string to the stream.
  -size_t write_vsprintf (_Printf_format_string_params_(2) const char *format, locale_t locale, va_list params) +size_t write_vsprintf (_Printf_format_string_params_(2) const char *format, locale_t locale, va_list params)  Writes formatted string to the stream.
  -size_t write_vsprintf (_Printf_format_string_params_(2) const wchar_t *format, locale_t locale, va_list params) +size_t write_vsprintf (_Printf_format_string_params_(2) const wchar_t *format, locale_t locale, va_list params)  Writes formatted string to the stream.
  @@ -285,42 +287,42 @@ void write_charset (ch basicoperator<< (const char data)   - -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -basicoperator>> (std::basic_string< _Elem, _Traits, _Ax > &data) -  + +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +basicoperator>> (std::basic_string< T, TR, AX > &data) +  template<class T > basicoperator<< (const T *data)   - -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -basicoperator<< (const std::basic_string< _Elem, _Traits, _Ax > &data) -  - -template<class _Ty , class _Alloc = std::allocator<_Ty>> -basicoperator<< (const std::vector< _Ty, _Alloc > &data) -  - -template<class _Ty , class _Alloc = std::allocator<_Ty>> -basicoperator>> (std::vector< _Ty, _Alloc > &data) -  - -template<class _Kty , class _Pr = std::less<_Kty>, class _Alloc = std::allocator<_Kty>> -basicoperator<< (const std::set< _Kty, _Pr, _Alloc > &data) -  - -template<class _Kty , class _Pr = std::less<_Kty>, class _Alloc = std::allocator<_Kty>> -basicoperator>> (std::set< _Kty, _Pr, _Alloc > &data) -  - -template<class _Kty , class _Pr = std::less<_Kty>, class _Alloc = std::allocator<_Kty>> -basicoperator<< (const std::multiset< _Kty, _Pr, _Alloc > &data) -  - -template<class _Kty , class _Pr = std::less<_Kty>, class _Alloc = std::allocator<_Kty>> -basicoperator>> (std::multiset< _Kty, _Pr, _Alloc > &data) -  + +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +basicoperator<< (const std::basic_string< T, TR, AX > &data) +  + +template<class T , class AX = std::allocator<T>> +basicoperator<< (const std::vector< T, AX > &data) +  + +template<class T , class AX = std::allocator<T>> +basicoperator>> (std::vector< T, AX > &data) +  + +template<class KEY , class PR = std::less<KEY>, class AX = std::allocator<KEY>> +basicoperator<< (const std::set< KEY, PR, AX > &data) +  + +template<class KEY , class PR = std::less<KEY>, class AX = std::allocator<KEY>> +basicoperator>> (std::set< KEY, PR, AX > &data) +  + +template<class KEY , class PR = std::less<KEY>, class AX = std::allocator<KEY>> +basicoperator<< (const std::multiset< KEY, PR, AX > &data) +  + +template<class KEY , class PR = std::less<KEY>, class AX = std::allocator<KEY>> +basicoperator>> (std::multiset< KEY, PR, AX > &data) +  @@ -328,20 +330,20 @@ Protected Member Functions void  - - - - - + + + + + - - - - + + + + @@ -364,15 +366,15 @@ size_t  size_t  - + - + - + @@ -397,19 +399,12 @@ size_t  - - + - - - - - - - +

Protected Member Functions

decode ()
 Decodes one complete internal buffer of data.
 
- Protected Member Functions inherited from stdex::base64_dec
-template<class _Ty , class _Ax >
size_t decode (std::vector< _Ty, _Ax > &out)
 Decodes one complete internal buffer of data.
 
- Protected Member Functions inherited from stdex::base64_dec
+template<class T , class AX >
size_t decode (std::vector< T, AX > &out)
 Decodes one complete internal buffer of data.
 
 base64_dec () noexcept
 Constructs blank decoding session.
 
template<class _Ty , class _Ax , class _Tchr >
void decode (std::vector< _Ty, _Ax > &out, bool &is_last, const _Tchr *data, size_t size)
 Decodes one block of information, and appends it to the output.
 
template<class T_to , class AX , class T_from >
void decode (std::vector< T_to, AX > &out, bool &is_last, const T_from *data, size_t size)
 Decodes one block of information, and appends it to the output.
 
void clear () noexcept
 Resets decoding session.
m_temp_offm_temp_len
 Number of bytes of data in m_temp
 
- Protected Attributes inherited from stdex::stream::converter
- Protected Attributes inherited from stdex::stream::converter
basicm_source
 
- Protected Attributes inherited from stdex::stream::basic
- Protected Attributes inherited from stdex::stream::basic
state_t m_state
 
- Protected Attributes inherited from stdex::base64_dec
- Protected Attributes inherited from stdex::base64_dec
uint8_t m_buf [4]
 Internal buffer.
m_num
virtual size_t stdex::base64_reader::read (_Out_writes_bytes_to_opt_(length, return) void * data, _Out_writes_bytes_to_opt_(length, return) void * data,
size_t length 
)size_t length )
@@ -439,7 +434,7 @@ size_t m_num
diff --git a/classstdex_1_1base64__reader.png b/classstdex_1_1base64__reader.png index ac23fe04e..ea64d8f27 100644 Binary files a/classstdex_1_1base64__reader.png and b/classstdex_1_1base64__reader.png differ diff --git a/classstdex_1_1base64__writer-members.html b/classstdex_1_1base64__writer-members.html index 2e4d7725e..43c3934f3 100644 --- a/classstdex_1_1base64__writer-members.html +++ b/classstdex_1_1base64__writer-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -89,9 +91,9 @@ $(function() { enc_size(size_t size) const noexceptstdex::base64_encinlineprotected encode()stdex::base64_writerinlineprotected encode(size_t size)stdex::base64_writerinlineprotected - stdex::base64_enc::encode(std::basic_string< _Elem, _Traits, _Ax > &out, const void *data, size_t size, bool is_last=true)stdex::base64_encinlineprotected - stdex::base64_enc::encode(std::basic_string< _Elem, _Traits, _Ax > &out)stdex::base64_encinlineprotected - stdex::base64_enc::encode(std::basic_string< _Elem, _Traits, _Ax > &out, size_t size)stdex::base64_encinlineprotected + stdex::base64_enc::encode(std::basic_string< T, TR, AX > &out, const void *data, size_t size, bool is_last=true)stdex::base64_encinlineprotected + stdex::base64_enc::encode(std::basic_string< T, TR, AX > &out)stdex::base64_encinlineprotected + stdex::base64_enc::encode(std::basic_string< T, TR, AX > &out, size_t size)stdex::base64_encinlineprotected flush()stdex::stream::converterinlinevirtual m_bufstdex::base64_encprotected m_max_blocks (defined in stdex::base64_writer)stdex::base64_writerprotected @@ -112,10 +114,10 @@ $(function() { operator<<(const double data) (defined in stdex::stream::basic)stdex::stream::basicinline operator<<(const char data) (defined in stdex::stream::basic)stdex::stream::basicinline operator<<(const T *data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator<<(const std::basic_string< _Elem, _Traits, _Ax > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator<<(const std::vector< _Ty, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator<<(const std::set< _Kty, _Pr, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator<<(const std::multiset< _Kty, _Pr, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator<<(const std::basic_string< T, TR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator<<(const std::vector< T, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator<<(const std::set< KEY, PR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator<<(const std::multiset< KEY, PR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline operator>>(int8_t &data) (defined in stdex::stream::basic)stdex::stream::basicinline operator>>(int16_t &data) (defined in stdex::stream::basic)stdex::stream::basicinline operator>>(int32_t &data) (defined in stdex::stream::basic)stdex::stream::basicinline @@ -127,34 +129,34 @@ $(function() { operator>>(float &data) (defined in stdex::stream::basic)stdex::stream::basicinline operator>>(double &data) (defined in stdex::stream::basic)stdex::stream::basicinline operator>>(char &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator>>(std::basic_string< _Elem, _Traits, _Ax > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator>>(std::vector< _Ty, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator>>(std::set< _Kty, _Pr, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline - operator>>(std::multiset< _Kty, _Pr, _Alloc > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator>>(std::basic_string< T, TR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator>>(std::vector< T, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator>>(std::set< KEY, PR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline + operator>>(std::multiset< KEY, PR, AX > &data) (defined in stdex::stream::basic)stdex::stream::basicinline read(_Out_writes_bytes_to_opt_(length, return) void *data, size_t length)stdex::stream::converterinlinevirtual read_array(_Out_writes_bytes_(size *count) void *array, size_t size, size_t count)stdex::stream::basicinline read_byte()stdex::stream::basicinline read_data(T &data)stdex::stream::basicinline read_remainder(size_t max_length=SIZE_MAX)stdex::stream::basicinlinevirtual - read_str(std::basic_string< _Elem, _Traits, _Ax > &data)stdex::stream::basicinline - readln(std::basic_string< _Elem, _Traits, _Ax > &str)stdex::stream::basicinline - readln(std::basic_string< T_to, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline - readln_and_attach(std::basic_string< _Elem, _Traits, _Ax > &str)stdex::stream::basicinline - readln_and_attach(std::basic_string< T_to, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline + read_str(std::basic_string< T, TR, AX > &data)stdex::stream::basicinline + readln(std::basic_string< T, TR, AX > &str)stdex::stream::basicinline + readln(std::basic_string< T_to, TR, AX > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline + readln_and_attach(std::basic_string< T, TR, AX > &str)stdex::stream::basicinline + readln_and_attach(std::basic_string< T_to, TR, AX > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline skip(fsize_t amount)stdex::stream::basicinlinevirtual state() conststdex::stream::basicinline write(_In_reads_bytes_opt_(length) const void *data, size_t length)stdex::base64_writerinlinevirtual write_array(_In_reads_bytes_opt_(size *count) const void *array, size_t size, size_t count)stdex::stream::basicinline write_array(const T_from *str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline write_array(_In_reads_or_z_opt_(num_chars) const T_from *str, size_t num_chars, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline - write_array(const std::basic_string< T_from, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline + write_array(const std::basic_string< T_from, TR, AX > &str, charset_encoder< T_from, T_to > &encoder)stdex::stream::basicinline write_byte(uint8_t byte, fsize_t amount=1)stdex::stream::basicinline write_charset(charset_id charset)stdex::stream::basicinline write_data(const T data)stdex::stream::basicinline write_sprintf(_Printf_format_string_params_(2) const char *format, locale_t locale,...)stdex::stream::basicinline write_sprintf(_Printf_format_string_params_(2) const wchar_t *format, locale_t locale,...)stdex::stream::basicinline write_str(const T *data)stdex::stream::basicinline - write_str(const std::basic_string< _Elem, _Traits, _Ax > &data)stdex::stream::basicinline + write_str(const std::basic_string< T, TR, AX > &data)stdex::stream::basicinline write_stream(basic &stream, fsize_t amount=fsize_max)stdex::stream::basicinline write_vsprintf(_Printf_format_string_params_(2) const char *format, locale_t locale, va_list params)stdex::stream::basicinline write_vsprintf(_Printf_format_string_params_(2) const wchar_t *format, locale_t locale, va_list params)stdex::stream::basicinline @@ -163,7 +165,7 @@ $(function() { diff --git a/classstdex_1_1base64__writer.html b/classstdex_1_1base64__writer.html index deaffc4ee..cc9c3fbdd 100644 --- a/classstdex_1_1base64__writer.html +++ b/classstdex_1_1base64__writer.html @@ -3,12 +3,14 @@ - + stdex: stdex::base64_writer Class Reference + + @@ -30,7 +32,7 @@ - + @@ -84,7 +86,7 @@ $(function() {

Converts to Base64 when writing to a stream. - More...

+ More...

#include <stdex/base64.hpp>

@@ -104,10 +106,10 @@ Public Member Functions  base64_writer (stdex::stream::basic &source, size_t max_blocks=19)   -virtual size_t write (_In_reads_bytes_opt_(length) const void *data, size_t length) +virtual size_t write (_In_reads_bytes_opt_(length) const void *data, size_t length)  Writes block of data to the stream.
  -- Public Member Functions inherited from stdex::stream::converter +- Public Member Functions inherited from stdex::stream::converter  converter (basic &source)   @@ -120,7 +122,7 @@ Public Member Functions virtual void flush ()  Persists volatile element data.
  -- Public Member Functions inherited from stdex::stream::basic +- Public Member Functions inherited from stdex::stream::basic  basic (state_t state=state_t::ok)   @@ -154,22 +156,22 @@ void write_byte (uint8 basicwrite_data (const T data)  Writes one primitive data type.
  -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -size_t readln (std::basic_string< _Elem, _Traits, _Ax > &str) - Reads stream to the end-of-line or end-of-file.
-  -template<class T_from , class T_to , class _Traits = std::char_traits<T_to>, class _Ax = std::allocator<T_to>> -size_t readln (std::basic_string< T_to, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder) - Reads stream to the end-of-line or end-of-file.
-  -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -size_t readln_and_attach (std::basic_string< _Elem, _Traits, _Ax > &str) - Reads stream to the end-of-line or end-of-file and append to str.
-  -template<class T_from , class T_to , class _Traits = std::char_traits<T_to>, class _Ax = std::allocator<T_to>> -size_t readln_and_attach (std::basic_string< T_to, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder) - Reads stream to the end-of-line or end-of-file and append to str.
-  +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +size_t readln (std::basic_string< T, TR, AX > &str) + Reads stream to the end-of-line or end-of-file.
+  +template<class T_from , class T_to , class TR = std::char_traits<T_to>, class AX = std::allocator<T_to>> +size_t readln (std::basic_string< T_to, TR, AX > &str, charset_encoder< T_from, T_to > &encoder) + Reads stream to the end-of-line or end-of-file.
+  +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +size_t readln_and_attach (std::basic_string< T, TR, AX > &str) + Reads stream to the end-of-line or end-of-file and append to str.
+  +template<class T_from , class T_to , class TR = std::char_traits<T_to>, class AX = std::allocator<T_to>> +size_t readln_and_attach (std::basic_string< T_to, TR, AX > &str, charset_encoder< T_from, T_to > &encoder) + Reads stream to the end-of-line or end-of-file and append to str.
+  size_t read_array (_Out_writes_bytes_(size *count) void *array, size_t size, size_t count)  Reads an array of data from the stream.
  @@ -184,22 +186,22 @@ void write_byte (uint8 size_t write_array (_In_reads_or_z_opt_(num_chars) const T_from *str, size_t num_chars, charset_encoder< T_from, T_to > &encoder)  Writes array of characters to the stream.
  -template<class T_from , class T_to , class _Traits = std::char_traits<T_from>, class _Ax = std::allocator<T_from>> -size_t write_array (const std::basic_string< T_from, _Traits, _Ax > &str, charset_encoder< T_from, T_to > &encoder) - Writes array of characters to the stream.
-  -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -basicread_str (std::basic_string< _Elem, _Traits, _Ax > &data) - Reads length-prefixed string from the stream.
-  +template<class T_from , class T_to , class TR = std::char_traits<T_from>, class AX = std::allocator<T_from>> +size_t write_array (const std::basic_string< T_from, TR, AX > &str, charset_encoder< T_from, T_to > &encoder) + Writes array of characters to the stream.
+  +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +basicread_str (std::basic_string< T, TR, AX > &data) + Reads length-prefixed string from the stream.
+  template<class T > basicwrite_str (const T *data)  Writes string to the stream length-prefixed.
  -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -basicwrite_str (const std::basic_string< _Elem, _Traits, _Ax > &data) - Writes string to the stream length-prefixed.
-  +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +basicwrite_str (const std::basic_string< T, TR, AX > &data) + Writes string to the stream length-prefixed.
+  fsize_t write_stream (basic &stream, fsize_t amount=fsize_max)  Writes content of another stream.
  @@ -207,16 +209,16 @@ void write_byte (uint8 void write_charset (charset_id charset)  Writes UTF8, UTF-16 or UTF-32 byte-order-mark.
  -size_t write_sprintf (_Printf_format_string_params_(2) const char *format, locale_t locale,...) +size_t write_sprintf (_Printf_format_string_params_(2) const char *format, locale_t locale,...)  Writes formatted string to the stream.
  -size_t write_sprintf (_Printf_format_string_params_(2) const wchar_t *format, locale_t locale,...) +size_t write_sprintf (_Printf_format_string_params_(2) const wchar_t *format, locale_t locale,...)  Writes formatted string to the stream.
  -size_t write_vsprintf (_Printf_format_string_params_(2) const char *format, locale_t locale, va_list params) +size_t write_vsprintf (_Printf_format_string_params_(2) const char *format, locale_t locale, va_list params)  Writes formatted string to the stream.
  -size_t write_vsprintf (_Printf_format_string_params_(2) const wchar_t *format, locale_t locale, va_list params) +size_t write_vsprintf (_Printf_format_string_params_(2) const wchar_t *format, locale_t locale, va_list params)  Writes formatted string to the stream.
  @@ -285,42 +287,42 @@ void write_charset (ch basicoperator<< (const char data)   - -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -basicoperator>> (std::basic_string< _Elem, _Traits, _Ax > &data) -  + +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +basicoperator>> (std::basic_string< T, TR, AX > &data) +  template<class T > basicoperator<< (const T *data)   - -template<class _Elem , class _Traits = std::char_traits<_Elem>, class _Ax = std::allocator<_Elem>> -basicoperator<< (const std::basic_string< _Elem, _Traits, _Ax > &data) -  - -template<class _Ty , class _Alloc = std::allocator<_Ty>> -basicoperator<< (const std::vector< _Ty, _Alloc > &data) -  - -template<class _Ty , class _Alloc = std::allocator<_Ty>> -basicoperator>> (std::vector< _Ty, _Alloc > &data) -  - -template<class _Kty , class _Pr = std::less<_Kty>, class _Alloc = std::allocator<_Kty>> -basicoperator<< (const std::set< _Kty, _Pr, _Alloc > &data) -  - -template<class _Kty , class _Pr = std::less<_Kty>, class _Alloc = std::allocator<_Kty>> -basicoperator>> (std::set< _Kty, _Pr, _Alloc > &data) -  - -template<class _Kty , class _Pr = std::less<_Kty>, class _Alloc = std::allocator<_Kty>> -basicoperator<< (const std::multiset< _Kty, _Pr, _Alloc > &data) -  - -template<class _Kty , class _Pr = std::less<_Kty>, class _Alloc = std::allocator<_Kty>> -basicoperator>> (std::multiset< _Kty, _Pr, _Alloc > &data) -  + +template<class T , class TR = std::char_traits<T>, class AX = std::allocator<T>> +basicoperator<< (const std::basic_string< T, TR, AX > &data) +  + +template<class T , class AX = std::allocator<T>> +basicoperator<< (const std::vector< T, AX > &data) +  + +template<class T , class AX = std::allocator<T>> +basicoperator>> (std::vector< T, AX > &data) +  + +template<class KEY , class PR = std::less<KEY>, class AX = std::allocator<KEY>> +basicoperator<< (const std::set< KEY, PR, AX > &data) +  + +template<class KEY , class PR = std::less<KEY>, class AX = std::allocator<KEY>> +basicoperator>> (std::set< KEY, PR, AX > &data) +  + +template<class KEY , class PR = std::less<KEY>, class AX = std::allocator<KEY>> +basicoperator<< (const std::multiset< KEY, PR, AX > &data) +  + +template<class KEY , class PR = std::less<KEY>, class AX = std::allocator<KEY>> +basicoperator>> (std::multiset< KEY, PR, AX > &data) +  @@ -332,25 +334,25 @@ void  - - - - - - - - - + + + + + + + + + - - - - + + + + @@ -371,15 +373,15 @@ size_t  - + - + - + @@ -404,19 +406,12 @@ size_t  - - + - - - - - - - +

Protected Member Functions

encode ()encode (size_t size)
 Encodes partial internal buffer of data.
 
- Protected Member Functions inherited from stdex::base64_enc
-template<class _Elem , class _Traits , class _Ax >
void encode (std::basic_string< _Elem, _Traits, _Ax > &out)
 Encodes one complete internal buffer of data.
 
-template<class _Elem , class _Traits , class _Ax >
void encode (std::basic_string< _Elem, _Traits, _Ax > &out, size_t size)
 Encodes partial internal buffer of data.
 
- Protected Member Functions inherited from stdex::base64_enc
+template<class T , class TR , class AX >
void encode (std::basic_string< T, TR, AX > &out)
 Encodes one complete internal buffer of data.
 
+template<class T , class TR , class AX >
void encode (std::basic_string< T, TR, AX > &out, size_t size)
 Encodes partial internal buffer of data.
 
 base64_enc () noexcept
 Constructs blank encoding session.
 
template<class _Elem , class _Traits , class _Ax >
void encode (std::basic_string< _Elem, _Traits, _Ax > &out, const void *data, size_t size, bool is_last=true)
 Encodes one block of information, and appends it to the output.
 
template<class T , class TR , class AX >
void encode (std::basic_string< T, TR, AX > &out, const void *data, size_t size, bool is_last=true)
 Encodes one block of information, and appends it to the output.
 
void clear () noexcept
 Resets encoding session.
m_num_blocks
 
- Protected Attributes inherited from stdex::stream::converter
- Protected Attributes inherited from stdex::stream::converter
basicm_source
 
- Protected Attributes inherited from stdex::stream::basic
- Protected Attributes inherited from stdex::stream::basic
state_t m_state
 
- Protected Attributes inherited from stdex::base64_enc
- Protected Attributes inherited from stdex::base64_enc
uint8_t m_buf [3]
 Internal buffer.
m_num
virtual size_t stdex::base64_writer::write (_In_reads_bytes_opt_(length) const void * data, _In_reads_bytes_opt_(length) const void * data,
size_t length 
)size_t length )
@@ -446,7 +441,7 @@ size_t m_num
diff --git a/classstdex_1_1base64__writer.png b/classstdex_1_1base64__writer.png index 0716a7969..569fa0fdb 100644 Binary files a/classstdex_1_1base64__writer.png and b/classstdex_1_1base64__writer.png differ diff --git a/classstdex_1_1basic__hash-members.html b/classstdex_1_1basic__hash-members.html index af6dff92e..c5cd43be4 100644 --- a/classstdex_1_1basic__hash-members.html +++ b/classstdex_1_1basic__hash-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -90,7 +92,7 @@ $(function() { diff --git a/classstdex_1_1basic__hash.html b/classstdex_1_1basic__hash.html index 6c2c17d20..c5e682cf4 100644 --- a/classstdex_1_1basic__hash.html +++ b/classstdex_1_1basic__hash.html @@ -3,12 +3,14 @@ - + stdex: stdex::basic_hash< T > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -84,7 +86,7 @@ $(function() {

Basic hashing operations. - More...

+ More...

#include <stdex/hash.hpp>

@@ -103,13 +105,13 @@ Inheritance diagram for stdex::basic_hash< T >:
- + - + - + - +

Public Member Functions

virtual void clear ()=0
virtual void clear ()=0
 Initializes hash value and internal state.
 
virtual void hash (_In_reads_bytes_opt_(length) const void *data, size_t length)=0
virtual void hash (_In_reads_bytes_opt_(length) const void *data, size_t length)=0
 Hashes block of data.
 
virtual void finalize ()=0
virtual void finalize ()=0
 Finalizes hash value.
 
@@ -152,7 +154,7 @@ template<class T >
virtual void stdex::basic_hash< T >::clear ())
@@ -183,7 +185,7 @@ template<class T >
virtual void stdex::basic_hash< T >::finalize ( - ) + ) @@ -214,19 +216,12 @@ template<class T > virtual void stdex::basic_hash< T >::hash ( - _In_reads_bytes_opt_(length) const void *  - data, + _In_reads_bytes_opt_(length) const void * data, - size_t  - length  - - - - ) - + size_t length ) @@ -255,7 +250,7 @@ template<class T > diff --git a/classstdex_1_1basic__hash.png b/classstdex_1_1basic__hash.png index 5665ea82a..09f2a3835 100644 Binary files a/classstdex_1_1basic__hash.png and b/classstdex_1_1basic__hash.png differ diff --git a/classstdex_1_1block__hash-members.html b/classstdex_1_1block__hash-members.html index f669b78c4..afb1fb865 100644 --- a/classstdex_1_1block__hash-members.html +++ b/classstdex_1_1block__hash-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -94,7 +96,7 @@ $(function() { diff --git a/classstdex_1_1block__hash.html b/classstdex_1_1block__hash.html index c5548468d..6dcfce021 100644 --- a/classstdex_1_1block__hash.html +++ b/classstdex_1_1block__hash.html @@ -3,12 +3,14 @@ - + stdex: stdex::block_hash< T > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -84,7 +86,7 @@ $(function() {

Hashing in blocks. - More...

+ More...

#include <stdex/hash.hpp>

@@ -99,13 +101,13 @@ Inheritance diagram for stdex::block_hash< T >:
- + - + - + @@ -140,14 +142,14 @@ union {  - +

Public Member Functions

virtual void clear ()
virtual void clear ()
 Initializes hash value and internal state.
 
virtual void hash (_In_reads_bytes_opt_(length) const void *data, size_t length)
virtual void hash (_In_reads_bytes_opt_(length) const void *data, size_t length)
 Hashes block of data.
 
- Public Member Functions inherited from stdex::basic_hash< T >
- Public Member Functions inherited from stdex::basic_hash< T >
virtual void finalize ()=0
 Finalizes hash value.
 
 
};  
 
- Protected Attributes inherited from stdex::basic_hash< T >
- Protected Attributes inherited from stdex::basic_hash< T >
m_value
 
- + @@ -171,7 +173,7 @@ template<class T > - +

Additional Inherited Members

- Static Public Member Functions inherited from stdex::basic_hash< T >
- Static Public Member Functions inherited from stdex::basic_hash< T >
static size_t size ()
 Returns size of the hash value in bytes.
virtual void stdex::block_hash< T >::clear ())
@@ -204,19 +206,12 @@ template<class T >
virtual void stdex::block_hash< T >::hash ( - _In_reads_bytes_opt_(length) const void *  - data, + _In_reads_bytes_opt_(length) const void * data, - size_t  - length  - - - - ) - + size_t length ) @@ -245,7 +240,7 @@ template<class T > diff --git a/classstdex_1_1block__hash.png b/classstdex_1_1block__hash.png index 1654a0889..f8ca65398 100644 Binary files a/classstdex_1_1block__hash.png and b/classstdex_1_1block__hash.png differ diff --git a/classstdex_1_1charset__encoder-members.html b/classstdex_1_1charset__encoder-members.html index 91caaa610..6e4e6951b 100644 --- a/classstdex_1_1charset__encoder-members.html +++ b/classstdex_1_1charset__encoder-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -82,19 +84,19 @@ $(function() { - - - + + + - - - - - - + + + + + + @@ -102,7 +104,7 @@ $(function() {
charset_encoder(charset_id from, charset_id to) (defined in stdex::charset_encoder< T_from, T_to >)stdex::charset_encoder< T_from, T_to >inline
clear() (defined in stdex::charset_encoder< T_from, T_to >)stdex::charset_encoder< T_from, T_to >inline
convert(_In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)stdex::charset_encoder< T_from, T_to >inline
convert(const T_from *src)stdex::charset_encoder< T_from, T_to >inline
convert(const std::basic_string< T_from, _Traits_from, _Alloc_from > &src)stdex::charset_encoder< T_from, T_to >inline
convert(_In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)stdex::charset_encoder< T_from, T_to >inline
convert(const T_from *src)stdex::charset_encoder< T_from, T_to >inline
convert(const std::basic_string_view< T_from, std::char_traits< T_from > > src)stdex::charset_encoder< T_from, T_to >inline
from_encoding() const (defined in stdex::charset_encoder< T_from, T_to >)stdex::charset_encoder< T_from, T_to >inline
m_from (defined in stdex::charset_encoder< T_from, T_to >)stdex::charset_encoder< T_from, T_to >protected
m_handle (defined in stdex::charset_encoder< T_from, T_to >)stdex::charset_encoder< T_from, T_to >protected
m_to (defined in stdex::charset_encoder< T_from, T_to >)stdex::charset_encoder< T_from, T_to >protected
strcat(std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, _In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)stdex::charset_encoder< T_from, T_to >inline
strcat(std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, const T_from *src)stdex::charset_encoder< T_from, T_to >inline
strcat(std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, const std::basic_string< T_from, _Traits_from, _Alloc_from > &src)stdex::charset_encoder< T_from, T_to >inline
strcpy(std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, _In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)stdex::charset_encoder< T_from, T_to >inline
strcpy(std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, const T_from *src)stdex::charset_encoder< T_from, T_to >inline
strcpy(std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, const std::basic_string< T_from, _Traits_from, _Alloc_from > &src)stdex::charset_encoder< T_from, T_to >inline
strcat(std::basic_string< T_to, TR_to, AX_to > &dst, _In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)stdex::charset_encoder< T_from, T_to >inline
strcat(std::basic_string< T_to, TR_to, AX_to > &dst, const T_from *src)stdex::charset_encoder< T_from, T_to >inline
strcat(std::basic_string< T_to, TR_to, AX_to > &dst, const std::basic_string_view< T_from, std::char_traits< T_from > > src)stdex::charset_encoder< T_from, T_to >inline
strcpy(std::basic_string< T_to, TR_to, AX_to > &dst, _In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)stdex::charset_encoder< T_from, T_to >inline
strcpy(std::basic_string< T_to, TR_to, AX_to > &dst, const T_from *src)stdex::charset_encoder< T_from, T_to >inline
strcpy(std::basic_string< T_to, TR_to, AX_to > &dst, const std::basic_string_view< T_from, std::char_traits< T_from > > src)stdex::charset_encoder< T_from, T_to >inline
system_charset() (defined in stdex::charset_encoder< T_from, T_to >)stdex::charset_encoder< T_from, T_to >inlinestatic
to_encoding() const (defined in stdex::charset_encoder< T_from, T_to >)stdex::charset_encoder< T_from, T_to >inline
to_encoding(charset_id charset) (defined in stdex::charset_encoder< T_from, T_to >)stdex::charset_encoder< T_from, T_to >inlineprotectedstatic
diff --git a/classstdex_1_1charset__encoder.html b/classstdex_1_1charset__encoder.html index 47e2078ec..64260b92f 100644 --- a/classstdex_1_1charset__encoder.html +++ b/classstdex_1_1charset__encoder.html @@ -3,12 +3,14 @@ - + stdex: stdex::charset_encoder< T_from, T_to > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -85,7 +87,7 @@ $(function() {

Encoding converter context. - More...

+ More...

#include <stdex/unicode.hpp>

@@ -100,42 +102,42 @@ charset_id  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -168,35 +170,28 @@ iconv_t <
template<typename T_from, typename T_to>
class stdex::charset_encoder< T_from, T_to >

Encoding converter context.

Member Function Documentation

- -

◆ convert() [1/3]

+ +

◆ convert() [1/3]

template<typename T_from , typename T_to >
-template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
+template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
from_encoding charset_id to_encoding () const
 
template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
void strcat (std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, _In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)
 Convert string and append to string.
 
template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
void strcat (std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, const T_from *src)
 Convert string and append to string.
 
template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>, class _Traits_from = std::char_traits<T_from>, class _Alloc_from = std::allocator<T_from>>
void strcat (std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, const std::basic_string< T_from, _Traits_from, _Alloc_from > &src)
 Convert string and append to string.
 
template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
void strcpy (std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, _In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)
 Convert string.
 
template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
void strcpy (std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, const T_from *src)
 Convert string.
 
template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>, class _Traits_from = std::char_traits<T_from>, class _Alloc_from = std::allocator<T_from>>
void strcpy (std::basic_string< T_to, _Traits_to, _Alloc_to > &dst, const std::basic_string< T_from, _Traits_from, _Alloc_from > &src)
 Convert string.
 
template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
std::basic_string< T_to, _Traits_to, _Alloc_to > convert (_In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)
 Return converted string.
 
template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
std::basic_string< T_to, _Traits_to, _Alloc_to > convert (const T_from *src)
 Return converted string.
 
template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>, class _Traits_from = std::char_traits<T_from>, class _Alloc_from = std::allocator<T_from>>
std::basic_string< T_to, _Traits_to, _Alloc_to > convert (const std::basic_string< T_from, _Traits_from, _Alloc_from > &src)
 Return converted string.
 
template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
void strcat (std::basic_string< T_to, TR_to, AX_to > &dst, _In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)
 Convert string and append to string.
 
template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
void strcat (std::basic_string< T_to, TR_to, AX_to > &dst, const T_from *src)
 Convert string and append to string.
 
template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
void strcat (std::basic_string< T_to, TR_to, AX_to > &dst, const std::basic_string_view< T_from, std::char_traits< T_from > > src)
 Convert string and append to string.
 
template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
void strcpy (std::basic_string< T_to, TR_to, AX_to > &dst, _In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)
 Convert string.
 
template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
void strcpy (std::basic_string< T_to, TR_to, AX_to > &dst, const T_from *src)
 Convert string.
 
template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
void strcpy (std::basic_string< T_to, TR_to, AX_to > &dst, const std::basic_string_view< T_from, std::char_traits< T_from > > src)
 Convert string.
 
template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
std::basic_string< T_to, TR_to, AX_to > convert (_In_reads_or_z_opt_(count_src) const T_from *src, size_t count_src)
 Return converted string.
 
template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
std::basic_string< T_to, TR_to, AX_to > convert (const T_from *src)
 Return converted string.
 
template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
std::basic_string< T_to, TR_to, AX_to > convert (const std::basic_string_view< T_from, std::char_traits< T_from > > src)
 Return converted string.
 
void clear ()
 
m_handle
@@ -217,24 +212,23 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = - -

◆ convert() [2/3]

+ +

◆ convert() [2/3]

template<typename T_from , typename T_to >
-template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>, class _Traits_from = std::char_traits<T_from>, class _Alloc_from = std::allocator<T_from>>
+template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
- + - - + - - - - - - - +
std::basic_string< T_to, _Traits_to, _Alloc_to > stdex::charset_encoder< T_from, T_to >::convert std::basic_string< T_to, TR_to, AX_to > stdex::charset_encoder< T_from, T_to >::convert (_In_reads_or_z_opt_(count_src) const T_from * src, _In_reads_or_z_opt_(count_src) const T_from * src,
size_t count_src 
)size_t count_src )
@@ -398,15 +376,15 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = - -

◆ strcat() [3/3]

+ +

◆ strcat() [3/3]

template<typename T_from , typename T_to >
-template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
+template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
- + - - +
std::basic_string< T_to, _Traits_to, _Alloc_to > stdex::charset_encoder< T_from, T_to >::convert std::basic_string< T_to, TR_to, AX_to > stdex::charset_encoder< T_from, T_to >::convert (const std::basic_string< T_from, _Traits_from, _Alloc_from > & src)const std::basic_string_view< T_from, std::char_traits< T_from > > src)
@@ -255,24 +249,23 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = - -

◆ convert() [3/3]

+ +

◆ convert() [3/3]

template<typename T_from , typename T_to >
-template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
+template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
@@ -349,15 +334,15 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = - -

◆ strcat() [2/3]

+ +

◆ strcat() [2/3]

template<typename T_from , typename T_to >
-template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>, class _Traits_from = std::char_traits<T_from>, class _Alloc_from = std::allocator<T_from>>
+template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
- + - - +
std::basic_string< T_to, _Traits_to, _Alloc_to > stdex::charset_encoder< T_from, T_to >::convert std::basic_string< T_to, TR_to, AX_to > stdex::charset_encoder< T_from, T_to >::convert (const T_from * src)const T_from * src)
@@ -293,15 +286,15 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = - -

◆ strcat() [1/3]

+ +

◆ strcat() [1/3]

template<typename T_from , typename T_to >
-template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
+template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
- - + - - + - - - - - - - +
@@ -309,25 +302,17 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to =
void stdex::charset_encoder< T_from, T_to >::strcat (std::basic_string< T_to, _Traits_to, _Alloc_to > & dst, std::basic_string< T_to, TR_to, AX_to > & dst,
_In_reads_or_z_opt_(count_src) const T_from * src, _In_reads_or_z_opt_(count_src) const T_from * src,
size_t count_src 
)size_t count_src )
- - + - - - - - - - +
@@ -365,19 +350,12 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to =
void stdex::charset_encoder< T_from, T_to >::strcat (std::basic_string< T_to, _Traits_to, _Alloc_to > & dst, std::basic_string< T_to, TR_to, AX_to > & dst,
const std::basic_string< T_from, _Traits_from, _Alloc_from > & src 
)const std::basic_string_view< T_from, std::char_traits< T_from > > src )
- - + - - - - - - - +
@@ -414,19 +392,12 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to =
void stdex::charset_encoder< T_from, T_to >::strcat (std::basic_string< T_to, _Traits_to, _Alloc_to > & dst, std::basic_string< T_to, TR_to, AX_to > & dst,
const T_from * src 
)const T_from * src )
@@ -447,15 +418,15 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to =
- -

◆ strcpy() [1/3]

+ +

◆ strcpy() [1/3]

template<typename T_from , typename T_to >
-template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
+template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
- - + - - + - - - - - - - +
@@ -463,25 +434,17 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to =
void stdex::charset_encoder< T_from, T_to >::strcpy (std::basic_string< T_to, _Traits_to, _Alloc_to > & dst, std::basic_string< T_to, TR_to, AX_to > & dst,
_In_reads_or_z_opt_(count_src) const T_from * src, _In_reads_or_z_opt_(count_src) const T_from * src,
size_t count_src 
)size_t count_src )
@@ -503,15 +466,15 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to =
- -

◆ strcpy() [2/3]

+ +

◆ strcpy() [2/3]

template<typename T_from , typename T_to >
-template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>, class _Traits_from = std::char_traits<T_from>, class _Alloc_from = std::allocator<T_from>>
+template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
- - + - - - - - - - +
@@ -519,19 +482,12 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to =
void stdex::charset_encoder< T_from, T_to >::strcpy (std::basic_string< T_to, _Traits_to, _Alloc_to > & dst, std::basic_string< T_to, TR_to, AX_to > & dst,
const std::basic_string< T_from, _Traits_from, _Alloc_from > & src 
)const std::basic_string_view< T_from, std::char_traits< T_from > > src )
@@ -552,15 +508,15 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to =
- -

◆ strcpy() [3/3]

+ +

◆ strcpy() [3/3]

template<typename T_from , typename T_to >
-template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to = std::allocator<T_to>>
+template<class TR_to = std::char_traits<T_to>, class AX_to = std::allocator<T_to>>
- - + - - - - - - - +
@@ -568,19 +524,12 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to =
void stdex::charset_encoder< T_from, T_to >::strcpy (std::basic_string< T_to, _Traits_to, _Alloc_to > & dst, std::basic_string< T_to, TR_to, AX_to > & dst,
const T_from * src 
)const T_from * src )
@@ -607,7 +556,7 @@ template<class _Traits_to = std::char_traits<T_to>, class _Alloc_to =
diff --git a/classstdex_1_1crc32__hash-members.html b/classstdex_1_1crc32__hash-members.html index aca9dc567..ccca54a9b 100644 --- a/classstdex_1_1crc32__hash-members.html +++ b/classstdex_1_1crc32__hash-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -90,7 +92,7 @@ $(function() { diff --git a/classstdex_1_1crc32__hash.html b/classstdex_1_1crc32__hash.html index 84b7833f1..9ce98841b 100644 --- a/classstdex_1_1crc32__hash.html +++ b/classstdex_1_1crc32__hash.html @@ -3,12 +3,14 @@ - + stdex: stdex::crc32_hash Class Reference + + @@ -30,7 +32,7 @@ - + @@ -82,7 +84,7 @@ $(function() {

Hashes as CRC32. - More...

+ More...

#include <stdex/hash.hpp>

@@ -100,16 +102,16 @@ Public Member Functions  crc32_hash (crc32_t crc=0)   -virtual void clear () +virtual void clear ()  Initializes hash value and internal state.
  -virtual void hash (_In_reads_bytes_opt_(length) const void *data, size_t length) +virtual void hash (_In_reads_bytes_opt_(length) const void *data, size_t length)  Hashes block of data.
  -virtual void finalize () +virtual void finalize ()  Finalizes hash value.
  -- Public Member Functions inherited from stdex::basic_hash< crc32_t > +- Public Member Functions inherited from stdex::basic_hash< crc32_t > const crc32_t & data ()  Returns hash value.
@@ -121,12 +123,12 @@ const crc32_t & data - + - + @@ -146,7 +148,7 @@ crc32_t  - +

Additional Inherited Members

- Static Public Member Functions inherited from stdex::basic_hash< crc32_t >
- Static Public Member Functions inherited from stdex::basic_hash< crc32_t >
static size_t size ()
 Returns size of the hash value in bytes.
 
- Protected Attributes inherited from stdex::basic_hash< crc32_t >
- Protected Attributes inherited from stdex::basic_hash< crc32_t >
crc32_t m_value
 
m_value virtual void stdex::crc32_hash::clear ())
@@ -175,7 +177,7 @@ crc32_t m_value virtual void stdex::crc32_hash::finalize ( - ) + ) @@ -204,19 +206,12 @@ crc32_t m_value virtual void stdex::crc32_hash::hash ( - _In_reads_bytes_opt_(length) const void *  - data, + _In_reads_bytes_opt_(length) const void * data, - size_t  - length  - - - - ) - + size_t length ) @@ -245,7 +240,7 @@ crc32_t m_value diff --git a/classstdex_1_1crc32__hash.png b/classstdex_1_1crc32__hash.png index 1bc92a4cc..e40c044d6 100644 Binary files a/classstdex_1_1crc32__hash.png and b/classstdex_1_1crc32__hash.png differ diff --git a/classstdex_1_1global__progress-members.html b/classstdex_1_1global__progress-members.html index bd9081383..e4afd3645 100644 --- a/classstdex_1_1global__progress-members.html +++ b/classstdex_1_1global__progress-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -97,7 +99,7 @@ $(function() {
diff --git a/classstdex_1_1global__progress.html b/classstdex_1_1global__progress.html index f72dcfae3..a9f86ed6d 100644 --- a/classstdex_1_1global__progress.html +++ b/classstdex_1_1global__progress.html @@ -3,12 +3,14 @@ - + stdex: stdex::global_progress< T > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -83,7 +85,7 @@ $(function() {

Global progress indicator base class. - More...

+ More...

#include <stdex/progress.hpp>

@@ -99,34 +101,34 @@ Inheritance diagram for stdex::global_progress< T >:
- + - + - + - + - + - + - + - + - + - +

Public Member Functions

 global_progress (progress< T > *host=NULL)
 global_progress (progress< T > *host=NULL)
 Constructs a progress indicator.
 
void attach (progress< T > *host)
void attach (progress< T > *host)
 Attach to a host progress indicator.
 
progress< T > * detach ()
progress< T > * detach ()
 Detach host progress indicator.
 
void set_global_range (T start, T end)
void set_global_range (T start, T end)
 Set global extend of the progress indicator.
 
void set_section_range (T start, T end)
void set_section_range (T start, T end)
 Set section extend of the progress indicator.
 
virtual void set_text (const char *msg)
virtual void set_text (const char *msg)
 Set progress indicator text.
 
virtual void set_range (T start, T end)
virtual void set_range (T start, T end)
 Set local extend of the progress indicator.
 
virtual void set (T value)
virtual void set (T value)
 Set local current progress.
 
virtual void show (bool show=true)
virtual void show (bool show=true)
 Show or hide progress.
 
virtual bool cancel ()
virtual bool cancel ()
 Query whether user requested abort.
 
@@ -164,8 +166,7 @@ template<class T > - - +
stdex::global_progress< T >::global_progress (progress< T > * host = NULL)progress< T > * host = NULL)
@@ -201,8 +202,7 @@ template<class T >
void stdex::global_progress< T >::attach ( - progress< T > *  - host) + progress< T > * host) @@ -237,7 +237,7 @@ template<class T > virtual bool stdex::global_progress< T >::cancel ( - ) + ) @@ -268,7 +268,7 @@ template<class T > progress< T > * stdex::global_progress< T >::detach ( - ) + ) @@ -298,8 +298,7 @@ template<class T > virtual void stdex::global_progress< T >::set ( - T  - value) + T value) @@ -313,7 +312,7 @@ template<class T >

Set local current progress.

Parameters
- +
[in]valueCurrent value of the progress. Must be between start and end parameters provided in set_range() call.
[in]valueCurrent value of the progress. Must be between start and end parameters provided in set_range() call.
@@ -336,19 +335,12 @@ template<class T > void stdex::global_progress< T >::set_global_range ( - T  - start, + T start, - T  - end  - - - - ) - + T end ) @@ -383,19 +375,12 @@ template<class T > virtual void stdex::global_progress< T >::set_range ( - T  - start, + T start, - T  - end  - - - - ) - + T end ) @@ -432,19 +417,12 @@ template<class T > void stdex::global_progress< T >::set_section_range ( - T  - start, + T start, - T  - end  - - - - ) - + T end ) @@ -479,8 +457,7 @@ template<class T > virtual void stdex::global_progress< T >::set_text ( - const char *  - msg) + const char * msg) @@ -517,8 +494,7 @@ template<class T > virtual void stdex::global_progress< T >::show ( - bool  - show = true) + bool show = true) @@ -547,7 +523,7 @@ template<class T > diff --git a/classstdex_1_1global__progress.png b/classstdex_1_1global__progress.png index 55d0735ad..0bb7c54d2 100644 Binary files a/classstdex_1_1global__progress.png and b/classstdex_1_1global__progress.png differ diff --git a/classstdex_1_1hex__dec-members.html b/classstdex_1_1hex__dec-members.html index 8e685dc63..cc53cab0b 100644 --- a/classstdex_1_1hex__dec-members.html +++ b/classstdex_1_1hex__dec-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -83,13 +85,13 @@ $(function() { bufstdex::hex_decprotected clear() noexceptstdex::hex_decinline dec_size(size_t size) const noexceptstdex::hex_decinline - decode(std::vector< _Ty, _Ax > &out, bool &is_last, const _Tchr *data, size_t size)stdex::hex_decinline + decode(std::vector< T_to, AX > &out, bool &is_last, const T_from *data, size_t size)stdex::hex_decinline hex_dec() noexceptstdex::hex_decinline numstdex::hex_decprotected diff --git a/classstdex_1_1hex__dec.html b/classstdex_1_1hex__dec.html index efe818e52..a57980bc8 100644 --- a/classstdex_1_1hex__dec.html +++ b/classstdex_1_1hex__dec.html @@ -3,12 +3,14 @@ - + stdex: stdex::hex_dec Class Reference + + @@ -30,7 +32,7 @@ - + @@ -83,7 +85,7 @@ $(function() {

Hexadecimal decoding session. - More...

+ More...

#include <stdex/hex.hpp>

@@ -93,15 +95,15 @@ Public Member Functions   - - - - + + + + - +
hex_dec () noexcept
 Constructs blank decoding session.
 
template<class _Ty , class _Ax , class _Tchr >
void decode (std::vector< _Ty, _Ax > &out, bool &is_last, const _Tchr *data, size_t size)
 Decodes one block of information, and appends it to the output.
 
template<class T_to , class AX , class T_from >
void decode (std::vector< T_to, AX > &out, bool &is_last, const T_from *data, size_t size)
 Decodes one block of information, and appends it to the output.
 
void clear () noexcept
 Resets decoding session.
 
size_t dec_size (size_t size) const noexcept
size_t dec_size (size_t size) const noexcept
 Returns maximum decoded size.
 
@@ -131,8 +133,7 @@ size_t  - - +
num
size_t stdex::hex_dec::dec_size (size_t size)size_t size) const
@@ -154,13 +155,13 @@ size_t num
- -

◆ decode()

+ +

◆ decode()

-template<class _Ty , class _Ax , class _Tchr >
+template<class T_to , class AX , class T_from >
- - + - - + - - + - - - - - - - +
@@ -168,31 +169,22 @@ template<class _Ty , class _Ax , class _Tchr >
void stdex::hex_dec::decode (std::vector< _Ty, _Ax > & out, std::vector< T_to, AX > & out,
bool & is_last, bool & is_last,
const _Tchr * data, const T_from * data,
size_t size 
)size_t size )
@@ -221,7 +213,7 @@ template<class _Ty , class _Ax , class _Tchr >
diff --git a/classstdex_1_1hex__enc-members.html b/classstdex_1_1hex__enc-members.html index e1fd63750..da47f886c 100644 --- a/classstdex_1_1hex__enc-members.html +++ b/classstdex_1_1hex__enc-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -81,12 +83,12 @@ $(function() {

This is the complete list of members for stdex::hex_enc, including all inherited members.

- +
enc_size(size_t size) const noexceptstdex::hex_encinline
encode(std::basic_string< _Elem, _Traits, _Ax > &out, const void *data, size_t size)stdex::hex_encinline
encode(std::basic_string< T, TR, AX > &out, const void *data, size_t size)stdex::hex_encinline
hex_enc() noexceptstdex::hex_encinline
diff --git a/classstdex_1_1hex__enc.html b/classstdex_1_1hex__enc.html index 24806469f..88c039b3d 100644 --- a/classstdex_1_1hex__enc.html +++ b/classstdex_1_1hex__enc.html @@ -3,12 +3,14 @@ - + stdex: stdex::hex_enc Class Reference + + @@ -30,7 +32,7 @@ - + @@ -82,7 +84,7 @@ $(function() {

Hexadecimal encoding session. - More...

+ More...

#include <stdex/hex.hpp>

@@ -92,11 +94,11 @@ Public Member Functions   - - - - - + + + + +
hex_enc () noexcept
 Constructs blank encoding session.
 
template<class _Elem , class _Traits , class _Ax >
void encode (std::basic_string< _Elem, _Traits, _Ax > &out, const void *data, size_t size)
 Encodes one block of information, and appends it to the output.
 
size_t enc_size (size_t size) const noexcept
template<class T , class TR , class AX >
void encode (std::basic_string< T, TR, AX > &out, const void *data, size_t size)
 Encodes one block of information, and appends it to the output.
 
size_t enc_size (size_t size) const noexcept
 Returns maximum encoded size.
 
@@ -115,8 +117,7 @@ Public Member Functions size_t stdex::hex_enc::enc_size ( - size_t  - size) + size_t size) const @@ -138,13 +139,13 @@ Public Member Functions
- -

◆ encode()

+ +

◆ encode()

-template<class _Elem , class _Traits , class _Ax >
+template<class T , class TR , class AX >
- - + - - + - - - - - - - +
@@ -152,25 +153,17 @@ template<class _Elem , class _Traits , class _Ax >
void stdex::hex_enc::encode (std::basic_string< _Elem, _Traits, _Ax > & out, std::basic_string< T, TR, AX > & out,
const void * data, const void * data,
size_t size 
)size_t size )
@@ -198,7 +191,7 @@ template<class _Elem , class _Traits , class _Ax >
diff --git a/classstdex_1_1html_1_1comment-members.html b/classstdex_1_1html_1_1comment-members.html index 3fd161af2..0acf2b102 100644 --- a/classstdex_1_1html_1_1comment-members.html +++ b/classstdex_1_1html_1_1comment-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -90,7 +92,7 @@ $(function() { diff --git a/classstdex_1_1html_1_1comment.html b/classstdex_1_1html_1_1comment.html index 0390497dc..1b2892fe6 100644 --- a/classstdex_1_1html_1_1comment.html +++ b/classstdex_1_1html_1_1comment.html @@ -3,12 +3,14 @@ - + stdex: stdex::html::comment Class Reference + + @@ -30,7 +32,7 @@ - + @@ -83,7 +85,7 @@ $(function() {

HTML comment. - More...

+ More...

#include <stdex/html.hpp>

@@ -102,7 +104,7 @@ Public Member Functions template<class T >  comment (stdex::parser::basic_html_tag< T > &&tag, sequence *parent=nullptr)   -- Public Member Functions inherited from stdex::html::sequence +- Public Member Functions inherited from stdex::html::sequence  sequence (stdex::parser::html_sequence_t _type=stdex::parser::html_sequence_t::unknown, size_t start=0, size_t end=0, sequence *_parent=nullptr)   @@ -113,7 +115,7 @@ Public Attributes stdex::interval< size_t > content  Comment content position in source.
  -- Public Attributes inherited from stdex::html::sequence +- Public Attributes inherited from stdex::html::sequence stdex::parser::html_sequence_t type  Sequence type. Enum is used for performance reasons (vs. dynamic_cast)
@@ -135,7 +137,7 @@ stdex::parser::html_sequence_t  diff --git a/classstdex_1_1html_1_1comment.png b/classstdex_1_1html_1_1comment.png index 94239e1f5..14fdd57f2 100644 Binary files a/classstdex_1_1html_1_1comment.png and b/classstdex_1_1html_1_1comment.png differ diff --git a/classstdex_1_1html_1_1declaration-members.html b/classstdex_1_1html_1_1declaration-members.html index a15861beb..9a6c82982 100644 --- a/classstdex_1_1html_1_1declaration-members.html +++ b/classstdex_1_1html_1_1declaration-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -91,7 +93,7 @@ $(function() {
diff --git a/classstdex_1_1html_1_1declaration.html b/classstdex_1_1html_1_1declaration.html index 032e5e55b..0b0477a12 100644 --- a/classstdex_1_1html_1_1declaration.html +++ b/classstdex_1_1html_1_1declaration.html @@ -3,12 +3,14 @@ - + stdex: stdex::html::declaration Class Reference + + @@ -30,7 +32,7 @@ - + @@ -83,7 +85,7 @@ $(function() {

HTML declaration. - More...

+ More...

#include <stdex/html.hpp>

@@ -102,7 +104,7 @@ Public Member Functions template<class T >  declaration (stdex::parser::basic_html_tag< T > &&tag, sequence *parent=nullptr)   -- Public Member Functions inherited from stdex::html::sequence +- Public Member Functions inherited from stdex::html::sequence  sequence (stdex::parser::html_sequence_t _type=stdex::parser::html_sequence_t::unknown, size_t start=0, size_t end=0, sequence *_parent=nullptr)   @@ -117,7 +119,7 @@ Public Attributes std::vector< stdex::parser::html_attributeattributes  Declaration attribute positions in source.
  -- Public Attributes inherited from stdex::html::sequence +- Public Attributes inherited from stdex::html::sequence stdex::parser::html_sequence_t type  Sequence type. Enum is used for performance reasons (vs. dynamic_cast)
@@ -139,7 +141,7 @@ stdex::parser::html_sequence_t  diff --git a/classstdex_1_1html_1_1declaration.png b/classstdex_1_1html_1_1declaration.png index 739a31ce7..8f93d83f7 100644 Binary files a/classstdex_1_1html_1_1declaration.png and b/classstdex_1_1html_1_1declaration.png differ diff --git a/classstdex_1_1html_1_1document-members.html b/classstdex_1_1html_1_1document-members.html index 0c2220fe8..d11276cdb 100644 --- a/classstdex_1_1html_1_1document-members.html +++ b/classstdex_1_1html_1_1document-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -74,40 +76,40 @@ $(function() {
-
stdex::html::document< _Elem, _Traits, _Alloc > Member List
+
stdex::html::document< T, TR, AX > Member List
-

This is the complete list of members for stdex::html::document< _Elem, _Traits, _Alloc >, including all inherited members.

+

This is the complete list of members for stdex::html::document< T, TR, AX >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
active_element() conststdex::html::document< _Elem, _Traits, _Alloc >inlineprotected
append(_In_reads_or_z_opt_(num_chars) const _Elem *source, size_t num_chars)stdex::html::document< _Elem, _Traits, _Alloc >inline
assign(_In_reads_or_z_opt_(num_chars) const _Elem *source, size_t num_chars)stdex::html::document< _Elem, _Traits, _Alloc >inline
clear()stdex::html::document< _Elem, _Traits, _Alloc >inline
document() (defined in stdex::html::document< _Elem, _Traits, _Alloc >)stdex::html::document< _Elem, _Traits, _Alloc >inline
finalize()stdex::html::document< _Elem, _Traits, _Alloc >inline
m_any_char (defined in stdex::html::document< _Elem, _Traits, _Alloc >)stdex::html::document< _Elem, _Traits, _Alloc >protected
m_charsetstdex::html::document< _Elem, _Traits, _Alloc >protected
m_condition_end (defined in stdex::html::document< _Elem, _Traits, _Alloc >)stdex::html::document< _Elem, _Traits, _Alloc >protected
m_condition_start (defined in stdex::html::document< _Elem, _Traits, _Alloc >)stdex::html::document< _Elem, _Traits, _Alloc >protected
m_element_stackstdex::html::document< _Elem, _Traits, _Alloc >protected
m_entitiesstdex::html::document< _Elem, _Traits, _Alloc >protected
m_is_cdatastdex::html::document< _Elem, _Traits, _Alloc >protected
m_is_rcdatastdex::html::document< _Elem, _Traits, _Alloc >protected
m_is_special_elementstdex::html::document< _Elem, _Traits, _Alloc >protected
m_num_invalid_conditionsstdex::html::document< _Elem, _Traits, _Alloc >protected
m_num_parsedstdex::html::document< _Elem, _Traits, _Alloc >protected
m_num_valid_conditionsstdex::html::document< _Elem, _Traits, _Alloc >protected
m_sequencesstdex::html::document< _Elem, _Traits, _Alloc >protected
m_sourcestdex::html::document< _Elem, _Traits, _Alloc >protected
m_tag (defined in stdex::html::document< _Elem, _Traits, _Alloc >)stdex::html::document< _Elem, _Traits, _Alloc >protected
parser< _Elem, _Traits, _Alloc > (defined in stdex::html::document< _Elem, _Traits, _Alloc >)stdex::html::document< _Elem, _Traits, _Alloc >friend
replace_entities(_In_reads_or_z_opt_(num_chars) const _Elem *input, size_t num_chars) conststdex::html::document< _Elem, _Traits, _Alloc >inlineprotected
source() conststdex::html::document< _Elem, _Traits, _Alloc >inline
active_element() conststdex::html::document< T, TR, AX >inlineprotected
append(_In_reads_or_z_opt_(num_chars) const T *source, size_t num_chars)stdex::html::document< T, TR, AX >inline
assign(_In_reads_or_z_opt_(num_chars) const T *source, size_t num_chars)stdex::html::document< T, TR, AX >inline
clear()stdex::html::document< T, TR, AX >inline
document() (defined in stdex::html::document< T, TR, AX >)stdex::html::document< T, TR, AX >inline
finalize()stdex::html::document< T, TR, AX >inline
m_any_char (defined in stdex::html::document< T, TR, AX >)stdex::html::document< T, TR, AX >protected
m_charsetstdex::html::document< T, TR, AX >protected
m_condition_end (defined in stdex::html::document< T, TR, AX >)stdex::html::document< T, TR, AX >protected
m_condition_start (defined in stdex::html::document< T, TR, AX >)stdex::html::document< T, TR, AX >protected
m_element_stackstdex::html::document< T, TR, AX >protected
m_entitiesstdex::html::document< T, TR, AX >protected
m_is_cdatastdex::html::document< T, TR, AX >protected
m_is_rcdatastdex::html::document< T, TR, AX >protected
m_is_special_elementstdex::html::document< T, TR, AX >protected
m_num_invalid_conditionsstdex::html::document< T, TR, AX >protected
m_num_parsedstdex::html::document< T, TR, AX >protected
m_num_valid_conditionsstdex::html::document< T, TR, AX >protected
m_sequencesstdex::html::document< T, TR, AX >protected
m_sourcestdex::html::document< T, TR, AX >protected
m_tag (defined in stdex::html::document< T, TR, AX >)stdex::html::document< T, TR, AX >protected
parser< T, TR, AX > (defined in stdex::html::document< T, TR, AX >)stdex::html::document< T, TR, AX >friend
replace_entities(_In_reads_or_z_opt_(num_chars) const T *input, size_t num_chars) conststdex::html::document< T, TR, AX >inlineprotected
source() conststdex::html::document< T, TR, AX >inline
diff --git a/classstdex_1_1html_1_1document.html b/classstdex_1_1html_1_1document.html index ff6bb236b..d302d3eaa 100644 --- a/classstdex_1_1html_1_1document.html +++ b/classstdex_1_1html_1_1document.html @@ -3,12 +3,14 @@ - + -stdex: stdex::html::document< _Elem, _Traits, _Alloc > Class Template Reference +stdex: stdex::html::document< T, TR, AX > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -80,124 +82,124 @@ $(function() { Protected Attributes | Friends | List of all members -
stdex::html::document< _Elem, _Traits, _Alloc > Class Template Reference
+
stdex::html::document< T, TR, AX > Class Template Reference

HTML document. - More...

+ More...

#include <stdex/html.hpp>

- - - - - - - + + + + + - - - - - - - - + + + + + + + +

Public Member Functions

+
void clear ()
 Empties document.
 
-void append (_In_reads_or_z_opt_(num_chars) const _Elem *source, size_t num_chars)
 Parses HTML source code by chunks.
 
+
 Empties document.
 
+void append (_In_reads_or_z_opt_(num_chars) const T *source, size_t num_chars)
 Parses HTML source code by chunks.
 
void finalize ()
 Finalizes document when no more appending is planned.
 
-void assign (_In_reads_or_z_opt_(num_chars) const _Elem *source, size_t num_chars)
 Parses HTML document source code.
 
-const std::basic_string< _Elem, _Traits, _Alloc > & source () const
 Returns document HTML source code.
 
 Finalizes document when no more appending is planned.
 
+void assign (_In_reads_or_z_opt_(num_chars) const T *source, size_t num_chars)
 Parses HTML document source code.
 
+const std::basic_string< T, TR, AX > & source () const
 Returns document HTML source code.
 
- - - - - - + + + + +

Protected Member Functions

+
element_startactive_element () const
 Returns starting tag of currently active element or nullptr if no element is known to be started.
 
-std::basic_string< _Elem, _Traits, _Alloc > replace_entities (_In_reads_or_z_opt_(num_chars) const _Elem *input, size_t num_chars) const
 Replaces entities with their content.
 
 Returns starting tag of currently active element or nullptr if no element is known to be started.
 
+std::basic_string< T, TR, AX > replace_entities (_In_reads_or_z_opt_(num_chars) const T *input, size_t num_chars) const
 Replaces entities with their content.
 
- - - - + + + - - - + + - - - + + - - - + + - - - + + - - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - + + - - - + + - - + +

Protected Attributes

-std::basic_string< _Elem, _Traits, _Alloc > m_source
 Document HTML source code.
 
+
+std::basic_string< T, TR, AX > m_source
 Document HTML source code.
 
size_t m_num_parsed
 Number of characters already parsed.
 
+
 Number of characters already parsed.
 
stdex::charset_id m_charset
 Document charset.
 
+
 Document charset.
 
size_t m_num_valid_conditions
 Number of started valid conditions.
 
+
 Number of started valid conditions.
 
size_t m_num_invalid_conditions
 Number of started invalid conditions.
 
+
 Number of started invalid conditions.
 
bool m_is_cdata
 Inside of CDATA?
 
+
 Inside of CDATA?
 
bool m_is_rcdata
 Inside of RCDATA?
 
-stdex::parser::basic_html_declaration_condition_start< _Elem > m_condition_start
 
-stdex::parser::basic_html_declaration_condition_end< _Elem > m_condition_end
 
-stdex::parser::basic_any_cu< _Elem > m_any_char
 
-std::vector< std::unique_ptr< entity< _Elem, _Traits, _Alloc > > > m_entities
 Array of entities.
 
-stdex::parser::basic_html_tag< _Elem > m_tag
 
+
 Inside of RCDATA?
 
+stdex::parser::basic_html_declaration_condition_start< T > m_condition_start
 
+stdex::parser::basic_html_declaration_condition_end< T > m_condition_end
 
+stdex::parser::basic_any_cu< T > m_any_char
 
+std::vector< std::unique_ptr< entity< T, TR, AX > > > m_entities
 Array of entities.
 
+stdex::parser::basic_html_tag< T > m_tag
 
sequence_store m_sequences
 Store of sequences.
 
+
 Store of sequences.
 
std::vector< element_start * > m_element_stack
 LIFO stack of started elements.
 
+
 LIFO stack of started elements.
 
bool m_is_special_element
 Inside of a special element (<SCRIPT>, <STYLE>, ...)?
 
 Inside of a special element (<SCRIPT>, <STYLE>, ...)?
 
- - + +

Friends

-class parser< _Elem, _Traits, _Alloc >
 
+class parser< T, TR, AX >
 

Detailed Description

-
template<class _Elem, class _Traits = std::char_traits<_Elem>, class _Alloc = std::allocator<_Elem>>
-class stdex::html::document< _Elem, _Traits, _Alloc >

HTML document.

+
template<class T, class TR = std::char_traits<T>, class AX = std::allocator<T>>
+class stdex::html::document< T, TR, AX >

HTML document.


The documentation for this class was generated from the following file:
diff --git a/classstdex_1_1html_1_1element-members.html b/classstdex_1_1html_1_1element-members.html index df83dfc05..01170e4c1 100644 --- a/classstdex_1_1html_1_1element-members.html +++ b/classstdex_1_1html_1_1element-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -93,7 +95,7 @@ $(function() { diff --git a/classstdex_1_1html_1_1element.html b/classstdex_1_1html_1_1element.html index 3716ae79c..97879bd3e 100644 --- a/classstdex_1_1html_1_1element.html +++ b/classstdex_1_1html_1_1element.html @@ -3,12 +3,14 @@ - + stdex: stdex::html::element Class Reference + + @@ -30,7 +32,7 @@ - + @@ -84,7 +86,7 @@ $(function() {

HTML element <.../> - More...

+ More...

#include <stdex/html.hpp>

@@ -104,7 +106,7 @@ Public Member Functions template<class T >  element (stdex::parser::basic_html_tag< T > &&tag, const T *src, sequence *parent=nullptr)   -- Public Member Functions inherited from stdex::html::sequence +- Public Member Functions inherited from stdex::html::sequence  sequence (stdex::parser::html_sequence_t _type=stdex::parser::html_sequence_t::unknown, size_t start=0, size_t end=0, sequence *_parent=nullptr)   @@ -113,7 +115,7 @@ template<class T > Static Public Member Functions template<class T > -static element_t element_code (_In_reads_z_(num_chars) const T *name, size_t num_chars) +static element_t element_code (_In_reads_z_(num_chars) const T *name, size_t num_chars)   stdex::parser::html_attribute >  - + @@ -152,7 +154,7 @@ stdex::parser::html_sequence_t 

@@ -130,7 +132,7 @@ element_t 

codeattributes
 Element attribute positions in source.
 
- Public Attributes inherited from stdex::html::sequence
- Public Attributes inherited from stdex::html::sequence
stdex::parser::html_sequence_t type
 Sequence type. Enum is used for performance reasons (vs. dynamic_cast)
diff --git a/classstdex_1_1html_1_1element.png b/classstdex_1_1html_1_1element.png index 1ae1be13a..c0390abb4 100644 Binary files a/classstdex_1_1html_1_1element.png and b/classstdex_1_1html_1_1element.png differ diff --git a/classstdex_1_1html_1_1element__end-members.html b/classstdex_1_1html_1_1element__end-members.html index 4090369f7..711ab89a7 100644 --- a/classstdex_1_1html_1_1element__end-members.html +++ b/classstdex_1_1html_1_1element__end-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -92,7 +94,7 @@ $(function() {
diff --git a/classstdex_1_1html_1_1element__end.html b/classstdex_1_1html_1_1element__end.html index 072ace57f..5d45bcb01 100644 --- a/classstdex_1_1html_1_1element__end.html +++ b/classstdex_1_1html_1_1element__end.html @@ -3,12 +3,14 @@ - + stdex: stdex::html::element_end Class Reference + + @@ -30,7 +32,7 @@ - + @@ -83,7 +85,7 @@ $(function() {

Ending tag of an HTML element </...> - More...

+ More...

#include <stdex/html.hpp>

@@ -102,7 +104,7 @@ Public Member Functions template<class T >  element_end (stdex::parser::basic_html_tag< T > &&tag, const T *src, sequence *parent=nullptr, element_start *_start=nullptr)   -- Public Member Functions inherited from stdex::html::sequence +- Public Member Functions inherited from stdex::html::sequence  sequence (stdex::parser::html_sequence_t _type=stdex::parser::html_sequence_t::unknown, size_t start=0, size_t end=0, sequence *_parent=nullptr)   @@ -121,7 +123,7 @@ element_t codeelement_start * start  Corresponding starting tag.
  -- Public Attributes inherited from stdex::html::sequence +- Public Attributes inherited from stdex::html::sequence stdex::parser::html_sequence_t type  Sequence type. Enum is used for performance reasons (vs. dynamic_cast)
@@ -143,7 +145,7 @@ stdex::parser::html_sequence_t  diff --git a/classstdex_1_1html_1_1element__end.png b/classstdex_1_1html_1_1element__end.png index e1e5769b4..8de209459 100644 Binary files a/classstdex_1_1html_1_1element__end.png and b/classstdex_1_1html_1_1element__end.png differ diff --git a/classstdex_1_1html_1_1element__start-members.html b/classstdex_1_1html_1_1element__start-members.html index 27af26961..c8e5e6ee3 100644 --- a/classstdex_1_1html_1_1element__start-members.html +++ b/classstdex_1_1html_1_1element__start-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -95,7 +97,7 @@ $(function() {
diff --git a/classstdex_1_1html_1_1element__start.html b/classstdex_1_1html_1_1element__start.html index d7b9e9547..6bd5cf1eb 100644 --- a/classstdex_1_1html_1_1element__start.html +++ b/classstdex_1_1html_1_1element__start.html @@ -3,12 +3,14 @@ - + stdex: stdex::html::element_start Class Reference + + @@ -30,7 +32,7 @@ - + @@ -83,7 +85,7 @@ $(function() {

Starting tag of an HTML element <...> - More...

+ More...

#include <stdex/html.hpp>

@@ -103,12 +105,12 @@ Public Member Functions template<class T >  element_start (stdex::parser::basic_html_tag< T > &&tag, const T *src, sequence *parent=nullptr, sequence *_end=nullptr)   -- Public Member Functions inherited from stdex::html::element +- Public Member Functions inherited from stdex::html::element template<class T >  element (stdex::parser::basic_html_tag< T > &&tag, const T *src, sequence *parent=nullptr)   -- Public Member Functions inherited from stdex::html::sequence +- Public Member Functions inherited from stdex::html::sequence  sequence (stdex::parser::html_sequence_t _type=stdex::parser::html_sequence_t::unknown, size_t start=0, size_t end=0, sequence *_parent=nullptr)   @@ -119,7 +121,7 @@ Public Attributes sequenceend  Corresponding ending tag of type element_end; When element is ended by a start of another element, this points to the another element start.
  -- Public Attributes inherited from stdex::html::element +- Public Attributes inherited from stdex::html::element element_t code  Element code.
@@ -132,7 +134,7 @@ element_t codestdex::parser::html_attribute > attributes  Element attribute positions in source.
  -- Public Attributes inherited from stdex::html::sequence +- Public Attributes inherited from stdex::html::sequence stdex::parser::html_sequence_t type  Sequence type. Enum is used for performance reasons (vs. dynamic_cast)
@@ -148,7 +150,7 @@ stdex::parser::html_sequence_t 

Additional Inherited Members

-- Static Public Member Functions inherited from stdex::html::element +- Static Public Member Functions inherited from stdex::html::element template<class T > static element_t element_code (_In_reads_z_(num_chars) const T *name, size_t num_chars) @@ -162,7 +164,7 @@ template<class T >
diff --git a/classstdex_1_1html_1_1element__start.png b/classstdex_1_1html_1_1element__start.png index 298b88b45..9e5ba077a 100644 Binary files a/classstdex_1_1html_1_1element__start.png and b/classstdex_1_1html_1_1element__start.png differ diff --git a/classstdex_1_1html_1_1instruction-members.html b/classstdex_1_1html_1_1instruction-members.html index 67dc308d2..0f0ffd5a9 100644 --- a/classstdex_1_1html_1_1instruction-members.html +++ b/classstdex_1_1html_1_1instruction-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -90,7 +92,7 @@ $(function() { diff --git a/classstdex_1_1html_1_1instruction.html b/classstdex_1_1html_1_1instruction.html index 05e7baec2..4cdd7a4c6 100644 --- a/classstdex_1_1html_1_1instruction.html +++ b/classstdex_1_1html_1_1instruction.html @@ -3,12 +3,14 @@ - + stdex: stdex::html::instruction Class Reference + + @@ -30,7 +32,7 @@ - + @@ -83,7 +85,7 @@ $(function() {

HTML instruction. - More...

+ More...

#include <stdex/html.hpp>

@@ -102,7 +104,7 @@ Public Member Functions template<class T >  instruction (stdex::parser::basic_html_tag< T > &&tag, sequence *parent=nullptr)   -- Public Member Functions inherited from stdex::html::sequence +- Public Member Functions inherited from stdex::html::sequence  sequence (stdex::parser::html_sequence_t _type=stdex::parser::html_sequence_t::unknown, size_t start=0, size_t end=0, sequence *_parent=nullptr)   @@ -113,7 +115,7 @@ Public Attributes stdex::interval< size_t > content  Instruction content position in source.
  -- Public Attributes inherited from stdex::html::sequence +- Public Attributes inherited from stdex::html::sequence stdex::parser::html_sequence_t type  Sequence type. Enum is used for performance reasons (vs. dynamic_cast)
@@ -135,7 +137,7 @@ stdex::parser::html_sequence_t  diff --git a/classstdex_1_1html_1_1instruction.png b/classstdex_1_1html_1_1instruction.png index c9a941b9b..113ef1f5b 100644 Binary files a/classstdex_1_1html_1_1instruction.png and b/classstdex_1_1html_1_1instruction.png differ diff --git a/classstdex_1_1html_1_1parser-members.html b/classstdex_1_1html_1_1parser-members.html index 31541e22c..02864e17d 100644 --- a/classstdex_1_1html_1_1parser-members.html +++ b/classstdex_1_1html_1_1parser-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -74,43 +76,43 @@ $(function() {
-
stdex::html::parser< _Elem, _Traits, _Alloc > Member List
+
stdex::html::parser< T, TR, AX > Member List
-

This is the complete list of members for stdex::html::parser< _Elem, _Traits, _Alloc >, including all inherited members.

+

This is the complete list of members for stdex::html::parser< T, TR, AX >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +
append_inserted_tokens(std::basic_string< _Elem, _Traits, _Alloc > &source, inserted_token_list &inserted_tokens, size_t word_index, bool after_word, token_list &active_tokens)stdex::html::parser< _Elem, _Traits, _Alloc >inline
append_token(std::unique_ptr< T > &&token)stdex::html::parser< _Elem, _Traits, _Alloc >inlineprotected
append_token(std::unique_ptr< T > &&token, std::basic_string< _Elem, _Traits, _Alloc > &source)stdex::html::parser< _Elem, _Traits, _Alloc >inlineprotected
end_tokens(std::basic_string< _Elem, _Traits, _Alloc > &source, token_list &active_tokens, const token_list &new_tokens)stdex::html::parser< _Elem, _Traits, _Alloc >inline
link(std::basic_string< _Elem, _Traits, _Alloc > &source, const text_token< _Elem, _Traits, _Alloc > *t)stdex::html::parser< _Elem, _Traits, _Alloc >inlinestatic
m_any_char (defined in stdex::html::parser< _Elem, _Traits, _Alloc >)stdex::html::parser< _Elem, _Traits, _Alloc >protected
m_css_cdc (defined in stdex::html::parser< _Elem, _Traits, _Alloc >)stdex::html::parser< _Elem, _Traits, _Alloc >protected
m_css_cdo (defined in stdex::html::parser< _Elem, _Traits, _Alloc >)stdex::html::parser< _Elem, _Traits, _Alloc >protected
m_css_comment (defined in stdex::html::parser< _Elem, _Traits, _Alloc >)stdex::html::parser< _Elem, _Traits, _Alloc >protected
m_css_import (defined in stdex::html::parser< _Elem, _Traits, _Alloc >)stdex::html::parser< _Elem, _Traits, _Alloc >protected
m_css_string (defined in stdex::html::parser< _Elem, _Traits, _Alloc >)stdex::html::parser< _Elem, _Traits, _Alloc >protected
m_css_uri (defined in stdex::html::parser< _Elem, _Traits, _Alloc >)stdex::html::parser< _Elem, _Traits, _Alloc >protected
m_documentstdex::html::parser< _Elem, _Traits, _Alloc >protected
m_offsetstdex::html::parser< _Elem, _Traits, _Alloc >protected
m_parse_framesstdex::html::parser< _Elem, _Traits, _Alloc >protected
m_progressstdex::html::parser< _Elem, _Traits, _Alloc >protected
m_sourcestdex::html::parser< _Elem, _Traits, _Alloc >protected
m_tokensstdex::html::parser< _Elem, _Traits, _Alloc >protected
m_urlstdex::html::parser< _Elem, _Traits, _Alloc >protected
make_absolute_url(std::basic_string< _Elem, _Traits, _Alloc > &rel)stdex::html::parser< _Elem, _Traits, _Alloc >inline
merge(token_list &a, const token_list &b)stdex::html::parser< _Elem, _Traits, _Alloc >inlinestatic
parse()stdex::html::parser< _Elem, _Traits, _Alloc >inline
parse(const sequence_store::const_iterator &end, uint32_t text_type=0)stdex::html::parser< _Elem, _Traits, _Alloc >inlineprotected
parse_css(size_t start, size_t end)stdex::html::parser< _Elem, _Traits, _Alloc >inlineprotected
parser(const document< _Elem, _Traits, _Alloc > &document, _In_reads_or_z_opt_(num_chars) const stdex::schar_t *url=nullptr, size_t num_chars=0, bool parse_frames=false, stdex::progress< size_t > *progress=nullptr) (defined in stdex::html::parser< _Elem, _Traits, _Alloc >)stdex::html::parser< _Elem, _Traits, _Alloc >inline
start_tokens(std::basic_string< _Elem, _Traits, _Alloc > &source, token_list &active_tokens, const token_list &new_tokens, token_list::const_iterator from)stdex::html::parser< _Elem, _Traits, _Alloc >inlinestatic
tokens() conststdex::html::parser< _Elem, _Traits, _Alloc >inline
append_inserted_tokens(std::basic_string< T, TR, AX > &source, inserted_token_list &inserted_tokens, size_t word_index, bool after_word, token_list &active_tokens)stdex::html::parser< T, TR, AX >inline
append_token(std::unique_ptr< T > &&token)stdex::html::parser< T, TR, AX >inlineprotected
append_token(std::unique_ptr< T > &&token, std::basic_string< T, TR, AX > &source)stdex::html::parser< T, TR, AX >inlineprotected
end_tokens(std::basic_string< T, TR, AX > &source, token_list &active_tokens, const token_list &new_tokens)stdex::html::parser< T, TR, AX >inline
link(std::basic_string< T, TR, AX > &source, const text_token< T, TR, AX > *t)stdex::html::parser< T, TR, AX >inlinestatic
m_any_char (defined in stdex::html::parser< T, TR, AX >)stdex::html::parser< T, TR, AX >protected
m_css_cdc (defined in stdex::html::parser< T, TR, AX >)stdex::html::parser< T, TR, AX >protected
m_css_cdo (defined in stdex::html::parser< T, TR, AX >)stdex::html::parser< T, TR, AX >protected
m_css_comment (defined in stdex::html::parser< T, TR, AX >)stdex::html::parser< T, TR, AX >protected
m_css_import (defined in stdex::html::parser< T, TR, AX >)stdex::html::parser< T, TR, AX >protected
m_css_string (defined in stdex::html::parser< T, TR, AX >)stdex::html::parser< T, TR, AX >protected
m_css_uri (defined in stdex::html::parser< T, TR, AX >)stdex::html::parser< T, TR, AX >protected
m_documentstdex::html::parser< T, TR, AX >protected
m_offsetstdex::html::parser< T, TR, AX >protected
m_parse_framesstdex::html::parser< T, TR, AX >protected
m_progressstdex::html::parser< T, TR, AX >protected
m_sourcestdex::html::parser< T, TR, AX >protected
m_tokensstdex::html::parser< T, TR, AX >protected
m_urlstdex::html::parser< T, TR, AX >protected
make_absolute_url(std::basic_string< T, TR, AX > &rel)stdex::html::parser< T, TR, AX >inline
merge(token_list &a, const token_list &b)stdex::html::parser< T, TR, AX >inlinestatic
parse()stdex::html::parser< T, TR, AX >inline
parse(const sequence_store::const_iterator &end, uint32_t text_type=0)stdex::html::parser< T, TR, AX >inlineprotected
parse_css(size_t start, size_t end)stdex::html::parser< T, TR, AX >inlineprotected
parser(const document< T, TR, AX > &document, _In_reads_or_z_opt_(num_chars) const stdex::schar_t *url=nullptr, size_t num_chars=0, bool parse_frames=false, stdex::progress< size_t > *progress=nullptr) (defined in stdex::html::parser< T, TR, AX >)stdex::html::parser< T, TR, AX >inline
start_tokens(std::basic_string< T, TR, AX > &source, token_list &active_tokens, const token_list &new_tokens, token_list::const_iterator from)stdex::html::parser< T, TR, AX >inlinestatic
tokens() conststdex::html::parser< T, TR, AX >inline
diff --git a/classstdex_1_1html_1_1parser.html b/classstdex_1_1html_1_1parser.html index 9a89d9b4b..d0a3dbf8a 100644 --- a/classstdex_1_1html_1_1parser.html +++ b/classstdex_1_1html_1_1parser.html @@ -3,12 +3,14 @@ - + -stdex: stdex::html::parser< _Elem, _Traits, _Alloc > Class Template Reference +stdex: stdex::html::parser< T, TR, AX > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -80,168 +82,158 @@ $(function() { Protected Member Functions | Protected Attributes | List of all members -
stdex::html::parser< _Elem, _Traits, _Alloc > Class Template Reference
+
stdex::html::parser< T, TR, AX > Class Template Reference

HTML parser. - More...

+ More...

- - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + +

Public Member Functions

parser (const document< _Elem, _Traits, _Alloc > &document, _In_reads_or_z_opt_(num_chars) const stdex::schar_t *url=nullptr, size_t num_chars=0, bool parse_frames=false, stdex::progress< size_t > *progress=nullptr)
 
-text_token< _Elem, _Traits, _Alloc > * parse ()
 Parses HTML document.
 
token_list::const_iterator end_tokens (std::basic_string< _Elem, _Traits, _Alloc > &source, token_list &active_tokens, const token_list &new_tokens)
 Pops ending tokens from the active token list and append their tags to the source code string.
 
void append_inserted_tokens (std::basic_string< _Elem, _Traits, _Alloc > &source, inserted_token_list &inserted_tokens, size_t word_index, bool after_word, token_list &active_tokens)
 Adds matching inserted tokens before/after the given word in source code.
 
-void make_absolute_url (std::basic_string< _Elem, _Traits, _Alloc > &rel)
 Converts URL to absolute.
 
+
parser (const document< T, TR, AX > &document, _In_reads_or_z_opt_(num_chars) const stdex::schar_t *url=nullptr, size_t num_chars=0, bool parse_frames=false, stdex::progress< size_t > *progress=nullptr)
 
+text_token< T, TR, AX > * parse ()
 Parses HTML document.
 
token_list::const_iterator end_tokens (std::basic_string< T, TR, AX > &source, token_list &active_tokens, const token_list &new_tokens)
 Pops ending tokens from the active token list and append their tags to the source code string.
 
void append_inserted_tokens (std::basic_string< T, TR, AX > &source, inserted_token_list &inserted_tokens, size_t word_index, bool after_word, token_list &active_tokens)
 Adds matching inserted tokens before/after the given word in source code.
 
+void make_absolute_url (std::basic_string< T, TR, AX > &rel)
 Converts URL to absolute.
 
const token_vector & tokens () const
 Returns collection of tokens.
 
 Returns collection of tokens.
 
- - - - - - - - - + + + + + + + + +

Static Public Member Functions

static void link (std::basic_string< _Elem, _Traits, _Alloc > &source, const text_token< _Elem, _Traits, _Alloc > *t)
 Rebuilds HTML source code from the token tree.
 
static void start_tokens (std::basic_string< _Elem, _Traits, _Alloc > &source, token_list &active_tokens, const token_list &new_tokens, token_list::const_iterator from)
 Pushes tokens to the active token list and appends their tags to the source code string.
 
static void merge (token_list &a, const token_list &b)
 Adds tokens from list b to list a creating an union.
 
static void link (std::basic_string< T, TR, AX > &source, const text_token< T, TR, AX > *t)
 Rebuilds HTML source code from the token tree.
 
static void start_tokens (std::basic_string< T, TR, AX > &source, token_list &active_tokens, const token_list &new_tokens, token_list::const_iterator from)
 Pushes tokens to the active token list and appends their tags to the source code string.
 
static void merge (token_list &a, const token_list &b)
 Adds tokens from list b to list a creating an union.
 
- - - - - - - - - - - - - - + + + + + + + + + + + + + +

Protected Member Functions

template<class T >
T * append_token (std::unique_ptr< T > &&token)
 Adds token to the collection.
 
template<class T >
size_t append_token (std::unique_ptr< T > &&token, std::basic_string< _Elem, _Traits, _Alloc > &source)
 Adds token to the collection and appends its tag to the source code string.
 
text_token< _Elem, _Traits, _Alloc > * parse (const sequence_store::const_iterator &end, uint32_t text_type=0)
 Recursively parses HTML document.
 
-text_token< _Elem, _Traits, _Alloc > * parse_css (size_t start, size_t end)
 Parses CSS.
 
template<class T >
T * append_token (std::unique_ptr< T > &&token)
 Adds token to the collection.
 
template<class T >
size_t append_token (std::unique_ptr< T > &&token, std::basic_string< T, TR, AX > &source)
 Adds token to the collection and appends its tag to the source code string.
 
text_token< T, TR, AX > * parse (const sequence_store::const_iterator &end, uint32_t text_type=0)
 Recursively parses HTML document.
 
+text_token< T, TR, AX > * parse_css (size_t start, size_t end)
 Parses CSS.
 
- - - - + + + - - - + + - - - + + - - - - - - + + + + + - - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + +

Protected Attributes

-const document< _Elem, _Traits, _Alloc > & m_document
 Document being analyzed.
 
+
+const document< T, TR, AX > & m_document
 Document being analyzed.
 
const stdex::sstring m_url
 Absolute document URL.
 
+
 Absolute document URL.
 
const bool m_parse_frames
 Parse frames.
 
+
 Parse frames.
 
stdex::progress< size_t > * m_progress
 Progress indicator.
 
-const _Elem * m_source
 HTML source code.
 
+
 Progress indicator.
 
+const T * m_source
 HTML source code.
 
token_vector m_tokens
 HTML token storage.
 
+
 HTML token storage.
 
sequence_store::const_iterator m_offset
 Index of active section.
 
-stdex::parser::basic_css_cdo< _Elem > m_css_cdo
 
-stdex::parser::basic_css_cdc< _Elem > m_css_cdc
 
-stdex::parser::basic_css_comment< _Elem > m_css_comment
 
-stdex::parser::basic_css_string< _Elem > m_css_string
 
-stdex::parser::basic_css_uri< _Elem > m_css_uri
 
-stdex::parser::basic_css_import< _Elem > m_css_import
 
-stdex::parser::basic_any_cu< _Elem > m_any_char
 
 Index of active section.
 
+stdex::parser::basic_css_cdo< T > m_css_cdo
 
+stdex::parser::basic_css_cdc< T > m_css_cdc
 
+stdex::parser::basic_css_comment< T > m_css_comment
 
+stdex::parser::basic_css_string< T > m_css_string
 
+stdex::parser::basic_css_uri< T > m_css_uri
 
+stdex::parser::basic_css_import< T > m_css_import
 
+stdex::parser::basic_any_cu< T > m_any_char
 

Detailed Description

-
template<class _Elem, class _Traits, class _Alloc>
-class stdex::html::parser< _Elem, _Traits, _Alloc >

HTML parser.

+
template<class T, class TR, class AX>
+class stdex::html::parser< T, TR, AX >

HTML parser.

Member Function Documentation

- -

◆ append_inserted_tokens()

+ +

◆ append_inserted_tokens()

-template<class _Elem , class _Traits , class _Alloc >
+template<class T , class TR , class AX >
@@ -265,13 +257,13 @@ template<class _Elem , class _Traits , class _Alloc > - -

◆ append_token() [1/2]

+ +

◆ append_token() [1/2]

-template<class _Elem , class _Traits , class _Alloc >
+template<class T , class TR , class AX >
template<class T >
- + - - + - - + - - + - - + - - - - - - - +
void stdex::html::parser< _Elem, _Traits, _Alloc >::append_inserted_tokens void stdex::html::parser< T, TR, AX >::append_inserted_tokens (std::basic_string< _Elem, _Traits, _Alloc > & source, std::basic_string< T, TR, AX > & source,
inserted_token_list & inserted_tokens, inserted_token_list & inserted_tokens,
size_t word_index, size_t word_index,
bool after_word, bool after_word,
token_list & active_tokens 
)token_list & active_tokens )
@@ -279,10 +271,9 @@ template<class T >
- + - - +
T * stdex::html::parser< _Elem, _Traits, _Alloc >::append_token T * stdex::html::parser< T, TR, AX >::append_token (std::unique_ptr< T > && token)std::unique_ptr< T > && token)
@@ -304,13 +295,13 @@ template<class T > - -

◆ append_token() [2/2]

+ +

◆ append_token() [2/2]

-template<class _Elem , class _Traits , class _Alloc >
+template<class T , class TR , class AX >
template<class T >
@@ -318,21 +309,14 @@ template<class T > @@ -354,39 +338,31 @@ template<class T > - -

◆ end_tokens()

+ +

◆ end_tokens()

-template<class _Elem , class _Traits , class _Alloc >
+template<class T , class TR , class AX >
- + - - + - - - - - - - +
size_t stdex::html::parser< _Elem, _Traits, _Alloc >::append_token size_t stdex::html::parser< T, TR, AX >::append_token (std::unique_ptr< T > && token, std::unique_ptr< T > && token,
std::basic_string< _Elem, _Traits, _Alloc > & source 
)std::basic_string< T, TR, AX > & source )
@@ -409,33 +385,26 @@ template<class _Elem , class _Traits , class _Alloc > - -

◆ link()

+ +

◆ link()

-template<class _Elem , class _Traits , class _Alloc >
+template<class T , class TR , class AX >
- + - - + - - + - - - - - - - +
token_list::const_iterator stdex::html::parser< _Elem, _Traits, _Alloc >::end_tokens token_list::const_iterator stdex::html::parser< T, TR, AX >::end_tokens (std::basic_string< _Elem, _Traits, _Alloc > & source, std::basic_string< T, TR, AX > & source,
token_list & active_tokens, token_list & active_tokens,
const token_list & new_tokens 
)const token_list & new_tokens )
@@ -456,33 +425,26 @@ template<class _Elem , class _Traits , class _Alloc > - -

◆ merge()

+ +

◆ merge()

-template<class _Elem , class _Traits , class _Alloc >
+template<class T , class TR , class AX >
- + - - + - - - - - - - +
static void stdex::html::parser< _Elem, _Traits, _Alloc >::link static void stdex::html::parser< T, TR, AX >::link (std::basic_string< _Elem, _Traits, _Alloc > & source, std::basic_string< T, TR, AX > & source,
const text_token< _Elem, _Traits, _Alloc > * t 
)const text_token< T, TR, AX > * t )
@@ -503,33 +465,26 @@ template<class _Elem , class _Traits , class _Alloc > - -

◆ parse()

+ +

◆ parse()

-template<class _Elem , class _Traits , class _Alloc >
+template<class T , class TR , class AX >
- + - - + - - - - - - - +
static void stdex::html::parser< _Elem, _Traits, _Alloc >::merge static void stdex::html::parser< T, TR, AX >::merge (token_list & a, token_list & a,
const token_list & b 
)const token_list & b )
@@ -551,45 +506,36 @@ template<class _Elem , class _Traits , class _Alloc > - -

◆ start_tokens()

+ +

◆ start_tokens()

-template<class _Elem , class _Traits , class _Alloc >
+template<class T , class TR , class AX >
- + - - + - - - - - - - +
text_token< _Elem, _Traits, _Alloc > * stdex::html::parser< _Elem, _Traits, _Alloc >::parse text_token< T, TR, AX > * stdex::html::parser< T, TR, AX >::parse (const sequence_store::const_iterator & end, const sequence_store::const_iterator & end,
uint32_t text_type = 0 
)uint32_t text_type = 0 )
@@ -618,7 +564,7 @@ template<class _Elem , class _Traits , class _Alloc > diff --git a/classstdex_1_1html_1_1sequence-members.html b/classstdex_1_1html_1_1sequence-members.html index 0cb434994..8f13bbd07 100644 --- a/classstdex_1_1html_1_1sequence-members.html +++ b/classstdex_1_1html_1_1sequence-members.html @@ -3,12 +3,14 @@ - +stdex: Member List + + @@ -30,7 +32,7 @@
- + - - + - - + - - + - - - - - - - +
static void stdex::html::parser< _Elem, _Traits, _Alloc >::start_tokens static void stdex::html::parser< T, TR, AX >::start_tokens (std::basic_string< _Elem, _Traits, _Alloc > & source, std::basic_string< T, TR, AX > & source,
token_list & active_tokens, token_list & active_tokens,
const token_list & new_tokens, const token_list & new_tokens,
token_list::const_iterator from 
)token_list::const_iterator from )
- + @@ -88,7 +90,7 @@ $(function() {
diff --git a/classstdex_1_1html_1_1sequence.html b/classstdex_1_1html_1_1sequence.html index 8c8e72cee..756bdb870 100644 --- a/classstdex_1_1html_1_1sequence.html +++ b/classstdex_1_1html_1_1sequence.html @@ -3,12 +3,14 @@ - + stdex: stdex::html::sequence Class Reference + + @@ -30,7 +32,7 @@
- + @@ -83,7 +85,7 @@ $(function() {

Base class for HTML sequences. - More...

+ More...

#include <stdex/html.hpp>

@@ -130,7 +132,7 @@ stdex::parser::html_sequence_t  diff --git a/classstdex_1_1html_1_1sequence.png b/classstdex_1_1html_1_1sequence.png index 889d204e8..a55bf84ad 100644 Binary files a/classstdex_1_1html_1_1sequence.png and b/classstdex_1_1html_1_1sequence.png differ diff --git a/classstdex_1_1html_1_1starting__token-members.html b/classstdex_1_1html_1_1starting__token-members.html index 87f9a7f1a..50326647a 100644 --- a/classstdex_1_1html_1_1starting__token-members.html +++ b/classstdex_1_1html_1_1starting__token-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -74,32 +76,32 @@ $(function() {
-
stdex::html::starting_token< _Elem, _Traits, _Alloc > Member List
+
stdex::html::starting_token< T, TR, AX > Member List
-

This is the complete list of members for stdex::html::starting_token< _Elem, _Traits, _Alloc >, including all inherited members.

+

This is the complete list of members for stdex::html::starting_token< T, TR, AX >, including all inherited members.

- - + + - - - + + + - + - - - - + + + +
append_tag(std::basic_string< char, _Traits, _Alloc > &str) conststdex::html::tokeninline
append_tag(std::basic_string< wchar_t, _Traits, _Alloc > &str) conststdex::html::tokeninline
append_tag(std::basic_string< char, TR, AX > &str) conststdex::html::tokeninline
append_tag(std::basic_string< wchar_t, TR, AX > &str) conststdex::html::tokeninline
datastdex::html::token
end_sequencestdex::html::starting_token< _Elem, _Traits, _Alloc >
mappingstdex::html::text_token< _Elem, _Traits, _Alloc >
namestdex::html::starting_token< _Elem, _Traits, _Alloc >
end_sequencestdex::html::starting_token< T, TR, AX >
mappingstdex::html::text_token< T, TR, AX >
namestdex::html::starting_token< T, TR, AX >
parse_tag(const T *str, size_t &offset) (defined in stdex::html::token)stdex::html::tokeninlinestatic
parser< _Elem, _Traits, _Alloc > (defined in stdex::html::starting_token< _Elem, _Traits, _Alloc >)stdex::html::starting_token< _Elem, _Traits, _Alloc >friend
parser< T, TR, AX > (defined in stdex::html::starting_token< T, TR, AX >)stdex::html::starting_token< T, TR, AX >friend
sequencestdex::html::token
starting_token(_In_reads_or_z_opt_(num_chars_text) const _Elem *_text=nullptr, size_t num_chars_text=0, _In_reads_or_z_opt_(num_chars_name) const _Elem *_name=nullptr, size_t num_chars_name=0, uint32_t text_type=0, stdex::html::sequence *sequence=nullptr, stdex::html::sequence *_end_sequence=nullptr, uintptr_t data=0) (defined in stdex::html::starting_token< _Elem, _Traits, _Alloc >)stdex::html::starting_token< _Elem, _Traits, _Alloc >inlineprotected
textstdex::html::text_token< _Elem, _Traits, _Alloc >
text_token(token_t type=token_t::complete, _In_reads_or_z_opt_(num_chars) const _Elem *_text=nullptr, size_t num_chars=0, uint32_t _text_type=0, stdex::html::sequence *sequence=nullptr, uintptr_t data=0) (defined in stdex::html::text_token< _Elem, _Traits, _Alloc >)stdex::html::text_token< _Elem, _Traits, _Alloc >inlineprotected
text_typestdex::html::text_token< _Elem, _Traits, _Alloc >
starting_token(_In_reads_or_z_opt_(num_chars_text) const T *_text=nullptr, size_t num_chars_text=0, _In_reads_or_z_opt_(num_chars_name) const T *_name=nullptr, size_t num_chars_name=0, uint32_t text_type=0, stdex::html::sequence *sequence=nullptr, stdex::html::sequence *_end_sequence=nullptr, uintptr_t data=0) (defined in stdex::html::starting_token< T, TR, AX >)stdex::html::starting_token< T, TR, AX >inlineprotected
textstdex::html::text_token< T, TR, AX >
text_token(token_t type=token_t::complete, _In_reads_or_z_opt_(num_chars) const T *_text=nullptr, size_t num_chars=0, uint32_t _text_type=0, stdex::html::sequence *sequence=nullptr, uintptr_t data=0) (defined in stdex::html::text_token< T, TR, AX >)stdex::html::text_token< T, TR, AX >inlineprotected
text_typestdex::html::text_token< T, TR, AX >
token(token_t _type=token_t::root, sequence *_sequence=nullptr, uintptr_t _data=0) (defined in stdex::html::token)stdex::html::tokeninlineprotected
typestdex::html::token
~token() (defined in stdex::html::token)stdex::html::tokeninlinevirtual
diff --git a/classstdex_1_1html_1_1starting__token.html b/classstdex_1_1html_1_1starting__token.html index ed361e8ff..a6f96fe91 100644 --- a/classstdex_1_1html_1_1starting__token.html +++ b/classstdex_1_1html_1_1starting__token.html @@ -3,12 +3,14 @@ - + -stdex: stdex::html::starting_token< _Elem, _Traits, _Alloc > Class Template Reference +stdex: stdex::html::starting_token< T, TR, AX > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -79,49 +81,49 @@ $(function() { Protected Member Functions | Friends | List of all members -
stdex::html::starting_token< _Elem, _Traits, _Alloc > Class Template Reference
+
stdex::html::starting_token< T, TR, AX > Class Template Reference

Token representing start HTML tag. - More...

+ More...

#include <stdex/html.hpp>

-Inheritance diagram for stdex::html::starting_token< _Elem, _Traits, _Alloc >:
+Inheritance diagram for stdex::html::starting_token< T, TR, AX >:
- - -stdex::html::text_token< _Elem, _Traits, _Alloc > -stdex::html::token + + +stdex::html::text_token< T, TR, AX > +stdex::html::token
- - - - + + + - - - - - - - + + + + + + - - - + + - - - + + + @@ -137,51 +139,51 @@ uintptr_t 

Public Attributes

-std::basic_string< _Elem, _Traits, _Alloc > name
 Element name allowing later recreation of ending </tag>
 
+
+std::basic_string< T, TR, AX > name
 Element name allowing later recreation of ending </tag>
 
stdex::html::sequenceend_sequence
 Ending tag sequence.
 
- Public Attributes inherited from stdex::html::text_token< _Elem, _Traits, _Alloc >
-std::basic_string< _Elem, _Traits, _Alloc > text
 Token text.
 
+
 Ending tag sequence.
 
- Public Attributes inherited from stdex::html::text_token< T, TR, AX >
+std::basic_string< T, TR, AX > text
 Token text.
 
uint32_t text_type
 Mask of text_type_flag_t to specify text content.
 
+
 Mask of text_type_flag_t to specify text content.
 
stdex::mapping_vector< size_t > mapping
 Mapping between source and text positions.
 
- Public Attributes inherited from stdex::html::token
 Mapping between source and text positions.
 
- Public Attributes inherited from stdex::html::token
token_t type
 Token type.
data
- - - - - - + + + + + +

Protected Member Functions

starting_token (_In_reads_or_z_opt_(num_chars_text) const _Elem *_text=nullptr, size_t num_chars_text=0, _In_reads_or_z_opt_(num_chars_name) const _Elem *_name=nullptr, size_t num_chars_name=0, uint32_t text_type=0, stdex::html::sequence *sequence=nullptr, stdex::html::sequence *_end_sequence=nullptr, uintptr_t data=0)
 
- Protected Member Functions inherited from stdex::html::text_token< _Elem, _Traits, _Alloc >
text_token (token_t type=token_t::complete, _In_reads_or_z_opt_(num_chars) const _Elem *_text=nullptr, size_t num_chars=0, uint32_t _text_type=0, stdex::html::sequence *sequence=nullptr, uintptr_t data=0)
 
- Protected Member Functions inherited from stdex::html::token
starting_token (_In_reads_or_z_opt_(num_chars_text) const T *_text=nullptr, size_t num_chars_text=0, _In_reads_or_z_opt_(num_chars_name) const T *_name=nullptr, size_t num_chars_name=0, uint32_t text_type=0, stdex::html::sequence *sequence=nullptr, stdex::html::sequence *_end_sequence=nullptr, uintptr_t data=0)
 
- Protected Member Functions inherited from stdex::html::text_token< T, TR, AX >
text_token (token_t type=token_t::complete, _In_reads_or_z_opt_(num_chars) const T *_text=nullptr, size_t num_chars=0, uint32_t _text_type=0, stdex::html::sequence *sequence=nullptr, uintptr_t data=0)
 
- Protected Member Functions inherited from stdex::html::token
 token (token_t _type=token_t::root, sequence *_sequence=nullptr, uintptr_t _data=0)
 
- - + +

Friends

-class parser< _Elem, _Traits, _Alloc >
 
+class parser< T, TR, AX >
 
- - - - - - - - - - + + + + + + + + + +

Additional Inherited Members

- Public Member Functions inherited from stdex::html::token
template<class _Traits = std::char_traits<char>, class _Alloc = std::allocator<char>>
size_t append_tag (std::basic_string< char, _Traits, _Alloc > &str) const
 Appends token tag to the source code.
 
template<class _Traits = std::char_traits<wchar_t>, class _Alloc = std::allocator<wchar_t>>
size_t append_tag (std::basic_string< wchar_t, _Traits, _Alloc > &str) const
 Appends token tag to the source code.
 
- Static Public Member Functions inherited from stdex::html::token
- Public Member Functions inherited from stdex::html::token
template<class TR = std::char_traits<char>, class AX = std::allocator<char>>
size_t append_tag (std::basic_string< char, TR, AX > &str) const
 Appends token tag to the source code.
 
template<class TR = std::char_traits<wchar_t>, class AX = std::allocator<wchar_t>>
size_t append_tag (std::basic_string< wchar_t, TR, AX > &str) const
 Appends token tag to the source code.
 
- Static Public Member Functions inherited from stdex::html::token
template<class T >
static tokenparse_tag (const T *str, size_t &offset)
 

Detailed Description

-
template<class _Elem, class _Traits = std::char_traits<_Elem>, class _Alloc = std::allocator<_Elem>>
-class stdex::html::starting_token< _Elem, _Traits, _Alloc >

Token representing start HTML tag.

+
template<class T, class TR = std::char_traits<T>, class AX = std::allocator<T>>
+class stdex::html::starting_token< T, TR, AX >

Token representing start HTML tag.


The documentation for this class was generated from the following file:
diff --git a/classstdex_1_1html_1_1starting__token.png b/classstdex_1_1html_1_1starting__token.png index 3c979aa95..defb63f8c 100644 Binary files a/classstdex_1_1html_1_1starting__token.png and b/classstdex_1_1html_1_1starting__token.png differ diff --git a/classstdex_1_1html_1_1text__token-members.html b/classstdex_1_1html_1_1text__token-members.html index 6eed6989d..0e3d33c81 100644 --- a/classstdex_1_1html_1_1text__token-members.html +++ b/classstdex_1_1html_1_1text__token-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -74,29 +76,29 @@ $(function() {
-
stdex::html::text_token< _Elem, _Traits, _Alloc > Member List
+
stdex::html::text_token< T, TR, AX > Member List
-

This is the complete list of members for stdex::html::text_token< _Elem, _Traits, _Alloc >, including all inherited members.

+

This is the complete list of members for stdex::html::text_token< T, TR, AX >, including all inherited members.

- - + + - + - + - - - + + +
append_tag(std::basic_string< char, _Traits, _Alloc > &str) conststdex::html::tokeninline
append_tag(std::basic_string< wchar_t, _Traits, _Alloc > &str) conststdex::html::tokeninline
append_tag(std::basic_string< char, TR, AX > &str) conststdex::html::tokeninline
append_tag(std::basic_string< wchar_t, TR, AX > &str) conststdex::html::tokeninline
datastdex::html::token
mappingstdex::html::text_token< _Elem, _Traits, _Alloc >
mappingstdex::html::text_token< T, TR, AX >
parse_tag(const T *str, size_t &offset) (defined in stdex::html::token)stdex::html::tokeninlinestatic
parser< _Elem, _Traits, _Alloc > (defined in stdex::html::text_token< _Elem, _Traits, _Alloc >)stdex::html::text_token< _Elem, _Traits, _Alloc >friend
parser< T, TR, AX > (defined in stdex::html::text_token< T, TR, AX >)stdex::html::text_token< T, TR, AX >friend
sequencestdex::html::token
textstdex::html::text_token< _Elem, _Traits, _Alloc >
text_token(token_t type=token_t::complete, _In_reads_or_z_opt_(num_chars) const _Elem *_text=nullptr, size_t num_chars=0, uint32_t _text_type=0, stdex::html::sequence *sequence=nullptr, uintptr_t data=0) (defined in stdex::html::text_token< _Elem, _Traits, _Alloc >)stdex::html::text_token< _Elem, _Traits, _Alloc >inlineprotected
text_typestdex::html::text_token< _Elem, _Traits, _Alloc >
textstdex::html::text_token< T, TR, AX >
text_token(token_t type=token_t::complete, _In_reads_or_z_opt_(num_chars) const T *_text=nullptr, size_t num_chars=0, uint32_t _text_type=0, stdex::html::sequence *sequence=nullptr, uintptr_t data=0) (defined in stdex::html::text_token< T, TR, AX >)stdex::html::text_token< T, TR, AX >inlineprotected
text_typestdex::html::text_token< T, TR, AX >
token(token_t _type=token_t::root, sequence *_sequence=nullptr, uintptr_t _data=0) (defined in stdex::html::token)stdex::html::tokeninlineprotected
typestdex::html::token
~token() (defined in stdex::html::token)stdex::html::tokeninlinevirtual
diff --git a/classstdex_1_1html_1_1text__token.html b/classstdex_1_1html_1_1text__token.html index d3e5c4a0e..6f5459cb7 100644 --- a/classstdex_1_1html_1_1text__token.html +++ b/classstdex_1_1html_1_1text__token.html @@ -3,12 +3,14 @@ - + -stdex: stdex::html::text_token< _Elem, _Traits, _Alloc > Class Template Reference +stdex: stdex::html::text_token< T, TR, AX > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -79,40 +81,40 @@ $(function() { Protected Member Functions | Friends | List of all members -
stdex::html::text_token< _Elem, _Traits, _Alloc > Class Template Reference
+
stdex::html::text_token< T, TR, AX > Class Template Reference

Token representing part of HTML text. - More...

+ More...

#include <stdex/html.hpp>

-Inheritance diagram for stdex::html::text_token< _Elem, _Traits, _Alloc >:
+Inheritance diagram for stdex::html::text_token< T, TR, AX >:
- - -stdex::html::token -stdex::html::starting_token< _Elem, _Traits, _Alloc > + + +stdex::html::token +stdex::html::starting_token< T, TR, AX >
- - - - + + + - - - + + - - - + + + @@ -128,47 +130,47 @@ uintptr_t 

Public Attributes

-std::basic_string< _Elem, _Traits, _Alloc > text
 Token text.
 
+
+std::basic_string< T, TR, AX > text
 Token text.
 
uint32_t text_type
 Mask of text_type_flag_t to specify text content.
 
+
 Mask of text_type_flag_t to specify text content.
 
stdex::mapping_vector< size_t > mapping
 Mapping between source and text positions.
 
- Public Attributes inherited from stdex::html::token
 Mapping between source and text positions.
 
- Public Attributes inherited from stdex::html::token
token_t type
 Token type.
data
- - - + + +

Protected Member Functions

text_token (token_t type=token_t::complete, _In_reads_or_z_opt_(num_chars) const _Elem *_text=nullptr, size_t num_chars=0, uint32_t _text_type=0, stdex::html::sequence *sequence=nullptr, uintptr_t data=0)
 
- Protected Member Functions inherited from stdex::html::token
text_token (token_t type=token_t::complete, _In_reads_or_z_opt_(num_chars) const T *_text=nullptr, size_t num_chars=0, uint32_t _text_type=0, stdex::html::sequence *sequence=nullptr, uintptr_t data=0)
 
- Protected Member Functions inherited from stdex::html::token
 token (token_t _type=token_t::root, sequence *_sequence=nullptr, uintptr_t _data=0)
 
- - + +

Friends

-class parser< _Elem, _Traits, _Alloc >
 
+class parser< T, TR, AX >
 
- - - - - - - - - - + + + + + + + + + +

Additional Inherited Members

- Public Member Functions inherited from stdex::html::token
template<class _Traits = std::char_traits<char>, class _Alloc = std::allocator<char>>
size_t append_tag (std::basic_string< char, _Traits, _Alloc > &str) const
 Appends token tag to the source code.
 
template<class _Traits = std::char_traits<wchar_t>, class _Alloc = std::allocator<wchar_t>>
size_t append_tag (std::basic_string< wchar_t, _Traits, _Alloc > &str) const
 Appends token tag to the source code.
 
- Static Public Member Functions inherited from stdex::html::token
- Public Member Functions inherited from stdex::html::token
template<class TR = std::char_traits<char>, class AX = std::allocator<char>>
size_t append_tag (std::basic_string< char, TR, AX > &str) const
 Appends token tag to the source code.
 
template<class TR = std::char_traits<wchar_t>, class AX = std::allocator<wchar_t>>
size_t append_tag (std::basic_string< wchar_t, TR, AX > &str) const
 Appends token tag to the source code.
 
- Static Public Member Functions inherited from stdex::html::token
template<class T >
static tokenparse_tag (const T *str, size_t &offset)
 

Detailed Description

-
template<class _Elem, class _Traits = std::char_traits<_Elem>, class _Alloc = std::allocator<_Elem>>
-class stdex::html::text_token< _Elem, _Traits, _Alloc >

Token representing part of HTML text.

+
template<class T, class TR = std::char_traits<T>, class AX = std::allocator<T>>
+class stdex::html::text_token< T, TR, AX >

Token representing part of HTML text.


The documentation for this class was generated from the following file:
diff --git a/classstdex_1_1html_1_1text__token.png b/classstdex_1_1html_1_1text__token.png index 3d5cf93f8..f03690ea8 100644 Binary files a/classstdex_1_1html_1_1text__token.png and b/classstdex_1_1html_1_1text__token.png differ diff --git a/classstdex_1_1html_1_1token-members.html b/classstdex_1_1html_1_1token-members.html index 49d3677c4..b4eda9ab3 100644 --- a/classstdex_1_1html_1_1token-members.html +++ b/classstdex_1_1html_1_1token-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -80,8 +82,8 @@ $(function() {

This is the complete list of members for stdex::html::token, including all inherited members.

- - + + @@ -92,7 +94,7 @@ $(function() {
append_tag(std::basic_string< char, _Traits, _Alloc > &str) conststdex::html::tokeninline
append_tag(std::basic_string< wchar_t, _Traits, _Alloc > &str) conststdex::html::tokeninline
append_tag(std::basic_string< char, TR, AX > &str) conststdex::html::tokeninline
append_tag(std::basic_string< wchar_t, TR, AX > &str) conststdex::html::tokeninline
datastdex::html::token
parse_tag(const T *str, size_t &offset) (defined in stdex::html::token)stdex::html::tokeninlinestatic
parser (defined in stdex::html::token)stdex::html::tokenfriend
diff --git a/classstdex_1_1html_1_1token.html b/classstdex_1_1html_1_1token.html index 5cdda1dd6..feab43f83 100644 --- a/classstdex_1_1html_1_1token.html +++ b/classstdex_1_1html_1_1token.html @@ -3,12 +3,14 @@ - + stdex: stdex::html::token Class Reference + + @@ -30,7 +32,7 @@ - + @@ -86,7 +88,7 @@ $(function() {

HTML token base class. - More...

+ More...

#include <stdex/html.hpp>

@@ -95,23 +97,23 @@ Inheritance diagram for stdex::html::token:
-stdex::html::text_token< _Elem, std::char_traits< _Elem >, std::allocator< _Elem > > -stdex::html::text_token< _Elem, _Traits, _Alloc > -stdex::html::url_token< _Elem, _Traits, _Alloc > -stdex::html::starting_token< _Elem, _Traits, _Alloc > +stdex::html::text_token< T, std::char_traits< T >, std::allocator< T > > +stdex::html::text_token< T, TR, AX > +stdex::html::url_token< T, TR, AX > +stdex::html::starting_token< T, TR, AX >
- - - - - - - - + + + + + + + +

Public Member Functions

template<class _Traits = std::char_traits<char>, class _Alloc = std::allocator<char>>
size_t append_tag (std::basic_string< char, _Traits, _Alloc > &str) const
 Appends token tag to the source code.
 
template<class _Traits = std::char_traits<wchar_t>, class _Alloc = std::allocator<wchar_t>>
size_t append_tag (std::basic_string< wchar_t, _Traits, _Alloc > &str) const
 Appends token tag to the source code.
 
template<class TR = std::char_traits<char>, class AX = std::allocator<char>>
size_t append_tag (std::basic_string< char, TR, AX > &str) const
 Appends token tag to the source code.
 
template<class TR = std::char_traits<wchar_t>, class AX = std::allocator<wchar_t>>
size_t append_tag (std::basic_string< wchar_t, TR, AX > &str) const
 Appends token tag to the source code.
 
@@ -144,20 +146,20 @@ Protected Member Functions +template<class T , class TR , class AX >

Static Public Member Functions

Friends

-template<class _Elem , class _Traits , class _Alloc >
class parser
 

Detailed Description

HTML token base class.

Member Function Documentation

- -

◆ append_tag() [1/2]

+ +

◆ append_tag() [1/2]

-template<class _Traits = std::char_traits<char>, class _Alloc = std::allocator<char>>
+template<class TR = std::char_traits<char>, class AX = std::allocator<char>>
- - +
@@ -165,8 +167,7 @@ template<class _Traits = std::char_traits<char>, class _Alloc = std::
size_t stdex::html::token::append_tag (std::basic_string< char, _Traits, _Alloc > & str)std::basic_string< char, TR, AX > & str) const
@@ -188,13 +189,13 @@ template<class _Traits = std::char_traits<char>, class _Alloc = std::
- -

◆ append_tag() [2/2]

+ +

◆ append_tag() [2/2]

-template<class _Traits = std::char_traits<wchar_t>, class _Alloc = std::allocator<wchar_t>>
+template<class TR = std::char_traits<wchar_t>, class AX = std::allocator<wchar_t>>
- - +
@@ -202,8 +203,7 @@ template<class _Traits = std::char_traits<wchar_t>, class _Alloc = st
size_t stdex::html::token::append_tag (std::basic_string< wchar_t, _Traits, _Alloc > & str)std::basic_string< wchar_t, TR, AX > & str) const
@@ -231,7 +231,7 @@ template<class _Traits = std::char_traits<wchar_t>, class _Alloc = st
diff --git a/classstdex_1_1html_1_1token.png b/classstdex_1_1html_1_1token.png index 520c7d716..572332dbc 100644 Binary files a/classstdex_1_1html_1_1token.png and b/classstdex_1_1html_1_1token.png differ diff --git a/classstdex_1_1html_1_1url__token-members.html b/classstdex_1_1html_1_1url__token-members.html index 85a32d92b..13a416996 100644 --- a/classstdex_1_1html_1_1url__token-members.html +++ b/classstdex_1_1html_1_1url__token-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -74,28 +76,28 @@ $(function() {
-
stdex::html::url_token< _Elem, _Traits, _Alloc > Member List
+
stdex::html::url_token< T, TR, AX > Member List
-

This is the complete list of members for stdex::html::url_token< _Elem, _Traits, _Alloc >, including all inherited members.

+

This is the complete list of members for stdex::html::url_token< T, TR, AX >, including all inherited members.

- - + + - + - + - - + +
append_tag(std::basic_string< char, _Traits, _Alloc > &str) conststdex::html::tokeninline
append_tag(std::basic_string< wchar_t, _Traits, _Alloc > &str) conststdex::html::tokeninline
append_tag(std::basic_string< char, TR, AX > &str) conststdex::html::tokeninline
append_tag(std::basic_string< wchar_t, TR, AX > &str) conststdex::html::tokeninline
datastdex::html::token
encodingstdex::html::url_token< _Elem, _Traits, _Alloc >
encodingstdex::html::url_token< T, TR, AX >
parse_tag(const T *str, size_t &offset) (defined in stdex::html::token)stdex::html::tokeninlinestatic
parser< _Elem, _Traits, _Alloc > (defined in stdex::html::url_token< _Elem, _Traits, _Alloc >)stdex::html::url_token< _Elem, _Traits, _Alloc >friend
parser< T, TR, AX > (defined in stdex::html::url_token< T, TR, AX >)stdex::html::url_token< T, TR, AX >friend
sequencestdex::html::token
token(token_t _type=token_t::root, sequence *_sequence=nullptr, uintptr_t _data=0) (defined in stdex::html::token)stdex::html::tokeninlineprotected
typestdex::html::token
urlstdex::html::url_token< _Elem, _Traits, _Alloc >
url_token(_In_reads_or_z_opt_(num_chars) const _Elem *_url=nullptr, size_t num_chars=0, token_url_t _encoding=token_url_t::plain, stdex::html::sequence *sequence=nullptr, uintptr_t data=0) (defined in stdex::html::url_token< _Elem, _Traits, _Alloc >)stdex::html::url_token< _Elem, _Traits, _Alloc >inlineprotected
urlstdex::html::url_token< T, TR, AX >
url_token(_In_reads_or_z_opt_(num_chars) const T *_url=nullptr, size_t num_chars=0, token_url_t _encoding=token_url_t::plain, stdex::html::sequence *sequence=nullptr, uintptr_t data=0) (defined in stdex::html::url_token< T, TR, AX >)stdex::html::url_token< T, TR, AX >inlineprotected
~token() (defined in stdex::html::token)stdex::html::tokeninlinevirtual
diff --git a/classstdex_1_1html_1_1url__token.html b/classstdex_1_1html_1_1url__token.html index 5e86d8082..51f82a8ec 100644 --- a/classstdex_1_1html_1_1url__token.html +++ b/classstdex_1_1html_1_1url__token.html @@ -3,12 +3,14 @@ - + -stdex: stdex::html::url_token< _Elem, _Traits, _Alloc > Class Template Reference +stdex: stdex::html::url_token< T, TR, AX > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -79,35 +81,35 @@ $(function() { Protected Member Functions | Friends | List of all members -
stdex::html::url_token< _Elem, _Traits, _Alloc > Class Template Reference
+
stdex::html::url_token< T, TR, AX > Class Template Reference

HTTP token representing an URL. - More...

+ More...

#include <stdex/html.hpp>

-Inheritance diagram for stdex::html::url_token< _Elem, _Traits, _Alloc >:
+Inheritance diagram for stdex::html::url_token< T, TR, AX >:
- - -stdex::html::token + + +stdex::html::token
- - - - + + + - - - + + + @@ -123,47 +125,47 @@ uintptr_t 

Public Attributes

-std::basic_string< _Elem, _Traits, _Alloc > url
 URL.
 
+
+std::basic_string< T, TR, AX > url
 URL.
 
token_url_t encoding
 URL encoding.
 
- Public Attributes inherited from stdex::html::token
 URL encoding.
 
- Public Attributes inherited from stdex::html::token
token_t type
 Token type.
data
- - - + + +

Protected Member Functions

url_token (_In_reads_or_z_opt_(num_chars) const _Elem *_url=nullptr, size_t num_chars=0, token_url_t _encoding=token_url_t::plain, stdex::html::sequence *sequence=nullptr, uintptr_t data=0)
 
- Protected Member Functions inherited from stdex::html::token
url_token (_In_reads_or_z_opt_(num_chars) const T *_url=nullptr, size_t num_chars=0, token_url_t _encoding=token_url_t::plain, stdex::html::sequence *sequence=nullptr, uintptr_t data=0)
 
- Protected Member Functions inherited from stdex::html::token
 token (token_t _type=token_t::root, sequence *_sequence=nullptr, uintptr_t _data=0)
 
- - + +

Friends

-class parser< _Elem, _Traits, _Alloc >
 
+class parser< T, TR, AX >
 
- - - - - - - - - - + + + + + + + + + +

Additional Inherited Members

- Public Member Functions inherited from stdex::html::token
template<class _Traits = std::char_traits<char>, class _Alloc = std::allocator<char>>
size_t append_tag (std::basic_string< char, _Traits, _Alloc > &str) const
 Appends token tag to the source code.
 
template<class _Traits = std::char_traits<wchar_t>, class _Alloc = std::allocator<wchar_t>>
size_t append_tag (std::basic_string< wchar_t, _Traits, _Alloc > &str) const
 Appends token tag to the source code.
 
- Static Public Member Functions inherited from stdex::html::token
- Public Member Functions inherited from stdex::html::token
template<class TR = std::char_traits<char>, class AX = std::allocator<char>>
size_t append_tag (std::basic_string< char, TR, AX > &str) const
 Appends token tag to the source code.
 
template<class TR = std::char_traits<wchar_t>, class AX = std::allocator<wchar_t>>
size_t append_tag (std::basic_string< wchar_t, TR, AX > &str) const
 Appends token tag to the source code.
 
- Static Public Member Functions inherited from stdex::html::token
template<class T >
static tokenparse_tag (const T *str, size_t &offset)
 

Detailed Description

-
template<class _Elem, class _Traits = std::char_traits<_Elem>, class _Alloc = std::allocator<_Elem>>
-class stdex::html::url_token< _Elem, _Traits, _Alloc >

HTTP token representing an URL.

+
template<class T, class TR = std::char_traits<T>, class AX = std::allocator<T>>
+class stdex::html::url_token< T, TR, AX >

HTTP token representing an URL.


The documentation for this class was generated from the following file:
diff --git a/classstdex_1_1html_1_1url__token.png b/classstdex_1_1html_1_1url__token.png index 87c579b28..d295bef32 100644 Binary files a/classstdex_1_1html_1_1url__token.png and b/classstdex_1_1html_1_1url__token.png differ diff --git a/classstdex_1_1idrec_1_1record-members.html b/classstdex_1_1idrec_1_1record-members.html index 1d33c2f11..b41065b92 100644 --- a/classstdex_1_1idrec_1_1record-members.html +++ b/classstdex_1_1idrec_1_1record-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -74,33 +76,33 @@ $(function() {
-
stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN > Member List
+
stdex::idrec::record< T, T_id, ID, T_size, N_align > Member List
-

This is the complete list of members for stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >, including all inherited members.

+

This is the complete list of members for stdex::idrec::record< T, T_id, ID, T_size, N_align >, including all inherited members.

- - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +
close(std::ostream &stream, std::streamoff start)stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >inlinestatic
close(stdex::stream::basic_file &stream, stdex::stream::foff_t start)stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >inlinestatic
datastdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >
find(std::istream &stream, std::streamoff end=(std::streamoff) -1)stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >inlinestatic
find(stdex::stream::basic_file &stream, stdex::stream::foff_t end=stdex::stream::foff_max)stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >inlinestatic
id()stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >inlinestatic
open(std::ostream &stream)stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >inlinestatic
open(stdex::stream::basic_file &stream)stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >inlinestatic
operator<<stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >friend
operator<<stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >friend
operator<<stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >friend
operator=(const record< T, T_ID, ID, T_SIZE, ALIGN > &r)stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >inline
operator>>stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >friend
operator>>stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >friend
operator>>stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >friend
record(T &d)stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >inline
record(const T &d)stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >inline
close(std::ostream &stream, std::streamoff start)stdex::idrec::record< T, T_id, ID, T_size, N_align >inlinestatic
close(stdex::stream::basic_file &stream, stdex::stream::foff_t start)stdex::idrec::record< T, T_id, ID, T_size, N_align >inlinestatic
datastdex::idrec::record< T, T_id, ID, T_size, N_align >
find(std::istream &stream, std::streamoff end=(std::streamoff) -1)stdex::idrec::record< T, T_id, ID, T_size, N_align >inlinestatic
find(stdex::stream::basic_file &stream, stdex::stream::foff_t end=stdex::stream::foff_max)stdex::idrec::record< T, T_id, ID, T_size, N_align >inlinestatic
id()stdex::idrec::record< T, T_id, ID, T_size, N_align >inlinestatic
open(std::ostream &stream)stdex::idrec::record< T, T_id, ID, T_size, N_align >inlinestatic
open(stdex::stream::basic_file &stream)stdex::idrec::record< T, T_id, ID, T_size, N_align >inlinestatic
operator<<stdex::idrec::record< T, T_id, ID, T_size, N_align >friend
operator<<stdex::idrec::record< T, T_id, ID, T_size, N_align >friend
operator<<stdex::idrec::record< T, T_id, ID, T_size, N_align >friend
operator=(const record< T, T_id, ID, T_size, N_align > &r)stdex::idrec::record< T, T_id, ID, T_size, N_align >inline
operator>>stdex::idrec::record< T, T_id, ID, T_size, N_align >friend
operator>>stdex::idrec::record< T, T_id, ID, T_size, N_align >friend
operator>>stdex::idrec::record< T, T_id, ID, T_size, N_align >friend
record(T &d)stdex::idrec::record< T, T_id, ID, T_size, N_align >inline
record(const T &d)stdex::idrec::record< T, T_id, ID, T_size, N_align >inline
diff --git a/classstdex_1_1idrec_1_1record.html b/classstdex_1_1idrec_1_1record.html index 4834280dc..f54094a98 100644 --- a/classstdex_1_1idrec_1_1record.html +++ b/classstdex_1_1idrec_1_1record.html @@ -3,12 +3,14 @@ - + -stdex: stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN > Class Template Reference +stdex: stdex::idrec::record< T, T_id, ID, T_size, N_align > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -80,100 +82,99 @@ $(function() { Public Attributes | Friends | List of all members -
stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN > Class Template Reference
+
stdex::idrec::record< T, T_id, ID, T_size, N_align > Class Template Reference

Helper class for read/write of records to/from memory. - More...

+ More...

#include <stdex/idrec.hpp>

- - - - - - - - - + + + + + + + + +

Public Member Functions

 record (T &d)
 Constructs the class.
 
 record (const T &d)
 Constructs the class.
 
const record< T, T_ID, ID, T_SIZE, ALIGN > & operator= (const record< T, T_ID, ID, T_SIZE, ALIGN > &r)
 Assignment operator.
 
 record (T &d)
 Constructs the class.
 
 record (const T &d)
 Constructs the class.
 
const record< T, T_id, ID, T_size, N_align > & operator= (const record< T, T_id, ID, T_size, N_align > &r)
 Assignment operator.
 
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +

Static Public Member Functions

-static constexpr T_ID id ()
 Returns record id.
 
static std::streamoff open (std::ostream &stream)
 Writes record header.
 
static stdex::stream::foff_t open (stdex::stream::basic_file &stream)
 Writes record header.
 
static std::streamoff close (std::ostream &stream, std::streamoff start)
 Updates record header.
 
static stdex::stream::foff_t close (stdex::stream::basic_file &stream, stdex::stream::foff_t start)
 Updates record header.
 
static bool find (std::istream &stream, std::streamoff end=(std::streamoff) -1)
 Finds record data.
 
static bool find (stdex::stream::basic_file &stream, stdex::stream::foff_t end=stdex::stream::foff_max)
 Finds record data.
 
+static constexpr T_id id ()
 Returns record id.
 
static std::streamoff open (std::ostream &stream)
 Writes record header.
 
static stdex::stream::foff_t open (stdex::stream::basic_file &stream)
 Writes record header.
 
static std::streamoff close (std::ostream &stream, std::streamoff start)
 Updates record header.
 
static stdex::stream::foff_t close (stdex::stream::basic_file &stream, stdex::stream::foff_t start)
 Updates record header.
 
static bool find (std::istream &stream, std::streamoff end=(std::streamoff) -1)
 Finds record data.
 
static bool find (stdex::stream::basic_file &stream, stdex::stream::foff_t end=stdex::stream::foff_max)
 Finds record data.
 
- - - + +

Public Attributes

+
T & data
 Record data reference.
 
 Record data reference.
 
- - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +

Friends

std::ostream & operator<< (std::ostream &stream, const record< T, T_ID, ID, T_SIZE, ALIGN > r)
 Writes record to a stream.
 
stdex::stream::basic_fileoperator<< (stdex::stream::basic_file &stream, const record< T, T_ID, ID, T_SIZE, ALIGN > r)
 Writes record to a file.
 
stdex::stream::basicoperator<< (stdex::stream::basic &stream, const record< T, T_ID, ID, T_SIZE, ALIGN > r)
 Writes record to a stream.
 
std::istream & operator>> (std::istream &stream, record< T, T_ID, ID, T_SIZE, ALIGN > r)
 Reads record from a stream.
 
stdex::stream::basic_fileoperator>> (stdex::stream::basic_file &stream, record< T, T_ID, ID, T_SIZE, ALIGN > r)
 Reads record from a file.
 
stdex::stream::basicoperator>> (stdex::stream::basic &stream, record< T, T_ID, ID, T_SIZE, ALIGN > r)
 Reads record from a stream.
 
std::ostream & operator<< (std::ostream &stream, const record< T, T_id, ID, T_size, N_align > r)
 Writes record to a stream.
 
stdex::stream::basic_fileoperator<< (stdex::stream::basic_file &stream, const record< T, T_id, ID, T_size, N_align > r)
 Writes record to a file.
 
stdex::stream::basicoperator<< (stdex::stream::basic &stream, const record< T, T_id, ID, T_size, N_align > r)
 Writes record to a stream.
 
std::istream & operator>> (std::istream &stream, record< T, T_id, ID, T_size, N_align > r)
 Reads record from a stream.
 
stdex::stream::basic_fileoperator>> (stdex::stream::basic_file &stream, record< T, T_id, ID, T_size, N_align > r)
 Reads record from a file.
 
stdex::stream::basicoperator>> (stdex::stream::basic &stream, record< T, T_id, ID, T_size, N_align > r)
 Reads record from a stream.
 

Detailed Description

-
template<class T, class T_ID, const T_ID ID, class T_SIZE, T_SIZE ALIGN>
-class stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >

Helper class for read/write of records to/from memory.

+
template<class T, class T_id, const T_id ID, class T_size, T_size N_align>
+class stdex::idrec::record< T, T_id, ID, T_size, N_align >

Helper class for read/write of records to/from memory.

Constructor & Destructor Documentation

- -

◆ record() [1/2]

+ +

◆ record() [1/2]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
@@ -783,13 +717,13 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ operator>> [3/3]

+ +

◆ operator>> [3/3]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
- + - - +
stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >::record stdex::idrec::record< T, T_id, ID, T_size, N_align >::record (T & d)T & d)
@@ -194,22 +195,21 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ record() [2/2]

+ +

◆ record() [2/2]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
@@ -735,13 +676,13 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ operator>> [2/3]

+ +

◆ operator>> [2/3]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
- + - - +
stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >::record stdex::idrec::record< T, T_id, ID, T_size, N_align >::record (const T & d)const T & d)
@@ -231,33 +231,26 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>

Member Function Documentation

- -

◆ close() [1/2]

+ +

◆ close() [1/2]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
@@ -279,33 +272,26 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ close() [2/2]

+ +

◆ close() [2/2]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
- + - - + - - - - - - - +
static std::streamoff stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >::close static std::streamoff stdex::idrec::record< T, T_id, ID, T_size, N_align >::close (std::ostream & stream, std::ostream & stream,
std::streamoff start 
)std::streamoff start )
@@ -327,33 +313,26 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ find() [1/2]

+ +

◆ find() [1/2]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
- + - - + - - - - - - - +
static stdex::stream::foff_t stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >::close static stdex::stream::foff_t stdex::idrec::record< T, T_id, ID, T_size, N_align >::close (stdex::stream::basic_filestream, stdex::stream::basic_file & stream,
stdex::stream::foff_t start 
)stdex::stream::foff_t start )
@@ -379,33 +358,26 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ find() [2/2]

+ +

◆ find() [2/2]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
- + - - + - - - - - - - +
static bool stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >::find static bool stdex::idrec::record< T, T_id, ID, T_size, N_align >::find (std::istream & stream, std::istream & stream,
std::streamoff end = (std::streamoff)-1 
)std::streamoff end = (std::streamoff)-1 )
@@ -431,22 +403,21 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ open() [1/2]

+ +

◆ open() [1/2]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
- + - - + - - - - - - - +
static bool stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >::find static bool stdex::idrec::record< T, T_id, ID, T_size, N_align >::find (stdex::stream::basic_filestream, stdex::stream::basic_file & stream,
stdex::stream::foff_t end = stdex::stream::foff_max 
)stdex::stream::foff_t end = stdex::stream::foff_max )
@@ -687,13 +635,13 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ operator>> [1/3]

+ +

◆ operator>> [1/3]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
- + - - +
static std::streamoff stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >::open static std::streamoff stdex::idrec::record< T, T_id, ID, T_size, N_align >::open (std::ostream & stream)std::ostream & stream)
@@ -468,22 +439,21 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ open() [2/2]

+ +

◆ open() [2/2]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
@@ -639,13 +594,13 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ operator<< [3/3]

+ +

◆ operator<< [3/3]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
- + - - +
static stdex::stream::foff_t stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >::open static stdex::stream::foff_t stdex::idrec::record< T, T_id, ID, T_size, N_align >::open (stdex::stream::basic_filestream)stdex::stream::basic_file & stream)
@@ -505,22 +475,21 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ operator=()

+ +

◆ operator=()

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
@@ -591,13 +553,13 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN> - -

◆ operator<< [2/3]

+ +

◆ operator<< [2/3]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
- + - - +
const record< T, T_ID, ID, T_SIZE, ALIGN > & stdex::idrec::record< T, T_ID, ID, T_SIZE, ALIGN >::operator= const record< T, T_id, ID, T_size, N_align > & stdex::idrec::record< T, T_id, ID, T_size, N_align >::operator= (const record< T, T_ID, ID, T_SIZE, ALIGN > & r)const record< T, T_id, ID, T_size, N_align > & r)
@@ -543,13 +512,13 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>

Friends And Related Symbol Documentation

- -

◆ operator<< [1/3]

+ +

◆ operator<< [1/3]

-template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
+template<class T , class T_id , const T_id ID, class T_size , T_size N_align>
- - + - - - - - - - +
@@ -557,19 +526,12 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
std::ostream & operator<< (std::ostream & stream, std::ostream & stream,
const record< T, T_ID, ID, T_SIZE, ALIGN > r 
)const record< T, T_id, ID, T_size, N_align > r )
- - + - - - - - - - +
@@ -605,19 +567,12 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
stdex::stream::basic & operator<< (stdex::stream::basicstream, stdex::stream::basic & stream,
const record< T, T_ID, ID, T_SIZE, ALIGN > r 
)const record< T, T_id, ID, T_size, N_align > r )
- - + - - - - - - - +
@@ -653,19 +608,12 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
stdex::stream::basic_file & operator<< (stdex::stream::basic_filestream, stdex::stream::basic_file & stream,
const record< T, T_ID, ID, T_SIZE, ALIGN > r 
)const record< T, T_id, ID, T_size, N_align > r )
- - + - - - - - - - +
@@ -701,19 +649,12 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
std::istream & operator>> (std::istream & stream, std::istream & stream,
record< T, T_ID, ID, T_SIZE, ALIGN > r 
)record< T, T_id, ID, T_size, N_align > r )
- - + - - - - - - - +
@@ -749,19 +690,12 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
stdex::stream::basic & operator>> (stdex::stream::basicstream, stdex::stream::basic & stream,
record< T, T_ID, ID, T_SIZE, ALIGN > r 
)record< T, T_id, ID, T_size, N_align > r )
- - + - - - - - - - +
@@ -797,19 +731,12 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
stdex::stream::basic_file & operator>> (stdex::stream::basic_filestream, stdex::stream::basic_file & stream,
record< T, T_ID, ID, T_SIZE, ALIGN > r 
)record< T, T_id, ID, T_size, N_align > r )
@@ -837,7 +764,7 @@ template<class T , class T_ID , const T_ID ID, class T_SIZE , T_SIZE ALIGN>
diff --git a/classstdex_1_1lazy__progress-members.html b/classstdex_1_1lazy__progress-members.html index 567d7cb64..055a9f843 100644 --- a/classstdex_1_1lazy__progress-members.html +++ b/classstdex_1_1lazy__progress-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -95,7 +97,7 @@ $(function() {
diff --git a/classstdex_1_1lazy__progress.html b/classstdex_1_1lazy__progress.html index 9d31eeaae..5e4f9f07c 100644 --- a/classstdex_1_1lazy__progress.html +++ b/classstdex_1_1lazy__progress.html @@ -3,12 +3,14 @@ - + stdex: stdex::lazy_progress< T > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -84,7 +86,7 @@ $(function() {

Lazy progress indicator base class. - More...

+ More...

#include <stdex/progress.hpp>

@@ -99,16 +101,16 @@ Inheritance diagram for stdex::lazy_progress< T >:
- + - + - + - + @@ -163,8 +165,7 @@ template<class T > - - +

Public Member Functions

 lazy_progress (const std::chrono::nanoseconds &timeout=std::chrono::nanoseconds(500000))
 lazy_progress (const std::chrono::nanoseconds &timeout=std::chrono::nanoseconds(500000))
 Constructs a lazy progress indicator.
 
virtual void set_range (T start, T end)
virtual void set_range (T start, T end)
 Set progress range extent.
 
virtual void set (T value)
virtual void set (T value)
 Set current progress.
 
- Public Member Functions inherited from stdex::progress< T >
- Public Member Functions inherited from stdex::progress< T >
virtual void set_text (const char *msg)
 Set progress indicator text.
 
stdex::lazy_progress< T >::lazy_progress (const std::chrono::nanoseconds & timeout = std::chrono::nanoseconds(500000))const std::chrono::nanoseconds & timeout = std::chrono::nanoseconds(500000))
@@ -200,8 +201,7 @@ template<class T >
virtual void stdex::lazy_progress< T >::set ( - T  - value) + T value) @@ -215,7 +215,7 @@ template<class T >

Set current progress.

Parameters
- +
[in]valueCurrent value of the progress. Must be between start and end parameters provided in set_range() call.
[in]valueCurrent value of the progress. Must be between start and end parameters provided in set_range() call.
@@ -238,19 +238,12 @@ template<class T > virtual void stdex::lazy_progress< T >::set_range ( - T  - start, + T start, - T  - end  - - - - ) - + T end ) @@ -279,7 +272,7 @@ template<class T > diff --git a/classstdex_1_1lazy__progress.png b/classstdex_1_1lazy__progress.png index 9c891a108..f9fb373ee 100644 Binary files a/classstdex_1_1lazy__progress.png and b/classstdex_1_1lazy__progress.png differ diff --git a/classstdex_1_1locale-members.html b/classstdex_1_1locale-members.html new file mode 100644 index 000000000..cdb27db8e --- /dev/null +++ b/classstdex_1_1locale-members.html @@ -0,0 +1,96 @@ + + + + + + + +stdex: Member List + + + + + + + + + + + +
+
+ + + + + + +
+
stdex +
+
Additional custom or not Standard C++ covered algorithms
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
stdex::locale Member List
+
+
+ +

This is the complete list of members for stdex::locale, including all inherited members.

+ + + + + + +
locale()=default (defined in stdex::locale)stdex::locale
locale(locale_t ptr) (defined in stdex::locale)stdex::localeinline
locale(int category, const char *locale) (defined in stdex::locale)stdex::localeinline
locale(int category, const wchar_t *locale) (defined in stdex::locale)stdex::localeinline
operator locale_t() const (defined in stdex::locale)stdex::localeinline
+ + + + diff --git a/classstdex_1_1locale.html b/classstdex_1_1locale.html new file mode 100644 index 000000000..bfdb52344 --- /dev/null +++ b/classstdex_1_1locale.html @@ -0,0 +1,123 @@ + + + + + + + +stdex: stdex::locale Class Reference + + + + + + + + + + + +
+
+ + + + + + +
+
stdex +
+
Additional custom or not Standard C++ covered algorithms
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+ +
stdex::locale Class Reference
+
+
+ +

locale_t helper class to free_locale when going out of scope. + More...

+ +

#include <stdex/locale.hpp>

+
+Inheritance diagram for stdex::locale:
+
+
+ +
+ + + + + + + + + + +

+Public Member Functions

locale (locale_t ptr)
 
locale (int category, const char *locale)
 
locale (int category, const wchar_t *locale)
 
operator locale_t () const
 
+

Detailed Description

+

locale_t helper class to free_locale when going out of scope.

+

The documentation for this class was generated from the following file: +
+ + + + diff --git a/classstdex_1_1locale.png b/classstdex_1_1locale.png new file mode 100644 index 000000000..b7df92734 Binary files /dev/null and b/classstdex_1_1locale.png differ diff --git a/classstdex_1_1md5__hash-members.html b/classstdex_1_1md5__hash-members.html index cb02a72e3..cd105bb4e 100644 --- a/classstdex_1_1md5__hash-members.html +++ b/classstdex_1_1md5__hash-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@ - + @@ -93,7 +95,7 @@ $(function() { diff --git a/classstdex_1_1md5__hash.html b/classstdex_1_1md5__hash.html index 47cb4be73..e5499d9dd 100644 --- a/classstdex_1_1md5__hash.html +++ b/classstdex_1_1md5__hash.html @@ -3,12 +3,14 @@ - + stdex: stdex::md5_hash Class Reference + + @@ -30,7 +32,7 @@ - + @@ -84,7 +86,7 @@ $(function() {

Hashes as MD5. - More...

+ More...

#include <stdex/hash.hpp>

@@ -100,17 +102,17 @@ Inheritance diagram for stdex::md5_hash:
- + - + - + - + @@ -122,7 +124,7 @@ const T & 

Public Member Functions

virtual void clear ()
virtual void clear ()
 Initializes hash value and internal state.
 
virtual void finalize ()
virtual void finalize ()
 Finalizes hash value.
 
- Public Member Functions inherited from stdex::block_hash< md5_t >
- Public Member Functions inherited from stdex::block_hash< md5_t >
virtual void hash (_In_reads_bytes_opt_(length) const void *data, size_t length)
 Hashes block of data.
 
- Public Member Functions inherited from stdex::basic_hash< T >
- Public Member Functions inherited from stdex::basic_hash< T >
const T & data ()
 Returns hash value.
data ()<
- +

Protected Member Functions

virtual void hash_block ()
virtual void hash_block ()
 
- + @@ -145,19 +147,19 @@ union {  - +

@@ -130,7 +132,7 @@ Protected Attributes

uint32_t m_state [4]
 
- Protected Attributes inherited from stdex::block_hash< md5_t >
- Protected Attributes inherited from stdex::block_hash< md5_t >
uint32_t m_counter [2]
 
 
};  
 
- Protected Attributes inherited from stdex::basic_hash< T >
- Protected Attributes inherited from stdex::basic_hash< T >
m_value
 
- + - + @@ -180,7 +182,7 @@ uint32_t  - +

Additional Inherited Members

- Static Public Member Functions inherited from stdex::basic_hash< T >
- Static Public Member Functions inherited from stdex::basic_hash< T >
static size_t size ()
 Returns size of the hash value in bytes.
 
- Public Attributes inherited from stdex::block_hash< md5_t >
- Public Attributes inherited from stdex::block_hash< md5_t >
uint8_t m_queue [64]
 
m_temp [16] virtual void stdex::md5_hash::clear ())
@@ -209,7 +211,7 @@ uint32_t m_temp [16] virtual void stdex::md5_hash::finalize ( - ) + ) @@ -238,7 +240,7 @@ uint32_t m_temp [16] virtual void stdex::md5_hash::hash_block ( - ) + ) @@ -259,7 +261,7 @@ uint32_t m_temp [16] diff --git a/classstdex_1_1md5__hash.png b/classstdex_1_1md5__hash.png index 8eca09327..44f0beedd 100644 Binary files a/classstdex_1_1md5__hash.png and b/classstdex_1_1md5__hash.png differ diff --git a/classstdex_1_1parser_1_1basic__angle-members.html b/classstdex_1_1parser_1_1basic__angle-members.html index 5d1b4d18b..3add863f9 100644 --- a/classstdex_1_1parser_1_1basic__angle-members.html +++ b/classstdex_1_1parser_1_1basic__angle-members.html @@ -3,12 +3,14 @@ - + stdex: Member List + + @@ -30,7 +32,7 @@
- + @@ -85,21 +87,22 @@ $(function() { decimal (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T > degree (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T > degree_separator (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T > - intervalstdex::parser::basic_parser< T > - invalidate() (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T >inlinevirtual - m_locale (defined in stdex::parser::basic_parser< T >)stdex::parser::basic_parser< T >protected - match(_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T >inlinevirtual - match(const std::basic_string< T, _Traits, _Ax > &text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) (defined in stdex::parser::basic_parser< T >)stdex::parser::basic_parser< T >inline - minute (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T > - minute_separator (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T > - search(_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) (defined in stdex::parser::basic_parser< T >)stdex::parser::basic_parser< T >inline - second (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T > - second_separator (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T > - ~basic_parser() (defined in stdex::parser::basic_parser< T >)stdex::parser::basic_parser< T >inlinevirtual + do_match(_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T >inlineprotectedvirtual + intervalstdex::parser::basic_parser< T > + invalidate() (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T >inlinevirtual + m_locale (defined in stdex::parser::basic_parser< T >)stdex::parser::basic_parser< T >protected + match(_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) (defined in stdex::parser::basic_parser< T >)stdex::parser::basic_parser< T >inline + match(const std::basic_string_view< T, std::char_traits< T > > text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) (defined in stdex::parser::basic_parser< T >)stdex::parser::basic_parser< T >inline + minute (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T > + minute_separator (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T > + search(_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) (defined in stdex::parser::basic_parser< T >)stdex::parser::basic_parser< T >inline + second (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T > + second_separator (defined in stdex::parser::basic_angle< T >)stdex::parser::basic_angle< T > + ~basic_parser() (defined in stdex::parser::basic_parser< T >)stdex::parser::basic_parser< T >inlinevirtual diff --git a/classstdex_1_1parser_1_1basic__angle.html b/classstdex_1_1parser_1_1basic__angle.html index 96e402ad8..5cf022a3d 100644 --- a/classstdex_1_1parser_1_1basic__angle.html +++ b/classstdex_1_1parser_1_1basic__angle.html @@ -3,12 +3,14 @@ - + stdex: stdex::parser::basic_angle< T > Class Template Reference + + @@ -30,7 +32,7 @@ - + @@ -77,13 +79,14 @@ $(function() {
Public Member Functions | Public Attributes | +Protected Member Functions | List of all members
stdex::parser::basic_angle< T > Class Template Reference

Test for angle in d°mm'ss.dddd form. - More...

+ More...

#include <stdex/parser.hpp>

@@ -99,23 +102,23 @@ Inheritance diagram for stdex::parser::basic_angle< T >:

Public Member Functions

basic_angle (const std::shared_ptr< basic_integer10< T > > &_degree, const std::shared_ptr< basic_parser< T > > &_degree_separator, const std::shared_ptr< basic_integer10< T > > &_minute, const std::shared_ptr< basic_parser< T > > &_minute_separator, const std::shared_ptr< basic_integer10< T > > &_second, const std::shared_ptr< basic_parser< T > > &_second_separator, const std::shared_ptr< basic_parser< T > > &_decimal, const std::locale &locale=std::locale()) + basic_angle (const std::shared_ptr< basic_integer10< T > > &_degree, const std::shared_ptr< basic_parser< T > > &_degree_separator, const std::shared_ptr< basic_integer10< T > > &_minute, const std::shared_ptr< basic_parser< T > > &_minute_separator, const std::shared_ptr< basic_integer10< T > > &_second, const std::shared_ptr< basic_parser< T > > &_second_separator, const std::shared_ptr< basic_parser< T > > &_decimal, const std::locale &locale=std::locale())   -virtual bool match (_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) -  -virtual void invalidate () +virtual void invalidate ()   -- Public Member Functions inherited from stdex::parser::basic_parser< T > +- Public Member Functions inherited from stdex::parser::basic_parser< T >basic_parser (const std::locale &locale=std::locale()) + basic_parser (const std::locale &locale=std::locale())   bool search (_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default)   - -template<class _Traits , class _Ax > -bool match (const std::basic_string< T, _Traits, _Ax > &text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) -  + +bool match (_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) +  + +bool match (const std::basic_string_view< T, std::char_traits< T > > text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) +  @@ -140,15 +143,20 @@ std::shared_ptr< - +

Public Attributes

std::shared_ptr< basic_parser< T > > decimal
 
- Public Attributes inherited from stdex::parser::basic_parser< T >
- Public Attributes inherited from stdex::parser::basic_parser< T >
stdex::interval< size_tinterval
 Region of the last match.
 
+ + + +

+Protected Member Functions

virtual bool do_match (_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default)
 
- + @@ -157,6 +165,49 @@ std::locale  - +

Additional Inherited Members

- Protected Attributes inherited from stdex::parser::basic_parser< T >
- Protected Attributes inherited from stdex::parser::basic_parser< T >
std::locale m_locale
 
m_locale
template<class T>
class stdex::parser::basic_angle< T >

Test for angle in d°mm'ss.dddd form.

Member Function Documentation

+ +

◆ do_match()

+ +
+
+
+template<class T >
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
virtual bool stdex::parser::basic_angle< T >::do_match (_In_reads_or_z_opt_(end) const T * text,
size_t start = 0,
size_t end = SIZE_MAX,
int flags = match_default )
+
+inlineprotectedvirtual
+
+

◆ invalidate()

@@ -171,7 +222,7 @@ template<clas
virtual void stdex::parser::basic_angle< T >::invalidate ())
@@ -184,58 +235,6 @@ template<clas

Reimplemented from stdex::parser::basic_parser< T >.

-
- - -

◆ match()

- -
-
-
-template<class T >
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
virtual bool stdex::parser::basic_angle< T >::match (_In_reads_or_z_opt_(end) const T * text,
size_t start = 0,
size_t end = SIZE_MAX,
int flags = match_default 
)
-
-inlinevirtual
-

The documentation for this class was generated from the following file: