OpenImageIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Functions | Variables
ustring.h File Reference
#include <string>
#include <iostream>
#include <cstring>
#include "export.h"
#include "strutil.h"
#include "dassert.h"
#include "version.h"

Go to the source code of this file.

Classes

class  ustringHash
 Functor class to use as a hasher when you want to make a hash_map or hash_set using ustring as a key. More...
 

Macros

#define NULL   0
 

Functions

bool iequals (ustring a, ustring b)
 Case-insensitive comparison of ustrings. For speed, this always uses a static locale that doesn't require a mutex lock.
 
bool iequals (ustring a, const std::string &b)
 
bool iequals (const std::string &a, ustring b)
 

Variables

 OIIO_NAMESPACE_ENTER
 

Detailed Description

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

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.