46 #ifdef AS_CAN_USE_CPP11 56 void Allocate(
size_t len,
bool keepData);
57 void SetLength(
size_t len);
58 size_t GetLength()
const;
60 void Concatenate(
const char *str,
size_t length);
65 void Assign(
const char *str,
size_t length);
70 asCString SubString(
size_t start,
size_t length = (
size_t)(-1))
const;
72 int FindLast(
const char *str,
int *count = 0)
const;
74 size_t Format(
const char *fmt, ...);
76 int Compare(
const char *str)
const;
78 int Compare(
const char *str,
size_t length)
const;
81 const char *AddressOf()
const;
82 char &operator [](
size_t index);
83 const char &operator[](
size_t index)
const;
84 size_t RecalculateLength();
99 bool operator ==(
const asCString &,
const char *);
100 bool operator !=(
const asCString &,
const char *);
102 bool operator ==(
const char *,
const asCString &);
103 bool operator !=(
const char *,
const asCString &);
118 const char *AddressOf()
const;
119 size_t GetLength()
const;
Definition: as_string.h:112
Definition: as_string.h:41