#include <stdio.h>
#include "RioUnix.h"
#include <string.h>
#include <iostream>
#include "DataConversion.h"
Go to the source code of this file.
Functions | |
bool | GetULong (const char *buffer, const int size, unsigned int *value, int *offset) |
bool | GetLong (const char *buffer, const int size, int *value, int *offset) |
bool | GetUShort (const char *buffer, const int size, unsigned short *value, int *offset) |
bool | GetShort (const char *buffer, const int size, short *value, int *offset) |
bool | GetDouble (const char *buffer, const int size, double *value, int *offset) |
bool | GetString (const char *buffer, const int size, char **value, int *offset) |
void | SetULong (char *buffer, const unsigned int value, int *offset) |
void | SetLong (char *buffer, const int value, int *offset) |
void | SetUShort (char *buffer, const unsigned short value, int *offset) |
void | SetShort (char *buffer, const short value, int *offset) |
void | SetDouble (char *buffer, const double value, int *offset) |
void | SetString (char *buffer, const char *str, int *offset) |
bool GetDouble | ( | const char * | buffer, | |
const int | size, | |||
double * | value, | |||
int * | offset | |||
) |
Definition at line 103 of file DataConversion.cpp.
bool GetLong | ( | const char * | buffer, | |
const int | size, | |||
int * | value, | |||
int * | offset | |||
) |
Definition at line 62 of file DataConversion.cpp.
bool GetShort | ( | const char * | buffer, | |
const int | size, | |||
short * | value, | |||
int * | offset | |||
) |
Definition at line 89 of file DataConversion.cpp.
bool GetString | ( | const char * | buffer, | |
const int | size, | |||
char ** | value, | |||
int * | offset | |||
) |
Definition at line 117 of file DataConversion.cpp.
bool GetULong | ( | const char * | buffer, | |
const int | size, | |||
unsigned int * | value, | |||
int * | offset | |||
) |
Definition at line 48 of file DataConversion.cpp.
bool GetUShort | ( | const char * | buffer, | |
const int | size, | |||
unsigned short * | value, | |||
int * | offset | |||
) |
Definition at line 75 of file DataConversion.cpp.
void SetDouble | ( | char * | buffer, | |
const double | value, | |||
int * | offset | |||
) |
Definition at line 174 of file DataConversion.cpp.
void SetLong | ( | char * | buffer, | |
const int | value, | |||
int * | offset | |||
) |
Definition at line 144 of file DataConversion.cpp.
void SetShort | ( | char * | buffer, | |
const short | value, | |||
int * | offset | |||
) |
Definition at line 164 of file DataConversion.cpp.
void SetString | ( | char * | buffer, | |
const char * | str, | |||
int * | offset | |||
) |
Definition at line 184 of file DataConversion.cpp.
void SetULong | ( | char * | buffer, | |
const unsigned int | value, | |||
int * | offset | |||
) |
Definition at line 134 of file DataConversion.cpp.
void SetUShort | ( | char * | buffer, | |
const unsigned short | value, | |||
int * | offset | |||
) |
Definition at line 154 of file DataConversion.cpp.