mi32/rvcdbase.h File Reference

More...

#include <mi32/unitconv.h>
#include <mi32/elemtype.h>
#include <mi32/rvcdefns.h>
#include <mi32/simplear.h>

Include dependency graph for rvcdbase.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  DBCALLBACKSTRUCT
 For a list of possible callback reasons, see the "Custom Code in Header After Class Declaration" section below. More...

struct  DBCONSTRAINT
 Database field constraints. More...

struct  DBELEMTRANSLIST
struct  DBFIELDINFO
 Define field parameters.. More...

struct  DBLISTELMT
 Structure used to maintain list of element to record attachments. More...

struct  FORMFIELD
 Structures for Forms. More...

struct  RVCDBASEINFO
 Database info structure. More...

struct  RVCFORMINFO
 Form info structure. More...

struct  RVCTABLEINFO
 Table info structure. More...

struct  TABLEFIELD

Defines

#define DBCONSTRAINT_MinExclusive   0x00000001
#define DBCONSTRAINT_MaxExclusive   0x00000002
#define DBCONSTRAINT_MinInclusive   0x00000004
#define DBCONSTRAINT_MaxInclusive   0x00000008
#define DBCONSTRAINT_MINMASK   (DBCONSTRAINT_MinInclusive | DBCONSTRAINT_MinExclusive)
#define DBCONSTRAINT_MAXMASK   (DBCONSTRAINT_MaxInclusive | DBCONSTRAINT_MaxExclusive)
#define DBCONSTRAINT_MINMAXMASK   (DBCONSTRAINT_MINMASK | DBCONSTRAINT_MAXMASK)
#define DBCONSTRAINT_Default   0x00000010
#define DBCONSTRAINT_AutoIncrement   0x00000020
#define DBCONSTRAINT_DefaultBlank   0x00000040
#define DBCONSTRAINT_DEFAULTMASK   (DBCONSTRAINT_Default|DBCONSTRAINT_AutoIncrement|DBCONSTRAINT_DefaultBlank)
#define DBCONSTRAINT_ForceUpperCase   0x00000100
#define DBCONSTRAINT_ForceLowerCase   0x00000200
#define DBCONSTRAINT_FirstLetterCap   0x00000400
#define DBCONSTRAINT_FirstWordCap   0x00000800
#define DBCONSTRAINT_CASEMASK   0x00000F00
#define DBCONSTRAINT_MustExist   0x00008000
#define DBCONSTRAINT_AutoAdd   0x00010000
#define DBCONSTRAINT_AutoAddPrompt   0x00020000
#define DBCONSTRAINT_FKEYVALIDATEMASK   (DBCONSTRAINT_MustExist | DBCONSTRAINT_AutoAdd | DBCONSTRAINT_AutoAddPrompt)
#define DBCONSTRAINT_ComboBox   0x00040000
#define DBCONSTRAINT_OptionMenu   0x00080000
#define DBCONSTRAINT_FKEYSHOWASMASK   (DBCONSTRAINT_ComboBox | DBCONSTRAINT_OptionMenu)
#define DBCONSTRAINT_NotNull   0x00100000
#define DBCONSTRAINT_Unique   0x00200000
#define DBCONSTRAINT_AutoComplete   0x00400000
#define DBCONSTRAINT_InvertValidSet   0x00800000
#define TABLE_StyleTable   0x00000001
#define TABLE_StdStats   0x00000002
#define TABLE_Open   0x00000004
#define TABLE_ScaleSelect   0x00000008
#define TABLE_TIN_RefNode   0x00000010
#define TABLE_TIN_RefEdge   0x00000020
#define TABLE_TIN_RefTriangle   0x00000040
#define TABLE_TIN_RefHull   0x00000080
#define TABLE_TIN_RefAny   (TABLE_TIN_RefNode | TABLE_TIN_RefEdge | TABLE_TIN_RefTriangle | TABLE_TIN_RefHull)
#define TABLE_TabularView   0x00000100
#define TABLE_SingleRecView   0x00000200
#define TABLE_ViewModeMask   (TABLE_TabularView | TABLE_SingleRecView)
#define TABLE_SystemHidden   0x00000400
#define TABLE_UserHidden   0x00000800
#define TABLE_Hidden   (TABLE_SystemHidden | TABLE_UserHidden)
#define TABLE_ReadOnly   0x00001000
#define TABLE_NoUserWrite   0x00002000
#define TABLE_NoWriteAccess   0x00004000
#define TABLE_FieldNamesLine1   0x00008000
#define TABLE_Prompt   0x00010000
#define TABLE_LockBuffer   0x00010000
#define TABLE_Absolute   0x00020000
#define TABLE_NoComputed   0x00040000
#define TABLE_RecNumIsCursor   0x00080000
#define TABLE_Cursor   0x00080000
#define TABLE_Bookmark   0x00100000
#define TABLE_NoUpdateIndex   0x00200000
#define TABLE_DeleteIndex   0x00400000
#define TABLE_KeepPassword   0x00800000
#define TABLE_NoCache   0x01000000
#define TABLE_NoUpdateDBList   0x02000000
#define ATTACH_NoRestrictions   0
#define ATTACH_OneRecordPerElement   1
#define ATTACH_OneElementPerRecord   2
#define ATTACH_OneToOne   3
#define ATTACH_RelatedOnly   4
#define ATTACH_Identity   5
#define ATTACH_Count   6
#define TABLETYPE_UserDefined   0
#define TABLETYPE_Style   1
#define TABLETYPE_StdStats   2
#define TABLETYPE_ElementID   3
#define TABLETYPE_NodeTurn   4
#define TABLETYPE_ScaleSelect   5
#define TABLETYPE_Section   6
#define TABLETYPE_Internal   7
#define TABLETYPE_PointStyle   8
#define TABLETYPE_LineStyle   9
#define TABLETYPE_PolyStyle   10
#define TABLETYPE_TextStyle   11
#define TABLETYPE_CADStyle   12
#define TABLETYPE_EditLog   13
#define TABLETYPE_Selection   14
#define TABLETYPE_FlightPath   15
#define TABLETYPE_PointOfInterest   16
#define TABLETYPE_LegendElement   17
#define TABLETYPE_StyleParameters   18
#define TABLETYPE_SelectParameters   19
#define TABLETYPE_ExtrudedPoints   20
#define TABLETYPE_Count   21
#define DBTYPE_BUILTIN   -2
#define DBTYPE_NSINTERNAL   -1
#define DBTYPE_SPARSE   0
#define DBTYPE_MIPS   1
#define DBTYPE_DBASE3   2
#define DBTYPE_INFO   3
#define DBTYPE_DBASE4   4
#define DBTYPE_RBASE   5
#define DBTYPE_DBASE2   6
#define DBTYPE_ODBC   7
#define DBTYPE_CSV   8
#define DBTYPE_MAPINFOTAB   9
#define DBTYPE_ORACLE   10
#define DBTYPE_MAXTYPE   10
#define DBFIELDTYPE_String   1
#define DBFIELDTYPE_Char   2
#define DBFIELDTYPE_UByte   3
#define DBFIELDTYPE_Byte   4
#define DBFIELDTYPE_UWord   5
#define DBFIELDTYPE_Word   6
#define DBFIELDTYPE_ULong   7
#define DBFIELDTYPE_Long   8
#define DBFIELDTYPE_Float   9
#define DBFIELDTYPE_Double   10
#define DBFIELDTYPE_Logical   11
#define DBFIELDTYPE_Date   12
#define DBFIELDTYPE_UDLong   13
#define DBFIELDTYPE_DLong   14
#define DBFIELDTYPE_Color   15
#define DBFIELDTYPE_Binary   16
#define DBFIELDTYPE_Memo   17
#define DBFIELDTYPE_Unicode   18
#define DBFIELDTYPE_DateTime   19
#define DBFIELDTYPE_NumTypes   20
#define DBCONV_dddmmss   1
#define DBCONV_currency   2
#define DBCONV_rbdate   3
#define DBCONV_time   4
#define DBCONV_ODBCDate   5
#define DBCONV_ODBCDateTime   6
#define FIELD_PK   0x00000001
#define FIELD_FK   0x00000002
#define FIELD_Indexed   0x00000004
#define FIELD_SSIndex   0x00010000
#define FIELD_Searchable   (FIELD_Indexed | FIELD_SSIndex)
#define FIELD_INDEXED   FIELD_Indexed
#define FIELD_KEYMASK   0x00000007
#define FIELD_NotNULL   0x00000010
#define FIELD_Unique   0x00000020
#define FIELD_ReadOnly   0x00000040
#define FIELD_SK   0x00000080
#define FIELD_Invisible   0x00000100
#define FIELD_Closest   0x00000200
#define FIELD_RangeAbove   0x00000400
#define FIELD_RangeBelow   0x00000800
#define FIELD_ForceIndex   0x00002000
#define FIELD_Sorted   0x00004000
#define FIELD_Changed   0x00008000
#define FIELD_ComputeOnRead   0x00000008
#define FIELD_ComputeOnWrite   0x00001000
#define FIELD_Computed   (FIELD_ComputeOnRead|FIELD_ComputeOnWrite)
#define FIELD_LocalTime   0x00002000
#define FIELD_AutoIncrement   0x00004000
#define FIELD_ForcePlaces   0x0001
#define FIELD_SingleField   0x0002
#define FIELD_Unicode   0x0004
#define FIELD_ISO2022   0x0008
#define FIELD_NaN   0x0010
#define FIELD_NoUnitConv   0x0020
#define FIELD_MultiKey   0x0040
#define FIELD_ShowLocalTime   0x0080
#define FIELDNUM_ThisFieldName   0xFFFF
#define FIELDNUM_ThisTableName   0xFFFE
#define FIELDNUM_DomID   0xFFFD
#define FIELDNUM_PseudoField   0xFFFD
#define DBFIELDUSAGE_XCoord   1
#define DBFIELDUSAGE_YCoord   2
#define DBFIELDUSAGE_ZCoord   3
#define DBFIELDUSAGE_Label   4
#define DBFIELDUSAGE_Filename   5
#define DBFIELDUSAGE_ObjName   6
#define DBFORM_ShowInList   0x0001
#define DBFORM_CheckMin   0x0002
#define DBFORM_CheckMax   0x0004
#define DBFORM_Leading0   0x0008
#define DBFORM_RightJustify   0x0010
#define FFIELDTYPE_Field   1
#define FFIELDTYPE_Desc   2
#define FFIELDTYPE_ScrolledList   3
#define FFIELDTYPE_Frame   4
#define FFIELDFLAG_CheckMin   1
#define FFIELDFLAG_CheckMax   2
#define FFIELDFLAG_RightJustify   4
#define FFIELDFLAG_SelectButton   8
#define FFIELDFLAG_AttachLeftForm   0x10
#define FFIELDFLAG_AttachRightForm   0x20
#define FFIELDFLAG_AttachTopForm   0x40
#define FFIELDFLAG_AttachBottomForm   0x80
#define FORMFLAG_VScroll   1
#define FORMFLAG_HScroll   2
#define FORMFLAG_AllowResize   4
#define DBCAP_CanCreate   0x00000001
#define DBCAP_CanLink   0x00000002
#define DBCAP_ReadMemo   0x00000004
#define DBCAP_WriteMemo   0x00000008
#define DBCAP_WriteRecord   0x00000010
#define DBCAP_MultiTable   0x00000020
#define DBCAP_Server   0x00000040
#define DBCAP_Import   0x00000080
#define DBCAP_Export   0x00000100
#define DBCAP_DeleteRecord   0x00000200
#define DBCAP_UserWritable   0x00000400
#define DBCAP_CanSetUserWrite   0x00000800
#define DBCAP_ChangeFields   0x00001000
#define DBCAP_AddFields   0x00002000
#define DBCAP_DeleteFields   0x00004000
#define DBCAP_AddRecord   0x00008000
#define DBCAP_RandomAccess   0x00010000
#define DBCAP_ReadBinary   0x00020000
#define DBCAP_WriteBinary   0x00040000
#define DBCURSOR_Unique   0x00000001
#define DBCURSOR_Sorted   0x00000002
#define DBCURSOR_Equal   0x00000004
#define DBCURSOR_GreaterThan   0x00000008
#define DBCURSOR_LessThan   0x00000010
#define DBCURSOR_NotEqual   0x00000020
#define DBCURSOR_AND   0x00000040
#define DBCURSOR_OR   0x00000080
#define DBCURSOR_NoClear   0x00000100
#define DBCURSOR_ForUpdate   0x00000200
#define DBCURSOR_OPMASK   (DBCURSOR_Equal|DBCURSOR_GreaterThan|DBCURSOR_LessThan|DBCURSOR_NotEqual)
#define DBCALLBACK_StructChanged   0x0001
#define DBCALLBACK_RecordAdded   0x0002
#define DBCALLBACK_RecordChanged   0x0004
#define DBCALLBACK_TableAdded   0x0008
#define DBCALLBACK_TableDropping   0x0010
#define DBCALLBACK_TableDropped   0x0020
#define DBCALLBACK_DBListAdded   0x0040
#define DBCALLBACK_DBListChanged   0x0080
#define DBCALLBACK_PreRecordChange   0x0100
#define DBCALLBACK_RecordDeleted   0x0200
#define DBCALLBACK_PreRecordDelete   0x0400
#define DBCALLBACK_TableValid   0x0800
#define DBCALLBACK_BulkModifyBegin   0x1000
#define DBCALLBACK_BulkModifyEnd   0x2000
#define DBCALLBACK_All   0x3FFF
#define DBCALLBACKSUB_Name   0x00000001
#define DBCALLBACKSUB_Desc   0x00000002
#define DBCALLBACKSUB_ViewMode   0x00000004
#define DBCALLBACKSUB_Field   0x00000008
#define DBCALLBACKSUB_FieldsAdded   0x00000010
#define DBCALLBACKSUB_Flags   0x00000020
#define DBCALLBACKSUB_AttachmentType   0x00000040
#define DBCALLBACKSUB_Encoding   0x00000080
#define DBCALLBACKSUB_DBEditorUpdate   0x00000100
#define DBCALLBACKSUB_DBEditorRebuild   0x00000200
#define EDITREC_SaveMenu   0x0001
#define EDITREC_DftView   0x0000
#define EDITREC_DftEdit   0x0002
#define EDITREC_OnlyView   0x0004
#define EDITREC_UseMouse   0x0008
#define EDITREC_NewOK   0x0010
#define EDITREC_IgnoreAtlas   0x0020
#define DBMODE_Interactive   0x0001
#define DBMODE_Batch   0x0002
#define DBMODE_NoInternal   0x0004
#define DBMODE_DontForceCreate   0x0008
#define DBMODE_ValidateOnClose   0x0010
#define DBMODE_InfoSet   0x0020
#define DBMODE_Overwrite   0x0040
#define DBMODE_WriteLockAsNeeded   0x0080
#define DBMODE_IgnoreAtlas   0x0100
#define TABLE_Internal   -1
#define TABLE_InternalNode   -2
#define TABLE_New   -9
#define TABLE_All   -99
#define TABLE_Invalid   -98
#define RECORD_New   -1
#define FIND_NoInternal   0x00000001
#define FIND_OnlyDirect   0x00000002
#define FIND_FirstMatch   0x00000008
#define SEARCH_CheckExists   0x00000001
#define SEARCH_ReturnRecordNumber   0x00000002
#define SEARCH_ReturnIndexOffset   0x00000000
#define SEARCH_ReturnInsertOffset   0x00000004
#define SEARCH_OnlyUnique   0x00000010
#define SEARCH_MakeIndex   0x00000020
#define SEARCH_NoMakeIndex   0x00000040
#define JOIN_CopyThemeTable   0x01000000
#define JOIN_OuterRight   0x02000000
#define JOIN_Union   0x04000000
#define JOIN_Natural   0x08000000
#define JOIN_SameStrc   0x10000000
#define JOIN_SameNmSt   0x30000000
#define JOIN_RemoveDups   0x40000000
#define JOIN_Outer   0x80000000
#define JOIN_AttachDestIfSrc1Attached   0x00800000
#define JOIN_AttachDestIfSrc2Attached   0x00400000
#define JOIN_AttachDestIfEitherSrcAttached   0x00000000
#define JOIN_AttachDestIfBothSrcAttached   0x000C0000
#define JOIN_NoAttachDest   0x00020000
#define JOIN_AttachDestMASK   0x000E0000
#define SAFIELD_SINGLE_RelField   0
#define SAFIELD_SINGLE_StyleName   1
#define SAFIELD_SINGLE_StyleIndex   2
#define SAFIELD_SINGLE_DrawFlag   3
#define SAFIELD_CAD_RelField   0
#define SAFIELD_CAD_DrawFlag   1
#define SAFIELD_CAD_PointStyleName   2
#define SAFIELD_CAD_PointStyleIndex   3
#define SAFIELD_CAD_LineStyleName   4
#define SAFIELD_CAD_LineStyleIndex   5
#define SAFIELD_CAD_PolyStyleName   6
#define SAFIELD_CAD_PolyStyleIndex   7
#define SAFIELD_CAD_TextStyleName   8
#define SAFIELD_CAD_TextStyleIndex   9
#define SAFIELD_TIN_RelField   SAFIELD_SINGLE_RelField
#define SAFIELD_TIN_StyleName   SAFIELD_SINGLE_StyleName
#define SAFIELD_TIN_StyleIndex   SAFIELD_SINGLE_StyleIndex
#define SAFIELD_TIN_DrawFlag   SAFIELD_SINGLE_DrawFlag
#define SAFIELD_VECTOR_RelField   SAFIELD_SINGLE_RelField
#define SAFIELD_VECTOR_StyleName   SAFIELD_SINGLE_StyleName
#define SAFIELD_VECTOR_StyleIndex   SAFIELD_SINGLE_StyleIndex
#define SAFIELD_VECTOR_DrawFlag   SAFIELD_SINGLE_DrawFlag
#define SCALESELFIELD_RelField   0
#define SCALESELFIELD_MinScale   1
#define SCALESELFIELD_MaxScale   2
#define SECTIONFIELD_Route   0
#define SECTIONFIELD_StartMeasure   1
#define SECTIONFIELD_EndMeasure   2
#define SECTIONFIELD_FromPos   3
#define SECTIONFIELD_ToPos   4
#define MfMakeStyleAssignTable(_id, _rtn, _rfn, _rff, _sfn, _son, _tinfo, _finfo)   _MfStyleAssignTableMake((_id),(_rtn),(_rfn),(_rff),(_sfn),(_son),(_tinfo),sizeof(RVCTABLEINFO),(_finfo),sizeof(DBFIELDINFO))
#define MfDBCursorSeekValue(_id, _tn, _cn, _fn, _buf, _fld, _fl)   _MfDBCursorSeekValue((_id),(_tn),(_cn),(_fn),(_buf),(_fld),sizeof(DBFIELDINFO),(_fl))
#define MfDBCursorSetFunction(_id, _tn, _cn, _fn, _buf, _fld, _fl)   _MfDBCursorSetFunction((_id),(_tn),(_cn),(_fn),(_buf),(_fld),sizeof(DBFIELDINFO),(_fl))

Typedefs

typedef INT32 DBCURSOR

Functions

int MdlgGetDatabaseObject (MDLGPARENT dlgparent, FILEPATH &FilePath, RVCINODENUM *inode, const void *prompt, RVCDBASEINFO *objinfo, MfFiltFuncProto filter, void *filtuserdata, GETOBJFLAGS flags=GETOBJFLAG_None)
int MdlgGetDatabaseObject (MDLGPARENT dlgparent, UNICODE *filename, INT32 *inode, const void *prompt, RVCDBASEINFO *objinfo, MfFiltFuncProto filter, void *filtuserdata, GETOBJFLAGS flags=GETOBJFLAG_None)
int ModbcSelectDriver (MDLGPARENT dlgparent, char *title, UNICODE *retname, int maxnamelen, UNICODE *retattribs, int maxattriblen, UINT32 flags)
int ModbcSelectSource (MDLGPARENT dlgparent, char *title, MISTRING &RetName)
int ModbcConnectPromptDialog (MDLGPARENT dlgparent, UNICODE *szConnStrIn, UNICODE *szConnStrOut, int cbConnStrOutMax, UINT32 flags)
int ModbcUsernamePasswordDialogOld (MDLGPARENT dlgparent, UNICODE *srcname, int maxlen, int *pKeep, int *pTimeoutInterval, UINT32 flags)
int ModbcUsernamePasswordDialog (MDLGPARENT dlgparent, MISTRING &srcname, bool *pKeep, int *pTimeoutInterval)
int MfReadDBaseHeader (int fhandle, RVCINODENUM inode, RVCDBASEINFO *info)
int MfReadFormHeader (int fhandle, RVCINODENUM inode, RVCFORMINFO *info)
int MfWriteDBaseHeader (int fhandle, RVCINODENUM inode, RVCDBASEINFO *info)
int MfWriteFormHeader (int fhandle, RVCINODENUM inode, RVCFORMINFO *info)
int MfDatabaseClose (int did, RVCDBASEINFO *info=0)
int MfCloseDatabase (int did, RVCDBASEINFO *info)
int MfDatabaseFlush (int did, RVCDBASEINFO *info)
int MfFlushDatabase (int did, RVCDBASEINFO *info)
int MfDatabaseMake (int fileindex, RVCDBASEINFO *info, UINT32 flags)
int MfMakeDatabase (int fileindex, RVCDBASEINFO *info, UINT32 flags)
int MfDatabaseOpen (int fileindex, INT32 inode, RVCDBASEINFO *info, UINT32 flags)
int MfOpenDatabase (int fileindex, INT32 inode, RVCDBASEINFO *info, UINT32 flags)
int MfDatabaseSubobjectOpen (int fileindex, RVCINODENUM parentinode, int otype, RVCDBASEINFO *info, UINT32 flags)
int MfOpenDatabaseSubobject (int fileindex, RVCINODENUM parentinode, int, int otype, RVCDBASEINFO *info, UINT32 flags)
int MfDatabaseHeaderReadOpen (int did, RVCDBASEINFO *info)
int MfReadOpenDatabaseHeader (int did, RVCDBASEINFO *info)
int MfDatabaseHeaderWriteOpen (int did, RVCDBASEINFO *info)
int MfWriteOpenDatabaseHeader (int did, RVCDBASEINFO *info)
int MfDatabaseFieldInfoGetList (int did, int tablenum, DBFIELDINFO **fields)
int MfGetDatabaseFieldInfo (int did, int tablenum, DBFIELDINFO **fields)
int MfDatabaseFieldInfoGetSingle (int did, int tablenum, int fieldnum, DBFIELDINFO *field)
int MfGetSingleFieldInfo (int did, int tablenum, int fieldnum, DBFIELDINFO *field)
int MfDatabaseFieldInfoSetSingle (int did, int tablenum, int fieldnum, const DBFIELDINFO *field)
int MfSetSingleFieldInfo (int did, int tablenum, int fieldnum, const DBFIELDINFO *field)
RVCAPPLIBEXPORT ERRVALUE MfDatabaseTableGetConnectionString (int did, int table, MISTRING &string)
int MfDatabaseTableGetExternalList (const UNICODE *filename, int dbtype, RVCTABLEINFO **tinfop)
int MfDatabaseTableGetExternalList (const UNICODE *ConnectionString, int dbtype, RVCTABLEINFO **tinfop, MISTRINGLIST &ConnectionStrings)
int MfListExternalTables (const UNICODE *filename, int dbtype, RVCTABLEINFO **tinfop)
int MfDatabaseTableHeaderRead (int id, RVCINODENUM inode, RVCTABLEINFO *info)
int MfReadTableHeader (int id, RVCINODENUM inode, RVCTABLEINFO *info)
int MfDatabaseTableInfoGet (int did, int tablenum, RVCTABLEINFO *info, DBFIELDINFO **fields, UINT32 flags)
int MfGetTableInfo (int did, int tablenum, RVCTABLEINFO *info, DBFIELDINFO **fields)
int MfGetTableInfoExt (int did, int tablenum, RVCTABLEINFO *info, DBFIELDINFO **fields, UINT32 flags)
int MfDatabaseTableInfoUpdate (int did, int tablenum, RVCTABLEINFO *info, DBFIELDINFO *fields)
int MfUpdateTableInfo (int did, int tablenum, RVCTABLEINFO *info, DBFIELDINFO *fields)
int MfDatabaseTableInfoUpdateExt (int did, int tablenum, RVCTABLEINFO *info, DBFIELDINFO *fields, const int *fnum)
int MfUpdateTableInfoExt (int did, int tablenum, RVCTABLEINFO *info, DBFIELDINFO *fields, const int *fnum)
int MfDatabaseTableLink (int did, RVCTABLEINFO *info, DBFIELDINFO **fields, UINT32 flags)
int MfDatabaseTableLink (int did, RVCTABLEINFO *info, DBFIELDINFO **fields, const MISTRING &ConnectionString, UINT32 flags)
int MfLinkTable (int did, RVCTABLEINFO *info, DBFIELDINFO **fields, UINT32 flags)
int MfDatabaseTableMake (int did, RVCTABLEINFO *info, DBFIELDINFO *fields, UINT32 flags)
int MfMakeTable (int did, RVCTABLEINFO *info, DBFIELDINFO *fields, UINT32 flags)
int MfDatabaseTableNameValidate (int did, int table, RVCTABLEINFO *info, DBFIELDINFO *finfo, UINT32 flags)
int MfMakeValidTableName (int did, int table, RVCTABLEINFO *info, DBFIELDINFO *finfo, UINT32 flags)
RVCAPPLIBEXPORT int MfChangeDatabaseOpenMode (int did, UINT32 mode)
RVCAPPLIBEXPORT int MfCopyDatabase (int sfid, INT32 sinode, int dfid, INT32 dpinode, INT32 *dinodep, UINT32 flags)
RVCAPPLIBEXPORT int MfCombineDatabases (int dfid, INT32 dpinode, int dotype, int sfid, INT32 sinode, INT32 *dinodep, INT32 **transp, UINT32 flags)
RVCAPPLIBEXPORT int MfIsDatabaseObject (int otype)
RVCAPPLIBEXPORT int MfDeleteRecord (int did, int tablenum, INT32 recnum, UINT32 flags)
int MfDatabaseJoin (int sfhandle, INT32 sparent, UINT32 sotype, const INT32 *TransList, INT32 NumTrans, int dfhandle, INT32 dparent, UINT32 dotype, INT32 *NextElemID, UINT32 flags)
int MfDatabaseJoinPointNode (int sfhandle, INT32 sparent, UINT32 sotype, const INT32 *PointTransList, INT32 PointNumTrans, const INT32 *NodeTransList, INT32 NodeNumTrans, int dfhandle, INT32 dparent, UINT32 dotype, INT32 *NextElemID, UINT32 flags)
int MfDatabaseJoinExt (int sfhandle, INT32 sparent, UINT32 sotype, const DBELEMTRANSLIST *TransList, INT32 NumTrans, int dfhandle, INT32 dparent, UINT32 dotype, INT32 *NextElemID, UINT32 flags)
RVCAPPLIBEXPORT int MfDatabaseValidate (int did, MISTRING &LogString)
int MfRemoveUnattachedDBRecords (int did, UINT32 flags)
int MfRemoveUnattachedDBRecordsOneTable (int did, int table, UINT32 flags)
int MfDBRemoveDuplicateRecords (int did, int table)
int MfDBRemoveDuplicateRecordsAll (int fhandle, RVCINODENUM parent, UINT32 otype)
RVCAPPLIBEXPORT int MfDBComputedFieldGetQuery (int did, int table, int field, UNICODE **strp, UINT32 flags)
RVCAPPLIBEXPORT ERRVALUE MfDBChangeAttachmentType (int did, int table, ELEMTYPE elemtype, int NewType)
RVCAPPLIBEXPORT int MfDBComputedFieldSetQuery (int did, int table, int field, const UNICODE *stp, UINT32 flags)
RVCAPPLIBEXPORT int MfGetDBObjType (int ParentObjType, ELEMTYPE ElemType)
RVCAPPLIBEXPORT int MfGetDBTypeCap (int dbtype)
RVCAPPLIBEXPORT const char * MfGetDBTypeDesc (int dbtype)
RVCAPPLIBEXPORT TEXTID MfGetDBTypeTEXTID (int dbtype)
RVCAPPLIBEXPORT UINT32 MfGetTableCap (int did, int table)
RVCAPPLIBEXPORT UINT32 MfDatabaseGetTableUsage (int did, int table)
RVCAPPLIBEXPORT int MfGetTableInodeList (int did, INT32 **inodep, INT32 **tnump)
RVCAPPLIBEXPORT int MfGetTableList (int fid, INT32 inode, INT32 *inodep, int start, int num)
RVCAPPLIBEXPORT int MfGetTableCount (int fileindex, INT32 inode)
RVCAPPLIBEXPORT INT32 MfNumRecords (int did, int table)
RVCAPPLIBEXPORT int MfNumTables (int did)
RVCAPPLIBEXPORT INT32 MfAppendDBList (int did, INT32 elem, INT32 num, const DBLISTELMT *buf)
RVCAPPLIBEXPORT INT32 MfAppendDBListExt (int did, ELEMTYPE elemtype, INT32 elem, INT32 num, const DBLISTELMT *buf)
RVCAPPLIBEXPORT int MfDBListClean (int did)
RVCAPPLIBEXPORT int MfDBListCleanExt (int did, ELEMTYPE elemtype)
RVCAPPLIBEXPORT INT32 MfDBListItemSize (int did, INT32 elem)
RVCAPPLIBEXPORT INT32 MfDBListItemSizeExt (int did, ELEMTYPE elemtype, INT32 elem)
RVCAPPLIBEXPORT INT32 MfDBListItemSizeExcludingInternalExt (int did, ELEMTYPE elemtype, INT32 elem)
RVCAPPLIBEXPORT INT32 MfDBListMaxItemSize (int did)
RVCAPPLIBEXPORT INT32 MfDBListMaxItemSizeExt (int did, ELEMTYPE elemtype)
RVCAPPLIBEXPORT INT32 MfDBListNumElements (int did)
RVCAPPLIBEXPORT INT32 MfDBListNumElementsExt (int did, ELEMTYPE elemtype)
RVCAPPLIBEXPORT int MfDBUpdateNumElements (int did, ELEMTYPE elemtype, INT32 numelements)
RVCAPPLIBEXPORT INT32 MfReadDBList (int did, INT32 elem, DBLISTELMT *buf)
RVCAPPLIBEXPORT INT32 MfReadDBList (int did, ELEMTYPE elemtype, INT32 elem, SIMPLE_ARRAY< DBLISTELMT > &buf)
RVCAPPLIBEXPORT INT32 MfReadDBListExt (int did, ELEMTYPE elemtype, INT32 elem, DBLISTELMT *buf)
RVCAPPLIBEXPORT int MfResizeDBList (int did, INT32 size)
RVCAPPLIBEXPORT int MfResizeDBListExt (int did, ELEMTYPE elemtype, INT32 size)
RVCAPPLIBEXPORT int MfResizeDBListItem (int did, INT32 elem, INT32 size)
RVCAPPLIBEXPORT int MfResizeDBListItemExt (int did, ELEMTYPE elemtype, INT32 elem, INT32 size)
RVCAPPLIBEXPORT int MfResizeTable (int did, int tablenum, INT32 numrecords, int doclean)
RVCAPPLIBEXPORT int MfSwapDBList (int did, INT32 elem1, INT32 elem2)
RVCAPPLIBEXPORT int MfSwapDBListExt (int did, ELEMTYPE elemtype, INT32 elem1, INT32 elem2)
RVCAPPLIBEXPORT INT32 MfWriteDBList (int did, INT32 elem, INT32 num, const DBLISTELMT *buf)
RVCAPPLIBEXPORT INT32 MfWriteDBListExt (int did, ELEMTYPE elemtype, INT32 elem, INT32 num, const DBLISTELMT *buf)
RVCAPPLIBEXPORT INT32 MfWriteDBListP (int did, INT32 elem, INT32 total, INT32 start, INT32 num, const DBLISTELMT *buf)
RVCAPPLIBEXPORT INT32 MfWriteDBListPExt (int did, ELEMTYPE elemtype, INT32 elem, INT32 total, INT32 start, INT32 num, const DBLISTELMT *buf)
RVCAPPLIBEXPORT INT32 MfUnattachDBList (int did, INT32 elem, INT32 num, const DBLISTELMT *buf)
RVCAPPLIBEXPORT INT32 MfUnattachDBListExt (int did, ELEMTYPE elemtype, INT32 elem, INT32 num, const DBLISTELMT *buf)
RVCAPPLIBEXPORT void MfUnlockDBTempBuf (void *vtr)
RVCAPPLIBEXPORT int MfBuildPKFromField (int id, INT32 tablenum, INT32 fieldnum, INT32 numexfields, int(*FieldSetup)(DBFIELDINFO *, INT32), int(*DataEntry)(DBFIELDINFO *, INT32, void *))
RVCAPPLIBEXPORT int MfCopyTable (int shandle, int stable, int dhandle, int *dtablep, UINT32 flags)
int MfCopyTableExt (int shandle, int stable, int dhandle, RVCTABLEINFO *info, INT32 **RecTrans, UINT32 flags)
RVCAPPLIBEXPORT int MfCopyTableFiltered (int shandle, int stable, int dhandle, int *dtablep, int FiltFunc(void *, INT32), void *FiltData, UINT32 flags)
RVCAPPLIBEXPORT int MfCopyTableFilteredExt (int shandle, int stable, int dhandle, int *dtablep, int FiltFunc(void *, INT32), void *FiltData, INT32 **pRecTrans, UINT32 flags)
RVCAPPLIBEXPORT int MfDropTable (int did, int tablenum, int doclean)
RVCAPPLIBEXPORT int MfDatabaseWritable (int did, UINT32 flags)
RVCAPPLIBEXPORT INT32 MfFindAttachedRecords (int did, int table, INT32 **reclistp, UINT32 flags)
RVCAPPLIBEXPORT INT32 MfFindAttachedRecordsExt (int did, ELEMTYPE ElemType, int table, INT32 **reclistp, UINT32 flags)
RVCAPPLIBEXPORT int MfFindAttachedRecordsReset (int did)
int MfCompareMultiFieldKeys (const void *vbuf1, const DBFIELDINFO *finfo1, int fnum1, const void *vbuf2, const DBFIELDINFO *finfo2, int fnum2)
int MfCompareMultiFieldKeysSameTable (const void *vbuf1, const void *vbuf2, const DBFIELDINFO *finfo1, const SIMPLE_ARRAY< INT32 > &FieldList)
RVCAPPLIBEXPORT int MfFindField (int did, int table, const UNICODE *name)
RVCAPPLIBEXPORT int MfFindForeignKey (int did, int ftable, int ptable, int pfnum)
RVCAPPLIBEXPORT int MfFindNamedPrimaryKey (int did, const UNICODE *name, INT32 *table, INT32 *fnum)
RVCAPPLIBEXPORT int MfFindPrimaryKey (int did, int ftable, int ffield, INT32 *table, INT32 *fnum)
RVCAPPLIBEXPORT int MfFindRecords (int did, int table, int fnum, const void *buf, INT32 **listp)
RVCAPPLIBEXPORT int MfFindTable (int did, const UNICODE *name)
int MfFindRecordsExt (int did, int table, int fnum, const void *buf, INT32 **listp, const DBFIELDINFO *finfo, UINT32 flags)
int MfFindRecordsExt2 (int did, int table, int fnum, const void *buf, SIMPLE_ARRAY< INT32 > &listp, const DBFIELDINFO *finfo, UINT32 flags)
int MfFindRecordsFullRecordEx (int did, int table, int fnum, const void *buf, const DBFIELDINFO *buffinfo, int buffnum, SIMPLE_ARRAY< INT32 > &listp, UINT32 flags)
int MfFindRecordsFullRecord (int did, int table, int fnum, const void *buf, const DBFIELDINFO *buffinfo, int buffnum, INT32 **listp, UINT32 flags)
RVCAPPLIBEXPORT int MfGetAttachedRecordList (int did, ELEMTYPE elemtype, int basetable, INT32 elem, int table, DBLISTELMT **dblistp, INT32 **reclistp, UINT32 flags)
RVCAPPLIBEXPORT int MfGetAttachedRecordList (int did, ELEMTYPE elemtype, int basetable, INT32 elem, int table, SIMPLE_ARRAY< INT32 > &reclist, UINT32 flags)
RVCAPPLIBEXPORT int MfGetAttachedRecordList (int did, ELEMTYPE elemtype, int basetable, INT32 elem, SIMPLE_ARRAY< DBLISTELMT > &dblist, UINT32 flags)
bool operator== (const DBLISTELMT &lhs, const DBLISTELMT &rhs)
RVCAPPLIBEXPORT int _MfStyleAssignTableMake (int, int, int, UINT16, const UNICODE *, const RVC::OBJECTNAME &, RVCTABLEINFO *, int, DBFIELDINFO **, int)
int MfGetKeyFieldNames (int dbhandle, RVC::OBJECTNAME **namelistret)
RVCAPPLIBEXPORT INT32 MfGetMemoSize (int did, int tablenum, INT32 recnum, int fnum, UINT32 flags)
RVCAPPLIBEXPORT int MfGetSingleFieldInfoPtr (int did, int tablenum, int fieldnum, const DBFIELDINFO **field)
RVCAPPLIBEXPORT int MfNumPseudoTables (int did)
RVCAPPLIBEXPORT int MfReadField (int did, int tablenum, INT32 recnum, int field, void *buf, UINT32 flags)
RVCAPPLIBEXPORT int MfReadFieldDouble (int did, int table, INT32 recnum, int field, DOUBLE *valp, UINT32 flags)
RVCAPPLIBEXPORT int