pathutil.hpp

ファイル/ディレクトリ操作関係のユーティリティ群 [詳細]

#include <sys/stat.h>
#include <io.h>
#include <direct.h>
#include "langedge/pathname.hpp"
#include "langedge/exception.hpp"

pathutil.hppのインクルード依存関係図

このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。

ソースコードを見る。

ネームスペース

namespace  langedge

関数

bool isFileExistent (const PathStringType &filename)
 ファイルが存在するか.
bool isDirExistent (const PathStringType &dirname)
 ディレクトリが存在するか.
void removeFile (const PathStringType &filename)
 ファイル削除.
PathStringType getCurrentDirectory ()
 カレントディレクトリを得る.
bool changeCurrentDirectory (const PathStringType &dirpath)
 カレントディレクトリを移動する (PathStringType文字列).
int make_dir_helper (const PathCharType *path)
bool makeDirectoryRecursively (const PathCharType *path)
 複数階層に渡ってディレクトリを作成する.
bool makeDirectory (const PathStringType &path)
 ディレクトリを作成する.


説明

ファイル/ディレクトリ操作関係のユーティリティ群

作者:
OKA Toshiyuki (LangEdge, Inc.)
日付:
2005-01-14
バージョン:
Id
pathutil.hpp,v 1.1.1.1 2005/03/30 11:33:30 exoka Exp
Copyright (C) 2005 LangEdge, Inc. All rights reserved.

関数

bool langedge::isFileExistent const PathStringType filename  )  [inline]
 

ファイルが存在するか.

指されたパス名を持つ、通常のファイルが存在するかどうかをチェックする。

引数:
filename 存在チェックを行うファイルのパス名 (PathStringType)
戻り値:
true ファイルが存在
false ファイルが存在しないか、または指定された名前はファイルではない

bool langedge::isDirExistent const PathStringType dirname  )  [inline]
 

ディレクトリが存在するか.

指されたパス名を持つディレクトリが存在するかどうかをチェックする。

引数:
dirname 存在チェックを行うディレクトリのパス名 (PathStringType)
戻り値:
true ディレクトリが存在
false ディレクトリが存在しないか、または指定された名前はディレクトリではない

void langedge::removeFile const PathStringType filename  )  [inline]
 

ファイル削除.

引数:
filename 削除するファイルのファイル名 (PathStringType)

PathStringType langedge::getCurrentDirectory  )  [inline]
 

カレントディレクトリを得る.

戻り値:
カレントディレクトリ文字列

bool langedge::changeCurrentDirectory const PathStringType dirpath  )  [inline]
 

カレントディレクトリを移動する (PathStringType文字列).

引数:
dirpath 移動先のディレクトリ文字列
戻り値:
true 移動に成功した
false 移動できなかった

int langedge::make_dir_helper const PathCharType path  )  [inline]
 

bool langedge::makeDirectoryRecursively const PathCharType path  )  [inline]
 

複数階層に渡ってディレクトリを作成する.

戻り値:
true 成功
false 失敗

bool langedge::makeDirectory const PathStringType path  )  [inline]
 

ディレクトリを作成する.

複数階層に渡ってディレクトリを作成する.

引数:
path ディレクトリパス (PathStringType 文字列)
戻り値:
true 成功
false 失敗


LangEdge ライブラリに対してFri May 6 22:42:59 2005に生成されました。  doxygen 1.4.2