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

Go to the source code of this file.

Classes

class  ustring
 
struct  ustring::TableRep
 
class  ustringHash
 
class  ustringLess
 
class  ustringPtrIsLess
 

Namespaces

 Strutil
 String-related utilities.
 

Macros

#define OPENIMAGEIO_USTRING_H
 

Functions

bool iequals (ustring a, ustring b)
 
bool iequals (ustring a, const std::string &b)
 
bool iequals (const std::string &a, ustring b)
 
float Strutil::stof (ustring s)
 
template<>
std::string Strutil::to_string (const ustring &value)
 

Detailed Description

Define the ustring class, unique strings with efficient storage and very fast copy and comparison.

Definition in file ustring.h.

Macro Definition Documentation

#define OPENIMAGEIO_USTRING_H

Definition at line 122 of file ustring.h.

Function Documentation

bool iequals ( ustring  a,
ustring  b 
)
inline

Case-insensitive comparison of ustrings. For speed, this always uses a static locale that doesn't require a mutex lock.

Definition at line 830 of file ustring.h.

bool iequals ( ustring  a,
const std::string b 
)
inline

Definition at line 836 of file ustring.h.

bool iequals ( const std::string a,
ustring  b 
)
inline

Definition at line 842 of file ustring.h.