#include <RodPrimitive.h>
Public Member Functions | |
RodPrimitive () | |
RodPrimitive (long length, long index, long id, long version, long *body) | |
RodPrimitive (const RodPrimitive &) | |
~RodPrimitive () | |
RodPrimitive & | operator= (const RodPrimitive &) |
void | setLength (long len) |
Accessor function to set length. | |
long | getLength () const |
Accessor function to get length. | |
void | setIndex (long ind) |
Accessor function to set index. | |
long | getIndex () const |
Accessor function to get index. | |
void | setId (long id) |
Accessor function to set ID. | |
long | getId () const |
Accessor function to get ID. | |
void | setVersion (long version) |
Accessor function to set version. | |
long | getVersion () const |
Accessor function to get version. | |
void | setBody (long *body) |
Accessor function to set pointer to data body. | |
long * | getBody () const |
Accessor function to get pointer to data body. | |
long | checkSum () |
Figure checksum. | |
Private Attributes | |
long | m_length |
The length of the primitive (may need to be filled after primitive is defined.). | |
long | m_index |
The index of the primitive. This is an accounting ID giving a unique numerical identifier. | |
long | m_id |
The ID which says what kind of primitive this is (echo, memory test, etc.). | |
long | m_version |
The version number for this primitive. | |
long * | m_body |
A pointer to the body of the primitive. |
|
|
|
|
|
|
|
|
|
Figure checksum.
|
|
Accessor function to get pointer to data body.
Definition at line 54 of file RodPrimitive.h. References m_body. |
|
Accessor function to get ID.
Definition at line 44 of file RodPrimitive.h. References m_id. |
|
Accessor function to get index.
Definition at line 39 of file RodPrimitive.h. References m_index. |
|
Accessor function to get length.
Definition at line 34 of file RodPrimitive.h. References m_length. |
|
Accessor function to get version.
Definition at line 49 of file RodPrimitive.h. References m_version. |
|
|
|
Accessor function to set pointer to data body.
Definition at line 52 of file RodPrimitive.h. References m_body. |
|
Accessor function to set ID.
Definition at line 42 of file RodPrimitive.h. References m_id. |
|
Accessor function to set index.
Definition at line 37 of file RodPrimitive.h. References m_index. |
|
Accessor function to set length.
Definition at line 32 of file RodPrimitive.h. References m_length. |
|
Accessor function to set version.
Definition at line 47 of file RodPrimitive.h. References m_version. |
|
A pointer to the body of the primitive. Storage is allocated in the calling routine, do not delete the body from within this class. Watch for memory leaks!!! Definition at line 70 of file RodPrimitive.h. |
|
The ID which says what kind of primitive this is (echo, memory test, etc.).
Definition at line 65 of file RodPrimitive.h. |
|
The index of the primitive. This is an accounting ID giving a unique numerical identifier.
Definition at line 63 of file RodPrimitive.h. Referenced by getIndex(), and setIndex(). |
|
The length of the primitive (may need to be filled after primitive is defined.).
Definition at line 61 of file RodPrimitive.h. Referenced by getLength(), and setLength(). |
|
The version number for this primitive.
Definition at line 67 of file RodPrimitive.h. Referenced by getVersion(), and setVersion(). |