#include <FilePath.h>
Public Member Functions | |
FilePath () | |
コンストラクタ | |
FilePath (const String &path) | |
コンストラクタ | |
virtual void | setPath (const String &path) |
パスの設定 | |
virtual String | getPath () const |
パスの取得 | |
virtual String | getName () const |
名前の取得 | |
virtual String | getFileName () const |
ファイル名の取得 | |
virtual String | getExtension () const |
拡張子の取得 | |
virtual String | getFolderPath () const |
フォルダパスの取得 | |
virtual bool | existFile () const |
ファイルが存在するか |
Definition at line 34 of file FilePath.h.
|
コンストラクタ
Definition at line 45 of file FilePath.h. |
|
ファイルが存在するか
Definition at line 76 of file FilePath.cpp. References Lamp::String::getBytes(), and NULL. Referenced by Lamp::TextSceneLoader::load(), Lamp::TextCollisionLoader::load(), Lamp::TextAnimationLoader::load(), Lamp::SoundList::load(), Lamp::BinarySceneLoader::load(), Lamp::BinaryAnimationLoader::load(), Lamp::Sprite::loadPicture(), Lamp::SceneFramework::loadScene(), and Lamp::OggVorbisReaderImpl::readHeader(). |
|
拡張子の取得
Definition at line 54 of file FilePath.cpp. References Lamp::String::getLastIndexOf(), Lamp::String::getLowerCase(), and Lamp::String::getSubstring(). Referenced by Lamp::OggVorbisReader::isOggVorbisFileName(), Lamp::WaveReader::isWaveFileName(), Lamp::Sprite::loadPicture(), Lamp::SceneFramework::loadScene(), Lamp::TextSceneLoader::readPictureList(), and Lamp::BinarySceneLoader::readPictureList(). |
|
ファイル名の取得
Definition at line 42 of file FilePath.cpp. References Lamp::String::getLastIndexOf(), and Lamp::String::getSubstring(). Referenced by Lamp::SoundManager::createStaticSound(), Lamp::SoundManager::createStaticSound3D(), Lamp::SoundManager::createStreamSound(), Lamp::SoundManager::createStreamSound3D(), Lamp::ChangePicturePathFilter::filterPicture(), and getName(). |
|
フォルダパスの取得
Definition at line 64 of file FilePath.cpp. References Lamp::String::getLastIndexOf(), and Lamp::String::getSubstring(). Referenced by Lamp::TextSceneLoader::load(), Lamp::BinarySceneLoader::load(), Lamp::TextSceneSaver::save(), Lamp::BinarySceneSaver::save(), Lamp::TextSceneSaver::writePicture(), and Lamp::BinarySceneSaver::writePicture(). |
|
名前の取得
Definition at line 32 of file FilePath.cpp. References getFileName(), Lamp::String::getLastIndexOf(), and Lamp::String::getSubstring(). Referenced by Lamp::SceneFramework::loadScene(), and Lamp::SoundCache::SoundArray::toString(). |
|
パスの取得
Definition at line 57 of file FilePath.h. Referenced by Lamp::Sprite::loadPicture(), Lamp::SceneFramework::loadScene(), Lamp::WaveReader::readHeader(), and Lamp::OggVorbisReaderImpl::readHeader(). |
|
パスの設定
Definition at line 51 of file FilePath.h. Referenced by Lamp::SceneFramework::loadScene(). |