libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
#include <moFileManager.h>
Public Member Functions | |
moDirectory () | |
moDirectory (moText p_CompletePath, moFileManager *p_pFileManager=NULL) | |
virtual | ~moDirectory () |
virtual MOboolean | Init () |
Inicializa el objeto. More... | |
virtual MOboolean | Init (moFileManager *p_FileManager) |
virtual MOboolean | Finish () |
Finaliza el objeto, libera recursos. More... | |
MOboolean | Open (moText p_CompletePath, moText p_Search="/*.*") |
MOboolean | Exists () |
MOboolean | IsRemote () |
MOboolean | HasSubdirs () |
void | SetType (moFileType p_filetype) |
void | SetCompletePath (moText p_completepath) |
moFileType | GetType () |
moFileStatus | GetStatus () |
moText | GetCompletePath () |
moText | GetDirName () |
moText | GetProtocol () |
moFile * | FindFirst () |
moFile * | FindNext () |
moFile * | FindLast () |
moFile * | Find (MOint index) |
moFile * | Find (moText filename) |
void | Update () |
moFileArray & | GetFiles () |
moDirectoryArray & | GetSubDirs () |
Public Member Functions inherited from moAbstract | |
moAbstract () | |
virtual | ~moAbstract () |
MOboolean | Initialized () |
Pregunta si está inicializado. More... | |
Protected Attributes | |
moFileType | m_DirType |
moFileStatus | m_DirStatus |
MOint | m_FileIndex |
moText | m_DirName |
moTextArray | m_DirNameArray |
moText | m_CompletePath |
moText | m_Protocol |
MOboolean | m_bExists |
MOboolean | m_bRemote |
moFileManager * | m_pFileManager |
moFileArray | m_Files |
moDirectoryArray | m_SubDirs |
Additional Inherited Members | |
Public Attributes inherited from moAbstract | |
MOboolean | m_bInitialized |
Valor de inicialización More... | |
Static Public Attributes inherited from moAbstract | |
static moDebug * | MODebug2 = new moDebug() |
Clase de impresión de errores para depuración More... | |
static moTextHeap * | MODebug = new moTextHeap() |
Lista de textos. More... | |
Definition at line 164 of file moFileManager.h.
moDirectory::moDirectory | ( | ) |
Definition at line 54 of file moFileManager.cpp.
moDirectory::moDirectory | ( | moText | p_CompletePath, |
moFileManager * | p_pFileManager = NULL |
||
) |
Definition at line 56 of file moFile.cpp.
|
virtual |
Definition at line 65 of file moFile.cpp.
MOboolean moDirectory::Exists | ( | ) |
Definition at line 281 of file moFile.cpp.
Definition at line 352 of file moFile.cpp.
Definition at line 363 of file moFile.cpp.
moFile * moDirectory::FindFirst | ( | ) |
Definition at line 314 of file moFile.cpp.
moFile * moDirectory::FindLast | ( | ) |
Definition at line 341 of file moFile.cpp.
moFile * moDirectory::FindNext | ( | ) |
Definition at line 325 of file moFile.cpp.
|
virtual |
Finaliza el objeto, libera recursos.
Función de finalización. Libera los recursos generados en la función de inicialización.
Empty subdirs array
Reimplemented from moAbstract.
Definition at line 267 of file moFile.cpp.
moText moDirectory::GetCompletePath | ( | ) |
Definition at line 292 of file moFile.cpp.
moText moDirectory::GetDirName | ( | ) |
Definition at line 406 of file moFileManager.cpp.
moFileArray & moDirectory::GetFiles | ( | ) |
Definition at line 381 of file moFile.cpp.
moText moDirectory::GetProtocol | ( | ) |
Definition at line 303 of file moFile.cpp.
moFileStatus moDirectory::GetStatus | ( | ) |
Definition at line 309 of file moFile.cpp.
moDirectoryArray & moDirectory::GetSubDirs | ( | ) |
Definition at line 570 of file moFileManager.cpp.
moFileType moDirectory::GetType | ( | ) |
Definition at line 298 of file moFile.cpp.
MOboolean moDirectory::HasSubdirs | ( | ) |
Definition at line 390 of file moFileManager.cpp.
|
virtual |
Inicializa el objeto.
Función de Inicialización. Todos los recursos manejados exclusivamente por este objeto son generados aquí.
Reimplemented from moAbstract.
Definition at line 255 of file moFile.cpp.
|
virtual |
Definition at line 260 of file moFile.cpp.
MOboolean moDirectory::IsRemote | ( | ) |
Definition at line 287 of file moFile.cpp.
Empty file array
Empty subdirs array
Set by default m_bExists on false
Check files
Sorted for linux
Definition at line 100 of file moFile.cpp.
void moDirectory::SetCompletePath | ( | moText | p_completepath | ) |
void moDirectory::SetType | ( | moFileType | p_filetype | ) |
void moDirectory::Update | ( | ) |
Check files
Definition at line 374 of file moFile.cpp.
|
protected |
Definition at line 211 of file moFileManager.h.
|
protected |
Definition at line 212 of file moFileManager.h.
|
protected |
Definition at line 208 of file moFileManager.h.
|
protected |
Definition at line 206 of file moFileManager.h.
|
protected |
Definition at line 207 of file moFileManager.h.
|
protected |
Definition at line 203 of file moFileManager.h.
|
protected |
Definition at line 202 of file moFileManager.h.
|
protected |
Definition at line 204 of file moFileManager.h.
|
protected |
Definition at line 216 of file moFileManager.h.
|
protected |
Definition at line 214 of file moFileManager.h.
|
protected |
Definition at line 209 of file moFileManager.h.
|
protected |
Definition at line 217 of file moFileManager.h.