PhoenixHardware  0.2.0
Tools to get hardware information
Loading...
Searching...
No Matches
phoenix_alignement_type.cpp
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5****************************************/
6
7
9
11
13template<>
14size_t phoenix_alignement_type<bool>(){return PHOENIX_VECTOR_SIZE_CHAR;}
15
17
19template<>
20size_t phoenix_alignement_type<char>(){return PHOENIX_VECTOR_SIZE_CHAR;}
21
23
25template<>
26size_t phoenix_alignement_type<unsigned char>(){return PHOENIX_VECTOR_SIZE_CHAR;}
27
29
31template<>
32size_t phoenix_alignement_type<short>(){return PHOENIX_VECTOR_SIZE_SHORT;}
33
35
37template<>
38size_t phoenix_alignement_type<unsigned short>(){return PHOENIX_VECTOR_SIZE_SHORT;}
39
41
43template<>
44size_t phoenix_alignement_type<int>(){return PHOENIX_VECTOR_SIZE_INT;}
45
47
49template<>
50size_t phoenix_alignement_type<unsigned int>(){return PHOENIX_VECTOR_SIZE_INT;}
51
53
55template<>
56size_t phoenix_alignement_type<long>(){return PHOENIX_VECTOR_SIZE_LONG_INT;}
57
59
61template<>
62size_t phoenix_alignement_type<unsigned long>(){return PHOENIX_VECTOR_SIZE_LONG_INT;}
63
65
67template<>
68size_t phoenix_alignement_type<float>(){return PHOENIX_VECTOR_SIZE_FLOAT;}
69
71
73template<>
74size_t phoenix_alignement_type<double>(){return PHOENIX_VECTOR_SIZE_FLOAT;}
75
76
77
79
81template<>
82size_t phoenix_alignement_in_bytes<bool>(){return PHOENIX_VECTOR_SIZE_BYTE_INT;}
83
85
87template<>
88size_t phoenix_alignement_in_bytes<char>(){return PHOENIX_VECTOR_SIZE_BYTE_INT;}
89
91
93template<>
94size_t phoenix_alignement_in_bytes<unsigned char>(){return PHOENIX_VECTOR_SIZE_BYTE_INT;}
95
97
99template<>
100size_t phoenix_alignement_in_bytes<short>(){return PHOENIX_VECTOR_SIZE_BYTE_INT;}
101
103
105template<>
106size_t phoenix_alignement_in_bytes<unsigned short>(){return PHOENIX_VECTOR_SIZE_BYTE_INT;}
107
109
111template<>
112size_t phoenix_alignement_in_bytes<int>(){return PHOENIX_VECTOR_SIZE_BYTE_INT;}
113
115
117template<>
118size_t phoenix_alignement_in_bytes<unsigned int>(){return PHOENIX_VECTOR_SIZE_BYTE_INT;}
119
121
123template<>
124size_t phoenix_alignement_in_bytes<long>(){return PHOENIX_VECTOR_SIZE_BYTE_INT;}
125
127
129template<>
130size_t phoenix_alignement_in_bytes<unsigned long>(){return PHOENIX_VECTOR_SIZE_BYTE_INT;}
131
133
135template<>
136size_t phoenix_alignement_in_bytes<float>(){return PHOENIX_VECTOR_SIZE_BYTE_FLOAT;}
137
139
141template<>
142size_t phoenix_alignement_in_bytes<double>(){return PHOENIX_VECTOR_SIZE_BYTE_FLOAT;}
143
144
145
size_t phoenix_alignement_in_bytes< unsigned char >()
Get the alignement in bytes of an unsigned char.
size_t phoenix_alignement_type< short >()
Get the alignement of a short.
size_t phoenix_alignement_in_bytes< bool >()
Get the alignement in bytes of a bool.
size_t phoenix_alignement_in_bytes< short >()
Get the alignement in bytes of a short.
size_t phoenix_alignement_type< unsigned long >()
Get the alignement of a long unsigned int.
size_t phoenix_alignement_type< char >()
Get the alignement of a char.
size_t phoenix_alignement_type< unsigned short >()
Get the alignement of an unsigned short.
size_t phoenix_alignement_in_bytes< unsigned long >()
Get the alignement in bytes of a long unsigned int.
size_t phoenix_alignement_in_bytes< char >()
Get the alignement in bytes of a char.
size_t phoenix_alignement_in_bytes< double >()
Get the alignement in bytes of a float.
size_t phoenix_alignement_type< long >()
Get the alignement of a long int.
size_t phoenix_alignement_in_bytes< unsigned int >()
Get the alignement in bytes of an unsigned int.
size_t phoenix_alignement_in_bytes< float >()
Get the alignement in bytes of a float.
size_t phoenix_alignement_type< float >()
Get the alignement of a float.
size_t phoenix_alignement_type< bool >()
Get the alignement of a bool.
size_t phoenix_alignement_type< unsigned char >()
Get the alignement of an unsigned char.
size_t phoenix_alignement_type< double >()
Get the alignement of a float.
size_t phoenix_alignement_type< unsigned int >()
Get the alignement of an unsigned int.
size_t phoenix_alignement_in_bytes< long >()
Get the alignement in bytes of a long int.
size_t phoenix_alignement_in_bytes< unsigned short >()
Get the alignement in bytes of an unsigned short.
size_t phoenix_alignement_type< int >()
Get the alignement of an int.
size_t phoenix_alignement_in_bytes< int >()
Get the alignement in bytes of an int.