Static Public Member Functions

FbxFileUtils Class Reference

This reference page is linked to from the following overview topics: FBX SDK 2013.


Search for all occurrences

Detailed Description

Definition at line 161 of file fbxfile.h.

#include <fbxfile.h>

List of all members.

Static Public Member Functions

static bool Delete (const char *pFileName_UTF8)
 Delete a file from disk.
static bool Rename (const char *pFileName_UTF8, const char *pNewName_UTF8)
 Rename a file on disk.
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).
static FbxLong Size (const char *pFilePath_UTF8)
 Get given file's size.
static bool Exist (const char *pFilePath_UTF8)
 Find if the specified file exist.
static bool IsReadOnly (const char *pFilePath_UTF8)
 Find if the specified file is in read-only mode.
static FbxLong GetLastDate (const char *pPath_UTF8)
 Get given file's last date.
static bool SetLastDate (const char *pPath_UTF8, FbxLong pTime)
 Set the given file's last date as the given date.
static char * FGets (char *pStr, int pSize, FILE *pStream)
 Get some content of a file.

Member Function Documentation

static bool Delete ( const char *  pFileName_UTF8) [static]

Delete a file from disk.

Parameters:
pFileNameThe file to be deleted.
Returns:
True if delete is successful.
static bool Rename ( const char *  pFileName_UTF8,
const char *  pNewName_UTF8 
) [static]

Rename a file on disk.

Parameters:
pFileName_UTF8The file to be renamed.
pNewName_UTF8The new file name upon rename.
Returns:
True if rename is successful.
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_UTF8The destination file path
pSource_UTF8The source file path
Returns:
Return true if copy is successfully.
static FbxLong Size ( const char *  pFilePath_UTF8) [static]

Get given file's size.

static bool Exist ( const char *  pFilePath_UTF8) [static]

Find if the specified file exist.

Parameters:
pFilePath_UTF8The file path to test against.
Returns:
Returns true if the file exist.
static bool IsReadOnly ( const char *  pFilePath_UTF8) [static]

Find if the specified file is in read-only mode.

Parameters:
pFilePath_UTF8The file path to test against.
Returns:
Returns true if the file is in read-only mode.
static FbxLong GetLastDate ( const char *  pPath_UTF8) [static]

Get given file's last date.

static bool SetLastDate ( const char *  pPath_UTF8,
FbxLong  pTime 
) [static]

Set the given file's last date as the given date.

static char* FGets ( char *  pStr,
int  pSize,
FILE *  pStream 
) [static]

Get some content of a file.

Parameters:
pStrThe content get from file.
sizeThe size of content.
pStreamThe opened stream of file.

The documentation for this class was generated from the following file:

FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils
FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils FbxFileUtils