ExtString.h

Go to the documentation of this file.
00001 /*
00002 // $Id: //open/dev/fennel/calculator/ExtString.h#2 $
00003 // Fennel is a library of data storage and processing components.
00004 // Copyright (C) 2005-2009 The Eigenbase Project
00005 // Copyright (C) 2004-2009 SQLstream, Inc.
00006 // Copyright (C) 2009-2009 LucidEra, Inc.
00007 //
00008 // This program is free software; you can redistribute it and/or modify it
00009 // under the terms of the GNU General Public License as published by the Free
00010 // Software Foundation; either version 2 of the License, or (at your option)
00011 // any later version approved by The Eigenbase Project.
00012 //
00013 // This program is distributed in the hope that it will be useful,
00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 // GNU General Public License for more details.
00017 //
00018 // You should have received a copy of the GNU General Public License
00019 // along with this program; if not, write to the Free Software
00020 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021 */
00022 
00023 #ifndef Fennel_ExtString_Included
00024 #define Fennel_ExtString_Included
00025 
00026 #include "fennel/calculator/RegisterReference.h"
00027 #include "fennel/calculator/ExtendedInstruction.h"
00028 
00029 FENNEL_BEGIN_NAMESPACE
00030 
00044 void
00045 strCatA2(
00046     RegisterRef<char*>* result,
00047     RegisterRef<char*>* str1);
00048 
00052 //
00059 void
00060 strCatAF3(
00061     RegisterRef<char*>* result,
00062     RegisterRef<char*>* str1,
00063     RegisterRef<char*>* str2);
00064 
00068 void
00069 strCmpA(
00070     RegisterRef<int32_t>* result,
00071     RegisterRef<char*>* str1,
00072     RegisterRef<char*>* str2);
00073 
00079 void
00080 strCmpOct(
00081     RegisterRef<int32_t>* result,
00082     RegisterRef<char*>* str1,
00083     RegisterRef<char*>* str2);
00084 
00089 void
00090 strCpyA(
00091     RegisterRef<char*>* result,
00092     RegisterRef<char*>* str);
00093 
00095 void
00096 strLenBitA(
00097     RegisterRef<int32_t>* result,
00098     RegisterRef<char*>* str);
00099 
00101 void
00102 strLenCharA(
00103     RegisterRef<int32_t>* result,
00104     RegisterRef<char*>* str);
00105 
00107 void
00108 strLenOctA(
00109     RegisterRef<int32_t>* result,
00110     RegisterRef<char*>* str);
00111 
00116 void
00117 strOverlayA4(
00118     RegisterRef<char*>* result,
00119     RegisterRef<char*>* str,
00120     RegisterRef<char*>* overlay,
00121     RegisterRef<int32_t>* start);
00122 
00124 void
00125 strOverlayA5(
00126     RegisterRef<char*>* result,
00127     RegisterRef<char*>* str,
00128     RegisterRef<char*>* overlay,
00129     RegisterRef<int32_t>* start,
00130     RegisterRef<int32_t>* len);
00131 
00132 
00134 void
00135 strPosA(
00136     RegisterRef<int32_t>* result,
00137     RegisterRef<char*>* str,
00138     RegisterRef<char*>* find);
00139 
00144 void
00145 strSubStringA3(
00146     RegisterRef<char*>* result,
00147     RegisterRef<char*>* str,
00148     RegisterRef<int32_t>* start);
00149 
00151 void
00152 strSubStringA4(
00153     RegisterRef<char*>* result,
00154     RegisterRef<char*>* str,
00155     RegisterRef<int32_t>* start,
00156     RegisterRef<int32_t>* len);
00157 
00162 void
00163 strToLowerA(
00164     RegisterRef<char*>* result,
00165     RegisterRef<char*>* str);
00166 
00167 
00172 void
00173 strToUpperA(
00174     RegisterRef<char*>* result,
00175     RegisterRef<char*>* str);
00176 
00177 
00182 void
00183 strTrimA(
00184     RegisterRef<char*>* result,
00185     RegisterRef<char*>* str,
00186     RegisterRef<char*>* trimchar,
00187     RegisterRef<int32_t>* trimLeft,
00188     RegisterRef<int32_t>* trimRight);
00189 
00190 class ExtendedInstructionTable;
00191 
00192 void
00193 ExtStringRegister(ExtendedInstructionTable* eit);
00194 
00195 
00196 FENNEL_END_NAMESPACE
00197 
00198 #endif
00199 
00200 // End ExtString.h

Generated on Mon Jun 22 04:00:17 2009 for Fennel by  doxygen 1.5.1