DATAKIT API  V2025.4
testwriters.h
Go to the documentation of this file.
1 #ifndef _TESTWRITERS_H_
2 #define _TESTWRITERS_H_
3 
4 #include "datakit.h"
5 
6 using namespace std;
7 
8 // a macro to quickly test error code returned from function
9 #define CHECK_OK(X) {Dtk_ErrorStatus res;if ((res=X)!=dtkNoError) {printf("error : %s\n", dtkTypeError(res).c_str());return res;}}
10 #define PRINT_ERROR( inStatus ) \
11 { \
12  if ( ( inStatus ) != dtkNoError) \
13  std::cout << __FUNCTION__ << " encountered an error at line " << __LINE__ << " : " << dtkTypeError(inStatus).c_str() << std::endl; \
14 }
15 
16 int _3dxmlWriteSample(const Dtk_string &inResultDirectory);
17 int _3mfWriteSample(const Dtk_string &inResultDirectory);
18 int CatiaV5WriteSample(const Dtk_string &inResultDirectory);
19 int CgrWriteSample(const Dtk_string &inResultDirectory);
20 int ColladaWriteSample(const Dtk_string &inResultDirectory);
21 int FbxWriteSample(const Dtk_string &inResultDirectory);
22 int GltfWriteSample(const Dtk_string &inResultDirectory);
23 int IfcWriteSample(const Dtk_string &inResultDirectory);
24 int IgesWriteSample(const Dtk_string &inResultDirectory);
25 int JtWriteSample(const Dtk_string &inResultDirectory);
26 int ObjWriteSample(const Dtk_string &inResultDirectory);
27 int ParasolidWriteSample(const Dtk_string &inResultDirectory);
28 int PdfWriteSample(const Dtk_string &inResultDirectory);
29 int PlmxmlWriteSample(const Dtk_string& inResultDirectory);
30 int SatWriteSample(const Dtk_string &inResultDirectory);
31 int StepWriteSample(const Dtk_string &inResultDirectory);
32 int SwWriteSample( Dtk_API * inDtkAPI, const Dtk_string &inResultDirectory );
33 int UgWriteSample(const Dtk_string &inResultDirectory);
34 
35 #endif //_TESTWRITERS_H_
ColladaWriteSample
int ColladaWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibcolladawrite.cpp:16
UgWriteSample
int UgWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibugwrite.cpp:765
_3mfWriteSample
int _3mfWriteSample(const Dtk_string &inResultDirectory)
Definition: testlib3mfwrite.cpp:16
SatWriteSample
int SatWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibsatwrite.cpp:15
_3dxmlWriteSample
int _3dxmlWriteSample(const Dtk_string &inResultDirectory)
Definition: testlib3dxmlwrite.cpp:228
ObjWriteSample
int ObjWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibobjwrite.cpp:79
CatiaV5WriteSample
int CatiaV5WriteSample(const Dtk_string &inResultDirectory)
Definition: testlibcatiav5write.cpp:483
ParasolidWriteSample
int ParasolidWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibparasolidwrite.cpp:16
Dtk_string
This is a high level string class.
Definition: dtk_string.hpp:58
FbxWriteSample
int FbxWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibfbxwrite.cpp:92
SwWriteSample
int SwWriteSample(Dtk_API *inDtkAPI, const Dtk_string &inResultDirectory)
Definition: testlibswwrite.cpp:212
StepWriteSample
int StepWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibstepwrite.cpp:753
PlmxmlWriteSample
int PlmxmlWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibplmxmlwrite.cpp:100
JtWriteSample
int JtWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibjtwrite.cpp:1178
GltfWriteSample
int GltfWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibgltfwrite.cpp:100
IgesWriteSample
int IgesWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibigeswrite.cpp:147
CgrWriteSample
int CgrWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibcgrwrite.cpp:17
datakit.h
IfcWriteSample
int IfcWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibifcwrite.cpp:196
PdfWriteSample
int PdfWriteSample(const Dtk_string &inResultDirectory)
Definition: testlibpdfwrite.cpp:1054
Dtk_API
Definition: dtk_api.hpp:75