ulib  1.0
S.W. Lee's essential C++ library
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
unode.h
Go to the documentation of this file.
1 
11 #ifndef ___unode___
12 #define ___unode___
13 
14 #include <string.h>
15 #include <stdio.h>
16 #include <stdlib.h>
17 
18 namespace ulib {
19 
20 
22  class CUNode
23  {
24  public:
25  CUNode();
26  ~CUNode();
27 
28  public:
29  bool SetData( void *arg_data, short arg_data_size );
30  bool GetData( void *ret_data );
31  void Clear();
32  bool IsEmpty();
33  void Verbose( int arg_verbose );
34 
35  public:
36  int id;
37  void *data;
38  size_t data_size;
39 
40  private:
41  int verbose;
42  };
43 
44 }
45 #endif
46 
47 // EOF ㅁ
48