Class Hierarchy   Class Index   Method Index  

CHMtableDef.h

00001 #ifndef __CHM_TABLE_DEDFINITION__
00002 #define __CHM_TABLE_DEDFINITION__
00003 
00004 //---------------------------------------------------------------------------
00005 // Module: CHMtable
00006 //
00007 // Description:
00008 //
00009 // This is a thin interface class to the real underlying HL7table class
00010 // This approach is taken to hide the implementation of the HL7 Chameleon
00011 // library from the client application - thus enabling easy upgrading without
00012 // recompilation or relinking.
00013 //
00014 //---------------------------------------------------------------------------
00015 
00016 #include <CHM/CHMminCInclude.h>
00017 #include <CHM/CHMdataType.h>
00018 
00019 CHM_DLL_FUNC(CHMtableDefinitionCreate)
00020 (
00021    CHMtableDefinitionHandle* Handle
00022 );
00023 
00024 CHM_DLL_FUNC(CHMtableDefinitionAddRef)
00025 (
00026    CHMtableDefinitionHandle Handle
00027 );
00028 
00029 CHM_DLL_FUNC(CHMtableDefinitionRelease)
00030 (
00031    CHMtableDefinitionHandle Handle
00032 );
00033 
00034 CHM_DLL_FUNC(CHMtableDefinitionGetTableName)
00035 (
00036    CHMtableDefinitionHandle  Handle,
00037    CHMchar**       pName
00038 );
00039 
00040 CHM_DLL_FUNC(CHMtableDefinitionGetCountOfColumn)
00041 (
00042    CHMtableDefinitionHandle Handle,
00043    size_t*        Count
00044 );
00045 
00046 CHM_DLL_FUNC(CHMtableDefinitionGetColumnType)
00047 (
00048    CHMtableDefinitionHandle Handle,
00049    size_t         ColumnIndex,
00050    CHMdataType*   pDataType
00051 );
00052 
00053 CHM_DLL_FUNC(CHMtableDefinitionGetColumnName)
00054 (
00055    CHMtableDefinitionHandle Handle,
00056    size_t         ColumnIndex,
00057    CHMchar**      pColumnName
00058 );
00059 
00060 CHM_DLL_FUNC(CHMtableDefinitionGetColumnIsKey)
00061 (
00062    CHMtableDefinitionHandle Handle,
00063    size_t ColumnIndex,
00064    size_t* pIsKey
00065 );
00066 #endif // end of defensive include