#include <K3dDir.h>
Inheritance diagram for K3dDir:
Public Member Functions | |
K3dDir (K3dGameData *_pGameData) | |
~K3dDir () | |
bool | CreateDirectory (const char *_strDir) |
Create directory. | |
bool | OpenDirectory (const char *_strDir) |
Open existing directory. | |
TStringArray & | GetDirFileArray () |
Get file arrray in directory. | |
Private Attributes | |
K3dGameData * | m_pGameData |
Data centered game system. | |
DIR * | m_pDir |
dirent * | m_ptEnt |
TStringArray | m_tDirFileArray |
Definition at line 47 of file K3dDir.h.
K3dDir::K3dDir | ( | K3dGameData * | _pGameData | ) |
K3dDir::~K3dDir | ( | ) |
Definition at line 41 of file K3dDir.cpp.
bool K3dDir::CreateDirectory | ( | const char * | _strDir | ) |
Create directory.
_strDir | Directory path and name |
Definition at line 47 of file K3dDir.cpp.
Referenced by K3dPolyWork::CheckPoly().
bool K3dDir::OpenDirectory | ( | const char * | _strDir | ) |
Open existing directory.
_strDir | Directory path and name |
Definition at line 58 of file K3dDir.cpp.
References m_pDir, m_ptEnt, and m_tDirFileArray.
Referenced by K3dMenu::ShowFileListBox().
TStringArray& K3dDir::GetDirFileArray | ( | ) | [inline] |
Get file arrray in directory.
Definition at line 61 of file K3dDir.h.
References m_tDirFileArray.
Referenced by K3dMenu::ShowFileListBox().
K3dGameData* K3dDir::m_pGameData [private] |
Data centered game system.
Reimplemented in K3dMenu, K3dScene, K3dMngGraphics, K3dMngGui, and K3dMngSystem.
Definition at line 49 of file K3dDir.h.
Referenced by K3dDir().
DIR* K3dDir::m_pDir [private] |
struct dirent* K3dDir::m_ptEnt [private] |
TStringArray K3dDir::m_tDirFileArray [private] |