Home :: GreenPad :: ki :: StdLib classes

class String

^ 
    extends Object as public

文字列処理

かなりMFCのCStringをパクってます。とりあえず operator= による 単純代入にはほとんどコストがかからないようにしました。SubStr()の 時もコピーしないようにしようかとも思ったんですが、そこまでは 要らないだろうという気もするので…。

Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:29
Author:
K.INABA
Version:
beta
Friend:
function voidAPIENTRYStartup undocumented

Contents

^ 
EntityTypeScopeShort Description
~Stringdestructor publicundocumented
Stringconstructor public空文字列作成
Stringconstructor public別のStringのコピー
Stringconstructor public別の文字配列のコピー
Stringconstructor publicリソースから作成
c_strmethod public文字列バッファを返す
GetIntmethod public文字列からintへ変換
GetIntmethod public文字列からintへ変換
isLBmethod public2バイト文字の先頭かどうか?
isSamemethod publicundocumented
isSamemethod public大文字小文字を区別しない比較
lenmethod public長さ
Loadmethod publicリソースロード
nextmethod publicundocumented
nextmethod public次の一文字
operator +=operator public加算代入
operator +=operator publicundocumented
operator +=operator publicundocumented
operator =operator public単純代入
operator =operator publicundocumented
operator =operator publicundocumented
operator ==operator public大文字小文字を区別する比較
operator ==operator publicundocumented
SetIntmethod publicintから文字列へ変換
TrimRightmethod public右を削る

destructor ~String

? ^  > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:34
Code:
public ~ String ( )

constructor String

? ^  < > 
空文字列作成
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:33
Code:
public String ( )

constructor String

? ^  < > 
別のStringのコピー
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:37
Code:
public String ( const String & obj )

constructor String

? ^  < > 
別の文字配列のコピー
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:40
Code:
public String ( const TCHAR * str ,
long siz = - 1 )

constructor String

? ^  < > 
リソースから作成
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:43
Code:
public explicit String ( UINT rsrcID )

method c_str

? ^  < > 
文字列バッファを返す
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:78
Code:
public const TCHAR * c_str ( ) const

method GetInt

? ^  < > 
文字列からintへ変換
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:93
Code:
public static int GetInt ( const TCHAR * p )

method GetInt

? ^  < > 
文字列からintへ変換
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:73
Code:
public int GetInt ( )

method isLB

? ^  < > 
2バイト文字の先頭かどうか?
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:90
Code:
public static bool isLB ( TCHAR c )

method isSame

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:51
Code:
public bool isSame ( const String & obj ) const

method isSame

? ^  < > 
大文字小文字を区別しない比較
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:50
Code:
public bool isSame ( LPCTSTR s ) const

method len

? ^  < > 
長さ
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:81
Code:
public ulong len ( ) const

method Load

? ^  < > 
リソースロード
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:64
Code:
public String & Load ( UINT rsrcID )

method next

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:87
Code:
public static const TCHAR * next ( const TCHAR * p )

method next

? ^  < > 
次の一文字
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:86
Code:
public static TCHAR * next ( TCHAR * p )

operator +=

? ^  < > 
加算代入
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:59
Code:
public String & operator += ( const String & obj )

operator +=

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:60
Code:
public String & operator += ( const TCHAR * s )

operator +=

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:61
Code:
public String & operator += ( TCHAR c )

operator =

? ^  < > 
単純代入
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:54
Code:
public String & operator = ( const String & obj )

operator =

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:55
Code:
public String & operator = ( const TCHAR * s )

operator =

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:56
Code:
public String & operator = ( const XTCHAR * s )

operator ==

? ^  < > 
大文字小文字を区別する比較
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:46
Code:
public bool operator == ( LPCTSTR s ) const

operator ==

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:47
Code:
public bool operator == ( const String & obj ) const

method SetInt

? ^  < > 
intから文字列へ変換
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:70
Code:
public String & SetInt ( int n )

method TrimRight

? ^  < > 
右を削る
Source:
C:\usr\develop\MyProject\GreenPad\kilib\string.h:67
Code:
public void TrimRight ( ulong siz )

Created Mon May 06 21:01:04 2002.
This documentation was generated automatically by
ccdoc v0.8 r26 2001/11/28 bin_opt_msvc_MSWin32-4.0.
Click here to submit a bug report or feature request.
Click here to return to the top of the page.