DATAKIT API  V2025.1
dtk_sereader.hpp
Go to the documentation of this file.
1 #ifndef DTK_SE_READER_HPP
2 #define DTK_SE_READER_HPP
3 
4 class SolidEdgeReader : public Dtk_Reader
5 {
6 public:
7 
10 
11  static Dtk_bool Enable();
12 
13  Dtk_ErrorStatus CreateDocument(const Dtk_string & inInputFile, Dtk_MainDocPtr& outDocument);
14  Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string& outVersion);
15  Dtk_ErrorStatus PopulateComponentsTree(const Dtk_string & inInputFile, Dtk_MainDocPtr & inoutDocument, Dtk_ComponentPtr & outRootComponent);
16  Dtk_ErrorStatus PopulateComponentsTree(const Dtk_tab< Dtk_StreamPtr >& inArrayStream, Dtk_MainDocPtr& inoutDocument, Dtk_ComponentPtr& outRootComponent );
18  Dtk_ErrorStatus ReadComponent(const Dtk_ComponentPtr &inComponent,Dtk_NodePtr& outRootNode);
25  Dtk_ErrorStatus GetFilePreview( const Dtk_string &inInputFile, Dtk_PreviewPtr& outPreview );
28 
29 private:
30 
32  SolidEdgeReader& operator=(const SolidEdgeReader &);
33 
34  struct handle;
35  struct handle * m_handler;
36 };
37 
38 #endif
SolidEdgeReader::GetVersion
Dtk_Int32 GetVersion()
SolidEdgeReader::EndPopulateComponentsTree
Dtk_ErrorStatus EndPopulateComponentsTree()
SolidEdgeReader::SolidEdgeReader
SolidEdgeReader()
SolidEdgeReader::ReadComponent
Dtk_ErrorStatus ReadComponent(const Dtk_ComponentPtr &inComponent, Dtk_NodePtr &outRootNode)
SolidEdgeReader::EndComponent
Dtk_ErrorStatus EndComponent(Dtk_ComponentPtr &inComponent)
Dtk_Reader
Definition: dtk_reader.hpp:15
Dtk_string
This is a high level string class.
Definition: dtk_string.hpp:58
Dtk_bool
char Dtk_bool
Definition: define.h:725
SolidEdgeReader::GetFilePreview
Dtk_ErrorStatus GetFilePreview(const Dtk_string &inInputFile, Dtk_PreviewPtr &outPreview)
Dtk_Node
This is the Node Class The Dtk_Node object is used to retrieve informations in a Dtk_ComponentPtr obj...
Definition: dtk_maindoc.hpp:230
Dtk_Int32
int32_t Dtk_Int32
Definition: define.h:687
SolidEdgeReader::GetConnectorsPointingToThisComponent
Dtk_ErrorStatus GetConnectorsPointingToThisComponent(Dtk_Component &inCompo, Dtk_tab< Dtk_NodeConnectorPtr > &outConnectedEntities)
SolidEdgeReader::PopulateComponentsTree
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_string &inInputFile, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
SolidEdgeReader::PopulateComponentsTree
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_tab< Dtk_StreamPtr > &inArrayStream, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
Dtk_ErrorStatus
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37
SolidEdgeReader::ReadEntity
Dtk_ErrorStatus ReadEntity(Dtk_Node &inNode, Dtk_EntityPtr &outEntity)
Dtk_tab
This is a high level array class.
Definition: util_stl_dtk.hpp:85
SolidEdgeReader::CreateDocument
Dtk_ErrorStatus CreateDocument(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)
SolidEdgeReader::GetAssociatedEntities
Dtk_ErrorStatus GetAssociatedEntities(Dtk_Node &inNode, Dtk_tab< Dtk_NodeConnectorPtr > &outAssociatedEntities)
SolidEdgeReader::ActivateReader
Dtk_ErrorStatus ActivateReader()
Dtk_Component
This is the Component Class. The Dtk_ComponentPtr object is used as element into an assembly tree....
Definition: dtk_maindoc.hpp:563
SolidEdgeReader::~SolidEdgeReader
~SolidEdgeReader()
SolidEdgeReader::ReadAdditionalInfos
Dtk_ErrorStatus ReadAdditionalInfos(Dtk_Node &inNode, Dtk_ObjectPtr &outEntity)
SolidEdgeReader::Enable
static Dtk_bool Enable()
SolidEdgeReader
Definition: dtk_sereader.hpp:5
SolidEdgeReader::GetFileVersion
Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string &outVersion)
SolidEdgeReader::DesactivateReader
Dtk_ErrorStatus DesactivateReader()