Panda3D
Loading...
Searching...
No Matches
bigEndian.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 bigEndian.h
10 * @author drose
11 * @date 2000-08-23
12 */
13
14#ifndef BIGENDIAN_H
15#define BIGENDIAN_H
16
17#include "dtoolbase.h"
18
19#include "numeric_types.h"
20#include "nativeNumericData.h"
21#include "reversedNumericData.h"
22
23/**
24 * BigEndian is a special class that automatically reverses the byte-order of
25 * numeric values for little-endian machines, and passes them through
26 * unchanged for big-endian machines.
27 */
28
29#ifdef WORDS_BIGENDIAN
31#else
33#endif
34
35#endif
ReversedNumericData BigEndian
BigEndian is a special class that automatically reverses the byte-order of numeric values for little-...
Definition bigEndian.h:32
NativeNumericData and ReversedNumericData work together to provide a sneaky interface for automatical...
NativeNumericData and ReversedNumericData work together to provide a sneaky interface for automatical...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.