daisy::FixedCapStr¶
#include <FixedCapStr.h>
Inherits from daisy::FixedCapStrBase< char >
Public Functions¶
Name | |
---|---|
constexpr | FixedCapStr() |
constexpr | FixedCapStr(const FixedCapStr & str) |
template <size_t otherSize> constexpr |
FixedCapStr(const FixedCapStr< otherSize > & str) |
constexpr | FixedCapStr(const CharType * str) |
constexpr | FixedCapStr(const CharType * str, std::size_t length) |
constexpr FixedCapStr & | operator=(const FixedCapStr & str) |
Additional inherited members¶
Public Functions inherited from daisy::FixedCapStrBase< char >
Name | |
---|---|
constexpr | FixedCapStrBase(CharType * buffer, size_t capacity) |
constexpr | FixedCapStrBase(const FixedCapStrBase & other) =delete |
constexpr | operator const CharType *() const |
constexpr const CharType * | Cstr() const |
constexpr const CharType * | Data() const |
constexpr CharType * | Data() |
constexpr auto | Size() const |
constexpr auto | UpdateSize() |
constexpr auto | Capacity() const |
constexpr auto | Empty() const |
constexpr void | Clear() |
constexpr void | Reset(const CharType * str) |
constexpr void | Reset(const CharType * str, std::size_t length) |
constexpr void | ResetAt(const CharType * str, std::size_t writePosition) |
constexpr void | Append(const CharType singleChar) |
constexpr void | Append(const CharType * str) |
constexpr void | Append(const CharType * str, std::size_t length) |
template <typename IntType > constexpr void |
AppendInt(IntType value, bool alwaysIncludeSign =false) |
constexpr void | AppendFloat(float value, int maxNumDigits =2, bool omitTrailingZeros =false, bool alwaysIncludeSign =false) |
constexpr bool | StartsWith(const CharType * pattern) const |
constexpr bool | StartsWithIgnoringCase(const CharType * pattern) const |
constexpr bool | EndsWith(const CharType * pattern) const |
constexpr bool | EndsWithIgnoringCase(const CharType * pattern) const |
constexpr void | RemovePrefix(std::size_t length) |
constexpr void | RemoveSuffix(std::size_t length) |
constexpr void | ReverseSection(std::size_t firstIdx, std::size_t lastIdx) |
constexpr bool | operator==(const CharType * rhs) const |
constexpr bool | operator!=(const CharType * rhs) const |
constexpr bool | operator<(const CharType * other) const |
constexpr bool | operator<=(const CharType * other) const |
constexpr bool | operator>(const CharType * other) const |
constexpr bool | operator>=(const CharType * other) const |
constexpr void | Swap(FixedCapStrBase & rhs) |
Protected Functions inherited from daisy::FixedCapStrBase< char >
Name | |
---|---|
constexpr std::size_t | strlen(const CharType * string) |
constexpr void | Copy_(const CharType * src, const CharType * srcEnd, CharType * dest) |
constexpr void | Swap_(CharType * a, CharType * b, size_t length) |
constexpr char | ToUpper_(char c) |
constexpr void | Reset_(const CharType * str, std::size_t length) |
constexpr void | ResetAt_(const CharType * str, std::size_t strLen, std::size_t writePosition) |
constexpr void | Append_(const CharType * str, std::size_t to_copy) |
std::size_t | clamp(std::size_t val, std::size_t min, std::size_t max) |
Protected Attributes inherited from daisy::FixedCapStrBase< char >
Detailed Description¶
Public Functions Documentation¶
function FixedCapStr¶
function FixedCapStr¶
function FixedCapStr¶
function FixedCapStr¶
function FixedCapStr¶
function operator=¶
---¶
Updated on 2024-01-03 at 19:41:00 +0000