|
Nebula
|
Instances of wrapped stream classes.
The resource loader thread is responsible to handle all ResourceLoaders that wish to load resources asynchronously.
The material pool provides a chunk allocation source for material types and instances.
Vulkan texture abstraction types.
For the actual loader code, see VkStreamTextureLoader and VkMemoryTextureLoader.
Namespaces | |
| namespace | FileDialog |
Classes | |
| struct | [struct].state |
| class | ArchiveBase |
| Base class of file archives. More... | |
| class | ArchiveFileSystemBase |
| class | Assign |
| An assign associates an intuitive name with a real-world filesystem path. More... | |
| class | AssignRegistry |
| Central registry for path assigns. More... | |
| class | BinaryReader |
| A friendly interface to read binary data from a stream. More... | |
| class | BinaryWriter |
| A friendly interface for writing binary data to a stream. More... | |
| struct | BXMLFileAttr |
| struct | BXMLFileHeader |
| struct | BXMLFileNode |
| class | BXmlLoaderUtil |
| Helper class for loading binary xml files created with N3's binaryxmlconverter3 tool. More... | |
| class | BXmlReader |
| Stream reader for binary XML files. More... | |
| class | CachedHttpStream |
| class | CachedStream |
| Wraps an underlying mappable stream object to avoid reopening it more than once (e. More... | |
| class | Console |
| Nebula's console, this is the central place for command- line-style communication with the user. More... | |
| class | ConsoleHandler |
| Base class for all console handlers. More... | |
| class | EmbeddedMemoryStream |
| Implements a stream class which reads from an embedded resource. More... | |
| struct | EventHandlerData |
| class | ExcelXmlReader |
| A stream reader class which reads Excel XML files. More... | |
| class | FileStream |
| A stream to which offers read/write access to filesystem files. More... | |
| struct | FilesystemStartupInfo |
| class | FileWatcher |
| For registering callbacks for file modification events. More... | |
| class | FileWatcherImpl |
| struct | FileWatcherPlatform |
| class | HistoryConsoleHandler |
| A console handler which stores the last N log messages in a Util::RingBuffer<String>. More... | |
| class | IoInterface |
| struct | IOStat |
| class | JsonReader |
| Reads json formatted data with random access from a stream using pjson as backend. More... | |
| class | JsonWriter |
| Write Json-formatted data to a stream. More... | |
| class | LogFileConsoleHandler |
| A console handler which writes all console output to a log file. More... | |
| class | MediaType |
| Encapsulates a MIME conformant media type description (text/plain, image/jpg, etc...). More... | |
| class | MemoryStream |
| Implements a stream class which writes to and reads from system RAM. More... | |
| class | Path |
| A path is an abstraction around file paths. More... | |
| class | ProjectLocator |
| Resolves the project root and the toolkit (nebula root) directory. More... | |
| class | SafeFileStream |
| Wrapper around FileStream that will save to a temporary file and swap when closed. More... | |
| class | SchemeRegistry |
| Central registry for URI schemes, associates an URI scheme (e.g. More... | |
| class | Stream |
| Offers an abstract interface for read/write access to a sequence of bytes. More... | |
| class | StreamCache |
| Explicit cache for reusing read-only streams that are already opened. More... | |
| class | StreamReader |
| Stream reader classes provide a specialized read-interface for a stream. More... | |
| class | StreamWriter |
| Stream writer classes provide a specialized write-interface for a stream. More... | |
| class | TextReader |
| A friendly interface for reading text data from a stream. More... | |
| class | TextWriter |
| A friendly interface for writing text data to a stream. More... | |
| class | URI |
| An URI object can split a Uniform Resource Identifier string into its components or build a string from URI components. More... | |
| class | URN |
| A URN (Uniform Resource Name) is a URI (Uniform Resource Identifier) that uses the "urn" scheme. More... | |
| struct | WatchEvent |
| class | XmlReader |
| Reads XML formatted data with random access from a stream using TinyXML as backend. More... | |
| class | XmlWriter |
| Write XML-formatted data to a stream. More... | |
| class | ZipArchive |
| Private helper class for ZipFileSystem to hold per-Zip-archive data. More... | |
| class | ZipDirEntry |
| A directory entry in a zip arcive. More... | |
| class | ZipFileEntry |
| A file entry in a zip archive. More... | |
| class | ZipFileStream |
| Wraps a file in a zip archive into a stream. More... | |
| class | ZipFileSystem |
| An archive filesystem wrapper for ZIP files. More... | |
Typedefs | |
| using | WatchDelegate = std::function<void(WatchEvent const&)> |
| using | FileMapFunc = void(const Util::String& file, const Util::String& folder) |
Enumerations | |
| enum | WatchEventType { Created , Deleted , NameChange , Modified } |
| enum | WatchFlags { NameChanged = 0 , SizeChanged = 1 , Write = 2 , Access = 3 , Creation = 4 } |
Functions | |
| template<> | |
| void | JsonReader::Get< Math::Extrapolator< Math::vec3 > > (Math::Extrapolator< Math::vec3 > &ret, const char *attr) |
| template<> | |
| void | JsonWriter::Add< Math::Extrapolator< Math::vec3 > > (Math::Extrapolator< Math::vec3 > const &value, Util::String const &attr) |
| template<> | |
| void | JsonReader::Get< Game::Orientation > (Game::Orientation &ret, const char *attr) |
| template<> | |
| void | JsonWriter::Add< Game::Orientation > (Game::Orientation const &value, Util::String const &attr) |
| template<> | |
| void | JsonReader::Get< Game::Position > (Game::Position &ret, const char *attr) |
| template<> | |
| void | JsonWriter::Add< Game::Position > (Game::Position const &value, Util::String const &attr) |
| template<> | |
| void | JsonReader::Get< Game::Scale > (Game::Scale &ret, const char *attr) |
| template<> | |
| void | JsonWriter::Add< Game::Scale > (Game::Scale const &value, Util::String const &attr) |
| template<> | |
| void | JsonReader::Get< Game::Velocity > (Game::Velocity &ret, const char *attr) |
| template<> | |
| void | JsonWriter::Add< Game::Velocity > (Game::Velocity const &value, Util::String const &attr) |
| template<> | |
| void | JsonReader::Get< Game::AngularVelocity > (Game::AngularVelocity &ret, const char *attr) |
| template<> | |
| void | JsonWriter::Add< Game::AngularVelocity > (Game::AngularVelocity const &value, Util::String const &attr) |
| void __cdecl | Log (const char *logGroup, const char *fmt,...) |
| void __cdecl | LogWarning (const char *logGroup, const char *fmt,...) |
| void __cdecl | LogError (const char *logGroup, const char *fmt,...) |
| void __cdecl | LogSource (const char *logGroup, const char *file, const int line, const char *fmt,...) |
| __ImplementClass (IO::ArchiveBase, 'ARCB', Core::RefCounted) | |
| __ImplementClass (IO::ArchiveFileSystemBase, 'AFSB', Core::RefCounted) | |
| __ImplementInterfaceSingleton (IO::ArchiveFileSystemBase) | |
| __ImplementClass (IO::AssignRegistry, 'ASRG', Core::RefCounted) | |
| __ImplementInterfaceSingleton (IO::AssignRegistry) | |
| __ImplementClass (IO::BinaryReader, 'BINR', IO::StreamReader) | |
| __ImplementClass (IO::BinaryWriter, 'BINW', IO::StreamWriter) | |
| __ImplementClass (IO::BXmlReader, 'BXLR', IO::StreamReader) | |
| __ImplementClass (IO::CachedHttpStream, 'CHTP', IO::Stream) | |
| __ImplementClass (IO::StreamCache, 'STCA', Core::RefCounted) | |
| __ImplementSingleton (IO::StreamCache) | |
| __ImplementClass (IO::Console, 'CNSL', Core::RefCounted) | |
| __ImplementInterfaceSingleton (IO::Console) | |
| __ImplementClass (IO::ConsoleHandler, 'CONH', Core::RefCounted) | |
| __ImplementClass (IO::EmbeddedMemoryStream, 'EMSR', IO::Stream) | |
| __ImplementClass (IO::ExcelXmlReader, 'EXRD', IO::StreamReader) | |
| __ImplementClass (IO::FileStream, 'FSTR', IO::Stream) | |
| __ImplementClass (IO::FileWatcher, 'FIWT', Threading::Thread) | |
| __ImplementInterfaceSingleton (IO::FileWatcher) | |
| __ImplementInterfaceSingleton (IO::GameContentServer) | |
| __ImplementClass (IO::HistoryConsoleHandler, 'HICH', IO::ConsoleHandler) | |
| __ImplementClass (IO::IoInterface, 'IIOF', Interface::InterfaceBase) | |
| __ImplementInterfaceSingleton (IO::IoInterface) | |
| void | StartupFilesystem (const FilesystemStartupInfo &info) |
| Setup the file/stream system. | |
| void | ShutdownFilesystem () |
| Break down the filesystem. | |
| Ptr< Stream > | CreateStream (const URI &uri) |
| create a stream object for the given uri | |
| bool | MountArchive (const URI &uri) |
| mount a file archive (without archive file extension!) | |
| bool | MountEmbeddedArchive (const URI &uri) |
| mount an embedded file archive | |
| void | UnmountArchive (const URI &uri) |
| unmount a file archive (without archive file extension!) | |
| bool | IsArchiveMounted (const URI &uri) |
| return true if a archive is mounted (without archive file extension!) | |
| void | SetArchiveFileSystemEnabled (bool b) |
| enable/disable transparent archive filesystem layering (default is yes) | |
| bool | IsArchiveFileSystemEnabled () |
| return true if transparent archive filesystem is enabled | |
| void | MountStandardArchives () |
| mount standard archives (e.g. home:export.zip and home:export_$(platform).zip) | |
| void | UnmountStandardArchives () |
| unmount standard archives | |
| bool | CreateDirectory (const URI &uri) |
| This method creates all missing directories in a path. | |
| bool | EnsureDirectoriesForFile (const URI &uri) |
| create all missing directories | |
| bool | CopyFile (const URI &fromUri, const URI &toUri) |
| This copies a file to another file. | |
| unsigned int | ComputeFileCrc (const URI &uri) |
| This method computes the CRC checksum for a file. | |
| bool | RenameFile (const URI &fromUri, const URI &toUri) |
| Renames a file or a directory on the conventional filesystem. | |
| bool | DeleteFile (const URI &path) |
| delete a file | |
| bool | DeleteDirectory (const URI &path) |
| delete an empty directory | |
| bool | FileExists (const URI &path) |
| return true if file exists | |
| bool | DirectoryExists (const URI &path) |
| return true if directory exists | |
| bool | MoveFile (const URI &oldPath, const URI &newPath) |
| Move file to new path. | |
| void | SetReadOnly (const URI &path, bool b) |
| set the readonly status of a file | |
| bool | IsReadOnly (const URI &path) |
| return read only status of a file | |
| void | SetFileWriteTime (const URI &path, FileTime fileTime) |
| set the write-time of a file | |
| FileTime | GetFileWriteTime (const URI &path) |
| return the last write-time of a file | |
| Array< String > | AddPathPrefixToArray (const String &prefix, const Array< String > &filenames) |
| Array< String > | ListFiles (const URI &dir, const Util::String &pattern, bool asFullPath=false) |
| list all files matching a pattern in a directory | |
| Array< String > | ListDirectories (const URI &dir, const Util::String &pattern, bool asFullPath=false, bool prioritizeArchive=true) |
| list all subdirectories matching a pattern in a directory | |
| bool | ReadFile (const URI &path, Util::String &contents) |
| read contents of file and return as string | |
| bool | IsLocked (const URI &path) |
| return if file is locked | |
| IO::URI | CreateTemporaryFilename (const URI &path) |
| create a temporary file name | |
| Util::String | NativePath (const Util::String &path) |
| return native path | |
| bool | GetIOInfo (const URI &uri, IOStat &outInfo, bool prioritizeArchive) |
| get file/folder information (size, access time, modified time, creation time) via stat calls | |
| void | IterateFolders (const URI &dir, const Util::String &pattern, FileMapFunc iter) |
| iterate through all files in hierarchy and call provided function | |
| __ImplementClass (IO::JsonReader, 'JSLR', IO::StreamReader) | |
| template<> | |
| void | JsonReader::Get< Util::Array< uint32_t > > (Util::Array< uint32_t > &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::Array< int > > (Util::Array< int > &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::mat4 > (Math::mat4 &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::int2 > (Math::int2 &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::vector > (Math::vector &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::vec4 > (Math::vec4 &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::Color > (Util::Color &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::quat > (Math::quat &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::vec3 > (Math::vec3 &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::vec2 > (Math::vec2 &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::Variant > (Util::Variant &ret, const char *attr) |
| Returns the attribute as variant type. | |
| template<> | |
| void | JsonReader::Get< Util::String > (Util::String &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::Guid > (Util::Guid &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::FourCC > (Util::FourCC &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::StringAtom > (Util::StringAtom &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::Array< float > > (Util::Array< float > &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::Array< Util::String > > (Util::Array< Util::String > &ret, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Math::vec4 > (Math::vec4 &ret, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Math::quat > (Math::quat &ret, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Math::mat4 > (Math::mat4 &ret, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Util::String > (Util::String &ret, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Util::Array< int > > (Util::Array< int > &target, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Util::Array< uint32_t > > (Util::Array< uint32_t > &target, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Util::Array< float > > (Util::Array< float > &target, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Util::Array< Util::String > > (Util::Array< Util::String > &target, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::Array< uint32_t > > (Util::Array< uint32_t > &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::Array< int > > (Util::Array< int > &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::mat4 > (Math::mat4 &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::int2 > (Math::int2 &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::vector > (Math::vector &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::vec4 > (Math::vec4 &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::vec3 > (Math::vec3 &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Math::vec2 > (Math::vec2 &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::Variant > (Util::Variant &ret, const char *attr) |
| Returns the attribute as variant type. | |
| template<> | |
| void | JsonReader::Get< Util::String > (Util::String &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::FourCC > (Util::FourCC &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::StringAtom > (Util::StringAtom &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::Array< float > > (Util::Array< float > &ret, const char *attr) |
| template<> | |
| void | JsonReader::Get< Util::Array< Util::String > > (Util::Array< Util::String > &ret, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Math::vec4 > (Math::vec4 &ret, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Math::quat > (Math::quat &ret, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Math::mat4 > (Math::mat4 &ret, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Util::String > (Util::String &ret, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Util::Array< int > > (Util::Array< int > &target, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Util::Array< uint32_t > > (Util::Array< uint32_t > &target, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Util::Array< float > > (Util::Array< float > &target, const char *attr) |
| template<> | |
| bool | JsonReader::GetOpt< Util::Array< Util::String > > (Util::Array< Util::String > &target, const char *attr) |
| __ImplementClass (IO::JsonWriter, 'JSOW', IO::StreamWriter) | |
| static void | CopyRawNode (pjson::value_variant &dst, const pjson::value_variant &src, pjson::pool_allocator &alloc) |
| pjson parses in place, and a parsed string's size does not include the null terminator it wrote over the delimiter. | |
| __ImplementClass (IO::LogFileConsoleHandler, 'LFCH', IO::ConsoleHandler) | |
| __ImplementClass (IO::MemoryStream, 'MSTR', IO::Stream) | |
| static uint32_t | CreateNotifyMask (Util::BitField< 8 > flags) |
| static void | AddWatchRecursive (FileWatcherPlatform &p, const String &absolutePath, const String &relativePath, uint32_t mask) |
| __ImplementClass (IO::SafeFileStream, 'SFSR', IO::FileStream) | |
| __ImplementClass (IO::SchemeRegistry, 'SCRG', Core::RefCounted) | |
| __ImplementInterfaceSingleton (IO::SchemeRegistry) | |
| __ImplementClass (IO::Stream, 'STRM', Core::RefCounted) | |
| __ImplementClass (IO::StreamReader, 'STRR', Core::RefCounted) | |
| __ImplementClass (IO::StreamWriter, 'STWR', Core::RefCounted) | |
| __ImplementClass (IO::TextReader, 'TXTR', IO::StreamReader) | |
| __ImplementClass (IO::TextWriter, 'TXTW', IO::StreamWriter) | |
| __ImplementClass (IO::XmlReader, 'XMLR', IO::StreamReader) | |
| __ImplementClass (IO::XmlWriter, 'XMLW', IO::StreamWriter) | |
| __ImplementClass (IO::ZipArchive, 'ZPAR', IO::ArchiveBase) | |
| __ImplementClass (IO::ZipFileStream, 'ZFST', IO::Stream) | |
| __ImplementClass (IO::ZipFileSystem, 'ZPFS', IO::ArchiveFileSystemBase) | |
| __ImplementInterfaceSingleton (IO::ZipFileSystem) | |
| template<> | |
| void | JsonReader::Get< Particles::EnvelopeCurve > (Particles::EnvelopeCurve &ret, const char *attr) |
Variables | |
| struct | state |
| using IO::FileMapFunc = void(const Util::String& file, const Util::String& folder) |
| using IO::WatchDelegate = std::function<void(WatchEvent const&)> |
| enum IO::WatchEventType |
| enum IO::WatchFlags |
| IO::__ImplementClass | ( | IO::ArchiveBase | , |
| 'ARCB' | , | ||
| Core::RefCounted | ) |
| IO::__ImplementClass | ( | IO::ArchiveFileSystemBase | , |
| 'AFSB' | , | ||
| Core::RefCounted | ) |
| IO::__ImplementClass | ( | IO::AssignRegistry | , |
| 'ASRG' | , | ||
| Core::RefCounted | ) |
| IO::__ImplementClass | ( | IO::BinaryReader | , |
| 'BINR' | , | ||
| IO::StreamReader | ) |
| IO::__ImplementClass | ( | IO::BinaryWriter | , |
| 'BINW' | , | ||
| IO::StreamWriter | ) |
| IO::__ImplementClass | ( | IO::BXmlReader | , |
| 'BXLR' | , | ||
| IO::StreamReader | ) |
| IO::__ImplementClass | ( | IO::CachedHttpStream | , |
| 'CHTP' | , | ||
| IO::Stream | ) |
| IO::__ImplementClass | ( | IO::Console | , |
| 'CNSL' | , | ||
| Core::RefCounted | ) |
| IO::__ImplementClass | ( | IO::ConsoleHandler | , |
| 'CONH' | , | ||
| Core::RefCounted | ) |
| IO::__ImplementClass | ( | IO::EmbeddedMemoryStream | , |
| 'EMSR' | , | ||
| IO::Stream | ) |
| IO::__ImplementClass | ( | IO::ExcelXmlReader | , |
| 'EXRD' | , | ||
| IO::StreamReader | ) |
| IO::__ImplementClass | ( | IO::FileStream | , |
| 'FSTR' | , | ||
| IO::Stream | ) |
| IO::__ImplementClass | ( | IO::FileWatcher | , |
| 'FIWT' | , | ||
| Threading::Thread | ) |
| IO::__ImplementClass | ( | IO::HistoryConsoleHandler | , |
| 'HICH' | , | ||
| IO::ConsoleHandler | ) |
| IO::__ImplementClass | ( | IO::IoInterface | , |
| 'IIOF' | , | ||
| Interface::InterfaceBase | ) |
| IO::__ImplementClass | ( | IO::JsonReader | , |
| 'JSLR' | , | ||
| IO::StreamReader | ) |
| IO::__ImplementClass | ( | IO::JsonWriter | , |
| 'JSOW' | , | ||
| IO::StreamWriter | ) |
| IO::__ImplementClass | ( | IO::LogFileConsoleHandler | , |
| 'LFCH' | , | ||
| IO::ConsoleHandler | ) |
| IO::__ImplementClass | ( | IO::MemoryStream | , |
| 'MSTR' | , | ||
| IO::Stream | ) |
| IO::__ImplementClass | ( | IO::SafeFileStream | , |
| 'SFSR' | , | ||
| IO::FileStream | ) |
| IO::__ImplementClass | ( | IO::SchemeRegistry | , |
| 'SCRG' | , | ||
| Core::RefCounted | ) |
| IO::__ImplementClass | ( | IO::Stream | , |
| 'STRM' | , | ||
| Core::RefCounted | ) |
| IO::__ImplementClass | ( | IO::StreamCache | , |
| 'STCA' | , | ||
| Core::RefCounted | ) |
| IO::__ImplementClass | ( | IO::StreamReader | , |
| 'STRR' | , | ||
| Core::RefCounted | ) |
| IO::__ImplementClass | ( | IO::StreamWriter | , |
| 'STWR' | , | ||
| Core::RefCounted | ) |
| IO::__ImplementClass | ( | IO::TextReader | , |
| 'TXTR' | , | ||
| IO::StreamReader | ) |
| IO::__ImplementClass | ( | IO::TextWriter | , |
| 'TXTW' | , | ||
| IO::StreamWriter | ) |
| IO::__ImplementClass | ( | IO::XmlReader | , |
| 'XMLR' | , | ||
| IO::StreamReader | ) |
| IO::__ImplementClass | ( | IO::XmlWriter | , |
| 'XMLW' | , | ||
| IO::StreamWriter | ) |
| IO::__ImplementClass | ( | IO::ZipArchive | , |
| 'ZPAR' | , | ||
| IO::ArchiveBase | ) |
| IO::__ImplementClass | ( | IO::ZipFileStream | , |
| 'ZFST' | , | ||
| IO::Stream | ) |
| IO::__ImplementClass | ( | IO::ZipFileSystem | , |
| 'ZPFS' | , | ||
| IO::ArchiveFileSystemBase | ) |
| IO::__ImplementInterfaceSingleton | ( | IO::ArchiveFileSystemBase | ) |
| IO::__ImplementInterfaceSingleton | ( | IO::AssignRegistry | ) |
| IO::__ImplementInterfaceSingleton | ( | IO::Console | ) |
| IO::__ImplementInterfaceSingleton | ( | IO::FileWatcher | ) |
| IO::__ImplementInterfaceSingleton | ( | IO::GameContentServer | ) |
| IO::__ImplementInterfaceSingleton | ( | IO::IoInterface | ) |
| IO::__ImplementInterfaceSingleton | ( | IO::SchemeRegistry | ) |
| IO::__ImplementInterfaceSingleton | ( | IO::ZipFileSystem | ) |
| Array< String > IO::AddPathPrefixToArray | ( | const String & | prefix, |
| const Array< String > & | filenames ) |
|
static |
| unsigned int IO::ComputeFileCrc | ( | const URI & | uri | ) |
This method computes the CRC checksum for a file.
get the CRC checksum of a file
This copies a file to another file.
copy a file
|
static |
pjson parses in place, and a parsed string's size does not include the null terminator it wrote over the delimiter.
pjson's own copy keeps that size, which is what leaves the copied string unterminated, so a parsed node has to be copied through the string text instead.
| bool IO::CreateDirectory | ( | const URI & | uri | ) |
This method creates all missing directories in a path.
create all missing directories in the path
|
static |
| bool IO::DeleteDirectory | ( | const URI & | uri | ) |
delete an empty directory
| bool IO::DeleteFile | ( | const URI & | uri | ) |
delete a file
| bool IO::DirectoryExists | ( | const URI & | uri | ) |
return true if directory exists
| bool IO::EnsureDirectoriesForFile | ( | const URI & | uri | ) |
create all missing directories
| bool IO::FileExists | ( | const URI & | uri | ) |
return true if file exists
get file/folder information (size, access time, modified time, creation time) via stat calls
| bool IO::IsArchiveFileSystemEnabled | ( | ) |
return true if transparent archive filesystem is enabled
| bool IO::IsArchiveMounted | ( | const URI & | uri | ) |
return true if a archive is mounted (without archive file extension!)
| bool IO::IsLocked | ( | const URI & | uri | ) |
return if file is locked
| bool IO::IsReadOnly | ( | const URI & | uri | ) |
return read only status of a file
| void IO::IterateFolders | ( | const URI & | dir, |
| const Util::String & | pattern, | ||
| FileMapFunc | iter ) |
iterate through all files in hierarchy and call provided function
| void IO::JsonReader::Get< Game::AngularVelocity > | ( | Game::AngularVelocity & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Game::Orientation > | ( | Game::Orientation & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Game::Position > | ( | Game::Position & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Game::Scale > | ( | Game::Scale & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Game::Velocity > | ( | Game::Velocity & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::Extrapolator< Math::vec3 > > | ( | Math::Extrapolator< Math::vec3 > & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::int2 > | ( | Math::int2 & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::int2 > | ( | Math::int2 & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::mat4 > | ( | Math::mat4 & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::mat4 > | ( | Math::mat4 & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::quat > | ( | Math::quat & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::vec2 > | ( | Math::vec2 & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::vec2 > | ( | Math::vec2 & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::vec3 > | ( | Math::vec3 & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::vec3 > | ( | Math::vec3 & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::vec4 > | ( | Math::vec4 & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::vec4 > | ( | Math::vec4 & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::vector > | ( | Math::vector & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Math::vector > | ( | Math::vector & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Particles::EnvelopeCurve > | ( | Particles::EnvelopeCurve & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::Array< float > > | ( | Util::Array< float > & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::Array< float > > | ( | Util::Array< float > & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::Array< int > > | ( | Util::Array< int > & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::Array< int > > | ( | Util::Array< int > & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::Array< uint32_t > > | ( | Util::Array< uint32_t > & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::Array< uint32_t > > | ( | Util::Array< uint32_t > & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::Array< Util::String > > | ( | Util::Array< Util::String > & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::Array< Util::String > > | ( | Util::Array< Util::String > & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::Color > | ( | Util::Color & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::FourCC > | ( | Util::FourCC & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::FourCC > | ( | Util::FourCC & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::Guid > | ( | Util::Guid & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::String > | ( | Util::String & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::String > | ( | Util::String & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::StringAtom > | ( | Util::StringAtom & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::StringAtom > | ( | Util::StringAtom & | ret, |
| const char * | attr ) |
| void IO::JsonReader::Get< Util::Variant > | ( | Util::Variant & | ret, |
| const char * | attr ) |
Returns the attribute as variant type.
This checks what type the variant is and returns the value type that it indicates. If incoming variant type is void, the reader will automatically detect type from the attribute. Will most likely assert if type is incorrect, so use with caution!
| void IO::JsonReader::Get< Util::Variant > | ( | Util::Variant & | ret, |
| const char * | attr ) |
Returns the attribute as variant type.
This checks what type the variant is and returns the value type that it indicates. If incoming variant type is void, the reader will automatically detect type from the attribute. Will most likely assert if type is incorrect, so use with caution!
| bool IO::JsonReader::GetOpt< Math::mat4 > | ( | Math::mat4 & | ret, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Math::mat4 > | ( | Math::mat4 & | ret, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Math::quat > | ( | Math::quat & | ret, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Math::quat > | ( | Math::quat & | ret, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Math::vec4 > | ( | Math::vec4 & | ret, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Math::vec4 > | ( | Math::vec4 & | ret, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Util::Array< float > > | ( | Util::Array< float > & | target, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Util::Array< float > > | ( | Util::Array< float > & | target, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Util::Array< int > > | ( | Util::Array< int > & | target, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Util::Array< int > > | ( | Util::Array< int > & | target, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Util::Array< uint32_t > > | ( | Util::Array< uint32_t > & | target, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Util::Array< uint32_t > > | ( | Util::Array< uint32_t > & | target, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Util::Array< Util::String > > | ( | Util::Array< Util::String > & | target, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Util::Array< Util::String > > | ( | Util::Array< Util::String > & | target, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Util::String > | ( | Util::String & | ret, |
| const char * | attr ) |
| bool IO::JsonReader::GetOpt< Util::String > | ( | Util::String & | ret, |
| const char * | attr ) |
| void IO::JsonWriter::Add< Game::AngularVelocity > | ( | Game::AngularVelocity const & | value, |
| Util::String const & | attr ) |
| void IO::JsonWriter::Add< Game::Orientation > | ( | Game::Orientation const & | value, |
| Util::String const & | attr ) |
| void IO::JsonWriter::Add< Game::Position > | ( | Game::Position const & | value, |
| Util::String const & | attr ) |
| void IO::JsonWriter::Add< Game::Scale > | ( | Game::Scale const & | value, |
| Util::String const & | attr ) |
| void IO::JsonWriter::Add< Game::Velocity > | ( | Game::Velocity const & | value, |
| Util::String const & | attr ) |
| void IO::JsonWriter::Add< Math::Extrapolator< Math::vec3 > > | ( | Math::Extrapolator< Math::vec3 > const & | value, |
| Util::String const & | attr ) |
| Util::Array< Util::String > IO::ListDirectories | ( | const URI & | uri, |
| const String & | pattern, | ||
| bool | asFullPath, | ||
| bool | prioritizeArchive ) |
list all subdirectories matching a pattern in a directory
| Util::Array< Util::String > IO::ListFiles | ( | const URI & | uri, |
| const String & | pattern, | ||
| bool | asFullPath ) |
list all files matching a pattern in a directory
| void IO::Log | ( | const char * | logGroup, |
| const char * | fmt, | ||
| ... ) |
| void void void IO::LogError | ( | const char * | logGroup, |
| const char * | fmt, | ||
| ... ) |
| void void void void IO::LogSource | ( | const char * | logGroup, |
| const char * | file, | ||
| const int | line, | ||
| const char * | fmt, | ||
| ... ) |
| void void IO::LogWarning | ( | const char * | logGroup, |
| const char * | fmt, | ||
| ... ) |
| bool IO::MountArchive | ( | const URI & | uri | ) |
mount a file archive (without archive file extension!)
| bool IO::MountEmbeddedArchive | ( | const URI & | uri | ) |
mount an embedded file archive
| void IO::MountStandardArchives | ( | ) |
mount standard archives (e.g. home:export.zip and home:export_$(platform).zip)
| Util::String IO::NativePath | ( | const Util::String & | path | ) |
return native path
| bool IO::ReadFile | ( | const URI & | path, |
| Util::String & | contents ) |
read contents of file and return as string
Renames a file or a directory on the conventional filesystem.
rename a file or a directory. The target must not exist as the exact name, so a rename never replaces
The target must not exist as the exact name, so a rename never replaces anything. The name is looked up in the directory listing rather than through FileExists(), which is case-insensitive on Windows, so a name that differs only in case counts as a new name on both platforms.
| void IO::SetArchiveFileSystemEnabled | ( | bool | b | ) |
enable/disable transparent archive filesystem layering (default is yes)
| void IO::SetReadOnly | ( | const URI & | uri, |
| bool | readOnly ) |
set the readonly status of a file
| void IO::ShutdownFilesystem | ( | ) |
Break down the filesystem.
| void IO::StartupFilesystem | ( | const FilesystemStartupInfo & | info | ) |
Setup the file/stream system.
| void IO::UnmountArchive | ( | const URI & | uri | ) |
unmount a file archive (without archive file extension!)
| void IO::UnmountStandardArchives | ( | ) |
unmount standard archives
| struct IO::[struct].state IO::state |