 |
DATAKIT SDK
V2026.2
|
|
◆ ProcessCADFile()
26 std::cout <<
"Processing file: " << inInputFile.
c_str() << std::endl;
35 std::cout <<
"File version: " << fileVersion.
c_str() << std::endl;
41 std::cout <<
"Unable to get file version (error code: " <<
dtkTypeError(stError).
c_str() <<
")" << std::endl;
75 std::cout <<
"Error with OpenDocument (error code: " << err <<
" " <<
dtkTypeError(err).
c_str() <<
")" << std::endl;
◆ ProcessedComponents
Dtk_ErrorStatus EndDocument(Dtk_MainDocPtr &inoutDocument)
Close a Document.
Dtk_bool IsNotNULL() const
Definition: util_ptr_dtk.hpp:119
This is a high level string class.
Definition: dtk_string.hpp:53
Dtk_ErrorStatus WriteDocument(Dtk_MainDocPtr inDocument)
Definition: WriteDocument.cpp:14
Dtk_ErrorStatus XmlWriteInit(Dtk_string inInputFile, const Dtk_string &inOutputFolder)
Definition: XmlWrite.cpp:22
Dtk_ErrorStatus OpenDocument(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)
Open a Document (call EndDocument to close it)
Dtk_bool is_not_NULL() const
static Dtk_API * GetAPI()
Get DATAKIT API.
Dtk_string filename() const
File Utility : Retrieves the filename in Dtk_string form.
void PdfEndWrite(const Dtk_string &inInputFile)
Definition: PdfWrite.cpp:83
Dtk_ErrorStatus XmlWriteEnd()
Definition: XmlWrite.cpp:39
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Definition: util_ptr_dtk.hpp:37
Dtk_string dtkTypeError(Dtk_Int32 errNumero)
const char * c_str() const
Retrieve the ASCII conversion string.
Dtk_tab< Dtk_ID > ProcessedComponents
Definition: WritePrototype.cpp:16
Dtk_bool IsXmlDumpActivated()
Definition: XmlWrite.cpp:17
Dtk_ErrorStatus PdfInitWrite(const Dtk_string &inInputFileName, const Dtk_string &inOutputFolder)
Definition: PdfWrite.cpp:34
Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string &outVersion)
Independant method to get version of inInputFile.
@ dtkNoError
Definition: error_dtk.hpp:149
Dtk_ErrorStatus SetLogFile(const Dtk_string &inLogFile)
Set Log File.
Dtk_bool IsPdfDumpActivated()
Definition: PdfWrite.cpp:29
Definition: dtk_api.hpp:75