XII Release 0.1.0
Loading...
Searching...
No Matches
xiiAssetTable Struct Reference

Asset table class. Persistent cache for an asset table. More...

#include <AssetTableWriter.h>

Classes

struct  ManagerResource
 

Public Member Functions

xiiResult WriteAssetTable ()
 
void Remove (const xiiSubAsset &subAsset)
 
void Update (const xiiSubAsset &subAsset)
 
void AddManagerResource (xiiStringView sGuid, xiiStringView sPath, xiiStringView sType)
 

Public Attributes

xiiString m_sDataDir
 
xiiString m_sTargetFile
 
const xiiPlatformProfilem_pProfile = nullptr
 
bool m_bDirty = true
 
bool m_bReset = true
 
xiiMap< xiiString, ManagerResourcem_GuidToManagerResource
 
xiiMap< xiiString, xiiStringm_GuidToPath
 

Detailed Description

Asset table class. Persistent cache for an asset table.

The following assumptions need to be true for this cache to work:

  1. xiiAssetDocumentManager::AddEntriesToAssetTable does never change over time
  2. xiiAssetDocumentManager::GetAssetTableEntry never changes over the lifetime of an asset.

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