Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
RealDirectory Class Reference

#include <real_directory.h>

Inheritance diagram for RealDirectory:
Collaboration diagram for RealDirectory:

Public Member Functions

 RealDirectory (const OsPath &path, size_t priority, size_t flags)
 
size_t Priority () const
 
size_t Flags () const
 
virtual size_t Precedence () const
 
virtual wchar_t LocationCode () const
 
virtual OsPath Path () const
 
virtual Status Load (const OsPath &name, const std::shared_ptr< u8 > &buf, size_t size) const
 
Status Store (const OsPath &name, const std::shared_ptr< u8 > &fileContents, size_t size)
 
void Watch ()
 
- Public Member Functions inherited from IFileLoader
virtual ~IFileLoader ()
 
virtual size_t Precedence () const =0
 
virtual wchar_t LocationCode () const =0
 
virtual OsPath Path () const =0
 
virtual Status Load (const OsPath &name, const std::shared_ptr< u8 > &buf, size_t size) const =0
 

Private Member Functions

 NONCOPYABLE (RealDirectory)
 

Private Attributes

const OsPath m_path
 
const size_t m_priority
 
const size_t m_flags
 
PDirWatch m_watch
 

Constructor & Destructor Documentation

◆ RealDirectory()

RealDirectory::RealDirectory ( const OsPath path,
size_t  priority,
size_t  flags 
)

Member Function Documentation

◆ Flags()

size_t RealDirectory::Flags ( ) const
inline

◆ Load()

Status RealDirectory::Load ( const OsPath name,
const std::shared_ptr< u8 > &  buf,
size_t  size 
) const
virtual

Implements IFileLoader.

◆ LocationCode()

wchar_t RealDirectory::LocationCode ( ) const
virtual

Implements IFileLoader.

◆ NONCOPYABLE()

RealDirectory::NONCOPYABLE ( RealDirectory  )
private

◆ Path()

virtual OsPath RealDirectory::Path ( ) const
inlinevirtual

Implements IFileLoader.

◆ Precedence()

size_t RealDirectory::Precedence ( ) const
virtual

Implements IFileLoader.

◆ Priority()

size_t RealDirectory::Priority ( ) const
inline

◆ Store()

Status RealDirectory::Store ( const OsPath name,
const std::shared_ptr< u8 > &  fileContents,
size_t  size 
)

◆ Watch()

void RealDirectory::Watch ( )

Member Data Documentation

◆ m_flags

const size_t RealDirectory::m_flags
private

◆ m_path

const OsPath RealDirectory::m_path
private

◆ m_priority

const size_t RealDirectory::m_priority
private

◆ m_watch

PDirWatch RealDirectory::m_watch
private

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