#include <LATcontribution.h>
Inheritance diagram for LATcontribution:
Public Types | |
enum | { ID = LATidentity_(LATprimaryId::Any, LATsecondaryId::Any) } |
Public Member Functions | |
LATcontribution () | |
Constructor setting up identity and length defaults. | |
LATcontribution (LATtypeId identity, unsigned short length, unsigned short opaque) | |
Constructor setting up identity and length defaults. | |
LATtypeId | identity () const |
Return the identity of this block. | |
LATcontribution * | next () const |
Return the next contribution in the datagram. | |
unsigned short | length () const |
Return the length of this block. | |
unsigned short | opaque () const |
Return the opaque (undefined) value in this block. | |
unsigned | rawDataSize () const |
Return the size of the rawData in the contribution. | |
char * | rawData () const |
Return a pointer to the rawData in the contribution. | |
void * | operator new (size_t) |
Allocate a default LATcontribution off the memory heap. | |
void * | operator new (size_t, LATtypeId identity, unsigned short length, unsigned short opaque) |
Allocate a LATcontribution with space for a payload off the memory heap. | |
void * | operator new (size_t, const LATcontribution &) |
Copy a LATcontribution to a new one. | |
void * | operator new (size_t, void *, unsigned short supplemental, bool swap=!DFC_BIG_ENDIAN) |
This operator new allows one to place a contribution at a given location. | |
void | operator delete (void *, void *, unsigned short, bool) |
Delete operator used to delete a contribution. | |
void | operator delete (void *) |
Delete operator used to delete a contribution. | |
unsigned char * | string (bool swap=!DFC_BIG_ENDIAN) |
Return a pointer to a LATcontribution as a uchar buffer. | |
Static Public Member Functions | |
LATcontribution * | create (LATtypeId identity, unsigned short size, unsigned short opaque, unsigned char *buffer, bool swap=!DFC_BIG_ENDIAN) |
Create a LATcontribution from a uchar buffer. |
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
|
Constructor setting up identity and length defaults.
|
|
Create a LATcontribution from a This method primarily exists for the Python interface. The buffer can optionally be byte swapped by longwords in place. By default, if the endianness of the machine this code is running on is not big endian, then the buffer is byte swapped.
|
|
Delete operator used to delete a contribution. This method is used to avoid SIP constructor MemberCode. |
|
Delete operator used to delete a contribution. This method is used to avoid SIP constructor MemberCode. |
|
This operator new allows one to place a contribution at a given location. This method is used to effectively label a piece of memory containing contribution data a LATcontribution. It is similar to casting a pointer to a LAT contribution pointer. In the process or placing the contribution, the raw data occupying the space can optionally be byte swapped. By default, if the endianness of the machine this code is running on is not big endian, then the buffer is byte swapped.
|
|
Copy a LATcontribution to a new one. This method is used to avoid SIP constructor MemberCode.
|
|
Allocate a LATcontribution with space for a payload off the memory heap. This method is used to avoid SIP constructor MemberCode.
|
|
Allocate a default LATcontribution off the memory heap. This method is used to avoid SIP constructor MemberCode.
|
|
Return a pointer to the rawData in the contribution.
|
|
Return the size of the rawData in the contribution.
|
|
Return a pointer to a LATcontribution as a This method primarily exists for the Python interface.
The buffer can optionally be byte swapped by longwords in place. By default, if the endianness of the machine this code is running on is not big endian, then the buffer is byte swapped. Be sure to supply
Reimplemented in ASCcontribution, and EBFevent. |