Back to index

im-sdk  12.3.91
IIIMPUtil.hh
Go to the documentation of this file.
00001 #ifndef IIIMPUTIL_HH_
00002 #define IIIMPUTIL_HH_
00003 #include <string>
00004 #include <iiimp.h>
00005 #include "basictype.hh"
00006 #include "IMBasicObject.hh"
00007 #include "IMHandler.hh"
00008 #include "ICHandler.hh"
00009 
00010 extern ICAttribute convert_iiimp_icattr(
00011     IIIMP_icattribute *pattr
00012 );
00013 extern IIIMP_string* convert_IMText_to_iiimp_string(
00014     IIIMP_data_s *data_s,
00015     IMText *pimtext
00016 );
00017 extern IIIMP_text* convert_IMText_to_iiimp_text(
00018     IIIMP_data_s *data_s,
00019     IMText *pimtext
00020 );
00021 extern IIIMP_contents* convert_IMText_to_iiimp_contents_string(
00022     IIIMP_data_s *data_s,
00023     IMText *pimtext
00024 );
00025 extern IIIMP_contents* convert_IMText_to_iiimp_contents_text(
00026     IIIMP_data_s *data_s,
00027     IMText *pimtext
00028 );
00029 
00030 extern IIIMP_card16 convert_IMObject_type_to_iiimp_predefined_attribid(
00031     enum IMObject::OBJTYPE otype
00032 );
00033 
00034 #define CONV_IIIMP_STR(ps) (((ps)->len > 0) ? u16string((ps)->ptr, (ps)->len) : u16string(""))
00035 
00036 #endif /* not IIIMPUTIL_HH_ */
00037 
00038 /* Local Variables: */
00039 /* c-file-style: "iiim-project" */
00040 /* End: */