d2c_sysstring

Top  Previous  Next

Pretranslated C++ code > Delphi RTL/VCL > C++ code for other compilers > d2c_sysstring

d2c_sysstring contains Delphi2Cpp helper routines for string operations.

 

 

 

int PCharLen(const AnsiChar* P);

int PWCharLen(const WideChar* P);

String Copy(const String& xs, int Index, int Count);

 

template <class T> std::vector<T> Copy(const std::vector<T>& V, int Index, int Count) ...

template <size_t N> void d2c_CopyToArray(Char(&CharArray)[N], const String& xs) ...

int d2c_wcsncmp(const wchar_t* xs1, const wchar_t* xs2);

int d2c_strncmp(const char* xs1, const char* xs2);

Char LowerCase(Char C );

void Insert(const String& Source, String& S, d2c_size_t Index );

void Delete(String& S, int Index, d2c_size_t Size );

String StringOfChar(Char C, int l );

std::string StringOfChar(char C, int l);

void SetString(String& S, Char* Buffer, d2c_size_t Len );

void SetLength(String& s, d2c_size_t newLength);

void SetString(String& s, Char* Buffer, d2c_size_t Length);

void SetString(AnsiString& s, const PAnsiChar Buffer, d2c_size_t Length);

void SetString(PShortString s, PAnsiChar Buffer, d2c_size_t Len);

void SetLength(String& S, d2c_size_t Len );

void SetLength(UTF8String& S, d2c_size_t Len);

 

 

String Concat(const String s1);

String Concat(const String s1, const String s2);

String Concat(const String s1, const String s2, const String s3);

String Concat(const String s1, const String s2, const String s3,

             const String s4);

String Concat(const String s1, const String s2, const String s3,

             const String s4, const String s5);

String Concat(const String s1, const String s2, const String s3,

             const String s4, const String s5, const String s6);

String Concat(const String& s1, const String& s2, const String& s3,

             const String& s4, const String& s5, const String& s6,

             const String& s7);

String Concat(const String& s1, const String& s2, const String& s3,

             const String& s4, const String& s5, const String& s6,

             const String& s7, const String& s8);

String Concat(const String& s1, const String& s2, const String& s3,

             const String& s4, const String& s5, const String& s6,

             const String& s7, const String& s8, const String& s9);



This page belongs to the Delphi2Cpp Documentation

Delphi2Cpp home  Content