![]() |
Polygon Crucher SDK - Documentation
Documentation
|
A given extension may match several formats. In case of conflict CFileNameSpec is a way to indicate that a given file name matches a specified file class.
CFileNameSpec(filename) simply construct a filename without specifying which is its class.
In that case, the SDK will choose the appropriate parser based an the extension.
If loading fails, a try will be done using the next available parser, and so on.
More...
A given extension may match several formats. In case of conflict CFileNameSpec is a way to indicate that a given file name matches a specified file class.
CFileNameSpec(filename) simply construct a filename without specifying which is its class.
In that case, the SDK will choose the appropriate parser based an the extension.
If loading fails, a try will be done using the next available parser, and so on.
#include <FileInfo.h>
Public Member Functions | |
| CFileNameSpec (const CXString &filename, unsigned int fileclass=UNKNOWN_CLASS) | |
| CFileNameSpec (LPCTSTR filename, unsigned int fileclass=UNKNOWN_CLASS) | |
| bool | IsSameFile (const CFileNameSpec &spec) const |
| bool | IsDefaultParserChoice () const |
| operator LPCTSTR () const | |
| operator const CXString & () const | |
| void | operator= (const CXString &filename) |
| unsigned int | GetClass () const |
| void | SetClass (unsigned int newclass) |
| const CXString & | GetFileName () const |