dcrud  0.0.0
Distributed data and services
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
ClassID.h
Go to the documentation of this file.
1 #pragma once
2 #ifdef __cplusplus
3 extern "C" {
4 #endif
5 
6 #include <io/ByteBuffer.h>
7 #include <coll/ForeachFunction.h>
8 
9 UTIL_ADT( dcrudClassID );
10 
11 typedef enum Type_e {
12 
27 
29 
30 } dcrudType;
31 
32 dcrudClassID dcrudClassID_new ( byte package1, byte package2, byte package3, byte clazz );
33 void dcrudClassID_delete ( dcrudClassID * target );
34 void dcrudClassID_get ( const dcrudClassID This, byte * pckg1, byte * pckg2, byte * pckg3, byte * clazz );
35 ioStatus dcrudClassID_unserialize ( ioByteBuffer source, dcrudClassID * target );
36 ioStatus dcrudClassID_serialize ( const dcrudClassID This, ioByteBuffer target );
37 ioStatus dcrudClassID_serializeType( dcrudType type, ioByteBuffer target );
38 bool dcrudClassID_toString ( const dcrudClassID This, char * target, size_t targetSize );
39 int dcrudClassID_compareTo ( const dcrudClassID * left, const dcrudClassID * right );
40 dcrudType dcrudClassID_getType ( const dcrudClassID This );
41 bool dcrudClassID_printMapPair ( collForeach * context );
42 
43 #ifdef __cplusplus
44 }
45 #endif
UTIL_ADT(dcrudClassID)
bool dcrudClassID_toString(const dcrudClassID This, char *target, size_t targetSize)
void dcrudClassID_get(const dcrudClassID This, byte *pckg1, byte *pckg2, byte *pckg3, byte *clazz)
unsigned char byte
Definition: types.h:16
void dcrudClassID_delete(dcrudClassID *target)
int dcrudClassID_compareTo(const dcrudClassID *left, const dcrudClassID *right)
enum Type_e dcrudType
ioStatus dcrudClassID_serialize(const dcrudClassID This, ioByteBuffer target)
ioStatus dcrudClassID_serializeType(dcrudType type, ioByteBuffer target)
dcrudClassID dcrudClassID_new(byte package1, byte package2, byte package3, byte clazz)
bool dcrudClassID_printMapPair(collForeach *context)
enum ioStatus_e ioStatus
dcrudType dcrudClassID_getType(const dcrudClassID This)
ioStatus dcrudClassID_unserialize(ioByteBuffer source, dcrudClassID *target)
Type_e
Definition: ClassID.h:11