Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

vcn36.cpp File Reference


Detailed Description

implementing basic functions used in vcn35.cpp, ..., vcn355.cpp

Author:
TiloH

Definition in file vcn36.cpp.

#include "hni31.h"
#include "hcn36.h"
#include "SAPDBCommon/SAPDB_string.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <time.h>
#include <limits.h>

Go to the source code of this file.

Classes

class  tcn36_ADigitToIntMap
class  tcn36_CN36Error
struct  tcn36_CN36Error::CN36ErrorDescription

Functions

int cn36_AppendFileToFile (const char *Src, const char *Dest)
char * cn36_BaseNameFrom (char *Path)
const char * cn36_BaseNameFrom (const char *Path)
int cn36_CheckExe (const char *pszProgramName)
int cn36_CheckExist (const char *FileName)
int cn36_CheckRead (const char *pszFileName)
int cn36_CompareEnvVarNames (const char *EnvironmentVariable1, const char *EnvironmentVariable2)
int cn36_ConstructCompletePath (char *&CompletePath, const char *Directory, const char *FileName)
char * cn36_EndOfDirectory (char *Path)
const char * cn36_EndOfDirectory (const char *Path)
const char * cn36_FirstNonDigitOf (const char *string)
const char * cn36_FirstNonDigitOfStrN (const char *string, size_t stringLength)
const char * cn36_FirstNonWhiteSpaceOf (const char *String, size_t StringLength)
const char * cn36_FirstNonWhiteSpaceOf (const char *s)
char * cn36_FirstNonWhiteSpaceOf (char *s)
const char * cn36_FirstWhiteSpaceOf (const char *String, size_t StringLength)
const char * cn36_FirstWhiteSpaceOf (const char *s)
char * cn36_FirstWhiteSpaceOf (char *s)
long cn36_GetCurrentTime ()
const char * cn36_GetEnv (const char *cpszEnvironmentVariable)
const char * cn36_GetHostName ()
void cn36_GetStringBetweenDoubleQuotesOrWhiteSpaces (const char *&Start, const char *&End)
int cn36_IntToStrN (char *Buf, size_t Length, int i)
int cn36_IsAbsolutePath (const char *Path)
int cn36_IsPathDelimiter (const char *Path)
char * cn36_LoopedStrChr (char *String, char Character, int Number)
const char * cn36_LoopedStrChr (const char *String, char Character, int Number)
const char * cn36_LoopedStrNChr (const char *string, size_t length, char character, int number)
int cn36_MoveFile (const char *Src, const char *Dest)
const char * cn36_NextPathPart (const char *Path)
int cn36_PathCmp (const char *Path1, const char *Path2)
int cn36_PathNCmp (const char *Path1, const char *Path2, size_t Length)
int cn36_PutEnv (const char *VariableName, const char *VariableValue)
char * cn36_RemoveOuterDoubleQuotes (char *s)
 Function for removing the outest pair of double qoutes of the string, if any such pair exists. String is moved forward in place so no memory is freed.
char * cn36_RemoveSpaces (char *string)
long cn36_SecondsBetween (long time1, long time2)
void cn36_Sleep (int Seconds)
char * cn36_StartOfTrailingWhiteSpaces (char *s)
const char * cn36_StartOfTrailingWhiteSpaces (const char *s)
int cn36_StrAlloc (char *&Dest, size_t Length)
int cn36_StrAllocCpy (char *&Dest, const char *Src)
char * cn36_StrChr (char *String, const char Character)
const char * cn36_StrChr (const char *String, const char Character)
int cn36_StrConsistsOfDigits (const char *String)
void cn36_StrDealloc (char *&String)
int cn36_StrNAllocCpy (char *&Dest, const char *Src, size_t Length)
void cn36_StrNCat (char *Dest, const char *Src, size_t Length)
char * cn36_StrNChr (char *String, const char Character, size_t Length)
const char * cn36_StrNChr (const char *String, const char Character, size_t Length)
int cn36_StrNConsistsOfDigits (const char *String, size_t Length)
void cn36_StrNCpy (char *Dest, const char *Src, size_t Length)
const char * cn36_StrNRChr (const char *string, size_t length, const char character)
char * cn36_StrNStr (char *string1, size_t lengthString1, const char *string2)
const char * cn36_StrNStr (const char *string1, size_t lengthString1, const char *string2)
int cn36_StrNToInt (int &TheInt, const char *Buf, size_t Length)
int cn36_StrNToInt8 (teo00_Int8 &TheInt8, const char *Buf, size_t Length)
int cn36_StrNToLong (long &TheLong, const char *Buf, size_t Length)
int cn36_StrNToUInt (unsigned int &TheUInt, const char *Buf, size_t Length)
int cn36_StrNToUInt8 (teo00_Uint8 &TheUInt8, const char *Buf, size_t Length)
int cn36_StrNUprCmp (const char *String1, const char *String2, size_t Length)
int cn36_StrStrNCmp (const char *String1, const char *String2, size_t Length2)
int cn36_StrStrNUprCmp (const char *String1, const char *String2, size_t Length2)
int cn36_StrStrSpaceCmp (const char *String1, const char *String2)
template<class I>
int cn36_StrTo (I &TheI, const char *Buf, size_t Length, I MaxI)
int cn36_StrToInt (int &TheInt, const char *Buf)
int cn36_StrToInt8 (teo00_Int8 &TheInt8, const char *Buf)
int cn36_StrToLong (long &TheLong, const char *Buf)
template<class I>
int cn36_StrToSigned (I &TheI, const char *Buf, size_t Length, I MaxI, I MinI)
int cn36_StrToUInt (unsigned int &TheUInt, const char *Buf)
int cn36_StrToUInt8 (teo00_Uint8 &TheUInt8, const char *Buf)
void cn36_StrUpr (char *String)
int cn36_StrUprCmp (const char *String1, const char *String2)
const char * cn36_TerminatingZeroOf (const char *s)
char * cn36_TerminatingZeroOf (char *s)
int cn36_UInt8ToStrN (char *Buf, size_t Length, teo00_Uint8 i)
void cn36_UnsetEnv (const char *VariableName)
static tcn36_ADigitToIntMap DigitToIntMap_cn36 (tcn36_ADigitToIntMap::NonDigitsZero)

Variables

char ** environ
static const char IntToCharMap_cn36 [10] = {'0','1','2','3','4','5','6','7','8','9'}
static ni31_List< char * > ListOfUsedEnvironmentStrings_cn36
char MsgBuf_cn36 [1024]


Generated by  Doxygen 1.6.0   Back to index