Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

mk4dll.h

00001 // mk4dll.h --
00002 // $Id: mk4dll.h,v 1.7 2003/11/23 01:42:50 wcvs Exp $
00003 // This is part of Metakit, see https://www.equi4.com/metakit/
00004 //
00005 //  Import declarations for DLLs
00006 
00007 #ifndef __MK4_H__
00008 #error This file is included by "mk4.h", it cannot be used standalone
00009 #endif
00010 
00011 #ifndef d4_DLL
00012 #ifdef _WIN32
00013 #ifdef _USRDLL
00014 #define d4_DLL      __declspec(dllexport)
00015 #else
00016 #define d4_DLL      __declspec(dllimport)
00017 #endif
00018 #else
00019 #define d4_DLL          
00020 #endif
00021 #endif
00022 
00023 #ifndef d4_DLLSPEC
00024 #ifdef _MSC_VER
00025 #define d4_DLLSPEC(t)   d4_DLL t
00026 #else
00027 #define d4_DLLSPEC(t)   t d4_DLL
00028 #endif
00029 #endif
00030 
00032 // Declarations in this file
00033 
00034     class d4_DLL c4_Bytes;
00035     class d4_DLL c4_BytesProp;
00036     class d4_DLL c4_BytesRef;
00037     class d4_DLL c4_Cursor;
00038     class d4_DLL c4_CustomViewer;
00039     class d4_DLL c4_DoubleProp;
00040     class d4_DLL c4_DoubleRef;
00041     class d4_DLL c4_FileStrategy;
00042     class d4_DLL c4_FileStream;
00043     class d4_DLL c4_FloatProp;
00044     class d4_DLL c4_FloatRef;
00045     class d4_DLL c4_IntProp;
00046     class d4_DLL c4_IntRef;
00047     class d4_DLL c4_LongRef;
00048     class d4_DLL c4_Property;
00049     class d4_DLL c4_Reference;
00050     class d4_DLL c4_Row;
00051     class d4_DLL c4_RowRef;
00052     class d4_DLL c4_Sequence;
00053     class d4_DLL c4_Storage;
00054     class d4_DLL c4_Strategy;
00055     class d4_DLL c4_Stream;
00056     class d4_DLL c4_StringProp;
00057     class d4_DLL c4_StringRef;
00058     class d4_DLL c4_View;
00059     class d4_DLL c4_ViewProp;
00060     class d4_DLL c4_ViewRef;
00061 
00062 #if !q4_MFC
00063     class d4_DLL c4_String;
00064 #endif
00065 
00067 
00068     d4_DLLSPEC(bool) operator== (const c4_View& a_, const c4_View& b_);
00069     d4_DLLSPEC(bool) operator!= (const c4_View& a_, const c4_View& b_);
00070     d4_DLLSPEC(bool) operator< (const c4_View& a_, const c4_View& b_);
00071     d4_DLLSPEC(bool) operator> (const c4_View& a_, const c4_View& b_);
00072     d4_DLLSPEC(bool) operator<= (const c4_View& a_, const c4_View& b_);
00073     d4_DLLSPEC(bool) operator>= (const c4_View& a_, const c4_View& b_);
00074 
00075     d4_DLLSPEC(bool) operator== (c4_Cursor a_, c4_Cursor b_);
00076     d4_DLLSPEC(bool) operator!= (c4_Cursor a_, c4_Cursor b_);
00077     d4_DLLSPEC(bool) operator< (c4_Cursor a_, c4_Cursor b_);
00078     d4_DLLSPEC(bool) operator> (c4_Cursor a_, c4_Cursor b_);
00079     d4_DLLSPEC(bool) operator<= (c4_Cursor a_, c4_Cursor b_);
00080     d4_DLLSPEC(bool) operator>= (c4_Cursor a_, c4_Cursor b_);
00081     d4_DLLSPEC(c4_Cursor) operator+ (c4_Cursor cursor_, int offset_);
00082     d4_DLLSPEC(c4_Cursor) operator+ (int offset_, c4_Cursor cursor_);
00083 
00084     d4_DLLSPEC(bool) operator== (const c4_RowRef& a_, const c4_RowRef& b_);
00085     d4_DLLSPEC(bool) operator!= (const c4_RowRef& a_, const c4_RowRef& b_);
00086     d4_DLLSPEC(bool) operator< (const c4_RowRef& a_, const c4_RowRef& b_);
00087     d4_DLLSPEC(bool) operator> (const c4_RowRef& a_, const c4_RowRef& b_);
00088     d4_DLLSPEC(bool) operator<= (const c4_RowRef& a_, const c4_RowRef& b_);
00089     d4_DLLSPEC(bool) operator>= (const c4_RowRef& a_, const c4_RowRef& b_);
00090     d4_DLLSPEC(c4_Row) operator+ (const c4_RowRef& a_, const c4_RowRef& b_);
00091 
00092     d4_DLLSPEC(bool) operator== (const c4_Bytes& a_, const c4_Bytes& b_);
00093     d4_DLLSPEC(bool) operator!= (const c4_Bytes& a_, const c4_Bytes& b_);
00094 
00095     d4_DLLSPEC(bool) operator== (const c4_Reference&, const c4_Reference&);
00096     d4_DLLSPEC(bool) operator!= (const c4_Reference&, const c4_Reference&);
00097 
00098 #if !q4_MFC
00099     d4_DLLSPEC(c4_String) operator+ (const c4_String&, const c4_String&);
00100     d4_DLLSPEC(c4_String) operator+ (const c4_String&, const char*);
00101     d4_DLLSPEC(c4_String) operator+ (const char*, const c4_String&);
00102 
00103     d4_DLLSPEC(bool) operator== (const c4_String&, const c4_String&);
00104     d4_DLLSPEC(bool) operator!= (const c4_String&, const c4_String&);
00105     d4_DLLSPEC(bool) operator== (const c4_String& s1, const char* s2);
00106     d4_DLLSPEC(bool) operator== (const char* s1, const c4_String& s2);
00107     d4_DLLSPEC(bool) operator!= (const c4_String& s1, const char* s2);
00108     d4_DLLSPEC(bool) operator!= (const char* s1, const c4_String& s2);
00109 #endif
00110 
00112 


Metakit C++ API Reference - https://www.equi4.com/metakit.html - extracted with Doxygen