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_String Class Reference

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

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

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

Static Protected Member Functions

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

Protected Attributes

char * m_s
 

Detailed Description

Definition at line 405 of file opennurbs_string.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

char* ON_String::m_s
protected

Definition at line 673 of file opennurbs_string.h.


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