diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-12-07 13:17:14 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-12-07 13:17:14 +0100 |
commit | 4875a3dd9b183dcd2256e2abfc4ccf7484c233b4 (patch) | |
tree | 0abbea881ded030851014ffdd60fbf71fead8f65 /src/include/xbtag.h | |
parent | daf17154bf13139d9375f48525d19d6aaba08155 (diff) |
New upstream version 4.0.2upstream/4.0.2
Diffstat (limited to 'src/include/xbtag.h')
-rwxr-xr-x | src/include/xbtag.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/src/include/xbtag.h b/src/include/xbtag.h new file mode 100755 index 0000000..9b518a3 --- /dev/null +++ b/src/include/xbtag.h @@ -0,0 +1,74 @@ +/* xbtag.h + +XBase64 Software Library + +Copyright (c) 1997,2003,2014,2022 Gary A Kunkel + +The xb64 software library is covered under the terms of the GPL Version 3, 2007 license. + +Email Contact: + + XDB-devel@lists.sourceforge.net + XDB-users@lists.sourceforge.net + +*/ + + +#ifndef __XB_XBTAG_H__ +#define __XB_XBTAG_H__ + +//#ifdef CMAKE_COMPILER_IS_GNUCC +//#pragma interface +//#endif + +namespace xb{ + + +#ifdef XB_INDEX_SUPPORT + +class XBDLLEXPORT xbIx; + + + +//! @brief xbTag is used for linking index tags to a table (aka dbf file). +/*! + + Each dbf file (or table) can have zero, one or many tags. + Each tag is maintained in a linked list of xbTags. + + NDX index files contain only one index tag.<br> + MDX index files can contain one to 47 index tags. The production MDX file is opened automatically + and the tags are added to the tag list. + +*/ + +class XBDLLEXPORT xbTag { + + public: + xbTag( xbIx *pIx, void *vpTag, xbString &sType, xbString &sTagName, xbString &sExpression, xbString &sFilter, xbBool bUnique, xbBool bSort ); + + xbIx *GetIx() const; + void *GetVpTag() const; + const xbString &GetType() const; + const xbString &GetTagName() const; + const xbString &GetExpression() const; + const xbString &GetFilter() const; + xbBool GetUnique() const; + xbBool GetSort() const; + + private: + xbIx *pIx; + void *vpTag; + xbString sType; + xbString sTagName; + xbString sExpression; + xbString sFilter; + xbBool bUnique; + xbBool bSort; // 0 = Ascending, 1 = Descending +}; + +#endif // XB_INDEX_SUPPORT + + +} /* namespace xb */ +#endif /* __XB_TAG_H__ */ |