#include <gevd_memory_mixin.h>
Public Member Functions | |
gevd_memory_mixin (int s=0, void *ib=0, unsigned int type=MM_READ|MM_WRITE) | |
virtual | ~gevd_memory_mixin () |
gevd_memory_mixin (gevd_memory_mixin const &) | |
int | GetOffset () const |
void | SetOffset () |
void | SkipBytes (int b) |
void | SkipToByte (int b) |
void | SkipToStart () |
void | SkipToDataStart () |
int | ReadBytes (void *ib, int b) |
int | ReadBytes (void *ib, int b, int loc) |
Read b bytes from location loc to buffer ib. New @ 6/11/91 gbs. | |
int | ReadBytes (void *ib, int b, int *mapping) |
int | ReadBytes (void *ib, int b, int loc, int *mapping) |
Read b bytes from loc to ib, thru mapping. New @ 6/11/91 gbs. | |
int | WriteBytes (const void *ib, int b) |
int | WriteBytes (const void *ib, int b, int loc) |
Write b bytes to location loc from buffer ib. New @ 6/11/91 gbs. | |
void | Clear () |
Clear the memory and reset all of the appropriate variables. | |
void | ClearStatus () |
void | SetStatusGood () |
void | SetStatusBad (int c=-1) |
StatusCode | Stat () const |
bool | StatusGood () const |
bool | StatusBad () const |
StatusCode | GetStatusCode () const |
Protected Member Functions | |
void | SetMemoryPtr (int s, void *ib=0) |
unsigned char * | GetBufferPtr () |
const unsigned char * | GetBufferPtr () const |
unsigned char * | GetCurrentPtr () |
int | GetSize () const |
void | SetStatus (int x=0) |
void | ClearStatus (int x=0) |
Private Attributes | |
int | size |
int | touched |
unsigned char * | buffer |
int | curr_into |
unsigned char * | current |
int | offset |
Definition at line 66 of file gevd_memory_mixin.h.
gevd_memory_mixin::gevd_memory_mixin | ( | int | s = 0 , |
void * | ib = 0 , |
||
unsigned int | type = MM_READ|MM_WRITE |
||
) |
Definition at line 47 of file gevd_memory_mixin.cxx.
gevd_memory_mixin::~gevd_memory_mixin | ( | ) | [virtual] |
Definition at line 106 of file gevd_memory_mixin.cxx.
gevd_memory_mixin::gevd_memory_mixin | ( | gevd_memory_mixin const & | m | ) |
Definition at line 91 of file gevd_memory_mixin.cxx.
void gevd_memory_mixin::Clear | ( | ) |
Clear the memory and reset all of the appropriate variables.
Definition at line 324 of file gevd_memory_mixin.cxx.
void gevd_status_mixin::ClearStatus | ( | ) | [inline, inherited] |
Definition at line 70 of file gevd_status_mixin.h.
void gevd_memory_mixin::ClearStatus | ( | int | x = 0 | ) | [inline, protected] |
Reimplemented from gevd_status_mixin.
Definition at line 86 of file gevd_memory_mixin.h.
unsigned char* gevd_memory_mixin::GetBufferPtr | ( | ) | [inline, protected] |
Definition at line 81 of file gevd_memory_mixin.h.
const unsigned char* gevd_memory_mixin::GetBufferPtr | ( | ) | const [inline, protected] |
Definition at line 82 of file gevd_memory_mixin.h.
unsigned char* gevd_memory_mixin::GetCurrentPtr | ( | ) | [inline, protected] |
Definition at line 83 of file gevd_memory_mixin.h.
int gevd_memory_mixin::GetOffset | ( | ) | const [inline] |
Definition at line 98 of file gevd_memory_mixin.h.
int gevd_memory_mixin::GetSize | ( | ) | const [inline, protected] |
Reimplemented in gevd_bufferxy.
Definition at line 84 of file gevd_memory_mixin.h.
StatusCode gevd_status_mixin::GetStatusCode | ( | ) | const [inline, inherited] |
Definition at line 83 of file gevd_status_mixin.h.
int gevd_memory_mixin::ReadBytes | ( | void * | ib, |
int | b | ||
) |
Definition at line 113 of file gevd_memory_mixin.cxx.
int gevd_memory_mixin::ReadBytes | ( | void * | ib, |
int | b, | ||
int | loc | ||
) |
Read b bytes from location loc to buffer ib. New @ 6/11/91 gbs.
Definition at line 132 of file gevd_memory_mixin.cxx.
int gevd_memory_mixin::ReadBytes | ( | void * | ib, |
int | b, | ||
int * | mapping | ||
) |
Definition at line 161 of file gevd_memory_mixin.cxx.
int gevd_memory_mixin::ReadBytes | ( | void * | ib, |
int | b, | ||
int | loc, | ||
int * | mapping | ||
) |
Read b bytes from loc to ib, thru mapping. New @ 6/11/91 gbs.
Definition at line 181 of file gevd_memory_mixin.cxx.
void gevd_memory_mixin::SetMemoryPtr | ( | int | s, |
void * | ib = 0 |
||
) | [protected] |
Definition at line 215 of file gevd_memory_mixin.cxx.
void gevd_memory_mixin::SetOffset | ( | ) | [inline] |
Definition at line 99 of file gevd_memory_mixin.h.
void gevd_memory_mixin::SetStatus | ( | int | x = 0 | ) | [inline, protected] |
Reimplemented from gevd_status_mixin.
Definition at line 85 of file gevd_memory_mixin.h.
void gevd_status_mixin::SetStatusBad | ( | int | c = -1 | ) | [inline, inherited] |
Definition at line 75 of file gevd_status_mixin.h.
void gevd_status_mixin::SetStatusGood | ( | ) | [inline, inherited] |
Definition at line 74 of file gevd_status_mixin.h.
void gevd_memory_mixin::SkipBytes | ( | int | b | ) | [inline] |
Definition at line 101 of file gevd_memory_mixin.h.
void gevd_memory_mixin::SkipToByte | ( | int | b | ) | [inline] |
Definition at line 107 of file gevd_memory_mixin.h.
void gevd_memory_mixin::SkipToDataStart | ( | ) | [inline] |
Definition at line 113 of file gevd_memory_mixin.h.
void gevd_memory_mixin::SkipToStart | ( | ) | [inline] |
Definition at line 112 of file gevd_memory_mixin.h.
StatusCode gevd_status_mixin::Stat | ( | ) | const [inline, inherited] |
Definition at line 80 of file gevd_status_mixin.h.
bool gevd_status_mixin::StatusBad | ( | ) | const [inline, inherited] |
Definition at line 82 of file gevd_status_mixin.h.
bool gevd_status_mixin::StatusGood | ( | ) | const [inline, inherited] |
Definition at line 81 of file gevd_status_mixin.h.
int gevd_memory_mixin::WriteBytes | ( | const void * | ib, |
int | b | ||
) |
Definition at line 271 of file gevd_memory_mixin.cxx.
int gevd_memory_mixin::WriteBytes | ( | const void * | ib, |
int | b, | ||
int | loc | ||
) |
Write b bytes to location loc from buffer ib. New @ 6/11/91 gbs.
Definition at line 295 of file gevd_memory_mixin.cxx.
unsigned char* gevd_memory_mixin::buffer [private] |
Definition at line 71 of file gevd_memory_mixin.h.
int gevd_memory_mixin::curr_into [private] |
Definition at line 73 of file gevd_memory_mixin.h.
unsigned char* gevd_memory_mixin::current [private] |
Definition at line 74 of file gevd_memory_mixin.h.
int gevd_memory_mixin::offset [private] |
Definition at line 76 of file gevd_memory_mixin.h.
int gevd_memory_mixin::size [private] |
Definition at line 69 of file gevd_memory_mixin.h.
int gevd_memory_mixin::touched [private] |
Definition at line 70 of file gevd_memory_mixin.h.