#ifndef HGL_ASSETS_SOURCE_INCLUDE #define HGL_ASSETS_SOURCE_INCLUDE #include namespace hgl { namespace io { class InputStream; }//namespace io namespace assets { /** * 资产来源类型 */ enum class SourceType { Memory=0, ///<内存 Filesystem, ///<文件系统 Archive, ///<打包/压缩档 Database, ///<数据库 SaveDevice, ///<存储设备 StreamDevice, ///<流式设备(如摄像头、麦克风) Network, ///<网络 BEGIN_RANGE =Memory, END_RANGE =Network, RANGE_SIZE =(END_RANGE-BEGIN_RANGE)+1 };//enum class SourceType /** * 资产索引方法 */ enum class IndexType { itAnonymous=0, ///<匿名访问 itName, ///<字符串名称 itID, ///