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

#include <rw_char.h>

Public Types

typedef TraitsMemFunc MemFun
 
typedef UserChar char_type
 
typedef UserInt int_type
 
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_ []
 

Detailed Description

Definition at line 345 of file rw_char.h.

Member Typedef Documentation

◆ char_type

typedef UserChar UserTraits< UserChar >::char_type

Definition at line 349 of file rw_char.h.

◆ int_type

typedef UserInt UserTraits< UserChar >::int_type

Definition at line 350 of file rw_char.h.

◆ MemFun

Definition at line 347 of file rw_char.h.

◆ off_type

typedef int UserTraits< UserChar >::off_type

Definition at line 353 of file rw_char.h.

◆ pos_type

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

Definition at line 355 of file rw_char.h.

◆ state_type

typedef int UserTraits< UserChar >::state_type

Definition at line 354 of file rw_char.h.

Member Function Documentation

◆ assign() [1/2]

void UserTraits< UserChar >::assign ( char_type &  c1,
const char_type &  c2 
)
static

Definition at line 309 of file char.cpp.

◆ assign() [2/2]

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

◆ compare()

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

Definition at line 339 of file char.cpp.

◆ copy()

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

Definition at line 393 of file char.cpp.

◆ eof()

Definition at line 489 of file char.cpp.

◆ eq()

bool UserTraits< UserChar >::eq ( const char_type &  c1,
const char_type &  c2 
)
static

Definition at line 320 of file char.cpp.

◆ eq_int_type()

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

Definition at line 479 of file char.cpp.

◆ find()

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

Definition at line 376 of file char.cpp.

◆ length()

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

Definition at line 360 of file char.cpp.

◆ lt()

bool UserTraits< UserChar >::lt ( const char_type &  c1,
const char_type &  c2 
)
static

Definition at line 330 of file char.cpp.

◆ move()

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

Definition at line 408 of file char.cpp.

◆ not_eof()

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

Definition at line 443 of file char.cpp.

◆ to_char_type()

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

Definition at line 459 of file char.cpp.

◆ to_int_type()

UserTraits< UserChar >::int_type UserTraits< UserChar >::to_int_type ( const char_type &  c)
static

Definition at line 469 of file char.cpp.

Field Documentation

◆ n_calls_

size_t UserTraits< UserChar >::n_calls_
static

Definition at line 394 of file rw_char.h.


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