|
MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHstream.h>

Public Member Functions | |
| bool | IsBigEndianMachine () |
| void | Init () |
| int | PutPointer (void *object) |
Protected Attributes | |
| bool | big_endian_machine |
| std::vector< void * > | objects_pointers |
| bool chrono::ChBinaryArchive::IsBigEndianMachine | ( | ) |
Returns TRUE if the machine where the code runs has big endian byte ordering, returns FALSE otherwise.
| void chrono::ChBinaryArchive::Init | ( | ) |
Reinitialize the vector of pointers to loaded/saved objects.
| int chrono::ChBinaryArchive::PutPointer | ( | void * | object | ) |
Put a pointer in pointer vector, but only if it was not previously interted. Returns position of pointer if already existing, otherwise -1.
std::vector<void*> chrono::ChBinaryArchive::objects_pointers [protected] |
vector of pointers to stored/retrieved objects, to avoid saving duplicates or deadlocks
CHRONO::ENGINE