CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include "CLHEP/Utility/noncopyable.h"
#include "CLHEP/Utility/type_traits.h"
#include <cassert>
#include <iostream>
Go to the source code of this file.
Classes | |
struct | mytype |
union | myblend |
struct | UDT |
struct | POD_UDT |
struct | empty_UDT |
struct | empty_POD_UDT |
union | union_UDT |
union | POD_union_UDT |
union | empty_union_UDT |
union | empty_POD_union_UDT |
struct | nothrow_copy_UDT |
struct | nothrow_assign_UDT |
struct | nothrow_construct_UDT |
class | Base |
class | Derived |
class | Derived2 |
class | MultiBase |
class | PrivateBase |
class | NonDerived |
struct | VB |
struct | VD |
struct | non_pointer |
struct | non_int_pointer |
struct | int_constructible |
struct | int_convertible |
struct | non_empty |
struct | test_abc1 |
struct | test_abc2 |
struct | test_abc3 |
struct | polymorphic_base |
struct | polymorphic_derived1 |
struct | polymorphic_derived2 |
struct | virtual_inherit1 |
struct | virtual_inherit2 |
struct | virtual_inherit3 |
struct | virtual_inherit4 |
struct | virtual_inherit5 |
struct | virtual_inherit6 |
struct | trivial_except_construct |
struct | trivial_except_destroy |
struct | trivial_except_copy |
struct | trivial_except_assign |
struct | wrap< T > |
struct | convertible_to_pointer |
Typedefs | |
typedef void(*) | f1 () |
typedef int(*) | f2 (int) |
typedef int(*) | f3 (int, bool) |
typedef void(UDT::*) | mf1 () |
typedef int(UDT::*) | mf2 () |
typedef int(UDT::*) | mf3 (int) |
typedef int(UDT::*) | mf4 (int, float) |
typedef intUDT::* | mp |
typedef int(UDT::*) | cmf (int) const |
typedef int & | r_type |
typedef const r_type | cr_type |
typedef void | foo0_t () |
typedef void | foo1_t (int) |
typedef void | foo2_t (int &, double) |
typedef void | foo3_t (int &, bool, int, int) |
typedef void | foo4_t (int, bool, int *, int[], int, int, int, int, int) |
typedef const doubleUDT::* | mp2 |
Enumerations | |
enum | myenum { a = 12, b = 16 } |
enum | enum_UDT { one, two, three } |
enum | enum1 { one_, two_ } |
enum | enum2 { three_, four_ } |
Functions | |
template<typename T> | |
unsigned | evaluate () |
int | main () |
Variables | |
unsigned | _unknown = 0uL |
unsigned | _void = 1uL << 0 |
unsigned | _integral = 1uL << 1 |
unsigned | _floating_point = 1uL << 2 |
unsigned | _array = 1uL << 3 |
unsigned | _pointer = 1uL << 4 |
unsigned | _lvalue_reference = 1uL << 5 |
unsigned | _rvalue_reference = 1uL << 6 |
unsigned | _member_object_pointer = 1uL << 7 |
unsigned | _member_function_pointer = 1uL << 8 |
unsigned | _enum = 1uL << 9 |
unsigned | _union = 1uL << 10 |
unsigned | _class = 1uL << 11 |
unsigned | _function = 1uL << 12 |
unsigned | _reference = 1uL << 13 |
unsigned | _arithmetic = 1uL << 14 |
unsigned | _fundamental = 1uL << 15 |
unsigned | _object = 1uL << 16 |
unsigned | _scalar = 1uL << 17 |
unsigned | _compound = 1uL << 18 |
unsigned | _member_pointer = 1uL << 19 |
unsigned | cat_void = _void | _fundamental |
unsigned | cat_int = _integral | _arithmetic | _object | _fundamental | _scalar |
unsigned | cat_flt = _floating_point | _arithmetic | _object | _fundamental | _scalar |
unsigned | cat_arr = _array | _object | _compound |
unsigned | cat_ptr = _pointer | _object | _compound | _scalar |
unsigned | cat_lref = _lvalue_reference | _reference | _compound |
unsigned | cat_rref = _rvalue_reference | _reference | _compound |
unsigned | cat_mem_obj_ptr = _member_object_pointer | _member_pointer | _object | _compound | _scalar |
unsigned | cat_mbr_fctn_ptr = _member_function_pointer | _member_pointer | _object | _compound | _scalar |
unsigned | cat_enum = _enum | _object | _compound | _scalar |
unsigned | cat_union = _union | _object | _compound |
unsigned | cat_class = _class | _object | _compound |
unsigned | cat_fctn = _function | _compound |
typedef int(UDT::*) cmf(int) const |
Definition at line 159 of file testCategories.cc.
Definition at line 171 of file testCategories.cc.
typedef void(*) f1() |
Definition at line 151 of file testCategories.cc.
typedef int(*) f2(int) |
Definition at line 152 of file testCategories.cc.
typedef int(*) f3(int, bool) |
Definition at line 153 of file testCategories.cc.
typedef void foo0_t() |
Definition at line 322 of file testCategories.cc.
typedef void foo1_t(int) |
Definition at line 323 of file testCategories.cc.
typedef void foo2_t(int &, double) |
Definition at line 324 of file testCategories.cc.
typedef void foo3_t(int &, bool, int, int) |
Definition at line 325 of file testCategories.cc.
typedef void foo4_t(int, bool, int *, int[], int, int, int, int, int) |
Definition at line 326 of file testCategories.cc.
typedef void(UDT::*) mf1() |
Definition at line 154 of file testCategories.cc.
typedef int(UDT::*) mf2() |
Definition at line 155 of file testCategories.cc.
typedef int(UDT::*) mf3(int) |
Definition at line 156 of file testCategories.cc.
typedef int(UDT::*) mf4(int, float) |
Definition at line 157 of file testCategories.cc.
typedef intUDT::* mp |
Definition at line 158 of file testCategories.cc.
typedef const doubleUDT::* mp2 |
Definition at line 368 of file testCategories.cc.
typedef int& r_type |
Definition at line 169 of file testCategories.cc.
enum enum1 |
enum enum2 |
enum enum_UDT |
enum myenum |
unsigned evaluate | ( | ) |
Definition at line 55 of file testCategories.cc.
References _arithmetic, _array, _class, _compound, _enum, _floating_point, _function, _fundamental, _integral, _lvalue_reference, _member_function_pointer, _member_object_pointer, _member_pointer, _object, _pointer, _reference, _rvalue_reference, _scalar, _union, _unknown, and _void.
Referenced by main().
int main | ( | ) |
Definition at line 372 of file testCategories.cc.
References cat_arr, cat_class, cat_enum, cat_fctn, cat_flt, cat_int, cat_lref, cat_mbr_fctn_ptr, cat_mem_obj_ptr, cat_ptr, cat_union, cat_void, and evaluate().
unsigned _arithmetic = 1uL << 14 |
unsigned _array = 1uL << 3 |
unsigned _class = 1uL << 11 |
unsigned _compound = 1uL << 18 |
unsigned _enum = 1uL << 9 |
unsigned _floating_point = 1uL << 2 |
unsigned _function = 1uL << 12 |
unsigned _fundamental = 1uL << 15 |
unsigned _integral = 1uL << 1 |
unsigned _lvalue_reference = 1uL << 5 |
unsigned _member_function_pointer = 1uL << 8 |
unsigned _member_object_pointer = 1uL << 7 |
unsigned _member_pointer = 1uL << 19 |
unsigned _object = 1uL << 16 |
unsigned _pointer = 1uL << 4 |
unsigned _reference = 1uL << 13 |
unsigned _rvalue_reference = 1uL << 6 |
unsigned _scalar = 1uL << 17 |
unsigned _union = 1uL << 10 |
unsigned _unknown = 0uL |
unsigned _void = 1uL << 0 |
unsigned cat_flt = _floating_point | _arithmetic | _object | _fundamental | _scalar |
unsigned cat_int = _integral | _arithmetic | _object | _fundamental | _scalar |
unsigned cat_lref = _lvalue_reference | _reference | _compound |
unsigned cat_mbr_fctn_ptr = _member_function_pointer | _member_pointer | _object | _compound | _scalar |
unsigned cat_mem_obj_ptr = _member_object_pointer | _member_pointer | _object | _compound | _scalar |
unsigned cat_rref = _rvalue_reference | _reference | _compound |
Definition at line 98 of file testCategories.cc.
unsigned cat_void = _void | _fundamental |