ARTS  2.0.49
ios_traits< char > Struct Reference

#include <iotraits.h>

Public Types

typedef char char_type
 
typedef int int_type
 
typedef streampos pos_type
 
typedef streamoff off_type
 
typedef int state_type
 

Static Public Member Functions

static char_type eos ()
 
static int_type eof ()
 
static int_type not_eof (int_type c)
 
static char_type newline ()
 
static bool eq (char_type c1, char_type c2)
 
static bool eq_int_type (int_type i1, int_type i2)
 
static void assign (char &to, char from)
 
static char_type to_char_type (int_type c)
 
static int_type to_int_type (char_type c)
 
static char_typecopy (char_type *dst, char_type const *src, pos_type n)
 
static size_t length (char_type const *s)
 

Detailed Description

Definition at line 57 of file iotraits.h.

Member Typedef Documentation

◆ char_type

typedef char ios_traits< char >::char_type

Definition at line 59 of file iotraits.h.

◆ int_type

typedef int ios_traits< char >::int_type

Definition at line 60 of file iotraits.h.

◆ off_type

typedef streamoff ios_traits< char >::off_type

Definition at line 62 of file iotraits.h.

◆ pos_type

typedef streampos ios_traits< char >::pos_type

Definition at line 61 of file iotraits.h.

◆ state_type

typedef int ios_traits< char >::state_type

Definition at line 63 of file iotraits.h.

Member Function Documentation

◆ assign()

static void ios_traits< char >::assign ( char &  to,
char  from 
)
inlinestatic

Definition at line 72 of file iotraits.h.

◆ copy()

static char_type* ios_traits< char >::copy ( char_type dst,
char_type const *  src,
pos_type  n 
)
inlinestatic

Definition at line 77 of file iotraits.h.

◆ eof()

static int_type ios_traits< char >::eof ( )
inlinestatic

Definition at line 66 of file iotraits.h.

◆ eos()

static char_type ios_traits< char >::eos ( )
inlinestatic

Definition at line 65 of file iotraits.h.

◆ eq()

static bool ios_traits< char >::eq ( char_type  c1,
char_type  c2 
)
inlinestatic

Definition at line 70 of file iotraits.h.

◆ eq_int_type()

static bool ios_traits< char >::eq_int_type ( int_type  i1,
int_type  i2 
)
inlinestatic

Definition at line 71 of file iotraits.h.

◆ length()

static size_t ios_traits< char >::length ( char_type const *  s)
inlinestatic

Definition at line 82 of file iotraits.h.

◆ newline()

static char_type ios_traits< char >::newline ( )
inlinestatic

Definition at line 68 of file iotraits.h.

◆ not_eof()

static int_type ios_traits< char >::not_eof ( int_type  c)
inlinestatic

Definition at line 67 of file iotraits.h.

◆ to_char_type()

static char_type ios_traits< char >::to_char_type ( int_type  c)
inlinestatic

Definition at line 74 of file iotraits.h.

◆ to_int_type()

static int_type ios_traits< char >::to_int_type ( char_type  c)
inlinestatic

Definition at line 75 of file iotraits.h.


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