Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Types | Static Public Member Functions | Static Public Attributes
UserTraits< char > Struct Reference

#include <rw_char.h>

Inheritance diagram for UserTraits< char >:
Inheritance graph
[legend]
Collaboration diagram for UserTraits< char >:
Collaboration graph
[legend]

Public Types

typedef std::char_traits< char > Base
 
typedef Base::char_type char_type
 
typedef Base::int_type int_type
 
typedef TraitsMemFunc MemFun
 
typedef int off_type
 
typedef int state_type
 
typedef std::fpos< state_type > pos_type
 

Static Public Member Functions

static void assign (char_type &, const char_type &)
 
static bool eq (const char_type &, const char_type &)
 
static bool lt (const char_type &, const char_type &)
 
static int compare (const char_type *, const char_type *, _RWSTD_SIZE_T)
 
static _RWSTD_SIZE_T length (const char_type *)
 
static const char_type * find (const char_type *, _RWSTD_SIZE_T, const char_type &)
 
static char_type * copy (char_type *, const char_type *, _RWSTD_SIZE_T)
 
static char_type * move (char_type *, const char_type *, _RWSTD_SIZE_T)
 
static char_type * assign (char_type *, _RWSTD_SIZE_T, char_type)
 
static int_type not_eof (const int_type &)
 
static char_type to_char_type (const int_type &)
 
static int_type to_int_type (const char_type &)
 
static bool eq_int_type (const int_type &, const int_type &)
 
static int_type eof ()
 

Static Public Attributes

static _RWSTD_SIZE_T n_calls_ []
 
static int_type eof_ = std::char_traits<char>::eof ()
 

Detailed Description

Definition at line 204 of file rw_char.h.

Member Typedef Documentation

◆ Base

typedef std::char_traits<char> UserTraits< char >::Base

Definition at line 206 of file rw_char.h.

◆ char_type

typedef Base::char_type UserTraits< char >::char_type

Definition at line 207 of file rw_char.h.

◆ int_type

typedef Base::int_type UserTraits< char >::int_type

Definition at line 208 of file rw_char.h.

◆ MemFun

Definition at line 209 of file rw_char.h.

◆ off_type

typedef int UserTraits< char >::off_type

Definition at line 212 of file rw_char.h.

◆ pos_type

typedef std::fpos<state_type> UserTraits< char >::pos_type

Definition at line 214 of file rw_char.h.

◆ state_type

typedef int UserTraits< char >::state_type

Definition at line 213 of file rw_char.h.

Member Function Documentation

◆ assign() [1/2]

void UserTraits< char >::assign ( char_type &  dst,
const char_type &  src 
)
static

Definition at line 43 of file char.cpp.

◆ assign() [2/2]

static char_type * UserTraits< char >::assign ( char_type *  ,
_RWSTD_SIZE_T  ,
char_type   
)
static

◆ compare()

int UserTraits< char >::compare ( const char_type *  ,
const char_type *  ,
_RWSTD_SIZE_T   
)
static

Definition at line 67 of file char.cpp.

◆ copy()

UserTraits< char >::char_type * UserTraits< char >::copy ( char_type *  ,
const char_type *  ,
_RWSTD_SIZE_T   
)
static

Definition at line 93 of file char.cpp.

◆ eof()

UserTraits< char >::int_type UserTraits< char >::eof ( )
static

Definition at line 155 of file char.cpp.

◆ eq()

bool UserTraits< char >::eq ( const char_type &  ch1,
const char_type &  ch2 
)
static

Definition at line 51 of file char.cpp.

◆ eq_int_type()

bool UserTraits< char >::eq_int_type ( const int_type &  i1,
const int_type &  i2 
)
static

Definition at line 146 of file char.cpp.

◆ find()

const UserTraits< char >::char_type * UserTraits< char >::find ( const char_type *  ,
_RWSTD_SIZE_T  ,
const char_type &   
)
static

Definition at line 84 of file char.cpp.

◆ length()

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

Definition at line 75 of file char.cpp.

◆ lt()

bool UserTraits< char >::lt ( const char_type &  ch1,
const char_type &  ch2 
)
static

Definition at line 59 of file char.cpp.

◆ move()

UserTraits< char >::char_type * UserTraits< char >::move ( char_type *  ,
const char_type *  ,
_RWSTD_SIZE_T   
)
static

Definition at line 102 of file char.cpp.

◆ not_eof()

UserTraits< char >::int_type UserTraits< char >::not_eof ( const int_type &  i)
static

Definition at line 120 of file char.cpp.

◆ to_char_type()

UserTraits< char >::char_type UserTraits< char >::to_char_type ( const int_type &  i)
static

Definition at line 129 of file char.cpp.

◆ to_int_type()

UserTraits< char >::int_type UserTraits< char >::to_int_type ( const char_type &  ch)
static

Definition at line 138 of file char.cpp.

Field Documentation

◆ eof_

UserTraits< char >::int_type UserTraits< char >::eof_ = std::char_traits<char>::eof ()
static

Definition at line 260 of file rw_char.h.

◆ n_calls_

size_t UserTraits< char >::n_calls_
static

Definition at line 258 of file rw_char.h.


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