OROCHI
 
Loading...
Searching...
No Matches
GxString.h File Reference

文字列型クラス More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GxString
 文字列型クラス More...
 
struct  GxString::GxTokenizer
 トークン操作クラス More...
 
struct  GxStringW
 ワイド文字列型クラス(UTF-16用) More...
 

Macros

#define GX_STRLEN(__STRING__)
 文字列の長さ取得
 
#define GX_WCSLEN(__STRING__)
 ワイド文字列の長さ取得
 
#define GX_STRCAT(__DST__, __SRC__)
 文字列の結合
 
#define GX_STRNCAT(__DST__, __SRC__, __LENGTH__)
 文字列の結合
 
#define GX_STRCPY(__DST__, __SRC__)
 文字列のコピー
 
#define GX_STRNCPY(__DST__, __SRC__, __LENGTH__)
 文字列のコピー(長さ指定)
 
#define GX_STRCMP(__STRING0__, __STRING1__)
 文字列比較
 
#define GX_STRICMP(__STRING0__, __STRING1__)
 文字列比較(大文字、小文字の区別なし)
 
#define GX_STRNCMP(__STRING0__, __STRING1__, __LENGTH__)
 文字列比較(長さ指定)
 
#define GX_STRNICMP(__STRING0__, __STRING1__, __LENGTH__)
 文字列比較(大文字、小文字の区別なし、長さ指定)
 
#define GX_WSTRCMP(__STRING0__, __STRING1__)
 ワイド文字列比較
 
#define GX_WSTRICMP(__STRING0__, __STRING1__)
 ワイド文字列比較(大文字、小文字の区別なし)
 

Detailed Description

文字列型クラス

Author
Copyright (C)2009 SiliconStudio Inc. All rights reserved.
Tahir Arai

Macro Definition Documentation

◆ GX_STRCAT

#define GX_STRCAT ( __DST__,
__SRC__ )
Value:
GxString::concatenate(__DST__, __SRC__)
static GX_STR concatenate(GX_STR dst, GX_CSTR src)
結合
Definition GxString.cpp:807

文字列の結合

◆ GX_STRCMP

#define GX_STRCMP ( __STRING0__,
__STRING1__ )
Value:
GxString::compare(__STRING0__, __STRING1__)
GX_FORCE_INLINE s32 compare(GX_CSTR string) const
比較
Definition GxString.h:215

文字列比較

◆ GX_STRCPY

#define GX_STRCPY ( __DST__,
__SRC__ )
Value:
GxString::copy(__DST__, __SRC__)
static GX_STR copy(GX_STR dst, GX_CSTR src)
コピー
Definition GxString.cpp:784

文字列のコピー

◆ GX_STRICMP

#define GX_STRICMP ( __STRING0__,
__STRING1__ )
Value:
GxString::icompare(__STRING0__, __STRING1__)
GX_FORCE_INLINE s32 icompare(GX_CSTR string) const
比較(大文字、小文字の区別なし)
Definition GxString.h:221

文字列比較(大文字、小文字の区別なし)

◆ GX_STRLEN

#define GX_STRLEN ( __STRING__)
Value:
constexpr u32 getLength(void) const
文字列の長さを取得
Definition GxString.h:119

文字列の長さ取得

◆ GX_STRNCAT

#define GX_STRNCAT ( __DST__,
__SRC__,
__LENGTH__ )
Value:
GxString::nconcatenate(__DST__, __SRC__, __LENGTH__)
static GX_STR nconcatenate(GX_STR dst, GX_CSTR src, u32 length)
結合(長さ指定)
Definition GxString.cpp:819

文字列の結合

◆ GX_STRNCMP

#define GX_STRNCMP ( __STRING0__,
__STRING1__,
__LENGTH__ )
Value:
GxString::ncompare(__STRING0__, __STRING1__, __LENGTH__)
static GX_FORCE_INLINE s32 ncompare(GX_CSTR string0, GX_CSTR string1, u32 length)
比較(長さ指定)
Definition GxString.h:227

文字列比較(長さ指定)

◆ GX_STRNCPY

#define GX_STRNCPY ( __DST__,
__SRC__,
__LENGTH__ )
Value:
GxString::ncopy(__DST__, __SRC__, __LENGTH__)
static GX_STR ncopy(GX_STR dst, GX_CSTR src, u32 length)
コピー(長さ指定)
Definition GxString.cpp:796

文字列のコピー(長さ指定)

◆ GX_STRNICMP

#define GX_STRNICMP ( __STRING0__,
__STRING1__,
__LENGTH__ )
Value:
GxString::nicompare(__STRING0__, __STRING1__, __LENGTH__)
static s32 nicompare(GX_CSTR string0, GX_CSTR string1, u32 length)
比較(大文字、小文字の区別なし、長さ指定)
Definition GxString.cpp:769

文字列比較(大文字、小文字の区別なし、長さ指定)

◆ GX_WCSLEN

#define GX_WCSLEN ( __STRING__)
Value:
constexpr u32 getLength(void) const
文字列の長さを取得
Definition GxString.h:498

ワイド文字列の長さ取得

◆ GX_WSTRCMP

#define GX_WSTRCMP ( __STRING0__,
__STRING1__ )
Value:
GxStringW::compare(__STRING0__, __STRING1__)
GX_FORCE_INLINE s32 compare(GX_CWSTR string) const
比較
Definition GxString.h:535

ワイド文字列比較

◆ GX_WSTRICMP

#define GX_WSTRICMP ( __STRING0__,
__STRING1__ )
Value:
GxStringW::icompare(__STRING0__, __STRING1__)
GX_FORCE_INLINE s32 icompare(GX_CWSTR string) const
比較(大文字、小文字の区別なし)
Definition GxString.h:541

ワイド文字列比較(大文字、小文字の区別なし)