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
 

Detailed Description

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

Member Enumeration Documentation

◆ Kind

enum class VfsPath::Kind
strong

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

Constructor & Destructor Documentation

◆ VfsPath() [1/2]

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

Definition at line 70 of file MountView.cc.

◆ VfsPath() [2/2]

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

Definition at line 74 of file MountView.cc.

◆ ~VfsPath()

VfsPath::~VfsPath ( )
override

Definition at line 78 of file MountView.cc.

Member Function Documentation

◆ node()

File * VfsPath::node ( ) const
inlineoverridevirtual

Implements FilesystemPath.

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

◆ provider()

const void * VfsPath::provider ( ) const
inlineoverridevirtual

Implements FilesystemPath.

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

Member Data Documentation

◆ attachment

VfsAttachmentRef VfsPath::attachment

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

◆ file

VfsNodeReference VfsPath::file

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

◆ kind

const Kind VfsPath::kind

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

◆ view

VfsMountView& VfsPath::view

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


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