Definition at line 33 of file Cord.h.
◆ Cord()
| Cord::Cord |
( |
const Cord & |
other | ) |
|
◆ ~Cord()
◆ append() [1/2]
| void Cord::append |
( |
const char * |
s, |
|
|
size_t |
len = 0 |
|
) |
| |
◆ append() [2/2]
| void Cord::append |
( |
const String & |
str | ) |
|
- Note
- The String& versions of append/prepend are somewhat dangerous. Use these with caution, as if the String is modified or freed, the Cord will point at invalid memory.
Definition at line 121 of file Cord.cc.
◆ assign()
| void Cord::assign |
( |
const Cord & |
other | ) |
|
◆ begin()
◆ clear()
◆ end()
◆ length()
| size_t Cord::length |
( |
| ) |
const |
◆ operator=()
| Cord & Cord::operator= |
( |
const Cord & |
s | ) |
|
◆ operator[]()
| char Cord::operator[] |
( |
size_t |
index | ) |
const |
- Todo:
- should this be more crashy?
Definition at line 83 of file Cord.cc.
◆ prepend() [1/2]
| void Cord::prepend |
( |
const char * |
s, |
|
|
size_t |
len = 0 |
|
) |
| |
◆ prepend() [2/2]
| void Cord::prepend |
( |
const String & |
str | ) |
|
◆ reserve()
| void Cord::reserve |
( |
size_t |
segments | ) |
|
Pre-reserve the given number of segments. Useful if the segment count is known in advance to avoid vector resizes.
Definition at line 41 of file Cord.cc.
◆ segbegin()
◆ segend()
◆ toString()
| String Cord::toString |
( |
| ) |
const |
◆ CordIterator
◆ String
◆ m_Length
| size_t Cord::m_Length = 0 |
|
private |
◆ m_Segments
The documentation for this class was generated from the following files: