theCore C++ embedded framework
ecl::fs Namespace Reference

Data Structures

class  dir_descriptor
 Directory descriptor interface. More...
 
class  file_descriptor
 Abstract file descriptor. More...
 
class  fs_descriptor
 Wraps filesystem class into correct descriptor, required by main FS module. More...
 
class  inode
 Abstract class holding metadata about the file in the filesystem. More...
 
class  path_erased
 Holds path and manages its deallocation. More...
 
class  path_handle
 Abstract path handle. More...
 
class  path_iter
 Path iterator. More...
 
class  vfs
 Virtual filesystem. More...
 

Typedefs

using inode_ptr = ecl::shared_ptr< inode >
 Alias to inode pointer. More...
 
using path_ptr = ecl::shared_ptr< path_handle >
 Alias to path smart pointer. More...
 
using inode_weak = ecl::weak_ptr< inode >
 
using file_ptr = ecl::shared_ptr< file_descriptor >
 
using dir_ptr = ecl::shared_ptr< dir_descriptor >
 

Enumerations

enum  seekdir { seekdir::beg, seekdir::cur, seekdir::end }
 Offset changing direction. More...
 

Functions

template<class Alloc >
path_ptr allocate_path (const char *path, const char *tail, const Alloc &alloc)
 Allocates new path, concatenating with tail, if needed. More...