39 #ifndef _Core_Resource_H__    40 #define _Core_Resource_H__    46 #include <OgreDataStream.h>    47 #include <OgreStringVector.h>    52     using Ogre::DataStreamList;
    53     using Ogre::DataStreamListPtr;
    54     using Ogre::StringVector;
    55     using Ogre::StringVectorPtr;
    98             return open(fileInfo->filename);
   114         static DataStreamListPtr openMulti(
const std::string& pattern);
   128         static std::shared_ptr<ResourceInfo> getInfo(
const std::string& name);
   137         static StringVectorPtr findResourceNames(
const std::string& pattern);
   140         static const std::string& getDefaultResourceGroup();
 Stores basic information about a Resource from Ogre. 
Definition: Resource.h:58
 
std::string path
Path name; separated by '/' and ending with '/'. 
Definition: Resource.h:63
 
Shared library macros, enums, constants and forward declarations for the core library  ...
 
::std::string string
Definition: gtest-port.h:756
 
std::string group
Resource group the file is in. 
Definition: Resource.h:67
 
std::string basename
Base filename. 
Definition: Resource.h:65
 
std::string fileSystemPath
Absolute file path ("" for files not on filesystem) 
Definition: Resource.h:71
 
Provides simple functions to easily access the Ogre::ResourceGroupManager. 
Definition: Resource.h:77
 
SharedPtr< DataStream > DataStreamPtr
Definition: CorePrereqs.h:365
 
Die Wagnis Klasse hat die folgenden Aufgaben: 
Definition: ApplicationPaths.cc:66
 
#define _CoreExport
Definition: CorePrereqs.h:61
 
std::string filename
The file's fully qualified name. 
Definition: Resource.h:61
 
static DataStreamPtr open(std::shared_ptr< ResourceInfo > fileInfo)
Similar to open(string, string, bool), but with a fileInfo struct. 
Definition: Resource.h:96
 
size_t size
Uncompressed size. 
Definition: Resource.h:69