Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes
UserClass Struct Reference

#include <rw_value.h>

Inheritance diagram for UserClass:
Inheritance graph
[legend]
Collaboration diagram for UserClass:
Collaboration graph
[legend]

Data Structures

struct  CopyCtor
 
struct  DefCtor
 
struct  Dtor
 
struct  Exception
 
struct  Less
 
struct  OpAssign
 
struct  OpDivAssign
 
struct  OpEq
 
struct  OpLt
 
struct  OpMinusAssign
 
struct  OpPlusAssign
 
struct  OpTimesAssign
 

Public Member Functions

 UserClass ()
 
 UserClass (const UserClass &)
 
 ~UserClass ()
 
UserClass & operator= (const UserClass &)
 
UserClass & operator+= (const UserClass &)
 
UserClass & operator-= (const UserClass &)
 
UserClass & operator*= (const UserClass &)
 
UserClass & operator/= (const UserClass &)
 
bool operator== (const UserClass &) const
 
bool operator< (const UserClass &) const
 
bool is_count (_RWSTD_SIZE_T copy_ctor, _RWSTD_SIZE_T op_assign, _RWSTD_SIZE_T op_eq, _RWSTD_SIZE_T op_lt) const
 

Static Public Member Functions

static bool is_total (_RWSTD_SIZE_T count, _RWSTD_SIZE_T n_def_ctor, _RWSTD_SIZE_T n_copy_ctor, _RWSTD_SIZE_T n_op_assign, _RWSTD_SIZE_T n_op_eq, _RWSTD_SIZE_T n_op_lt)
 
static const UserClass * first_less (const UserClass *, _RWSTD_SIZE_T)
 
static void reset_totals ()
 
static UserClass from_char (char c)
 
static UserClass * from_char (const char *, _RWSTD_SIZE_T=_RWSTD_SIZE_MAX, bool=false)
 
static int compare (const UserClass *, const char *, _RWSTD_SIZE_T=_RWSTD_SIZE_MAX)
 
static int compare (const char *, const UserClass *, _RWSTD_SIZE_T=_RWSTD_SIZE_MAX)
 
static int compare (const UserClass *, const UserClass *, _RWSTD_SIZE_T)
 
static const UserClass * mismatch (const UserClass *, const char *, _RWSTD_SIZE_T)
 

Data Fields

UserData data_
 
const int id_
 
int origin_
 
int src_id_
 
_RWSTD_SIZE_T n_copy_ctor_
 
_RWSTD_SIZE_T n_op_assign_
 
_RWSTD_SIZE_T n_op_plus_assign_
 
_RWSTD_SIZE_T n_op_minus_assign_
 
_RWSTD_SIZE_T n_op_times_assign_
 
_RWSTD_SIZE_T n_op_div_assign_
 
_RWSTD_SIZE_T n_op_eq_
 
_RWSTD_SIZE_T n_op_lt_
 

Static Public Attributes

static _RWSTD_SIZE_T count_
 
static int id_gen_
 
static int(* gen_ )()
 
static _RWSTD_SIZE_T n_total_def_ctor_
 
static _RWSTD_SIZE_T n_total_copy_ctor_
 
static _RWSTD_SIZE_T n_total_dtor_
 
static _RWSTD_SIZE_T n_total_op_assign_
 
static _RWSTD_SIZE_T n_total_op_plus_assign_
 
static _RWSTD_SIZE_T n_total_op_minus_assign_
 
static _RWSTD_SIZE_T n_total_op_times_assign_
 
static _RWSTD_SIZE_T n_total_op_div_assign_
 
static _RWSTD_SIZE_T n_total_op_eq_
 
static _RWSTD_SIZE_T n_total_op_lt_
 
static _RWSTD_SIZE_T * def_ctor_throw_ptr_
 
static _RWSTD_SIZE_T * copy_ctor_throw_ptr_
 
static _RWSTD_SIZE_T * dtor_throw_ptr_
 
static _RWSTD_SIZE_T * op_assign_throw_ptr_
 
static _RWSTD_SIZE_T * op_plus_assign_throw_ptr_
 
static _RWSTD_SIZE_T * op_minus_assign_throw_ptr_
 
static _RWSTD_SIZE_T * op_times_assign_throw_ptr_
 
static _RWSTD_SIZE_T * op_div_assign_throw_ptr_
 
static _RWSTD_SIZE_T * op_eq_throw_ptr_
 
static _RWSTD_SIZE_T * op_lt_throw_ptr_
 
static _RWSTD_SIZE_T def_ctor_throw_count_ = size_t (-1)
 
static _RWSTD_SIZE_T copy_ctor_throw_count_ = size_t (-1)
 
static _RWSTD_SIZE_T dtor_throw_count_ = size_t (-1)
 
static _RWSTD_SIZE_T op_assign_throw_count_ = size_t (-1)
 
static _RWSTD_SIZE_T op_plus_assign_throw_count_ = size_t (-1)
 
static _RWSTD_SIZE_T op_minus_assign_throw_count_ = size_t (-1)
 
static _RWSTD_SIZE_T op_times_assign_throw_count_ = size_t (-1)
 
static _RWSTD_SIZE_T op_div_assign_throw_count_ = size_t (-1)
 
static _RWSTD_SIZE_T op_eq_throw_count_ = size_t (-1)
 
static _RWSTD_SIZE_T op_lt_throw_count_ = size_t (-1)
 

Detailed Description

Definition at line 77 of file rw_value.h.

Constructor & Destructor Documentation

◆ UserClass() [1/2]

UserClass::UserClass ( )

Definition at line 94 of file value.cpp.

◆ UserClass() [2/2]

UserClass::UserClass ( const UserClass &  rhs)

Definition at line 121 of file value.cpp.

◆ ~UserClass()

UserClass::~UserClass ( )

Definition at line 154 of file value.cpp.

Member Function Documentation

◆ compare() [1/3]

static int UserClass::compare ( const char *  ,
const UserClass *  ,
_RWSTD_SIZE_T  = _RWSTD_SIZE_MAX 
)
static

◆ compare() [2/3]

static int UserClass::compare ( const UserClass *  ,
const char *  ,
_RWSTD_SIZE_T  = _RWSTD_SIZE_MAX 
)
static

◆ compare() [3/3]

static int UserClass::compare ( const UserClass *  ,
const UserClass *  ,
_RWSTD_SIZE_T   
)
static

◆ first_less()

const UserClass * UserClass::first_less ( const UserClass *  ,
_RWSTD_SIZE_T   
)
static

Definition at line 436 of file value.cpp.

◆ from_char() [1/2]

static UserClass UserClass::from_char ( char  c)
inlinestatic

Definition at line 221 of file rw_value.h.

◆ from_char() [2/2]

static UserClass * UserClass::from_char ( const char *  ,
_RWSTD_SIZE_T  = _RWSTD_SIZE_MAX,
bool  = false 
)
static

◆ is_count()

bool UserClass::is_count ( _RWSTD_SIZE_T  copy_ctor,
_RWSTD_SIZE_T  op_assign,
_RWSTD_SIZE_T  op_eq,
_RWSTD_SIZE_T  op_lt 
) const

Definition at line 402 of file value.cpp.

◆ is_total()

bool UserClass::is_total ( _RWSTD_SIZE_T  count,
_RWSTD_SIZE_T  n_def_ctor,
_RWSTD_SIZE_T  n_copy_ctor,
_RWSTD_SIZE_T  n_op_assign,
_RWSTD_SIZE_T  n_op_eq,
_RWSTD_SIZE_T  n_op_lt 
)
static

Definition at line 418 of file value.cpp.

◆ mismatch()

const UserClass * UserClass::mismatch ( const UserClass *  ,
const char *  ,
_RWSTD_SIZE_T   
)
static

Definition at line 550 of file value.cpp.

◆ operator*=()

UserClass & UserClass::operator*= ( const UserClass &  rhs)

Definition at line 310 of file value.cpp.

◆ operator+=()

UserClass & UserClass::operator+= ( const UserClass &  rhs)

Definition at line 292 of file value.cpp.

◆ operator-=()

UserClass & UserClass::operator-= ( const UserClass &  rhs)

Definition at line 301 of file value.cpp.

◆ operator/=()

UserClass & UserClass::operator/= ( const UserClass &  rhs)

Definition at line 319 of file value.cpp.

◆ operator<()

bool UserClass::operator< ( const UserClass &  rhs) const

Definition at line 365 of file value.cpp.

◆ operator=()

UserClass & UserClass::operator= ( const UserClass &  rhs)

Definition at line 283 of file value.cpp.

◆ operator==()

bool UserClass::operator== ( const UserClass &  rhs) const

Definition at line 329 of file value.cpp.

◆ reset_totals()

void UserClass::reset_totals ( )
static

Definition at line 452 of file value.cpp.

Field Documentation

◆ copy_ctor_throw_count_

size_t UserClass::copy_ctor_throw_count_ = size_t (-1)
static

Definition at line 164 of file rw_value.h.

◆ copy_ctor_throw_ptr_

size_t * UserClass::copy_ctor_throw_ptr_
static
Initial value:
=
static _RWSTD_SIZE_T copy_ctor_throw_count_
Definition rw_value.h:164

Definition at line 152 of file rw_value.h.

◆ count_

size_t UserClass::count_
static

Definition at line 120 of file rw_value.h.

◆ data_

UserData UserClass::data_

Definition at line 79 of file rw_value.h.

◆ def_ctor_throw_count_

size_t UserClass::def_ctor_throw_count_ = size_t (-1)
static

Definition at line 163 of file rw_value.h.

◆ def_ctor_throw_ptr_

size_t * UserClass::def_ctor_throw_ptr_
static
Initial value:
=
static _RWSTD_SIZE_T def_ctor_throw_count_
Definition rw_value.h:163

Definition at line 151 of file rw_value.h.

◆ dtor_throw_count_

size_t UserClass::dtor_throw_count_ = size_t (-1)
static

Definition at line 165 of file rw_value.h.

◆ dtor_throw_ptr_

size_t * UserClass::dtor_throw_ptr_
static
Initial value:
=
static _RWSTD_SIZE_T dtor_throw_count_
Definition rw_value.h:165

Definition at line 153 of file rw_value.h.

◆ gen_

int(* UserClass::gen_)()
static

Definition at line 122 of file rw_value.h.

◆ id_

const int UserClass::id_

Definition at line 81 of file rw_value.h.

◆ id_gen_

int UserClass::id_gen_
static

Definition at line 121 of file rw_value.h.

◆ n_copy_ctor_

_RWSTD_SIZE_T UserClass::n_copy_ctor_

Definition at line 90 of file rw_value.h.

◆ n_op_assign_

_RWSTD_SIZE_T UserClass::n_op_assign_

Definition at line 94 of file rw_value.h.

◆ n_op_div_assign_

_RWSTD_SIZE_T UserClass::n_op_div_assign_

Definition at line 110 of file rw_value.h.

◆ n_op_eq_

_RWSTD_SIZE_T UserClass::n_op_eq_

Definition at line 114 of file rw_value.h.

◆ n_op_lt_

_RWSTD_SIZE_T UserClass::n_op_lt_

Definition at line 118 of file rw_value.h.

◆ n_op_minus_assign_

_RWSTD_SIZE_T UserClass::n_op_minus_assign_

Definition at line 102 of file rw_value.h.

◆ n_op_plus_assign_

_RWSTD_SIZE_T UserClass::n_op_plus_assign_

Definition at line 98 of file rw_value.h.

◆ n_op_times_assign_

_RWSTD_SIZE_T UserClass::n_op_times_assign_

Definition at line 106 of file rw_value.h.

◆ n_total_copy_ctor_

size_t UserClass::n_total_copy_ctor_
static

Definition at line 125 of file rw_value.h.

◆ n_total_def_ctor_

size_t UserClass::n_total_def_ctor_
static

Definition at line 124 of file rw_value.h.

◆ n_total_dtor_

size_t UserClass::n_total_dtor_
static

Definition at line 126 of file rw_value.h.

◆ n_total_op_assign_

size_t UserClass::n_total_op_assign_
static

Definition at line 127 of file rw_value.h.

◆ n_total_op_div_assign_

size_t UserClass::n_total_op_div_assign_
static

Definition at line 131 of file rw_value.h.

◆ n_total_op_eq_

size_t UserClass::n_total_op_eq_
static

Definition at line 132 of file rw_value.h.

◆ n_total_op_lt_

size_t UserClass::n_total_op_lt_
static

Definition at line 133 of file rw_value.h.

◆ n_total_op_minus_assign_

size_t UserClass::n_total_op_minus_assign_
static

Definition at line 129 of file rw_value.h.

◆ n_total_op_plus_assign_

size_t UserClass::n_total_op_plus_assign_
static

Definition at line 128 of file rw_value.h.

◆ n_total_op_times_assign_

size_t UserClass::n_total_op_times_assign_
static

Definition at line 130 of file rw_value.h.

◆ op_assign_throw_count_

size_t UserClass::op_assign_throw_count_ = size_t (-1)
static

Definition at line 166 of file rw_value.h.

◆ op_assign_throw_ptr_

size_t * UserClass::op_assign_throw_ptr_
static
Initial value:
=
static _RWSTD_SIZE_T op_assign_throw_count_
Definition rw_value.h:166

Definition at line 154 of file rw_value.h.

◆ op_div_assign_throw_count_

size_t UserClass::op_div_assign_throw_count_ = size_t (-1)
static

Definition at line 170 of file rw_value.h.

◆ op_div_assign_throw_ptr_

size_t * UserClass::op_div_assign_throw_ptr_
static
Initial value:
=
static _RWSTD_SIZE_T op_div_assign_throw_count_
Definition rw_value.h:170

Definition at line 158 of file rw_value.h.

◆ op_eq_throw_count_

size_t UserClass::op_eq_throw_count_ = size_t (-1)
static

Definition at line 171 of file rw_value.h.

◆ op_eq_throw_ptr_

size_t * UserClass::op_eq_throw_ptr_
static
Initial value:
=
static _RWSTD_SIZE_T op_eq_throw_count_
Definition rw_value.h:171

Definition at line 159 of file rw_value.h.

◆ op_lt_throw_count_

size_t UserClass::op_lt_throw_count_ = size_t (-1)
static

Definition at line 172 of file rw_value.h.

◆ op_lt_throw_ptr_

size_t * UserClass::op_lt_throw_ptr_
static
Initial value:
=
static _RWSTD_SIZE_T op_lt_throw_count_
Definition rw_value.h:172

Definition at line 160 of file rw_value.h.

◆ op_minus_assign_throw_count_

size_t UserClass::op_minus_assign_throw_count_ = size_t (-1)
static

Definition at line 168 of file rw_value.h.

◆ op_minus_assign_throw_ptr_

size_t * UserClass::op_minus_assign_throw_ptr_
static
Initial value:
=
static _RWSTD_SIZE_T op_minus_assign_throw_count_
Definition rw_value.h:168

Definition at line 156 of file rw_value.h.

◆ op_plus_assign_throw_count_

size_t UserClass::op_plus_assign_throw_count_ = size_t (-1)
static

Definition at line 167 of file rw_value.h.

◆ op_plus_assign_throw_ptr_

size_t * UserClass::op_plus_assign_throw_ptr_
static
Initial value:
=
static _RWSTD_SIZE_T op_plus_assign_throw_count_
Definition rw_value.h:167

Definition at line 155 of file rw_value.h.

◆ op_times_assign_throw_count_

size_t UserClass::op_times_assign_throw_count_ = size_t (-1)
static

Definition at line 169 of file rw_value.h.

◆ op_times_assign_throw_ptr_

size_t * UserClass::op_times_assign_throw_ptr_
static
Initial value:
=
static _RWSTD_SIZE_T op_times_assign_throw_count_
Definition rw_value.h:169

Definition at line 157 of file rw_value.h.

◆ origin_

int UserClass::origin_

Definition at line 82 of file rw_value.h.

◆ src_id_

int UserClass::src_id_

Definition at line 85 of file rw_value.h.


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