Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Package SiliconStudio.Core.IO

Classes

class  DatabaseFileProvider
 
class  DictionaryStore< TKey, TValue >
 A Key->Value store that will be incrementally saved on the HDD. Thread-safe and process-safe. More...
 
class  DirectoryWatcher
 Track file system events from several directories. More...
 
class  DriveFileProvider
 Exposes the whole file system through folder similar to Cygwin. As an example, "/c/Program Files/Test/Data.dat" would work. More...
 
class  FileEvent
 Ä file event used notified by DirectoryWatcher More...
 
class  FileSystemProvider
 A file system implementation for IVirtualFileProvider. More...
 
interface  IDatabaseStream
 
interface  IVirtualFileProvider
 A virtual file provider, that can returns a Stream for a given path. More...
 
class  ListStore< T >
 A value store that will be incrementally saved on HDD. Thread-safe and process-safe. More...
 
class  NamespaceDoc
 The SiliconStudio.Core.IO namespace contains additional types for reading and writing to streams, and types that provide directory and path support. It also provides a T:SiliconStudio.Core.IO.VirtualFileSystem layer that abstracts file accesses and paths of local disks, network, databases, etc. More...
 
class  NativeFile
 
class  NativeMemoryStream
 A MemoryStream over a native memory region. More...
 
class  NativeStream
 A Stream with additional methods for native read and write operations using IntPtr. More...
 
class  NativeStreamExtensions
 Extension methods concerning NativeStream. More...
 
class  NativeStreamWrapper
 
class  Store
 
class  Store< T >
 A store that will be incrementally saved on the HDD. Thread-safe and process-safe. More...
 
class  TemporaryFile
 
class  UDirectory
 Defines a normalized directory path. See UPath for details. This class cannot be inherited. More...
 
class  UDirectorySerializer
 
class  UDirectoryTypeConverter
 The implementation of TypeConverter for UDirectory that implements conversion from strings. More...
 
class  UFile
 Defines a normalized file path. See UPath for details. This class cannot be inherited. More...
 
class  UFileSerializer
 Data serializer for Guid.
 
class  UFileTypeConverter
 The implementation of TypeConverter for UFile that implements conversion from strings. More...
 
class  UPath
 Base class that describes a uniform path and provides method to manipulate them. Concrete class are UFile and UDirectory. This class is immutable and its descendants are immutable. See remarks. More...
 
class  UPathTypeConverter< T >
 An abstract implementation of TypeConverter used for types derived from UPath in order to convert then from a string. More...
 
class  Utils
 A static class containing utility functions related to I/O. More...
 
class  VirtualFileProviderBase
 Abstract base class for IVirtualFileProvider. More...
 
class  VirtualFileSystem
 Virtual abstraction over a file system. It handles access to files, http, packages, path rewrite, etc... More...
 

Enumerations

enum  UPathType { UPathType.Absolute, UPathType.Relative }
 Describes if a UPath is relative or absolute. More...
 
enum  FileEventChangeType {
  FileEventChangeType.Created = 1, FileEventChangeType.Deleted = 2, FileEventChangeType.Changed = 4, FileEventChangeType.Renamed = 8,
  FileEventChangeType.All = Renamed | Changed | Deleted | Created
}
 Change type of file used by FileEvent and DirectoryWatcher. More...
 
enum  StreamFlags { StreamFlags.None, StreamFlags.Seekable }
 Describes the different type of streams. More...
 
enum  VirtualFileAccess : uint { VirtualFileAccess.Read = 1, VirtualFileAccess.Write = 2, VirtualFileAccess.ReadWrite = Read | Write }
 File access equivalent of System.IO.FileAccess. More...
 
enum  VirtualFileMode {
  VirtualFileMode.CreateNew = 1, VirtualFileMode.Create = 2, VirtualFileMode.Open = 3, VirtualFileMode.OpenOrCreate = 4,
  VirtualFileMode.Truncate = 5
}
 File mode equivalent of System.IO.FileMode. More...
 
enum  VirtualFileShare : uint {
  VirtualFileShare.None = 0, VirtualFileShare.Read = 1, VirtualFileShare.Write = 2, VirtualFileShare.ReadWrite = 3,
  VirtualFileShare.Delete = 4
}
 File share capabilities, equivalent of System.IO.FileShare. More...
 
enum  VirtualSearchOption { VirtualSearchOption.TopDirectoryOnly, VirtualSearchOption.AllDirectories }
 
enum  VirtualWatcherChangeTypes {
  VirtualWatcherChangeTypes.Created = 1, VirtualWatcherChangeTypes.Deleted = 2, VirtualWatcherChangeTypes.Changed = 4, VirtualWatcherChangeTypes.Renamed = 8,
  VirtualWatcherChangeTypes.All = 15
}
 

Enumeration Type Documentation

Change type of file used by FileEvent and DirectoryWatcher.

Enumerator
Created 
Deleted 
Changed 
Renamed 
All 

Definition at line 11 of file FileEventChangeType.cs.

Describes the different type of streams.

Enumerator
None 

Returns the default underlying stream without any alterations. Can be a seek-able stream or not depending on the file.

Seekable 

A stream in which we can seek

Definition at line 11 of file StreamFlags.cs.

Describes if a UPath is relative or absolute.

Enumerator
Absolute 

The path is absolute

Relative 

The path is relative

Definition at line 8 of file UPathType.cs.

File access equivalent of System.IO.FileAccess.

Enumerator
Read 

Read access.

Write 

Write access.

ReadWrite 

Read/Write Access,

Definition at line 11 of file VirtualFileAccess.cs.

File mode equivalent of System.IO.FileMode.

Enumerator
CreateNew 

Creates a new file. The function fails if a specified file exists.

Create 

Creates a new file, always. If a file exists, the function overwrites the file, clears the existing attributes, combines the specified file attributes, and flags with FILE_ATTRIBUTE_ARCHIVE, but does not set the security descriptor that the SECURITY_ATTRIBUTES structure specifies.

Open 

Opens a file. The function fails if the file does not exist.

OpenOrCreate 

Opens a file, always. If a file does not exist, the function creates a file as if dwCreationDisposition is CREATE_NEW.

Truncate 

Opens a file and truncates it so that its size is 0 (zero) bytes. The function fails if the file does not exist. The calling process must open the file with the GENERIC_WRITE access right.

Definition at line 8 of file VirtualFileMode.cs.

File share capabilities, equivalent of System.IO.FileShare.

Enumerator
None 
Read 
Write 
ReadWrite 
Delete 

Definition at line 11 of file VirtualFileShare.cs.

Enumerator
TopDirectoryOnly 
AllDirectories 

Definition at line 5 of file VirtualSearchOption.cs.

Enumerator
Created 
Deleted 
Changed 
Renamed 
All 

Definition at line 8 of file VirtualWatcherChangeTypes.cs.