libstdc++
std::char_traits< __gnu_cxx::character< _Value, _Int, _St > > Struct Template Reference

#include <pod_char_traits.h>

Public Types

typedef __gnu_cxx::character< _Value, _Int, _St > char_type
 
typedef char_type::int_type int_type
 
typedef streamoff off_type
 
typedef fpos< state_type > pos_type
 
typedef char_type::state_type state_type
 

Static Public Member Functions

static void assign (char_type &__c1, const char_type &__c2)
 
static char_typeassign (char_type *__s, size_t __n, char_type __a)
 
static int compare (const char_type *__s1, const char_type *__s2, size_t __n)
 
static char_typecopy (char_type *__s1, const char_type *__s2, size_t __n)
 
static int_type eof ()
 
static bool eq (const char_type &__c1, const char_type &__c2)
 
static bool eq_int_type (const int_type &__c1, const int_type &__c2)
 
static const char_typefind (const char_type *__s, size_t __n, const char_type &__a)
 
static size_t length (const char_type *__s)
 
static bool lt (const char_type &__c1, const char_type &__c2)
 
static char_typemove (char_type *__s1, const char_type *__s2, size_t __n)
 
static int_type not_eof (const int_type &__c)
 
static char_type to_char_type (const int_type &__i)
 
static int_type to_int_type (const char_type &__c)
 

Detailed Description

template<typename _Value, typename _Int, typename _St>
struct std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >

char_traits<__gnu_cxx::character> specialization.

Definition at line 97 of file pod_char_traits.h.

Member Typedef Documentation

◆ char_type

template<typename _Value , typename _Int , typename _St >
typedef __gnu_cxx::character<_Value, _Int, _St> std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::char_type

Definition at line 99 of file pod_char_traits.h.

◆ int_type

template<typename _Value , typename _Int , typename _St >
typedef char_type::int_type std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::int_type

Definition at line 100 of file pod_char_traits.h.

◆ off_type

template<typename _Value , typename _Int , typename _St >
typedef streamoff std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::off_type

Definition at line 103 of file pod_char_traits.h.

◆ pos_type

template<typename _Value , typename _Int , typename _St >
typedef fpos<state_type> std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::pos_type

Definition at line 102 of file pod_char_traits.h.

◆ state_type

template<typename _Value , typename _Int , typename _St >
typedef char_type::state_type std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::state_type

Definition at line 101 of file pod_char_traits.h.

Member Function Documentation

◆ assign() [1/2]

template<typename _Value , typename _Int , typename _St >
static void std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::assign ( char_type __c1,
const char_type __c2 
)
inlinestatic

Definition at line 106 of file pod_char_traits.h.

◆ assign() [2/2]

template<typename _Value , typename _Int , typename _St >
static char_type * std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::assign ( char_type __s,
size_t  __n,
char_type  __a 
)
inlinestatic

Definition at line 163 of file pod_char_traits.h.

◆ compare()

template<typename _Value , typename _Int , typename _St >
static int std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::compare ( const char_type __s1,
const char_type __s2,
size_t  __n 
)
inlinestatic

Definition at line 118 of file pod_char_traits.h.

◆ copy()

template<typename _Value , typename _Int , typename _St >
static char_type * std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::copy ( char_type __s1,
const char_type __s2,
size_t  __n 
)
inlinestatic

Definition at line 154 of file pod_char_traits.h.

◆ eof()

template<typename _Value , typename _Int , typename _St >
static int_type std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::eof ( )
inlinestatic

Definition at line 182 of file pod_char_traits.h.

◆ eq()

template<typename _Value , typename _Int , typename _St >
static bool std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::eq ( const char_type __c1,
const char_type __c2 
)
inlinestatic

Definition at line 110 of file pod_char_traits.h.

◆ eq_int_type()

template<typename _Value , typename _Int , typename _St >
static bool std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::eq_int_type ( const int_type &  __c1,
const int_type &  __c2 
)
inlinestatic

Definition at line 178 of file pod_char_traits.h.

◆ find()

template<typename _Value , typename _Int , typename _St >
static const char_type * std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::find ( const char_type __s,
size_t  __n,
const char_type __a 
)
inlinestatic

Definition at line 136 of file pod_char_traits.h.

◆ length()

template<typename _Value , typename _Int , typename _St >
static size_t std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::length ( const char_type __s)
inlinestatic

Definition at line 127 of file pod_char_traits.h.

◆ lt()

template<typename _Value , typename _Int , typename _St >
static bool std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::lt ( const char_type __c1,
const char_type __c2 
)
inlinestatic

Definition at line 114 of file pod_char_traits.h.

◆ move()

template<typename _Value , typename _Int , typename _St >
static char_type * std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::move ( char_type __s1,
const char_type __s2,
size_t  __n 
)
inlinestatic

Definition at line 145 of file pod_char_traits.h.

◆ not_eof()

template<typename _Value , typename _Int , typename _St >
static int_type std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::not_eof ( const int_type &  __c)
inlinestatic

Definition at line 191 of file pod_char_traits.h.

◆ to_char_type()

template<typename _Value , typename _Int , typename _St >
static char_type std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::to_char_type ( const int_type &  __i)
inlinestatic

Definition at line 170 of file pod_char_traits.h.

◆ to_int_type()

template<typename _Value , typename _Int , typename _St >
static int_type std::char_traits< __gnu_cxx::character< _Value, _Int, _St > >::to_int_type ( const char_type __c)
inlinestatic

Definition at line 174 of file pod_char_traits.h.


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