#include <vm.h>
A helper interface with convenient functions, which are needed when dealing with other interfaces in this framework
静态公共成员函数 |
|
| static MAXON_METHOD Bool | ConsoleIsAvailable () |
| static MAXON_METHOD Result < String > | GetFileContent (const Url &filepath) |
| static MAXON_METHOD Result < void > | SetFileContent (const Url &filepath, const String &str, Bool append) |
私有成员函数 |
|
| MAXON_INTERFACE ( LibraryInterface , MAXON_REFERENCE_NORMAL , "net.maxon.python.interface.library") | |
|
private |
|
static |
Checks if a console is attached to the current process
|
static |
Returns the content of a given file in a string. The file is expected to be encoded in UTF-8.
| [in] | filepath | Path of the file. |
|
static |
Writes the content of a string to a given file. The content will be encoded in UTF-8.
| [in] | filepath | Path of the file. |
| [in] | str | Content to write. |
| [in] | append | True to append the content to the file, or False to overwrite the entire content with the new string. |