Polyphase Game Engine
Loading...
Searching...
No Matches
AssetDir Class Reference

#include <AssetDir.h>

Public Member Functions

 ~AssetDir ()
 
 AssetDir (const std::string &name, const std::string &localPath, AssetDir *parent)
 
 AssetDir ()
 
AssetDirGetSubdirectory (const std::string &name)
 
AssetDirCreateSubdirectory (const std::string &name)
 
void DeleteSubdirectory (const char *name)
 
bool RemoveAssetStub (AssetStub *stub)
 
void Purge ()
 
void SortChildrenAlphabetically ()
 

Public Attributes

std::string mName
 
std::string mPath
 
std::vector< AssetStub * > mAssetStubs
 
std::vector< AssetDir * > mChildDirs
 
AssetDirmParentDir
 
bool mEngineDir
 
bool mAddonDir
 

Constructor & Destructor Documentation

◆ ~AssetDir()

AssetDir::~AssetDir ( )

◆ AssetDir() [1/2]

AssetDir::AssetDir ( const std::string &  name,
const std::string &  localPath,
AssetDir parent 
)

◆ AssetDir() [2/2]

AssetDir::AssetDir ( )

Member Function Documentation

◆ CreateSubdirectory()

AssetDir * AssetDir::CreateSubdirectory ( const std::string &  name)

◆ DeleteSubdirectory()

void AssetDir::DeleteSubdirectory ( const char *  name)

◆ GetSubdirectory()

AssetDir * AssetDir::GetSubdirectory ( const std::string &  name)

◆ Purge()

void AssetDir::Purge ( )

◆ RemoveAssetStub()

bool AssetDir::RemoveAssetStub ( AssetStub stub)

◆ SortChildrenAlphabetically()

void AssetDir::SortChildrenAlphabetically ( )

Member Data Documentation

◆ mAddonDir

bool AssetDir::mAddonDir

◆ mAssetStubs

std::vector<AssetStub*> AssetDir::mAssetStubs

◆ mChildDirs

std::vector<AssetDir*> AssetDir::mChildDirs

◆ mEngineDir

bool AssetDir::mEngineDir

◆ mName

std::string AssetDir::mName

◆ mParentDir

AssetDir* AssetDir::mParentDir

◆ mPath

std::string AssetDir::mPath

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