DataTree cleanup/refactor..

This commit is contained in:
Charles J. Cliffe 2015-01-08 19:56:44 -05:00
parent cf2b11f496
commit 36ff762d3a
2 changed files with 968 additions and 1404 deletions

File diff suppressed because it is too large Load Diff

View File

@ -64,11 +64,10 @@ using namespace std;
#define DATA_LONG_VECTOR 18
#define DATA_ULONG_VECTOR 19
#define DATA_LONGLONG_VECTOR 20
#define DATA_ULONGLONG_VECTOR 21
#define DATA_FLOAT_VECTOR 22
#define DATA_DOUBLE_VECTOR 23
#define DATA_LONGDOUBLE_VECTOR 24
#define DATA_VOID 25
#define DATA_FLOAT_VECTOR 21
#define DATA_DOUBLE_VECTOR 22
#define DATA_LONGDOUBLE_VECTOR 23
#define DATA_VOID 24
/* map comparison function */
@ -122,7 +121,8 @@ class DataElement
private:
unsigned char data_type;
unsigned int data_size;
unsigned int unit_size;
char *data_val;
void data_init(long data_size_in);
@ -133,9 +133,9 @@ public:
int getDataType();
long getDataSize();
int getUnitSize();
/* set overloads */
// void set(const bool &bool_in);
void set(const char &char_in);
void set(const unsigned char &uchar_in);
void set(const int &int_in);