libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Classes | Functions
+ Collaboration diagram for Strings:

Namespaces

 UtfConverter
 
 crn::literals
 
 crn
 

Classes

class  crn::Path
 A convenience class for file paths. More...
 
class  crn::String
 A UTF32 character string class. More...
 
class  crn::StringUTF8
 A character string class. More...
 

Functions

Path crn::operator+ (const Path &s1, const Path &s2)
 Adds two paths. More...
 
Path crn::operator/ (const Path &s1, const Path &s2)
 Adds two paths and insert directory separator between them if needed. More...
 
size_t crn::Size (Path &p) noexcept
 Size of a path. More...
 
void crn::Swap (Path &p1, Path &p2) noexcept
 Swaps two paths. More...
 
wint_t crn::ToWUpper (wint_t c)
 Transforms a character to its upper case. More...
 
wint_t crn::ToWLower (wint_t c)
 Transforms a character to its lower case. More...
 
bool crn::operator== (const StringUTF8 &s1, const StringUTF8 &s2)
 Tests equality of two strings. More...
 
bool crn::operator!= (const StringUTF8 &s1, const StringUTF8 &s2)
 Tests inequality of two strings. More...
 
bool crn::operator< (const StringUTF8 &s1, const StringUTF8 &s2)
 Compares two strings. More...
 
bool crn::operator> (const StringUTF8 &s1, const StringUTF8 &s2)
 Compares two strings. More...
 
bool crn::operator<= (const StringUTF8 &s1, const StringUTF8 &s2)
 Compares two strings. More...
 
bool crn::operator>= (const StringUTF8 &s1, const StringUTF8 &s2)
 Compares two strings. More...
 
StringUTF8 crn::operator+ (const StringUTF8 &s1, const StringUTF8 &s2)
 Adds two strings. More...
 
void crn::Swap (StringUTF8 &s1, StringUTF8 &s2) noexcept
 Swaps two strings. More...
 
size_t crn::Size (const StringUTF8 &s) noexcept
 Size of a string. More...
 

Detailed Description

Function Documentation

bool crn::operator!= ( const StringUTF8 &  s1,
const StringUTF8 &  s2 
)
inline

Tests inequality of two strings.

Definition at line 250 of file CRNStringUTF8.h.

Path crn::operator+ ( const Path &  s1,
const Path &  s2 
)
inline

Adds two paths.

Definition at line 175 of file CRNPath.h.

StringUTF8 crn::operator+ ( const StringUTF8 &  s1,
const StringUTF8 &  s2 
)
inline

Adds two strings.

Definition at line 260 of file CRNStringUTF8.h.

Path crn::operator/ ( const Path &  s1,
const Path &  s2 
)
inline

Adds two paths and insert directory separator between them if needed.

Definition at line 177 of file CRNPath.h.

bool crn::operator< ( const StringUTF8 &  s1,
const StringUTF8 &  s2 
)
inline

Compares two strings.

Definition at line 252 of file CRNStringUTF8.h.

bool crn::operator<= ( const StringUTF8 &  s1,
const StringUTF8 &  s2 
)
inline

Compares two strings.

Definition at line 256 of file CRNStringUTF8.h.

bool crn::operator== ( const StringUTF8 &  s1,
const StringUTF8 &  s2 
)
inline

Tests equality of two strings.

Definition at line 248 of file CRNStringUTF8.h.

bool crn::operator> ( const StringUTF8 &  s1,
const StringUTF8 &  s2 
)
inline

Compares two strings.

Definition at line 254 of file CRNStringUTF8.h.

bool crn::operator>= ( const StringUTF8 &  s1,
const StringUTF8 &  s2 
)
inline

Compares two strings.

Definition at line 258 of file CRNStringUTF8.h.

size_t crn::Size ( Path &  p)
inlinenoexcept

Size of a path.

Definition at line 179 of file CRNPath.h.

size_t crn::Size ( const StringUTF8 &  s)
inlinenoexcept

Size of a string.

Definition at line 266 of file CRNStringUTF8.h.

void crn::Swap ( Path &  p1,
Path &  p2 
)
inlinenoexcept

Swaps two paths.

Definition at line 181 of file CRNPath.h.

void crn::Swap ( StringUTF8 &  s1,
StringUTF8 &  s2 
)
inlinenoexcept

Swaps two strings.

Definition at line 263 of file CRNStringUTF8.h.

wint_t crn::ToWLower ( wint_t  c)
inline

Transforms a character to its lower case.

Definition at line 47 of file CRNString.h.

wint_t crn::ToWUpper ( wint_t  c)
inline

Transforms a character to its upper case.

Definition at line 45 of file CRNString.h.