Home :: GreenPad :: ki :: StdLib classes

class Path

^ 
    extends String as public

ファイル名処理

基本的には文字列ですが、特にファイル名として扱うときに便利な クラスです。名前部分のみ取り出しとか拡張子のみ取り出しとか、 属性を取ってくるとか色々。

Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:23
Author:
K.INABA
Version:
beta

Contents

^ 
EntityTypeScopeShort Description
Pathconstructor publicundocumented
Pathconstructor public別のPathのコピー
Pathconstructor publicundocumented
Pathconstructor publicundocumented
Pathconstructor public特殊パス取得して初期化
$anonymous$enum public特殊パス指定用定数
BeBackSlashmethod public最後にバックスラッシュを入れる(true)/入れない(false)
BeDirOnlymethod publicディレクトリ名のみ
BeShortLongStylemethod publicファイル名だけは確実に長く
BeShortStylemethod public短いパス名
BeSpecialPathmethod public特殊パス取得
bodymethod publicディレクトリ情報と最後の拡張子を除いた名前部分
body_allmethod publicディレクトリ情報と最初の.以降全部を除いた名前部分
existmethod public存在するかどうか。isFile() || isDirectory()
extmethod publicundocumented
extmethod public最後の拡張子
ext_allmethod publicundocumented
ext_allmethod public最初の.以降全部と見なした拡張子
isDirectorymethod publicディレクトリかどうか
isFilemethod publicファイルかどうか
namemethod publicundocumented
namemethod publicディレクトリ情報以外
operator +=operator publicundocumented
operator +=operator publicundocumented
operator +=operator publicundocumented
operator +=operator public加算代入
operator =operator public単純代入
operator =operator publicundocumented
operator =operator publicundocumented

constructor Path

? ^  > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:26
Code:
public Path ( )

constructor Path

? ^  < > 
別のPathのコピー
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:29
Code:
public Path ( const Path & s ) : String ( s )

constructor Path

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:30
Code:
public Path ( const String & s ) : String ( s )

constructor Path

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:31
Code:
public Path ( const TCHAR * s ,
long siz = - 1 ) : String ( s ,
siz )

constructor Path

? ^  < > 
特殊パス取得して初期化
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:53
Code:
public explicit Path ( int nPATH ,
bool bs = true )

enum $anonymous$

? ^  < > 
特殊パス指定用定数
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:60
Code:
public enum { Win = 0x1787 ,
Sys ,
Tmp ,
Exe ,
Cur ,
ExeName ,
Snd = CSIDL_SENDTO ,
Dsk = CSIDL_DESKTOPDIRECTORY }

method BeBackSlash

? ^  < > 
最後にバックスラッシュを入れる(true)/入れない(false)
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:63
Code:
public Path & BeBackSlash ( bool add )

method BeDirOnly

? ^  < > 
ディレクトリ名のみ
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:66
Code:
public Path & BeDirOnly ( )

method BeShortLongStyle

? ^  < > 
ファイル名だけは確実に長く
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:72
Code:
public Path & BeShortLongStyle ( )

method BeShortStyle

? ^  < > 
短いパス名
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:69
Code:
public Path & BeShortStyle ( )

method BeSpecialPath

? ^  < > 
特殊パス取得
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:56
Code:
public Path & BeSpecialPath ( int nPATH ,
bool bs = true )

method body

? ^  < > 
ディレクトリ情報と最後の拡張子を除いた名前部分
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:84
Code:
public Path body ( ) const

method body_all

? ^  < > 
ディレクトリ情報と最初の.以降全部を除いた名前部分
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:87
Code:
public Path body_all ( ) const

method exist

? ^  < > 
存在するかどうか。isFile() || isDirectory()
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:98
Code:
public bool exist ( ) const

method ext

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:103
Code:
public static const TCHAR * ext ( const TCHAR * str )

method ext

? ^  < > 
最後の拡張子
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:78
Code:
public const TCHAR * ext ( ) const

method ext_all

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:104
Code:
public static const TCHAR * ext_all ( const TCHAR * str )

method ext_all

? ^  < > 
最初の.以降全部と見なした拡張子
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:81
Code:
public const TCHAR * ext_all ( ) const

method isDirectory

? ^  < > 
ディレクトリかどうか
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:95
Code:
public bool isDirectory ( ) const

method isFile

? ^  < > 
ファイルかどうか
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:92
Code:
public bool isFile ( ) const

method name

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:102
Code:
public static const TCHAR * name ( const TCHAR * str )

method name

? ^  < > 
ディレクトリ情報以外
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:75
Code:
public const TCHAR * name ( ) const

operator +=

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

operator +=

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

operator +=

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:45
Code:
public Path & operator += ( const String & s )

operator +=

? ^  < > 
加算代入
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:43
Code:
public Path & operator += ( const Path & s )

operator =

? ^  < > 
単純代入
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:35
Code:
public Path & operator = ( const Path & s )

operator =

? ^  < > 
undocumented
Source:
C:\usr\develop\MyProject\GreenPad\kilib\path.h:37
Code:
public Path & operator = ( const String & s )

operator =

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

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.