cohtml.Net.IFileManipulator
Object capable of enumerating directories and opening files.
Inherits from SystemIDisposable
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual void | Dispose() |
| virtual bool | EnumerateFolder(string path) Prepares the given folder for enumeration. |
| virtual string | NextFile() Returns the name of the i-th file in the current folder. |
| virtual IStreamReader | OpenFile(string path) Opens the given file for reading. |
Protected Attributes
Section titled “Protected Attributes”| Name | |
|---|---|
| bool | swigCMemOwn |
Public Functions Documentation
Section titled “Public Functions Documentation”function Dispose
Section titled “function Dispose”virtual void Dispose()function EnumerateFolder
Section titled “function EnumerateFolder”virtual bool EnumerateFolder( string path)Prepares the given folder for enumeration.
Parameters:
- path the path to the folder
Return: whether the folder is ready for enumeration
function NextFile
Section titled “function NextFile”virtual string NextFile()Returns the name of the i-th file in the current folder.
Return: the name of the file (only the name, not its path)
function OpenFile
Section titled “function OpenFile”virtual IStreamReader OpenFile( string path)Opens the given file for reading.
Parameters:
- path path to the file
Return: a stream reader for the given file or nullptr if the path does not exist
Protected Attributes Documentation
Section titled “Protected Attributes Documentation”variable swigCMemOwn
Section titled “variable swigCMemOwn”bool swigCMemOwn;© 2026 Coherent Labs. All rights reserved.