PhoenixHardware  0.2.0
Tools to get hardware information
Loading...
Searching...
No Matches
phoenix_alignement_type.cpp File Reference
+ Include dependency graph for phoenix_alignement_type.cpp:

Go to the source code of this file.

Functions

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<>
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.
 

Function Documentation

◆ phoenix_alignement_in_bytes< bool >()

template<>
size_t phoenix_alignement_in_bytes< bool > ( )

Get the alignement in bytes of a bool.

Returns
alignement in bytes of a bool

Definition at line 82 of file phoenix_alignement_type.cpp.

82{return PHOENIX_VECTOR_SIZE_BYTE_INT;}

◆ phoenix_alignement_in_bytes< char >()

template<>
size_t phoenix_alignement_in_bytes< char > ( )

Get the alignement in bytes of a char.

Returns
alignement in bytes of a char

Definition at line 88 of file phoenix_alignement_type.cpp.

88{return PHOENIX_VECTOR_SIZE_BYTE_INT;}

◆ phoenix_alignement_in_bytes< double >()

template<>
size_t phoenix_alignement_in_bytes< double > ( )

Get the alignement in bytes of a float.

Returns
alignement in bytes of a float

Definition at line 142 of file phoenix_alignement_type.cpp.

142{return PHOENIX_VECTOR_SIZE_BYTE_FLOAT;}

◆ phoenix_alignement_in_bytes< float >()

template<>
size_t phoenix_alignement_in_bytes< float > ( )

Get the alignement in bytes of a float.

Returns
alignement in bytes of a float

Definition at line 136 of file phoenix_alignement_type.cpp.

136{return PHOENIX_VECTOR_SIZE_BYTE_FLOAT;}

◆ phoenix_alignement_in_bytes< int >()

template<>
size_t phoenix_alignement_in_bytes< int > ( )

Get the alignement in bytes of an int.

Returns
alignement in bytes of an int

Definition at line 112 of file phoenix_alignement_type.cpp.

112{return PHOENIX_VECTOR_SIZE_BYTE_INT;}

◆ phoenix_alignement_in_bytes< long >()

template<>
size_t phoenix_alignement_in_bytes< long > ( )

Get the alignement in bytes of a long int.

Returns
alignement in bytes of a long int

Definition at line 124 of file phoenix_alignement_type.cpp.

124{return PHOENIX_VECTOR_SIZE_BYTE_INT;}

◆ phoenix_alignement_in_bytes< short >()

template<>
size_t phoenix_alignement_in_bytes< short > ( )

Get the alignement in bytes of a short.

Returns
alignement in bytes of a short

Definition at line 100 of file phoenix_alignement_type.cpp.

100{return PHOENIX_VECTOR_SIZE_BYTE_INT;}

◆ phoenix_alignement_in_bytes< unsigned char >()

template<>
size_t phoenix_alignement_in_bytes< unsigned char > ( )

Get the alignement in bytes of an unsigned char.

Returns
alignement in bytes of an unsigned char

Definition at line 94 of file phoenix_alignement_type.cpp.

94{return PHOENIX_VECTOR_SIZE_BYTE_INT;}

◆ phoenix_alignement_in_bytes< unsigned int >()

template<>
size_t phoenix_alignement_in_bytes< unsigned int > ( )

Get the alignement in bytes of an unsigned int.

Returns
alignement in bytes of an unsigned int

Definition at line 118 of file phoenix_alignement_type.cpp.

118{return PHOENIX_VECTOR_SIZE_BYTE_INT;}

◆ phoenix_alignement_in_bytes< unsigned long >()

template<>
size_t phoenix_alignement_in_bytes< unsigned long > ( )

Get the alignement in bytes of a long unsigned int.

Returns
alignement in bytes of a long unsigned int

Definition at line 130 of file phoenix_alignement_type.cpp.

130{return PHOENIX_VECTOR_SIZE_BYTE_INT;}

◆ phoenix_alignement_in_bytes< unsigned short >()

template<>
size_t phoenix_alignement_in_bytes< unsigned short > ( )

Get the alignement in bytes of an unsigned short.

Returns
alignement in bytes of an unsigned short

Definition at line 106 of file phoenix_alignement_type.cpp.

106{return PHOENIX_VECTOR_SIZE_BYTE_INT;}

◆ phoenix_alignement_type< bool >()

template<>
size_t phoenix_alignement_type< bool > ( )

Get the alignement of a bool.

Returns
alignement of a bool

Definition at line 14 of file phoenix_alignement_type.cpp.

14{return PHOENIX_VECTOR_SIZE_CHAR;}

◆ phoenix_alignement_type< char >()

template<>
size_t phoenix_alignement_type< char > ( )

Get the alignement of a char.

Returns
alignement of a char

Definition at line 20 of file phoenix_alignement_type.cpp.

20{return PHOENIX_VECTOR_SIZE_CHAR;}

◆ phoenix_alignement_type< double >()

template<>
size_t phoenix_alignement_type< double > ( )

Get the alignement of a float.

Returns
alignement of a float

Definition at line 74 of file phoenix_alignement_type.cpp.

74{return PHOENIX_VECTOR_SIZE_FLOAT;}

◆ phoenix_alignement_type< float >()

template<>
size_t phoenix_alignement_type< float > ( )

Get the alignement of a float.

Returns
alignement of a float

Definition at line 68 of file phoenix_alignement_type.cpp.

68{return PHOENIX_VECTOR_SIZE_FLOAT;}

◆ phoenix_alignement_type< int >()

template<>
size_t phoenix_alignement_type< int > ( )

Get the alignement of an int.

Returns
alignement of an int

Definition at line 44 of file phoenix_alignement_type.cpp.

44{return PHOENIX_VECTOR_SIZE_INT;}

◆ phoenix_alignement_type< long >()

template<>
size_t phoenix_alignement_type< long > ( )

Get the alignement of a long int.

Returns
alignement of a long int

Definition at line 56 of file phoenix_alignement_type.cpp.

56{return PHOENIX_VECTOR_SIZE_LONG_INT;}

◆ phoenix_alignement_type< short >()

template<>
size_t phoenix_alignement_type< short > ( )

Get the alignement of a short.

Returns
alignement of a short

Definition at line 32 of file phoenix_alignement_type.cpp.

32{return PHOENIX_VECTOR_SIZE_SHORT;}

◆ phoenix_alignement_type< unsigned char >()

template<>
size_t phoenix_alignement_type< unsigned char > ( )

Get the alignement of an unsigned char.

Returns
alignement of an unsigned char

Definition at line 26 of file phoenix_alignement_type.cpp.

26{return PHOENIX_VECTOR_SIZE_CHAR;}

◆ phoenix_alignement_type< unsigned int >()

template<>
size_t phoenix_alignement_type< unsigned int > ( )

Get the alignement of an unsigned int.

Returns
alignement of an unsigned int

Definition at line 50 of file phoenix_alignement_type.cpp.

50{return PHOENIX_VECTOR_SIZE_INT;}

◆ phoenix_alignement_type< unsigned long >()

template<>
size_t phoenix_alignement_type< unsigned long > ( )

Get the alignement of a long unsigned int.

Returns
alignement of a long unsigned int

Definition at line 62 of file phoenix_alignement_type.cpp.

62{return PHOENIX_VECTOR_SIZE_LONG_INT;}

◆ phoenix_alignement_type< unsigned short >()

template<>
size_t phoenix_alignement_type< unsigned short > ( )

Get the alignement of an unsigned short.

Returns
alignement of an unsigned short

Definition at line 38 of file phoenix_alignement_type.cpp.

38{return PHOENIX_VECTOR_SIZE_SHORT;}