ActiViz .NET
5.8.0
|
vtkDirectory - OS independent class for access and manipulation of system directories More...
Public Member Functions | |
vtkDirectory (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkDirectory () | |
Create a new vtkDirectory object. | |
int | FileIsDirectory (string name) |
Return true if the file is a directory. If the file is not an absolute path, it is assumed to be relative to the opened directory. If no directory has been opened, it is assumed to be relative to the current working directory. | |
string | GetFile (int index) |
Return the file at the given index, the indexing is 0 based. | |
virtual vtkStringArray | GetFiles () |
Get an array that contains all the file names. | |
int | GetNumberOfFiles () |
Return the number of files in the current directory. | |
override int | IsA (string type) |
Return the class name as a string. | |
new vtkDirectory | NewInstance () |
Return the class name as a string. | |
int | Open (string dir) |
Open the specified directory and load the names of the files in that directory. 0 is returned if the directory can not be opened, 1 if it is opened. | |
Static Public Member Functions | |
static new vtkDirectory | New () |
Create a new vtkDirectory object. | |
static int | DeleteDirectory (string dir) |
Remove a directory. | |
static string | GetCurrentWorkingDirectory (string buf, uint len) |
Get the current working directory. | |
static new int | IsTypeOf (string type) |
Return the class name as a string. | |
static int | MakeDirectory (string dir) |
Create directory. | |
static int | Rename (string oldname, string newname) |
Rename a file or directory. | |
static new vtkDirectory | SafeDownCast (vtkObjectBase o) |
Return the class name as a string. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkDirectory" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "12vtkDirectory" |
Automatically generated type registration mechanics. | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. | |
Private Member Functions | |
static internal IntPtr | vtkDirectory_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkDirectory_DeleteDirectory_01 (string dir) |
static internal int | vtkDirectory_FileIsDirectory_02 (HandleRef pThis, string name) |
static internal IntPtr | vtkDirectory_GetCurrentWorkingDirectory_03 (string buf, uint len) |
static internal IntPtr | vtkDirectory_GetFile_04 (HandleRef pThis, int index) |
static internal IntPtr | vtkDirectory_GetFiles_05 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkDirectory_GetNumberOfFiles_06 (HandleRef pThis) |
static internal int | vtkDirectory_IsA_07 (HandleRef pThis, string type) |
static internal int | vtkDirectory_IsTypeOf_08 (string type) |
static internal int | vtkDirectory_MakeDirectory_09 (string dir) |
static internal IntPtr | vtkDirectory_NewInstance_11 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkDirectory_Open_12 (HandleRef pThis, string dir) |
static internal int | vtkDirectory_Rename_13 (string oldname, string newname) |
static internal IntPtr | vtkDirectory_SafeDownCast_14 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
Static Private Member Functions | |
static | vtkDirectory () |
Automatically generated type registration mechanics. |
vtkDirectory - OS independent class for access and manipulation of system directories
Description vtkDirectory provides a portable way of finding the names of the files in a system directory. It also provides methods of manipulating directories.
static Kitware.VTK.vtkDirectory.vtkDirectory | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkDirectory.vtkDirectory | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Create a new vtkDirectory object.
static int Kitware.VTK.vtkDirectory.DeleteDirectory | ( | string | dir | ) | [static] |
Remove a directory.
override void Kitware.VTK.vtkDirectory.Dispose | ( | bool | disposing | ) | [protected] |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkObject.
int Kitware.VTK.vtkDirectory.FileIsDirectory | ( | string | name | ) |
Return true if the file is a directory. If the file is not an absolute path, it is assumed to be relative to the opened directory. If no directory has been opened, it is assumed to be relative to the current working directory.
static string Kitware.VTK.vtkDirectory.GetCurrentWorkingDirectory | ( | string | buf, |
uint | len | ||
) | [static] |
Get the current working directory.
string Kitware.VTK.vtkDirectory.GetFile | ( | int | index | ) |
Return the file at the given index, the indexing is 0 based.
virtual vtkStringArray Kitware.VTK.vtkDirectory.GetFiles | ( | ) | [virtual] |
Get an array that contains all the file names.
Return the number of files in the current directory.
override int Kitware.VTK.vtkDirectory.IsA | ( | string | type | ) | [virtual] |
Return the class name as a string.
Reimplemented from Kitware.VTK.vtkObject.
static new int Kitware.VTK.vtkDirectory.IsTypeOf | ( | string | type | ) | [static] |
Return the class name as a string.
Reimplemented from Kitware.VTK.vtkObject.
static int Kitware.VTK.vtkDirectory.MakeDirectory | ( | string | dir | ) | [static] |
Create directory.
static new vtkDirectory Kitware.VTK.vtkDirectory.New | ( | ) | [static] |
Create a new vtkDirectory object.
Reimplemented from Kitware.VTK.vtkObject.
Return the class name as a string.
Reimplemented from Kitware.VTK.vtkObject.
int Kitware.VTK.vtkDirectory.Open | ( | string | dir | ) |
Open the specified directory and load the names of the files in that directory. 0 is returned if the directory can not be opened, 1 if it is opened.
static int Kitware.VTK.vtkDirectory.Rename | ( | string | oldname, |
string | newname | ||
) | [static] |
Rename a file or directory.
static new vtkDirectory Kitware.VTK.vtkDirectory.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Return the class name as a string.
Reimplemented from Kitware.VTK.vtkObject.
static internal int Kitware.VTK.vtkDirectory.vtkDirectory_DeleteDirectory_01 | ( | string | dir | ) | [private] |
static internal int Kitware.VTK.vtkDirectory.vtkDirectory_FileIsDirectory_02 | ( | HandleRef | pThis, |
string | name | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkDirectory.vtkDirectory_GetCurrentWorkingDirectory_03 | ( | string | buf, |
uint | len | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkDirectory.vtkDirectory_GetFile_04 | ( | HandleRef | pThis, |
int | index | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkDirectory.vtkDirectory_GetFiles_05 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkDirectory.vtkDirectory_GetNumberOfFiles_06 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkDirectory.vtkDirectory_IsA_07 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkDirectory.vtkDirectory_IsTypeOf_08 | ( | string | type | ) | [private] |
static internal int Kitware.VTK.vtkDirectory.vtkDirectory_MakeDirectory_09 | ( | string | dir | ) | [private] |
static internal IntPtr Kitware.VTK.vtkDirectory.vtkDirectory_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkDirectory.vtkDirectory_NewInstance_11 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkDirectory.vtkDirectory_Open_12 | ( | HandleRef | pThis, |
string | dir | ||
) | [private] |
static internal int Kitware.VTK.vtkDirectory.vtkDirectory_Rename_13 | ( | string | oldname, |
string | newname | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkDirectory.vtkDirectory_SafeDownCast_14 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
new readonly string Kitware.VTK.vtkDirectory.MRClassNameKey = "12vtkDirectory" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.
new const string Kitware.VTK.vtkDirectory.MRFullTypeName = "Kitware.VTK.vtkDirectory" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.