IPM
TempFileManager Class Reference

Helper class to ensure temp files/folders are cleaned up @API.Object @Modifier Availability InterSystems @API.Object.Instantiable @Modifier Availability Forbidden. More...

Inheritance diagram for TempFileManager:
Inheritance graph

Public Member Functions

_.Library.Status OnClose ()
 Helper class to ensure temp files/folders are cleaned up @API.Object @Modifier Availability InterSystems @API.Object.Instantiable @Modifier Availability Forbidden.
 
_.Library.String GetTempFileName (_.Library.String pExtension)
 Gets a temporary file name. More...
 
_.Library.String GetTempFolderName ()
 Gets a temporary folder name (and creates a folder with that name) More...
 
- Public Member Functions inherited from Singleton
_.Library.Status OnNew ()
 Tracks the OREF of this instance in a PPG for later reference. More...
 

Private Attributes

 __Files
   More...
 
 __Folders
   More...
 

Additional Inherited Members

- Static Public Attributes inherited from Singleton
 NAMESPACESCOPE = None
 If set to 1, calls to Get must return an instance of this class created in the current namespace; a new instance will be created if none exists.
 
 PPG = None
 PPG in which to track references to the instance of this class.
 

Detailed Description

Helper class to ensure temp files/folders are cleaned up @API.Object @Modifier Availability InterSystems @API.Object.Instantiable @Modifier Availability Forbidden.

Member Function Documentation

◆ GetTempFileName()

_.Library.String GetTempFileName ( _.Library.String  pExtension)

Gets a temporary file name.

@API.Method @Modifier Availability InterSystems

◆ GetTempFolderName()

_.Library.String GetTempFolderName ( )

Gets a temporary folder name (and creates a folder with that name)

@API.Method @Modifier Availability InterSystems

Member Data Documentation

◆ __Files

__Files
private

 

 

◆ __Folders

__Folders
private