K3dDir Class Reference

#include <K3dDir.h>

Inheritance diagram for K3dDir:

K3dMenu K3dMngGui K3dMngGraphics K3dMngSystem K3dScene List of all members.

Public Member Functions

 K3dDir (K3dGameData *_pGameData)
 ~K3dDir ()
bool CreateDirectory (const char *_strDir)
 Create directory.
bool OpenDirectory (const char *_strDir)
 Open existing directory.
TStringArrayGetDirFileArray ()
 Get file arrray in directory.

Private Attributes

K3dGameDatam_pGameData
 Data centered game system.
DIR * m_pDir
dirent * m_ptEnt
TStringArray m_tDirFileArray

Detailed Description

Definition at line 47 of file K3dDir.h.


Constructor & Destructor Documentation

K3dDir::K3dDir ( K3dGameData _pGameData  ) 

Definition at line 35 of file K3dDir.cpp.

References m_pGameData, and K3dSceneData::SetDir().

K3dDir::~K3dDir (  ) 

Definition at line 41 of file K3dDir.cpp.


Member Function Documentation

bool K3dDir::CreateDirectory ( const char *  _strDir  ) 

Create directory.

Parameters:
_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.

Parameters:
_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().


Member Data Documentation

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]

Definition at line 50 of file K3dDir.h.

Referenced by OpenDirectory().

struct dirent* K3dDir::m_ptEnt [private]

Definition at line 51 of file K3dDir.h.

Referenced by OpenDirectory().

TStringArray K3dDir::m_tDirFileArray [private]

Definition at line 52 of file K3dDir.h.

Referenced by GetDirFileArray(), and OpenDirectory().


The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:31 2007 for K3dEngine by  doxygen 1.5.0