aboutsummaryrefslogtreecommitdiff
path: root/CPP/Common/MyString.h
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2022-06-20 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2023-12-17 13:35:20 +0500
commita3e1d227377188734b82f023f96f8e25dc40f3e6 (patch)
tree23cad8d47eb23d26ea727b4f7f4a65124f724065 /CPP/Common/MyString.h
parentf19f813537c7aea1c20749c914e756b54a9c3cf5 (diff)
download7zip-22.00.tar.gz
7zip-22.00.tar.bz2
7zip-22.00.zip
22.0022.00
Diffstat (limited to 'CPP/Common/MyString.h')
-rw-r--r--CPP/Common/MyString.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/CPP/Common/MyString.h b/CPP/Common/MyString.h
index aa3c301..c777c8c 100644
--- a/CPP/Common/MyString.h
+++ b/CPP/Common/MyString.h
@@ -378,6 +378,7 @@ public:
378 void Add_Space_if_NotEmpty(); 378 void Add_Space_if_NotEmpty();
379 void Add_OptSpaced(const char *s); 379 void Add_OptSpaced(const char *s);
380 void Add_LF(); 380 void Add_LF();
381 void Add_Slash();
381 void Add_PathSepar() { operator+=(CHAR_PATH_SEPARATOR); } 382 void Add_PathSepar() { operator+=(CHAR_PATH_SEPARATOR); }
382 383
383 AString &operator+=(const char *s); 384 AString &operator+=(const char *s);
@@ -386,12 +387,12 @@ public:
386 void Add_UInt32(UInt32 v); 387 void Add_UInt32(UInt32 v);
387 void Add_UInt64(UInt64 v); 388 void Add_UInt64(UInt64 v);
388 389
390 void AddFrom(const char *s, unsigned len); // no check
389 void SetFrom(const char *s, unsigned len); // no check 391 void SetFrom(const char *s, unsigned len); // no check
390 void SetFrom_CalcLen(const char *s, unsigned len); 392 void SetFrom_CalcLen(const char *s, unsigned len);
391 393
392 AString Mid(unsigned startIndex, unsigned count) const { return AString(count, _chars + startIndex); } 394 AString Mid(unsigned startIndex, unsigned count) const { return AString(count, _chars + startIndex); }
393 AString Left(unsigned count) const { return AString(count, *this); } 395 AString Left(unsigned count) const { return AString(count, *this); }
394
395 // void MakeUpper() { MyStringUpper(_chars); } 396 // void MakeUpper() { MyStringUpper(_chars); }
396 // void MakeLower() { MyStringLower(_chars); } 397 // void MakeLower() { MyStringLower(_chars); }
397 void MakeLower_Ascii() { MyStringLower_Ascii(_chars); } 398 void MakeLower_Ascii() { MyStringLower_Ascii(_chars); }