Miosix  2.0alpha1
miosix::ResolvedPath Class Reference

#include <file_access.h>

Collaboration diagram for miosix::ResolvedPath:

Public Member Functions

 ResolvedPath ()
 
 ResolvedPath (int result)
 
 ResolvedPath (intrusive_ref_ptr< FilesystemBase > fs, size_t offset)
 

Public Attributes

int result
 0 on success, a negative number on failure
 
intrusive_ref_ptr< FilesystemBasefs
 
size_t off
 

Detailed Description

The result of resolvePath().

Constructor & Destructor Documentation

miosix::ResolvedPath::ResolvedPath ( )
inline

Constructor

miosix::ResolvedPath::ResolvedPath ( int  result)
inlineexplicit

Constructor

Parameters
resulterror code
miosix::ResolvedPath::ResolvedPath ( intrusive_ref_ptr< FilesystemBase fs,
size_t  offset 
)
inline

Constructor

Parameters
fsfilesystem
offoffset into path where the subpath relative to the current filesystem starts

Member Data Documentation

intrusive_ref_ptr<FilesystemBase> miosix::ResolvedPath::fs

pointer to the filesystem to which the file belongs

size_t miosix::ResolvedPath::off

path.c_str()+off is a string containing the relative path into the filesystem for the looked up file


The documentation for this class was generated from the following file: