Class daisy::FixedCapStr¶
template <std::size_t capacity, class CharType>
ClassList > daisy > FixedCapStr
Inherits the following classes: daisy::FixedCapStrBase
Public Functions¶
Type | Name |
---|---|
constexpr | FixedCapStr () noexcept |
constexpr | FixedCapStr (const FixedCapStr & str) noexcept |
constexpr | FixedCapStr (const FixedCapStr< otherSize > & str) noexcept |
constexpr | FixedCapStr (const CharType * str) noexcept |
constexpr | FixedCapStr (const CharType * str, std::size_t length) noexcept |
constexpr FixedCapStr & | operator= (const FixedCapStr & str) noexcept |
Public Functions inherited from daisy::FixedCapStrBase¶
Protected Attributes inherited from daisy::FixedCapStrBase¶
Type | Name |
---|---|
CharType * | buffer_ |
const size_t | capacity_ |
std::size_t | size_ = {0} |
Protected Functions inherited from daisy::FixedCapStrBase¶
Type | Name |
---|---|
constexpr void | Append_ (const CharType * str, std::size_t to_copy) |
constexpr void | ResetAt_ (const CharType * str, std::size_t strLen, std::size_t writePosition) |
constexpr void | Reset_ (const CharType * str, std::size_t length) |
std::size_t | clamp (std::size_t val, std::size_t min, std::size_t max) |
Protected Static Functions inherited from daisy::FixedCapStrBase¶
Type | Name |
---|---|
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) noexcept |
constexpr std::size_t | strlen (const CharType * string) |
Public Functions Documentation¶
function FixedCapStr [⅕]¶
function FixedCapStr [⅖]¶
function FixedCapStr [⅗]¶
template<size_t otherSize>
inline constexpr daisy::FixedCapStr::FixedCapStr (
const FixedCapStr < otherSize > & str
) noexcept
function FixedCapStr [⅘]¶
function FixedCapStr [5/5]¶
inline constexpr daisy::FixedCapStr::FixedCapStr (
const CharType * str,
std::size_t length
) noexcept
function operator=¶
The documentation for this class was generated from the following file external-docs/libDaisy/src/util/FixedCapStr.h