#include <MarshaledObj.h>
Definition at line 27 of file MarshaledObj.h.
MarshaledObj::MarshaledObj |
( |
| ) |
|
|
inline |
Definition at line 38 of file MarshaledObj.h.
#define MSH_SET_TYPECHOICE(X)
#define MSH_SET_TOTALSIZE(X)
MarshaledObj::MarshaledObj |
( |
void * |
buf, |
|
|
char |
chIsUnmarshaling |
|
) |
| |
|
inline |
Definition at line 62 of file MarshaledObj.h.
65 if(chIsUnmarshaling !=
'u') {
66 printf(
"MarshaledObj(void*, char): wrong argument\n");
#define MSH_GET_TOTALSIZE(X, BUF)
static int ROUND_UP(int x)
#define MSH_GET_TYPECHOICE(X, BUF)
MarshaledObj::~MarshaledObj |
( |
| ) |
|
|
inline |
MarshaledObj::MarshaledObj |
( |
| ) |
|
|
inline |
Definition at line 38 of file MarshaledObj.h.
#define MSH_SET_TOTALSIZE(X)
#define MSH_SET_TYPECHOICE(X)
MarshaledObj::MarshaledObj |
( |
void * |
buf, |
|
|
char |
chIsUnmarshaling |
|
) |
| |
|
inline |
Definition at line 62 of file MarshaledObj.h.
65 if(chIsUnmarshaling !=
'u') {
66 printf(
"MarshaledObj(void*, char): wrong argument\n");
static int ROUND_UP(int x)
#define MSH_GET_TYPECHOICE(X, BUF)
#define MSH_GET_TOTALSIZE(X, BUF)
MarshaledObj::~MarshaledObj |
( |
| ) |
|
|
inline |
void MarshaledObj::EXTEND_BUFFER |
( |
int |
size | ) |
|
|
inline |
void MarshaledObj::EXTEND_BUFFER |
( |
int |
size | ) |
|
|
inline |
char* MarshaledObj::getBuffer |
( |
| ) |
|
|
inline |
char* MarshaledObj::getBuffer |
( |
| ) |
|
|
inline |
int MarshaledObj::getBufferSize |
( |
| ) |
|
|
inline |
int MarshaledObj::getBufferSize |
( |
| ) |
|
|
inline |
bool MarshaledObj::isUnmarshaling |
( |
| ) |
|
|
inline |
bool MarshaledObj::isUnmarshaling |
( |
| ) |
|
|
inline |
void MarshaledObj::marshalPrimitive |
( |
void * |
p, |
|
|
int |
size |
|
) |
| |
|
inline |
Definition at line 154 of file MarshaledObj.h.
157 throw "Tried to marshal in object marked isUnmarshaling = true";
158 msh_currentSize = size;
162 memcpy(
msh_cursor, &msh_currentSize,
sizeof(
int));
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
void EXTEND_BUFFER(int size)
#define MSH_SET_TOTALSIZE(X)
void MarshaledObj::marshalPrimitive |
( |
void * |
p, |
|
|
int |
size |
|
) |
| |
|
inline |
Definition at line 154 of file MarshaledObj.h.
157 throw "Tried to marshal in object marked isUnmarshaling = true";
158 msh_currentSize = size;
162 memcpy(
msh_cursor, &msh_currentSize,
sizeof(
int));
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
void EXTEND_BUFFER(int size)
#define MSH_SET_TOTALSIZE(X)
void MarshaledObj::resizeBuffer |
( |
size_t |
new_size | ) |
|
|
inline |
void MarshaledObj::resizeBuffer |
( |
size_t |
new_size | ) |
|
|
inline |
static int MarshaledObj::ROUND_UP |
( |
int |
x | ) |
|
|
inlinestatic |
Definition at line 32 of file MarshaledObj.h.
33 return (((
x)+(WORD_SIZE-1)) / WORD_SIZE) * WORD_SIZE;
static int MarshaledObj::ROUND_UP |
( |
int |
x | ) |
|
|
inlinestatic |
Definition at line 32 of file MarshaledObj.h.
33 return (((
x)+(WORD_SIZE-1)) / WORD_SIZE) * WORD_SIZE;
void MarshaledObj::unmarshalPrimitive |
( |
void * |
p, |
|
|
int |
size |
|
) |
| |
|
inline |
Definition at line 171 of file MarshaledObj.h.
175 msh_currentSize = size;
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
void MarshaledObj::unmarshalPrimitive |
( |
void * |
p, |
|
|
int |
size |
|
) |
| |
|
inline |
Definition at line 171 of file MarshaledObj.h.
175 msh_currentSize = size;
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
char * MarshaledObj::msh_buffer |
|
protected |
char * MarshaledObj::msh_cursor |
|
protected |
size_t MarshaledObj::msh_extent |
|
protected |
char * MarshaledObj::msh_field_begin |
|
protected |
bool MarshaledObj::msh_isUnmarshalDone |
|
protected |
size_t MarshaledObj::msh_size |
|
protected |
int MarshaledObj::msh_typechoice |
|
protected |
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/examples/extended/parallel/TopC/ParN02/include/MarshaledObj.h
- source/geant4.10.03.p03/examples/extended/parallel/TopC/ParN04/include/MarshaledObj.h