GENICAM_NAMESPACE::gcstring Class Reference

A string class which is a clone of std::string. More...

#include <GCString.h>

Public Member Functions

virtual gcstringappend (const gcstring &str)
 
virtual gcstringappend (size_t count, char ch)
 
virtual gcstringassign (const char *pc)
 
virtual gcstringassign (const char *pc, size_t n)
 
virtual gcstringassign (const gcstring &str)
 
virtual gcstringassign (size_t count, char ch)
 
virtual const char * c_str (void) const
 
virtual int compare (const gcstring &str) const
 
virtual bool empty (void) const
 
virtual gcstringerase (size_t pos, size_t len=GCSTRING_NPOS)
 
virtual size_t find (char ch, size_t offset=0) const
 
virtual size_t find (const char *pc, size_t offset, size_t count) const
 
virtual size_t find (const char *pc, size_t offset=0) const
 
virtual size_t find (const gcstring &str, size_t offset, size_t count) const
 
virtual size_t find (const gcstring &str, size_t offset=0) const
 
virtual size_t find_first_not_of (const gcstring &str, size_t offset=0) const
 
virtual size_t find_first_of (const gcstring &str, size_t offset=0) const
 
virtual size_t find_last_not_of (char c, size_t offset=GCSTRING_NPOS) const
 
virtual size_t find_last_not_of (const gcstring &str, size_t offset=GCSTRING_NPOS) const
 
virtual size_t find_last_of (char c, size_t offset=GCSTRING_NPOS) const
 
virtual size_t find_last_of (const gcstring &str, size_t offset=GCSTRING_NPOS) const
 
 gcstring ()
 
 gcstring (const char *pc)
 
 gcstring (const char *pc, size_t n)
 
 gcstring (const gcstring &str)
 
 gcstring (size_t count, char ch)
 
virtual size_t length (void) const
 
virtual size_t max_size () const
 
 operator const char * (void) const
 
void operator delete (void *pWhere)
 
void operator delete (void *pWhere, void *pNewWhere)
 
void * operator new (size_t uiSize)
 
void * operator new (size_t uiSize, void *pWhere)
 
bool operator!= (const char *pc) const
 
bool operator!= (const gcstring &str) const
 
gcstringoperator+= (char ch)
 
gcstring operator+= (char ch) const
 
gcstringoperator+= (const char *pc)
 
gcstringoperator+= (const gcstring &str)
 
gcstring operator+= (const gcstring &str) const
 
bool operator< (const gcstring &str) const
 
gcstringoperator= (const gcstring &str)
 
bool operator== (const char *pc) const
 
bool operator== (const gcstring &str) const
 
bool operator> (const gcstring &str) const
 
virtual void reserve (size_t n=0)
 
virtual void resize (size_t n)
 
virtual size_t size (void) const
 
virtual gcstring substr (size_t offset=0, size_t count=GCSTRING_NPOS) const
 
virtual void swap (gcstring &Right)
 
virtual ~gcstring (void)
 

Static Public Member Functions

static size_t _npos (void)
 

Static Public Attributes

static const size_t npos
 

Private Attributes

uint8_t m_opaqueData [64]
 
const char * m_psz
 

Friends

GCBASE_API friend gcstring operator+ (const char *left, const gcstring &right)
 
GCBASE_API friend gcstring operator+ (const gcstring &left, const char *right)
 
GCBASE_API friend gcstring operator+ (const gcstring &left, const gcstring &right)
 

Detailed Description

A string class which is a clone of std::string.

Definition at line 52 of file GCString.h.

Constructor & Destructor Documentation

◆ gcstring() [1/5]

GENICAM_NAMESPACE::gcstring::gcstring ( )

◆ gcstring() [2/5]

GENICAM_NAMESPACE::gcstring::gcstring ( const char *  pc)

◆ gcstring() [3/5]

GENICAM_NAMESPACE::gcstring::gcstring ( const char *  pc,
size_t  n 
)

◆ gcstring() [4/5]

GENICAM_NAMESPACE::gcstring::gcstring ( size_t  count,
char  ch 
)

◆ gcstring() [5/5]

GENICAM_NAMESPACE::gcstring::gcstring ( const gcstring str)

◆ ~gcstring()

virtual GENICAM_NAMESPACE::gcstring::~gcstring ( void  )
virtual

Member Function Documentation

◆ _npos()

static size_t GENICAM_NAMESPACE::gcstring::_npos ( void  )
static

◆ append() [1/2]

virtual gcstring& GENICAM_NAMESPACE::gcstring::append ( const gcstring str)
virtual

◆ append() [2/2]

virtual gcstring& GENICAM_NAMESPACE::gcstring::append ( size_t  count,
char  ch 
)
virtual

◆ assign() [1/4]

virtual gcstring& GENICAM_NAMESPACE::gcstring::assign ( const char *  pc)
virtual

◆ assign() [2/4]

virtual gcstring& GENICAM_NAMESPACE::gcstring::assign ( const char *  pc,
size_t  n 
)
virtual

◆ assign() [3/4]

virtual gcstring& GENICAM_NAMESPACE::gcstring::assign ( const gcstring str)
virtual

◆ assign() [4/4]

virtual gcstring& GENICAM_NAMESPACE::gcstring::assign ( size_t  count,
char  ch 
)
virtual

◆ c_str()

virtual const char* GENICAM_NAMESPACE::gcstring::c_str ( void  ) const
virtual

◆ compare()

virtual int GENICAM_NAMESPACE::gcstring::compare ( const gcstring str) const
virtual

◆ empty()

virtual bool GENICAM_NAMESPACE::gcstring::empty ( void  ) const
virtual

◆ erase()

virtual gcstring& GENICAM_NAMESPACE::gcstring::erase ( size_t  pos,
size_t  len = GCSTRING_NPOS 
)
virtual

◆ find() [1/5]

virtual size_t GENICAM_NAMESPACE::gcstring::find ( char  ch,
size_t  offset = 0 
) const
virtual

◆ find() [2/5]

virtual size_t GENICAM_NAMESPACE::gcstring::find ( const char *  pc,
size_t  offset,
size_t  count 
) const
virtual

◆ find() [3/5]

virtual size_t GENICAM_NAMESPACE::gcstring::find ( const char *  pc,
size_t  offset = 0 
) const
virtual

◆ find() [4/5]

virtual size_t GENICAM_NAMESPACE::gcstring::find ( const gcstring str,
size_t  offset,
size_t  count 
) const
virtual

◆ find() [5/5]

virtual size_t GENICAM_NAMESPACE::gcstring::find ( const gcstring str,
size_t  offset = 0 
) const
virtual

◆ find_first_not_of()

virtual size_t GENICAM_NAMESPACE::gcstring::find_first_not_of ( const gcstring str,
size_t  offset = 0 
) const
virtual

◆ find_first_of()

virtual size_t GENICAM_NAMESPACE::gcstring::find_first_of ( const gcstring str,
size_t  offset = 0 
) const
virtual

◆ find_last_not_of() [1/2]

virtual size_t GENICAM_NAMESPACE::gcstring::find_last_not_of ( char  c,
size_t  offset = GCSTRING_NPOS 
) const
virtual

◆ find_last_not_of() [2/2]

virtual size_t GENICAM_NAMESPACE::gcstring::find_last_not_of ( const gcstring str,
size_t  offset = GCSTRING_NPOS 
) const
virtual

◆ find_last_of() [1/2]

virtual size_t GENICAM_NAMESPACE::gcstring::find_last_of ( char  c,
size_t  offset = GCSTRING_NPOS 
) const
virtual

◆ find_last_of() [2/2]

virtual size_t GENICAM_NAMESPACE::gcstring::find_last_of ( const gcstring str,
size_t  offset = GCSTRING_NPOS 
) const
virtual

◆ length()

virtual size_t GENICAM_NAMESPACE::gcstring::length ( void  ) const
virtual

◆ max_size()

virtual size_t GENICAM_NAMESPACE::gcstring::max_size ( ) const
virtual

◆ operator const char *()

GENICAM_NAMESPACE::gcstring::operator const char * ( void  ) const

◆ operator delete() [1/2]

void GENICAM_NAMESPACE::gcstring::operator delete ( void *  pWhere)

◆ operator delete() [2/2]

void GENICAM_NAMESPACE::gcstring::operator delete ( void *  pWhere,
void *  pNewWhere 
)

◆ operator new() [1/2]

void* GENICAM_NAMESPACE::gcstring::operator new ( size_t  uiSize)

◆ operator new() [2/2]

void* GENICAM_NAMESPACE::gcstring::operator new ( size_t  uiSize,
void *  pWhere 
)

◆ operator!=() [1/2]

bool GENICAM_NAMESPACE::gcstring::operator!= ( const char *  pc) const

◆ operator!=() [2/2]

bool GENICAM_NAMESPACE::gcstring::operator!= ( const gcstring str) const

◆ operator+=() [1/5]

gcstring& GENICAM_NAMESPACE::gcstring::operator+= ( char  ch)

◆ operator+=() [2/5]

gcstring GENICAM_NAMESPACE::gcstring::operator+= ( char  ch) const

◆ operator+=() [3/5]

gcstring& GENICAM_NAMESPACE::gcstring::operator+= ( const char *  pc)

◆ operator+=() [4/5]

gcstring& GENICAM_NAMESPACE::gcstring::operator+= ( const gcstring str)

◆ operator+=() [5/5]

gcstring GENICAM_NAMESPACE::gcstring::operator+= ( const gcstring str) const

◆ operator<()

bool GENICAM_NAMESPACE::gcstring::operator< ( const gcstring str) const

◆ operator=()

gcstring& GENICAM_NAMESPACE::gcstring::operator= ( const gcstring str)

◆ operator==() [1/2]

bool GENICAM_NAMESPACE::gcstring::operator== ( const char *  pc) const

◆ operator==() [2/2]

bool GENICAM_NAMESPACE::gcstring::operator== ( const gcstring str) const

◆ operator>()

bool GENICAM_NAMESPACE::gcstring::operator> ( const gcstring str) const

◆ reserve()

virtual void GENICAM_NAMESPACE::gcstring::reserve ( size_t  n = 0)
virtual

◆ resize()

virtual void GENICAM_NAMESPACE::gcstring::resize ( size_t  n)
virtual

◆ size()

virtual size_t GENICAM_NAMESPACE::gcstring::size ( void  ) const
virtual

◆ substr()

virtual gcstring GENICAM_NAMESPACE::gcstring::substr ( size_t  offset = 0,
size_t  count = GCSTRING_NPOS 
) const
virtual

◆ swap()

virtual void GENICAM_NAMESPACE::gcstring::swap ( gcstring Right)
virtual

Friends And Related Function Documentation

◆ operator+ [1/3]

GCBASE_API friend gcstring operator+ ( const char *  left,
const gcstring right 
)
friend

◆ operator+ [2/3]

GCBASE_API friend gcstring operator+ ( const gcstring left,
const char *  right 
)
friend

◆ operator+ [3/3]

GCBASE_API friend gcstring operator+ ( const gcstring left,
const gcstring right 
)
friend

Member Data Documentation

◆ m_opaqueData

uint8_t GENICAM_NAMESPACE::gcstring::m_opaqueData[64]
private

Definition at line 176 of file GCString.h.

◆ m_psz

const char* GENICAM_NAMESPACE::gcstring::m_psz
private

Definition at line 174 of file GCString.h.

◆ npos

const size_t GENICAM_NAMESPACE::gcstring::npos
static

Definition at line 183 of file GCString.h.


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


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Nov 22 2023 03:12:06