Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
ON_wString Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_string.h>

+ Inheritance diagram for ON_wString:

Public Member Functions

 ON_wString ()
 
 ON_wString (const ON_wString &)
 
 ON_wString (const ON_String &src)
 
 ON_wString (const char *src)
 
 ON_wString (const char *src, int)
 
 ON_wString (char, int=1)
 
 ON_wString (const unsigned char *src)
 
 ON_wString (const unsigned char *src, int)
 
 ON_wString (unsigned char, int=1)
 
 ON_wString (const wchar_t *)
 
 ON_wString (const wchar_t *, int)
 
 ON_wString (wchar_t, int=1)
 
void Create ()
 
void Destroy ()
 
void EmergencyDestroy ()
 
void EnableReferenceCounting (bool bEnable)
 
bool IsReferenceCounted () const
 
int Length () const
 
bool IsEmpty () const
 
void Empty ()
 
wchar_t & operator[] (int)
 
wchar_t operator[] (int) const
 
wchar_t GetAt (int) const
 
void SetAt (int, char)
 
void SetAt (int, unsigned char)
 
void SetAt (int, wchar_t)
 
 operator const wchar_t * () const
 
const ON_wStringoperator= (const ON_wString &)
 
const ON_wStringoperator= (const ON_String &src)
 
const ON_wStringoperator= (char)
 
const ON_wStringoperator= (const char *src)
 
const ON_wStringoperator= (unsigned char)
 
const ON_wStringoperator= (const unsigned char *src)
 
const ON_wStringoperator= (wchar_t)
 
const ON_wStringoperator= (const wchar_t *)
 
void Append (const char *sUTF8, int)
 
void Append (const unsigned char *sUTF8, int)
 
void Append (const wchar_t *, int)
 
const ON_wStringoperator+= (const ON_wString &)
 
const ON_wStringoperator+= (const ON_String &sUTF8)
 
const ON_wStringoperator+= (char)
 
const ON_wStringoperator+= (unsigned char)
 
const ON_wStringoperator+= (wchar_t)
 
const ON_wStringoperator+= (const char *sUTF8)
 
const ON_wStringoperator+= (const unsigned char *sUTF8)
 
const ON_wStringoperator+= (const wchar_t *)
 
ON_wString operator+ (const ON_wString &) const
 
ON_wString operator+ (const ON_String &sUTF8) const
 
ON_wString operator+ (char) const
 
ON_wString operator+ (unsigned char) const
 
ON_wString operator+ (wchar_t) const
 
ON_wString operator+ (const char *sUTF8) const
 
ON_wString operator+ (const unsigned char *sUTF8) const
 
ON_wString operator+ (const wchar_t *) const
 
bool operator== (const ON_wString &) const
 
bool operator== (const wchar_t *) const
 
bool operator!= (const ON_wString &) const
 
bool operator!= (const wchar_t *) const
 
bool operator< (const ON_wString &) const
 
bool operator< (const wchar_t *) const
 
bool operator> (const ON_wString &) const
 
bool operator> (const wchar_t *) const
 
bool operator<= (const ON_wString &) const
 
bool operator<= (const wchar_t *) const
 
bool operator>= (const ON_wString &) const
 
bool operator>= (const wchar_t *) const
 
int Compare (const char *sUTF8) const
 
int Compare (const unsigned char *sUTF8) const
 
int Compare (const wchar_t *) const
 
int CompareNoCase (const char *sUTF8) const
 
int CompareNoCase (const unsigned char *sUTF8) const
 
int CompareNoCase (const wchar_t *) const
 
bool WildCardMatch (const wchar_t *) const
 
bool WildCardMatchNoCase (const wchar_t *) const
 
int Replace (const wchar_t *token1, const wchar_t *token2)
 
int Replace (wchar_t token1, wchar_t token2)
 
void UrlEncode ()
 
bool UrlDecode ()
 
int ReplaceWhiteSpace (wchar_t token, const wchar_t *whitespace=0)
 
int RemoveWhiteSpace (const wchar_t *whitespace=0)
 
ON_wString Mid (int, int) const
 
ON_wString Mid (int) const
 
ON_wString Left (int) const
 
ON_wString Right (int) const
 
void MakeUpper ()
 
void MakeLower ()
 
void MakeReverse ()
 
void TrimLeft (const wchar_t *=NULL)
 
void TrimRight (const wchar_t *=NULL)
 
void TrimLeftAndRight (const wchar_t *=NULL)
 
int Remove (wchar_t c)
 
int Find (char) const
 
int Find (unsigned char) const
 
int Find (wchar_t) const
 
int ReverseFind (char) const
 
int ReverseFind (unsigned char) const
 
int ReverseFind (wchar_t) const
 
int Find (const char *) const
 
int Find (const unsigned char *) const
 
int Find (const wchar_t *) const
 
void ON_MSC_CDECL Format (const char *,...)
 
void ON_MSC_CDECL Format (const unsigned char *,...)
 
void ON_MSC_CDECL Format (const wchar_t *,...)
 
void ReserveArray (size_t)
 
void ShrinkArray ()
 
void SetLength (size_t)
 
wchar_t * Array ()
 
const wchar_t * Array () const
 
unsigned int SizeOf () const
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
ON__UINT32 DataCRCLower (ON__UINT32 current_remainder) const
 
 ~ON_wString ()
 

Static Public Member Functions

static void SplitPath (const char *path, ON_wString *drive, ON_wString *dir, ON_wString *fname, ON_wString *ext)
 
static void SplitPath (const wchar_t *path, ON_wString *drive, ON_wString *dir, ON_wString *fname, ON_wString *ext)
 

Protected Member Functions

struct ON_wStringHeader * Header () const
 
void CreateArray (int)
 
void CopyArray ()
 
void CopyToArray (const ON_wString &)
 
void CopyToArray (int, const char *)
 
void CopyToArray (int, const unsigned char *)
 
void CopyToArray (int, const wchar_t *)
 
void AppendToArray (const ON_wString &)
 
void AppendToArray (int, const char *)
 
void AppendToArray (int, const unsigned char *)
 
void AppendToArray (int, const wchar_t *)
 

Static Protected Member Functions

static int Length (const char *)
 
static int Length (const unsigned char *)
 
static int Length (const wchar_t *)
 

Protected Attributes

wchar_t * m_s
 

Detailed Description

Definition at line 700 of file opennurbs_string.h.

Constructor & Destructor Documentation

ON_wString::ON_wString ( )
ON_wString::ON_wString ( const ON_wString )
ON_wString::ON_wString ( const ON_String src)
ON_wString::ON_wString ( const char *  src)
ON_wString::ON_wString ( const char *  src,
int   
)
ON_wString::ON_wString ( char  ,
int  = 1 
)
ON_wString::ON_wString ( const unsigned char *  src)
ON_wString::ON_wString ( const unsigned char *  src,
int   
)
ON_wString::ON_wString ( unsigned  char,
int  = 1 
)
ON_wString::ON_wString ( const wchar_t *  )
ON_wString::ON_wString ( const wchar_t *  ,
int   
)
ON_wString::ON_wString ( wchar_t  ,
int  = 1 
)
ON_wString::~ON_wString ( )

Member Function Documentation

void ON_wString::Append ( const char *  sUTF8,
int   
)
void ON_wString::Append ( const unsigned char *  sUTF8,
int   
)
void ON_wString::Append ( const wchar_t *  ,
int   
)
void ON_wString::AppendToArray ( const ON_wString )
protected
void ON_wString::AppendToArray ( int  ,
const char *   
)
protected
void ON_wString::AppendToArray ( int  ,
const unsigned char *   
)
protected
void ON_wString::AppendToArray ( int  ,
const wchar_t *   
)
protected
wchar_t* ON_wString::Array ( )
const wchar_t* ON_wString::Array ( ) const
int ON_wString::Compare ( const char *  sUTF8) const
int ON_wString::Compare ( const unsigned char *  sUTF8) const
int ON_wString::Compare ( const wchar_t *  ) const
int ON_wString::CompareNoCase ( const char *  sUTF8) const
int ON_wString::CompareNoCase ( const unsigned char *  sUTF8) const
int ON_wString::CompareNoCase ( const wchar_t *  ) const
void ON_wString::CopyArray ( )
protected
void ON_wString::CopyToArray ( const ON_wString )
protected
void ON_wString::CopyToArray ( int  ,
const char *   
)
protected
void ON_wString::CopyToArray ( int  ,
const unsigned char *   
)
protected
void ON_wString::CopyToArray ( int  ,
const wchar_t *   
)
protected
void ON_wString::Create ( )
void ON_wString::CreateArray ( int  )
protected
ON__UINT32 ON_wString::DataCRC ( ON__UINT32  current_remainder) const
ON__UINT32 ON_wString::DataCRCLower ( ON__UINT32  current_remainder) const
void ON_wString::Destroy ( )
void ON_wString::EmergencyDestroy ( )
void ON_wString::Empty ( )
void ON_wString::EnableReferenceCounting ( bool  bEnable)
int ON_wString::Find ( char  ) const
int ON_wString::Find ( unsigned  char) const
int ON_wString::Find ( wchar_t  ) const
int ON_wString::Find ( const char *  ) const
int ON_wString::Find ( const unsigned char *  ) const
int ON_wString::Find ( const wchar_t *  ) const
void ON_MSC_CDECL ON_wString::Format ( const char *  ,
  ... 
)
void ON_MSC_CDECL ON_wString::Format ( const unsigned char *  ,
  ... 
)
void ON_MSC_CDECL ON_wString::Format ( const wchar_t *  ,
  ... 
)
wchar_t ON_wString::GetAt ( int  ) const
struct ON_wStringHeader* ON_wString::Header ( ) const
protected
bool ON_wString::IsEmpty ( ) const
bool ON_wString::IsReferenceCounted ( ) const
ON_wString ON_wString::Left ( int  ) const
int ON_wString::Length ( ) const
static int ON_wString::Length ( const char *  )
staticprotected
static int ON_wString::Length ( const unsigned char *  )
staticprotected
static int ON_wString::Length ( const wchar_t *  )
staticprotected
void ON_wString::MakeLower ( )
void ON_wString::MakeReverse ( )
void ON_wString::MakeUpper ( )
ON_wString ON_wString::Mid ( int  ,
int   
) const
ON_wString ON_wString::Mid ( int  ) const
ON_wString::operator const wchar_t * ( ) const
bool ON_wString::operator!= ( const ON_wString ) const
bool ON_wString::operator!= ( const wchar_t *  ) const
ON_wString ON_wString::operator+ ( const ON_wString ) const
ON_wString ON_wString::operator+ ( const ON_String sUTF8) const
ON_wString ON_wString::operator+ ( char  ) const
ON_wString ON_wString::operator+ ( unsigned  char) const
ON_wString ON_wString::operator+ ( wchar_t  ) const
ON_wString ON_wString::operator+ ( const char *  sUTF8) const
ON_wString ON_wString::operator+ ( const unsigned char *  sUTF8) const
ON_wString ON_wString::operator+ ( const wchar_t *  ) const
const ON_wString& ON_wString::operator+= ( const ON_wString )
const ON_wString& ON_wString::operator+= ( const ON_String sUTF8)
const ON_wString& ON_wString::operator+= ( char  )
const ON_wString& ON_wString::operator+= ( unsigned  char)
const ON_wString& ON_wString::operator+= ( wchar_t  )
const ON_wString& ON_wString::operator+= ( const char *  sUTF8)
const ON_wString& ON_wString::operator+= ( const unsigned char *  sUTF8)
const ON_wString& ON_wString::operator+= ( const wchar_t *  )
bool ON_wString::operator< ( const ON_wString ) const
bool ON_wString::operator< ( const wchar_t *  ) const
bool ON_wString::operator<= ( const ON_wString ) const
bool ON_wString::operator<= ( const wchar_t *  ) const
const ON_wString& ON_wString::operator= ( const ON_wString )
const ON_wString& ON_wString::operator= ( const ON_String src)
const ON_wString& ON_wString::operator= ( char  )
const ON_wString& ON_wString::operator= ( const char *  src)
const ON_wString& ON_wString::operator= ( unsigned  char)
const ON_wString& ON_wString::operator= ( const unsigned char *  src)
const ON_wString& ON_wString::operator= ( wchar_t  )
const ON_wString& ON_wString::operator= ( const wchar_t *  )
bool ON_wString::operator== ( const ON_wString ) const
bool ON_wString::operator== ( const wchar_t *  ) const
bool ON_wString::operator> ( const ON_wString ) const
bool ON_wString::operator> ( const wchar_t *  ) const
bool ON_wString::operator>= ( const ON_wString ) const
bool ON_wString::operator>= ( const wchar_t *  ) const
wchar_t& ON_wString::operator[] ( int  )
wchar_t ON_wString::operator[] ( int  ) const
int ON_wString::Remove ( wchar_t  c)
int ON_wString::RemoveWhiteSpace ( const wchar_t *  whitespace = 0)
int ON_wString::Replace ( const wchar_t *  token1,
const wchar_t *  token2 
)
int ON_wString::Replace ( wchar_t  token1,
wchar_t  token2 
)
int ON_wString::ReplaceWhiteSpace ( wchar_t  token,
const wchar_t *  whitespace = 0 
)
void ON_wString::ReserveArray ( size_t  )
int ON_wString::ReverseFind ( char  ) const
int ON_wString::ReverseFind ( unsigned  char) const
int ON_wString::ReverseFind ( wchar_t  ) const
ON_wString ON_wString::Right ( int  ) const
void ON_wString::SetAt ( int  ,
char   
)
void ON_wString::SetAt ( int  ,
unsigned  char 
)
void ON_wString::SetAt ( int  ,
wchar_t   
)
void ON_wString::SetLength ( size_t  )
void ON_wString::ShrinkArray ( )
unsigned int ON_wString::SizeOf ( ) const
static void ON_wString::SplitPath ( const char *  path,
ON_wString drive,
ON_wString dir,
ON_wString fname,
ON_wString ext 
)
static
static void ON_wString::SplitPath ( const wchar_t *  path,
ON_wString drive,
ON_wString dir,
ON_wString fname,
ON_wString ext 
)
static
void ON_wString::TrimLeft ( const wchar_t *  = NULL)
void ON_wString::TrimLeftAndRight ( const wchar_t *  = NULL)
void ON_wString::TrimRight ( const wchar_t *  = NULL)
bool ON_wString::UrlDecode ( )
void ON_wString::UrlEncode ( )
bool ON_wString::WildCardMatch ( const wchar_t *  ) const
bool ON_wString::WildCardMatchNoCase ( const wchar_t *  ) const

Member Data Documentation

wchar_t* ON_wString::m_s
protected

Definition at line 1048 of file opennurbs_string.h.


The documentation for this class was generated from the following file: