#include <fbxfile.h>
Definition at line 161 of file fbxfile.h.
|
static bool | Delete (const char *pFileName_UTF8) |
| Delete a file from disk. More...
|
|
static bool | Rename (const char *pFileName_UTF8, const char *pNewName_UTF8) |
| Rename a file on disk. More...
|
|
static bool | Copy (const char *pDestination_UTF8, const char *pSource_UTF8) |
| Copy one file's content to another file (if the destination file not exist, it will be created). More...
|
|
static FbxInt64 | Size (const char *pFilePath_UTF8) |
| Get given file's size. More...
|
|
static bool | Exist (const char *pFilePath_UTF8) |
| Find if the specified file exist. More...
|
|
static bool | IsReadOnly (const char *pFilePath_UTF8) |
| Find if the specified file is in read-only mode. More...
|
|
static FbxLong | GetLastDate (const char *pPath_UTF8) |
| Get given file's last date. More...
|
|
static bool | SetLastDate (const char *pPath_UTF8, FbxLong pTime) |
| Set the given file's last date as the given date. More...
|
|
static char * | FGets (char *pStr, int pSize, FILE *pStream) |
| Get some content of a file. More...
|
|
◆ Delete()
static bool Delete |
( |
const char * |
pFileName_UTF8 | ) |
|
|
static |
Delete a file from disk.
- Parameters
-
pFileName_UTF8 | The file to be deleted. |
- Returns
- True if delete is successful.
◆ Rename()
static bool Rename |
( |
const char * |
pFileName_UTF8, |
|
|
const char * |
pNewName_UTF8 |
|
) |
| |
|
static |
Rename a file on disk.
- Parameters
-
pFileName_UTF8 | The file to be renamed. |
pNewName_UTF8 | The new file name upon rename. |
- Returns
- True if rename is successful.
◆ Copy()
static bool Copy |
( |
const char * |
pDestination_UTF8, |
|
|
const char * |
pSource_UTF8 |
|
) |
| |
|
static |
Copy one file's content to another file (if the destination file not exist, it will be created).
- Parameters
-
pDestination_UTF8 | The destination file path |
pSource_UTF8 | The source file path |
- Returns
- Return true if copy is successfully.
◆ Size()
static FbxInt64 Size |
( |
const char * |
pFilePath_UTF8 | ) |
|
|
static |
◆ Exist()
static bool Exist |
( |
const char * |
pFilePath_UTF8 | ) |
|
|
static |
Find if the specified file exist.
- Parameters
-
pFilePath_UTF8 | The file path to test against. |
- Returns
- Returns true if the file exist.
- Examples:
- ProceduralTexture/main.cxx.
◆ IsReadOnly()
static bool IsReadOnly |
( |
const char * |
pFilePath_UTF8 | ) |
|
|
static |
Find if the specified file is in read-only mode.
- Parameters
-
pFilePath_UTF8 | The file path to test against. |
- Returns
- Returns true if the file is in read-only mode.
◆ GetLastDate()
static FbxLong GetLastDate |
( |
const char * |
pPath_UTF8 | ) |
|
|
static |
Get given file's last date.
◆ SetLastDate()
static bool SetLastDate |
( |
const char * |
pPath_UTF8, |
|
|
FbxLong |
pTime |
|
) |
| |
|
static |
Set the given file's last date as the given date.
◆ FGets()
static char* FGets |
( |
char * |
pStr, |
|
|
int |
pSize, |
|
|
FILE * |
pStream |
|
) |
| |
|
static |
Get some content of a file.
- Parameters
-
pStr | The content get from file. |
pSize | The size of content. |
pStream | The opened stream of file. |
The documentation for this class was generated from the following file: