#include <mnt_data.h>
Inheritance diagram for MntData:
Public Member Functions | |
MntData () | |
Empty constructor. | |
MntData (unsigned char *data, int size) | |
Constructor that initialize the data with a given size. | |
int | is_valid_pointer (unsigned char *ptr) |
Public Attributes | |
unsigned char * | data_ |
unsigned int | size_ |
unsigned int | length_ |
A data object is something that is passed around, and processed by MntComponent.
An MntData object contains a pointer to the actual data in some buffer, the size of the buffer and the size of the data.
|
Constructor that initialize the data with a given size. Since data is not allocated by this object, length is set to 0.
|
|
|
|
pointer to some memory buffer containing the data |
|
size of the memory buffer containing data |
|
size of meaningful data |