cfgfile 0.2.11
Loading...
Searching...
No Matches
cfgfile::wstring_trait_t Struct Referencefinal

Trait for std::wstring support. More...

#include <types.hpp>

Public Types

using string_t = std::wstring
 String type.
 
using char_t = string_t::value_type
 Char type.
 
using ostream_t = std::wostream
 Out stream type.
 
using istream_t = std::wistream
 In stream type.
 
using pos_t = std::streamoff
 Type of pos in stream.
 
using buf_t = std::vector< char_t >
 Type of the buffer.
 

Static Public Member Functions

static string_t to_string (pos_t pos)
 
static string_t from_ascii (const std::string &str)
 
static char_t from_ascii (char ch)
 
static void noskipws (istream_t &stream)
 
static bool is_at_end (istream_t &stream)
 
static bool is_space (char_t ch)
 
static void to_begin (istream_t &stream)
 
static pos_t size_of_file (istream_t &stream)
 
static void fill_buf (istream_t &stream, buf_t &buf, pos_t buf_size, pos_t &pos, pos_t size)
 

Detailed Description

Trait for std::wstring support.

Member Typedef Documentation

◆ buf_t

Type of the buffer.

◆ char_t

using cfgfile::wstring_trait_t::char_t = string_t::value_type

Char type.

◆ istream_t

In stream type.

◆ ostream_t

Out stream type.

◆ pos_t

Type of pos in stream.

◆ string_t

String type.

Member Function Documentation

◆ fill_buf()

static void cfgfile::wstring_trait_t::fill_buf ( istream_t stream,
buf_t buf,
pos_t  buf_size,
pos_t pos,
pos_t  size 
)
inlinestatic

◆ from_ascii() [1/2]

static char_t cfgfile::wstring_trait_t::from_ascii ( char  ch)
inlinestatic

◆ from_ascii() [2/2]

static string_t cfgfile::wstring_trait_t::from_ascii ( const std::string &  str)
inlinestatic

◆ is_at_end()

static bool cfgfile::wstring_trait_t::is_at_end ( istream_t stream)
inlinestatic

◆ is_space()

static bool cfgfile::wstring_trait_t::is_space ( char_t  ch)
inlinestatic

◆ noskipws()

static void cfgfile::wstring_trait_t::noskipws ( istream_t stream)
inlinestatic

◆ size_of_file()

static pos_t cfgfile::wstring_trait_t::size_of_file ( istream_t stream)
inlinestatic

◆ to_begin()

static void cfgfile::wstring_trait_t::to_begin ( istream_t stream)
inlinestatic

◆ to_string()

static string_t cfgfile::wstring_trait_t::to_string ( pos_t  pos)
inlinestatic

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