ReactOS 0.4.16-dev-1142-g8029339
__crt_stdio_input::scanset_storage< sizeof(wchar_t)> Class Reference

#include <corecrt_internal_stdio_input.h>

Public Member Functions

unsigned chardata () const throw ()
 
size_t size () const throw ()
 

Private Types

enum  : size_t { buffer_size = (static_cast<size_t>(WCHAR_MAX) + 1) / CHAR_BIT }
 

Private Attributes

__crt_unique_heap_ptr< unsigned char_buffer
 

Detailed Description

Definition at line 260 of file corecrt_internal_stdio_input.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : size_t
private
Enumerator
buffer_size 

Definition at line 279 of file corecrt_internal_stdio_input.h.

279: size_t { buffer_size = (static_cast<size_t>(WCHAR_MAX) + 1) / CHAR_BIT };
#define WCHAR_MAX
Definition: _cwchar.h:123
#define CHAR_BIT
Definition: urlcache.c:62

Member Function Documentation

◆ data()

Definition at line 264 of file corecrt_internal_stdio_input.h.

265 {
266 if (!_buffer)
267 _buffer = _calloc_crt_t(unsigned char, buffer_size);
268
269 return _buffer.get();
270 }

◆ size()

Definition at line 272 of file corecrt_internal_stdio_input.h.

273 {
274 return buffer_size;
275 }

Member Data Documentation

◆ _buffer

__crt_unique_heap_ptr<unsigned char> __crt_stdio_input::scanset_storage< sizeof(wchar_t)>::_buffer
mutableprivate

Definition at line 281 of file corecrt_internal_stdio_input.h.


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