d2c_sysstring |
Top Previous Next |
Pretranslated C++ code > Delphi RTL/VCL > C++ code for C++Builder > d2c_sysstring d2c_sysstring contains some Delphi2Cpp helper functions which are useful at the translation of Delphi code to C++ code for C++Builder.
int Pos(char Substr, const AnsiString& S); int Pos(const WideString& Substr, const WideString& Source ); int Pos(wchar_t C, const WideString& S );
AnsiString Copy(const AnsiString& xs, int Index, int Count); WideString Copy(const WideString& 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_strncmp(const char* xs1, const char* xs2); int d2c_wcsncmp(const wchar_t* xs1, const wchar_t* xs2); Char Chr( unsignedchar B ); void Insert( const AnsiString& Source, AnsiString& S, int Index ); void Insert( const WideString& Source, WideString& S, int Index ); void Delete( AnsiString& S, int Index, int Size ); void Delete( WideString& S, int Index, int Size ); #if (__BORLANDC__ <= 0x570) // not in CBuilder 6 AnsiString StringOfChar( char C, int l ); WideString StringOfChar( wchar_t C, int l ); #endif void SetString( AnsiString& S, char* Buffer, int Len ); void SetString( WideString& S, wchar_t* Buf, int Len ); void SetLength( AnsiString& S, int Len ); void SetLength( WideString& S, int Len ); int Length(const SmallString<255>& xS); int Length(const char* xp); int Length(const wchar_t* xp); int Length(const AnsiString& S); int Length(const WideString& S);
#if (__BORLANDC__ >= 0x0610) UnicodeString Copy(const UnicodeString& S, int Index, int Count);
void SetString( UnicodeString& S, wchar_t* Buf, int Len ); void SetLength( UnicodeString& S, int Len ); int Length(const UnicodeString& S);
UnicodeString Concat(const UnicodeString& s1); UnicodeString Concat(const UnicodeString& s1, const UnicodeString& s2); UnicodeString Concat(const UnicodeString& s1, const UnicodeString& s2, const UnicodeString& s3); UnicodeString Concat(const UnicodeString& s1, const UnicodeString& s2, const UnicodeString& s3, const UnicodeString& s4); UnicodeString Concat(const UnicodeString& s1, const UnicodeString& s2, const UnicodeString& s3, const UnicodeString& s4, const UnicodeString& s5); UnicodeString Concat(const UnicodeString& s1, const UnicodeString& s2, const UnicodeString& s3, const UnicodeString& s4, const UnicodeString& s5, const UnicodeString& s6); UnicodeString Concat(const UnicodeString& s1, const UnicodeString& s2, const UnicodeString& s3, const UnicodeString& s4, const UnicodeString& s5, const UnicodeString& s6, const UnicodeString& s7); UnicodeString Concat(const UnicodeString& s1, const UnicodeString& s2, const UnicodeString& s3, const UnicodeString& s4, const UnicodeString& s5, const UnicodeString& s6, const UnicodeString& s7, const UnicodeString& s8); UnicodeString Concat(const UnicodeString& s1, const UnicodeString& s2, const UnicodeString& s3, const UnicodeString& s4, const UnicodeString& s5, const UnicodeString& s6, const UnicodeString& s7, const UnicodeString& s8, const UnicodeString& s9); #endif
|
This page belongs to the Delphi2Cpp Documentation |
Delphi2Cpp home Content |