Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::StringDataPtr Class Reference

#include "OVR_String.h"

Collaboration diagram for OVR::StringDataPtr:
Collaboration graph

Data Structures

struct  HashFunctor
 

Public Member Functions

 StringDataPtr ()
 
 StringDataPtr (const StringDataPtr &p)
 
 StringDataPtr (const char *pstr, UPInt sz)
 
 StringDataPtr (const char *pstr)
 
 StringDataPtr (const String &str)
 
template<typename T , int N>
 StringDataPtr (const T(&v)[N])
 
const char * ToCStr () const
 
UPInt GetSize () const
 
bool IsEmpty () const
 
bool IsPrefix (const StringDataPtr &value) const
 
bool IsSuffix (const StringDataPtr &value) const
 
SPInt FindChar (char c, UPInt init_ind=0) const
 
SPInt FindLastChar (char c, UPInt init_ind=~0) const
 
StringDataPtr GetTrimLeft (UPInt size) const
 
StringDataPtr GetTrimRight (UPInt size) const
 
StringDataPtr GetNextToken (char separator= ':') const
 
StringDataPtrTrimLeft (UPInt size)
 
StringDataPtrTrimRight (UPInt size)
 
const char * Begin () const
 
const char * End () const
 
bool operator== (const StringDataPtr &data) const
 

Protected Attributes

const char * pStr
 
UPInt Size
 

Detailed Description

Definition at line 517 of file OVR_String.h.

Constructor & Destructor Documentation

OVR::StringDataPtr::StringDataPtr ( )
inline

Definition at line 520 of file OVR_String.h.

OVR::StringDataPtr::StringDataPtr ( const StringDataPtr p)
inline

Definition at line 521 of file OVR_String.h.

OVR::StringDataPtr::StringDataPtr ( const char *  pstr,
UPInt  sz 
)
inline

Definition at line 523 of file OVR_String.h.

OVR::StringDataPtr::StringDataPtr ( const char *  pstr)
inline

Definition at line 525 of file OVR_String.h.

OVR::StringDataPtr::StringDataPtr ( const String str)
inlineexplicit

Definition at line 527 of file OVR_String.h.

template<typename T , int N>
OVR::StringDataPtr::StringDataPtr ( const T(&)  v[N])
inline

Definition at line 530 of file OVR_String.h.

Member Function Documentation

const char* OVR::StringDataPtr::Begin ( ) const
inline

Definition at line 633 of file OVR_String.h.

const char* OVR::StringDataPtr::End ( ) const
inline

Definition at line 634 of file OVR_String.h.

SPInt OVR::StringDataPtr::FindChar ( char  c,
UPInt  init_ind = 0 
) const
inline

Definition at line 553 of file OVR_String.h.

SPInt OVR::StringDataPtr::FindLastChar ( char  c,
UPInt  init_ind = ~0 
) const
inline

Definition at line 564 of file OVR_String.h.

StringDataPtr OVR::StringDataPtr::GetNextToken ( char  separator = ':') const
inline

Definition at line 597 of file OVR_String.h.

UPInt OVR::StringDataPtr::GetSize ( void  ) const
inline

Definition at line 535 of file OVR_String.h.

StringDataPtr OVR::StringDataPtr::GetTrimLeft ( UPInt  size) const
inline

Definition at line 579 of file OVR_String.h.

StringDataPtr OVR::StringDataPtr::GetTrimRight ( UPInt  size) const
inline

Definition at line 587 of file OVR_String.h.

bool OVR::StringDataPtr::IsEmpty ( void  ) const
inline

Definition at line 536 of file OVR_String.h.

bool OVR::StringDataPtr::IsPrefix ( const StringDataPtr value) const
inline

Definition at line 540 of file OVR_String.h.

bool OVR::StringDataPtr::IsSuffix ( const StringDataPtr value) const
inline

Definition at line 546 of file OVR_String.h.

bool OVR::StringDataPtr::operator== ( const StringDataPtr data) const
inline

Definition at line 645 of file OVR_String.h.

const char* OVR::StringDataPtr::ToCStr ( ) const
inline

Definition at line 534 of file OVR_String.h.

StringDataPtr& OVR::StringDataPtr::TrimLeft ( UPInt  size)
inline

Definition at line 614 of file OVR_String.h.

StringDataPtr& OVR::StringDataPtr::TrimRight ( UPInt  size)
inline

Definition at line 624 of file OVR_String.h.

Field Documentation

const char* OVR::StringDataPtr::pStr
protected

Definition at line 651 of file OVR_String.h.

UPInt OVR::StringDataPtr::Size
protected

Definition at line 652 of file OVR_String.h.


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