Filesystem Class Reference

#include <filesystem.h>

Inheritance diagram for Filesystem:

Public Member Functions

 Filesystem ()
zmm::Ref< zmm::Array< FsObject > > readDirectory (zmm::String path, int mask, int chldMask=0)
bool haveFiles (zmm::String dir)
bool haveDirectories (zmm::String dir)
bool fileAllowed (zmm::String path)
void retain ()
void release ()
int getRefCount ()

Static Public Member Functions

static void * operator new (size_t size)
static void operator delete (void *ptr)

Protected Member Functions

bool have (zmm::String dir, int mask)

Protected Attributes

zmm::Ref< zmm::Array< RExp > > includeRules
mt_atomic_t _ref_count
pthread_mutex_t mutex

Detailed Description

Definition at line 62 of file filesystem.h.

Constructor & Destructor Documentation

Filesystem::Filesystem (  ) 

Definition at line 70 of file

References Singleton< ConfigManager >::getInstance(), and includeRules.

Member Function Documentation

bool Filesystem::fileAllowed ( zmm::String  path  ) 

Definition at line 273 of file

References Singleton< ConfigManager >::getInstance().

Referenced by have(), and readDirectory().

int Object::getRefCount (  )  [inherited]

Definition at line 78 of file

References zmm::Object::_ref_count, and atomic_get().

bool Filesystem::have ( zmm::String  dir,
int  mask 
) [protected]
bool Filesystem::haveDirectories ( zmm::String  dir  ) 

Definition at line 268 of file

References FS_MASK_DIRECTORIES, and have().

bool Filesystem::haveFiles ( zmm::String  dir  ) 

Definition at line 264 of file

References FS_MASK_FILES, and have().

void Object::operator delete ( void *  ptr  )  [static, inherited]

Definition at line 87 of file

References FREE.

void * Object::operator new ( size_t  size  )  [static, inherited]

Definition at line 83 of file

References MALLOC.

Ref< Array< FsObject > > Filesystem::readDirectory ( zmm::String  path,
int  mask,
int  chldMask = 0 
void Object::release (  )  [inherited]
void Object::retain (  )  [inherited]

Field Documentation

mt_atomic_t zmm::Object::_ref_count [protected, inherited]

Definition at line 74 of file filesystem.h.

Referenced by Filesystem().

pthread_mutex_t zmm::Object::mutex [protected, inherited]

The documentation for this class was generated from the following files:

Generated on Fri Mar 26 20:16:57 2010 for MediaTomb by  doxygen 1.6.1