14#ifndef REVERSEDNUMERICDATA_H
15#define REVERSEDNUMERICDATA_H
23static const int max_numeric_size = 8;
47 INLINE
void store_value(
void *dest,
size_t length)
const;
51 void reverse_assign(
const char *source,
size_t length);
52 char _data[max_numeric_size];
ReversedNumericData(const void *data, size_t length)
This constructor accepts the address of a numeric variable, and its sizeof.
const void * get_data() const
Returns the pointer to the first byte of the data, either reversed or nonreversed,...
void store_value(void *dest, size_t length) const
Copies the data, with byte reversal if appropriate, into the indicated numeric variable,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.