The Pedigree Project 0.1
Public Types | Public Member Functions | Public Attributes | List of all members
VfsPath Class Referencefinal
+ Inheritance diagram for VfsPath:
+ Collaboration diagram for VfsPath:

Public Types

enum class  Kind { Mounted , Anonymous }
 

Public Member Functions

 VfsPath (VfsMountView &owner, const VfsAttachmentRef &attachment, VfsNodeReference &&node)
 
 VfsPath (VfsMountView &owner, VfsNodeReference &&anonymousNode)
 
File * node () const override
 
const void * provider () const override
 

Public Attributes

const Kind kind
 
VfsMountView & view
 
VfsAttachmentRef attachment
 
VfsNodeReference file
 
FilesystemPathRef lookupParent
 
String lookupName
 

Detailed Description

Definition at line 64 of file MountView-internal.h.

Member Enumeration Documentation

◆ Kind

enum class VfsPath::Kind
strong

Definition at line 66 of file MountView-internal.h.

Constructor & Destructor Documentation

◆ VfsPath() [1/2]

VfsPath::VfsPath ( VfsMountView &  owner,
const VfsAttachmentRef &  attachment,
VfsNodeReference &&  node 
)

Definition at line 82 of file MountView.cc.

◆ VfsPath() [2/2]

VfsPath::VfsPath ( VfsMountView &  owner,
VfsNodeReference &&  anonymousNode 
)

Definition at line 87 of file MountView.cc.

◆ ~VfsPath()

VfsPath::~VfsPath ( )
override

Definition at line 92 of file MountView.cc.

Member Function Documentation

◆ node()

File * VfsPath::node ( ) const
inlineoverridevirtual

Implements FilesystemPath.

Definition at line 71 of file MountView-internal.h.

◆ provider()

const void * VfsPath::provider ( ) const
inlineoverridevirtual

Implements FilesystemPath.

Definition at line 74 of file MountView-internal.h.

Member Data Documentation

◆ attachment

VfsAttachmentRef VfsPath::attachment

Definition at line 78 of file MountView-internal.h.

◆ file

VfsNodeReference VfsPath::file

Definition at line 79 of file MountView-internal.h.

◆ kind

const Kind VfsPath::kind

Definition at line 69 of file MountView-internal.h.

◆ lookupName

String VfsPath::lookupName

Definition at line 82 of file MountView-internal.h.

◆ lookupParent

FilesystemPathRef VfsPath::lookupParent

Definition at line 81 of file MountView-internal.h.

◆ view

VfsMountView& VfsPath::view

Definition at line 77 of file MountView-internal.h.


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