![]() |
PhoenixHardware
0.2.0
Tools to get hardware information
|
Go to the source code of this file.
Functions | |
template<typename T> | |
size_t | phoenix_alignement_in_bytes () |
Get the alignement in bytes by respect to the type. | |
template<> | |
size_t | phoenix_alignement_in_bytes< bool > () |
Get the alignement in bytes of a bool. | |
template<> | |
size_t | phoenix_alignement_in_bytes< char > () |
Get the alignement in bytes of a char. | |
template<> | |
size_t | phoenix_alignement_in_bytes< double > () |
Get the alignement in bytes of a float. | |
template<> | |
size_t | phoenix_alignement_in_bytes< float > () |
Get the alignement in bytes of a float. | |
template<> | |
size_t | phoenix_alignement_in_bytes< int > () |
Get the alignement in bytes of an int. | |
template<> | |
size_t | phoenix_alignement_in_bytes< long > () |
Get the alignement in bytes of a long int. | |
template<> | |
size_t | phoenix_alignement_in_bytes< short > () |
Get the alignement in bytes of a short. | |
template<> | |
size_t | phoenix_alignement_in_bytes< unsigned char > () |
Get the alignement in bytes of an unsigned char. | |
template<> | |
size_t | phoenix_alignement_in_bytes< unsigned int > () |
Get the alignement in bytes of an unsigned int. | |
template<> | |
size_t | phoenix_alignement_in_bytes< unsigned long > () |
Get the alignement in bytes of a long unsigned int. | |
template<> | |
size_t | phoenix_alignement_in_bytes< unsigned short > () |
Get the alignement in bytes of an unsigned short. | |
template<typename T> | |
size_t | phoenix_alignement_type () |
Get the alignement by respect to the type. | |
template<> | |
size_t | phoenix_alignement_type< bool > () |
Get the alignement of a bool. | |
template<> | |
size_t | phoenix_alignement_type< char > () |
Get the alignement of a char. | |
template<> | |
size_t | phoenix_alignement_type< double > () |
Get the alignement of a float. | |
template<> | |
size_t | phoenix_alignement_type< float > () |
Get the alignement of a float. | |
template<> | |
size_t | phoenix_alignement_type< int > () |
Get the alignement of an int. | |
template<> | |
size_t | phoenix_alignement_type< long > () |
Get the alignement of a long int. | |
template<> | |
size_t | phoenix_alignement_type< short > () |
Get the alignement of a short. | |
template<> | |
size_t | phoenix_alignement_type< unsigned char > () |
Get the alignement of an unsigned char. | |
template<> | |
size_t | phoenix_alignement_type< unsigned int > () |
Get the alignement of an unsigned int. | |
template<> | |
size_t | phoenix_alignement_type< unsigned long > () |
Get the alignement of a long unsigned int. | |
template<> | |
size_t | phoenix_alignement_type< unsigned short > () |
Get the alignement of an unsigned short. | |
size_t phoenix_alignement_in_bytes | ( | ) |
Get the alignement in bytes by respect to the type.
Definition at line 24 of file phoenix_alignement_type_impl.h.
Referenced by phoenix_checkIsAligned(), phoenix_newAlignedTab(), and phoenix_template_alloc().
size_t phoenix_alignement_in_bytes< bool > | ( | ) |
Get the alignement in bytes of a bool.
Definition at line 82 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_in_bytes< char > | ( | ) |
Get the alignement in bytes of a char.
Definition at line 88 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_in_bytes< double > | ( | ) |
Get the alignement in bytes of a float.
Definition at line 142 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_in_bytes< float > | ( | ) |
Get the alignement in bytes of a float.
Definition at line 136 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_in_bytes< int > | ( | ) |
Get the alignement in bytes of an int.
Definition at line 112 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_in_bytes< long > | ( | ) |
Get the alignement in bytes of a long int.
Definition at line 124 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_in_bytes< short > | ( | ) |
Get the alignement in bytes of a short.
Definition at line 100 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_in_bytes< unsigned char > | ( | ) |
Get the alignement in bytes of an unsigned char.
Definition at line 94 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_in_bytes< unsigned int > | ( | ) |
Get the alignement in bytes of an unsigned int.
Definition at line 118 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_in_bytes< unsigned long > | ( | ) |
Get the alignement in bytes of a long unsigned int.
Definition at line 130 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_in_bytes< unsigned short > | ( | ) |
Get the alignement in bytes of an unsigned short.
Definition at line 106 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_type | ( | ) |
Get the alignement by respect to the type.
Definition at line 16 of file phoenix_alignement_type_impl.h.
Referenced by phoenix_assume_aligned(), phoenix_assume_aligned(), and phoenix_getPadding().
size_t phoenix_alignement_type< bool > | ( | ) |
Get the alignement of a bool.
Definition at line 14 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_type< char > | ( | ) |
Get the alignement of a char.
Definition at line 20 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_type< double > | ( | ) |
Get the alignement of a float.
Definition at line 74 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_type< float > | ( | ) |
Get the alignement of a float.
Definition at line 68 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_type< int > | ( | ) |
Get the alignement of an int.
Definition at line 44 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_type< long > | ( | ) |
Get the alignement of a long int.
Definition at line 56 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_type< short > | ( | ) |
Get the alignement of a short.
Definition at line 32 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_type< unsigned char > | ( | ) |
Get the alignement of an unsigned char.
Definition at line 26 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_type< unsigned int > | ( | ) |
Get the alignement of an unsigned int.
Definition at line 50 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_type< unsigned long > | ( | ) |
Get the alignement of a long unsigned int.
Definition at line 62 of file phoenix_alignement_type.cpp.
size_t phoenix_alignement_type< unsigned short > | ( | ) |
Get the alignement of an unsigned short.
Definition at line 38 of file phoenix_alignement_type.cpp.