ScummVM API documentation
EmscriptenPOSIXFilesystemNode Class Reference
Inheritance diagram for EmscriptenPOSIXFilesystemNode:
POSIXFilesystemNode AbstractFSNode

Public Member Functions

 EmscriptenPOSIXFilesystemNode (const Common::String &path)
 
bool getChildren (AbstractFSList &myList, ListMode mode, bool hidden) const override
 
AbstractFSNodemakeNode (const Common::String &path) const override
 
- Public Member Functions inherited from POSIXFilesystemNode
 POSIXFilesystemNode (const Common::String &path)
 
bool exists () const override
 
Common::U32String getDisplayName () const override
 
Common::String getName () const override
 
Common::String getPath () const override
 
bool isDirectory () const override
 
bool isReadable () const override
 
bool isWritable () const override
 
AbstractFSNodegetChild (const Common::String &n) const override
 
bool getChildren (AbstractFSList &list, ListMode mode, bool hidden) const override
 
AbstractFSNodegetParent () const override
 
Common::SeekableReadStreamcreateReadStream () override
 
Common::SeekableReadStreamcreateReadStreamForAltStream (Common::AltStreamType altStreamType) override
 
Common::SeekableWriteStreamcreateWriteStream (bool atomic) override
 
bool createDirectory () override
 
- Public Member Functions inherited from AbstractFSNode
virtual ~AbstractFSNode ()
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractFSNode
static Common::FSNode makeFSNode (AbstractFSNode *realNode)
 
- Protected Types inherited from AbstractFSNode
typedef Common::FSNode::ListMode ListMode
 
- Protected Member Functions inherited from POSIXFilesystemNode
 POSIXFilesystemNode ()
 
virtual void setFlags ()
 
- Static Protected Member Functions inherited from AbstractFSNode
static const char * lastPathComponent (const Common::String &str, const char sep)
 
- Protected Attributes inherited from POSIXFilesystemNode
Common::String _displayName
 
Common::String _path
 
bool _isDirectory
 
bool _isValid
 

Member Function Documentation

◆ getChildren()

bool EmscriptenPOSIXFilesystemNode::getChildren ( AbstractFSList list,
ListMode  mode,
bool  hidden 
) const
overridevirtual

Return a list of child nodes of this directory node. If called on a node that does not represent a directory, false is returned.

Parameters
listList to put the contents of the directory in.
modeMode to use while listing the directory.
hiddenWhether to include hidden files or not in the results.
Returns
true if successful, false otherwise (e.g. when the directory does not exist).

Implements AbstractFSNode.


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