Searched defs:ImGuiTextBuffer (Results 1 – 3 of 3) sorted by relevance
1580 struct ImGuiTextBuffer struct1585 ImGuiTextBuffer() { } in ImGuiTextBuffer() argument1587 const char* begin() const { return Buf.Data ? &Buf.front() : EmptyString; } in begin()1588 …Buf.back() : EmptyString; } // Buf is zero-terminated, so end() will point on the zero-terminator in end()1589 int size() const { return Buf.Size ? Buf.Size - 1 : 0; } in size()1590 bool empty() { return Buf.Size <= 1; } in empty()1591 void clear() { Buf.clear(); } in clear()1592 void reserve(int capacity) { Buf.reserve(capacity); } in reserve()1593 const char* c_str() const { return Buf.Data ? Buf.Data : EmptyString; } in c_str()
1573 struct ImGuiTextBuffer struct1578 ImGuiTextBuffer() { } in ImGuiTextBuffer() argument1580 const char* begin() const { return Buf.Data ? &Buf.front() : EmptyString; } in begin()1581 …Buf.back() : EmptyString; } // Buf is zero-terminated, so end() will point on the zero-terminator in end()1582 int size() const { return Buf.Data ? Buf.Size - 1 : 0; } in size()1583 bool empty() { return Buf.Size <= 1; } in empty()1584 void clear() { Buf.clear(); } in clear()1585 void reserve(int capacity) { Buf.reserve(capacity); } in reserve()1586 const char* c_str() const { return Buf.Data ? Buf.Data : EmptyString; } in c_str()
2102 struct ImGuiTextBuffer struct2107 ImGuiTextBuffer() { } in ImGuiTextBuffer() argument2109 const char* begin() const { return Buf.Data ? &Buf.front() : EmptyString; } in begin()2110 …Buf.back() : EmptyString; } // Buf is zero-terminated, so end() will point on the zero-terminator in end()2111 int size() const { return Buf.Size ? Buf.Size - 1 : 0; } in size()2112 bool empty() const { return Buf.Size <= 1; } in empty()2113 void clear() { Buf.clear(); } in clear()2114 void reserve(int capacity) { Buf.reserve(capacity); } in reserve()2115 const char* c_str() const { return Buf.Data ? Buf.Data : EmptyString; } in c_str()