Skip to content

GenICam::gcstring#

Module: GenICam / GenICam Base Module Type Definitions

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

#include <Base/GCString.h>

Public Classes#

Name
class gcwchar
Helper class for storing shared-ownership wchar_t *.

Public Functions#

Name
gcstring()
gcstring(const char * pc)
gcstring(const char * pc, size_t n)
gcstring(size_t count, char ch)
gcstring(const gcstring & str)
gcstring(const wchar_t * pBufferUTF16)
gcstring(const wchar_t * pBufferUTF16, size_t n)
virtual ~gcstring(void )
virtual gcstring & append(const gcstring & str)
virtual gcstring & append(size_t count, char ch)
virtual gcstring & assign(const gcstring & str)
virtual gcstring & assign(size_t count, char ch)
virtual gcstring & assign(const char * pc)
virtual gcstring & assign(const char * pc, size_t n)
virtual gcstring & assign(const wchar_t * pStringUTF16)
virtual gcstring & assign(const wchar_t * pStringUTF16, int n)
virtual int compare(const gcstring & str) const
virtual gcwchar w_str(void ) const
virtual const char * c_str(void ) const
virtual bool empty(void ) const
virtual size_t find(char ch, size_t offset ) const
virtual size_t find(const gcstring & str, size_t offset ) const
virtual size_t find(const gcstring & str, size_t offset, size_t count) const
virtual size_t find(const char * pc, size_t offset ) const
virtual size_t find(const char * pc, size_t offset, size_t count) const
virtual size_t length(void ) const
virtual size_t size(void ) const
virtual void resize(size_t n)
virtual size_t max_size() const
virtual gcstring substr(size_t offset , size_t count =size_t(-1)) const
virtual size_t find_first_of(const gcstring & str, size_t offset ) const
virtual size_t find_first_not_of(const gcstring & str, size_t offset ) const
virtual void swap(gcstring & Right)
bool operator!=(const gcstring & str) const
bool operator!=(const char * pc) const
gcstring & operator+=(const gcstring & str)
gcstring operator+=(const gcstring & str) const
gcstring & operator+=(const char * pc)
gcstring & operator+=(char ch)
gcstring operator+=(char ch) const
gcstring & operator=(const gcstring & str)
gcstring & operator=(const wchar_t * pStringUTF16)
bool operator==(const gcstring & str) const
bool operator==(const char * pc) const
bool operator<(const gcstring & str) const
bool operator>(const gcstring & str) 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)
size_t _npos(void )

Public Attributes#

Name
const size_t npos

Friends#

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

Public Functions Documentation#

gcstring#

gcstring()

gcstring#

gcstring(
    const char * pc
)

gcstring#

gcstring(
    const char * pc,
    size_t n
)

gcstring#

gcstring(
    size_t count,
    char ch
)

gcstring#

gcstring(
    const gcstring & str
)

gcstring#

explicit gcstring(
    const wchar_t * pBufferUTF16
)

gcstring#

gcstring(
    const wchar_t * pBufferUTF16,
    size_t n
)

~gcstring#

virtual ~gcstring(
    void 
)

append#

virtual gcstring & append(
    const gcstring & str
)

append#

virtual gcstring & append(
    size_t count,
    char ch
)

assign#

virtual gcstring & assign(
    const gcstring & str
)

assign#

virtual gcstring & assign(
    size_t count,
    char ch
)

assign#

virtual gcstring & assign(
    const char * pc
)

assign#

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

assign#

virtual gcstring & assign(
    const wchar_t * pStringUTF16
)

assign#

virtual gcstring & assign(
    const wchar_t * pStringUTF16,
    int n
)

compare#

virtual int compare(
    const gcstring & str
) const

w_str#

virtual gcwchar w_str(
    void 
) const

c_str#

virtual const char * c_str(
    void 
) const

empty#

virtual bool empty(
    void 
) const

find#

virtual size_t find(
    char ch,
    size_t offset 
) const

find#

virtual size_t find(
    const gcstring & str,
    size_t offset 
) const

find#

virtual size_t find(
    const gcstring & str,
    size_t offset,
    size_t count
) const

find#

virtual size_t find(
    const char * pc,
    size_t offset 
) const

find#

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

length#

virtual size_t length(
    void 
) const

size#

virtual size_t size(
    void 
) const

resize#

virtual void resize(
    size_t n
)

max_size#

virtual size_t max_size() const

substr#

virtual gcstring substr(
    size_t offset ,
    size_t count =size_t(-1)
) const

find_first_of#

virtual size_t find_first_of(
    const gcstring & str,
    size_t offset 
) const

find_first_not_of#

virtual size_t find_first_not_of(
    const gcstring & str,
    size_t offset 
) const

swap#

virtual void swap(
    gcstring & Right
)

operator!=#

bool operator!=(
    const gcstring & str
) const

operator!=#

bool operator!=(
    const char * pc
) const

operator+=#

gcstring & operator+=(
    const gcstring & str
)

operator+=#

gcstring operator+=(
    const gcstring & str
) const

operator+=#

gcstring & operator+=(
    const char * pc
)

operator+=#

gcstring & operator+=(
    char ch
)

operator+=#

gcstring operator+=(
    char ch
) const

operator=#

gcstring & operator=(
    const gcstring & str
)

operator=#

gcstring & operator=(
    const wchar_t * pStringUTF16
)

operator==#

bool operator==(
    const gcstring & str
) const

operator==#

bool operator==(
    const char * pc
) const

operator<#

bool operator<(
    const gcstring & str
) const

operator>#

bool operator>(
    const gcstring & str
) const

operator const char *#

operator const char *(
    void 
) const

operator delete#

void operator delete(
    void * pWhere
)

operator delete#

void operator delete(
    void * pWhere,
    void * pNewWhere
)

operator new#

void * operator new(
    size_t uiSize
)

operator new#

void * operator new(
    size_t uiSize,
    void * pWhere
)

_npos#

static size_t _npos(
    void 
)

Public Attributes Documentation#

npos#

static const size_t npos;

Friends#

friend operator+#

friend gcstring operator+(
    const gcstring & left,

    const gcstring & right
);

friend operator+#

friend gcstring operator+(
    const gcstring & left,

    const char * right
);

friend operator+#

friend gcstring operator+(
    const char * left,

    const gcstring & right
);

Updated on 5 July 2022 at 15:30:01