HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
string_view.h File Reference
#include <algorithm>
#include <cstddef>
#include <cstring>
#include <limits>
#include <ostream>
#include <stdexcept>
#include <string>
#include <OpenImageIO/export.h>
#include <OpenImageIO/oiioversion.h>
#include <OpenImageIO/platform.h>
+ Include dependency graph for string_view.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  string_view
 

Namespaces

 std
 

Macros

#define OIIO_STRING_VIEW_HAS_STD_SIZE   1
 

Typedefs

typedef string_view string_ref
 

Functions

OIIO_CONSTEXPR17 bool operator== (string_view x, string_view y) noexcept
 
OIIO_CONSTEXPR17 bool operator!= (string_view x, string_view y) noexcept
 
OIIO_CONSTEXPR17 bool operator< (string_view x, string_view y) noexcept
 
OIIO_CONSTEXPR17 bool operator> (string_view x, string_view y) noexcept
 
OIIO_CONSTEXPR17 bool operator<= (string_view x, string_view y) noexcept
 
OIIO_CONSTEXPR17 bool operator>= (string_view x, string_view y) noexcept
 
std::ostream & operator<< (std::ostream &out, const string_view &str)
 
constexpr size_t std::size (const OIIO::string_view &c)
 
constexpr ptrdiff_t std::ssize (const OIIO::string_view &c)
 

Macro Definition Documentation

#define OIIO_STRING_VIEW_HAS_STD_SIZE   1

Definition at line 417 of file string_view.h.

Typedef Documentation

Definition at line 395 of file string_view.h.

Function Documentation

OIIO_CONSTEXPR17 bool operator!= ( string_view  x,
string_view  y 
)
inlinenoexcept

Definition at line 352 of file string_view.h.

OIIO_CONSTEXPR17 bool operator< ( string_view  x,
string_view  y 
)
inlinenoexcept

Definition at line 358 of file string_view.h.

std::ostream& operator<< ( std::ostream &  out,
const string_view str 
)
inline

Definition at line 385 of file string_view.h.

OIIO_CONSTEXPR17 bool operator<= ( string_view  x,
string_view  y 
)
inlinenoexcept

Definition at line 370 of file string_view.h.

OIIO_CONSTEXPR17 bool operator== ( string_view  x,
string_view  y 
)
inlinenoexcept

Definition at line 346 of file string_view.h.

OIIO_CONSTEXPR17 bool operator> ( string_view  x,
string_view  y 
)
inlinenoexcept

Definition at line 364 of file string_view.h.

OIIO_CONSTEXPR17 bool operator>= ( string_view  x,
string_view  y 
)
inlinenoexcept

Definition at line 376 of file string_view.h.