C++ wrapper for tpbrt_string_t (a view on characters owned by the C library).
More...
#include <tinypbrt/detail/cpp/common.hpp>
|
| constexpr const char_t * | data () const noexcept |
| | Returns data value.
|
| |
| constexpr size_t | size () const noexcept |
| | Returns size value.
|
| |
| constexpr size_t | length () const noexcept |
| | Returns string length.
|
| |
| constexpr bool_t | empty () const noexcept |
| | Returns true if string is empty.
|
| |
| constexpr std::string_view | to_string_view () const noexcept |
| | Conversion to std::string_view.
|
| |
| constexpr | operator std::string_view () const noexcept |
| | Conversion operator to std::string_view.
|
| |
| constexpr auto | begin () const noexcept |
| | Returns begin iterator.
|
| |
| constexpr auto | end () const noexcept |
| | Returns end iterator.
|
| |
| constexpr std::strong_ordering | operator<=> (const string &rhs) const noexcept |
| | Three-way comparison operator (compares characters).
|
| |
| constexpr bool_t | operator== (const string &rhs) const noexcept |
| | Equality operator (compares characters).
|
| |
| constexpr std::strong_ordering | operator<=> (const std::string_view rhs) const noexcept |
| | Three-way comparison operator (compares characters).
|
| |
| constexpr bool_t | operator== (const std::string_view rhs) const noexcept |
| | Equality operator (compares characters).
|
| |
C++ wrapper for tpbrt_string_t (a view on characters owned by the C library).
◆ data()
| constexpr const char_t * tpbrt::string::data |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ size()
| constexpr size_t tpbrt::string::size |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ length()
| constexpr size_t tpbrt::string::length |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ empty()
| constexpr bool_t tpbrt::string::empty |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if string is empty.
◆ to_string_view()
| constexpr std::string_view tpbrt::string::to_string_view |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Conversion to std::string_view.
◆ operator std::string_view()
| constexpr tpbrt::string::operator std::string_view |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Conversion operator to std::string_view.
◆ begin()
| constexpr auto tpbrt::string::begin |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ end()
| constexpr auto tpbrt::string::end |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ operator<=>() [1/2]
| constexpr std::strong_ordering tpbrt::string::operator<=> |
( |
const string & |
rhs | ) |
const |
|
inlineconstexprnoexcept |
Three-way comparison operator (compares characters).
◆ operator==() [1/2]
| constexpr bool_t tpbrt::string::operator== |
( |
const string & |
rhs | ) |
const |
|
inlineconstexprnoexcept |
Equality operator (compares characters).
◆ operator<=>() [2/2]
| constexpr std::strong_ordering tpbrt::string::operator<=> |
( |
const std::string_view |
rhs | ) |
const |
|
inlineconstexprnoexcept |
Three-way comparison operator (compares characters).
◆ operator==() [2/2]
| constexpr bool_t tpbrt::string::operator== |
( |
const std::string_view |
rhs | ) |
const |
|
inlineconstexprnoexcept |
Equality operator (compares characters).
The documentation for this struct was generated from the following file: