Panda3D
littleEndian.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file littleEndian.h
10  * @author drose
11  * @date 2000-02-09
12  */
13 
14 #ifndef LITTLEENDIAN_H
15 #define LITTLEENDIAN_H
16 
17 #include "dtoolbase.h"
18 
19 #include "numeric_types.h"
20 #include "nativeNumericData.h"
21 #include "reversedNumericData.h"
22 
23 /**
24  * LittleEndian is a special class that automatically reverses the byte-order
25  * of numeric values for big-endian machines, and passes them through
26  * unchanged for little-endian machines.
27  */
28 
29 #ifdef WORDS_BIGENDIAN
31 #else
33 #endif
34 
35 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
NativeNumericData LittleEndian
LittleEndian is a special class that automatically reverses the byte-order of numeric values for big-...
Definition: littleEndian.h:32
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
NativeNumericData and ReversedNumericData work together to provide a sneaky interface for automatical...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
NativeNumericData and ReversedNumericData work together to provide a sneaky interface for automatical...