DATAKIT SDK  V2026.4
dtk_CerecReader.hpp
Go to the documentation of this file.
1 #ifndef _DTK_CEREC_READER_H_
2 #define _DTK_CEREC_READER_H_
3 
4 class CerecReader: public Dtk_Reader
5 {
6  public:
9 
10  static Dtk_bool Enable();
11  Dtk_ErrorStatus CreateDocument( const Dtk_string &inInputFile, Dtk_MainDocPtr& outDocument );
13 
14  Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string& outVersion);
15  Dtk_ErrorStatus GetFilePreview( const Dtk_string &inInputFile, Dtk_PreviewPtr& outPreview );
16 
17  Dtk_ErrorStatus PopulateComponentsTree( const Dtk_string &inInputFile, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent );
18  Dtk_ErrorStatus PopulateComponentsTree(const Dtk_tab< Dtk_StreamPtr >& inArrayStream, Dtk_MainDocPtr& inoutDocument, Dtk_ComponentPtr& outRootComponent );
20  Dtk_ErrorStatus ReadComponent( const Dtk_ComponentPtr &inComponent, Dtk_NodePtr& outRootNode );
27  void Inventory();
28 
29 
30  private:
31  struct Dtk_Handle;
32  Dtk_Handle *m_Private;
33 };
34 
35 #endif
36 
CerecReader::ReadAdditionalInfos
Dtk_ErrorStatus ReadAdditionalInfos(Dtk_Node &inNode, Dtk_ObjectPtr &outEntity)
CerecReader::GetFilePreview
Dtk_ErrorStatus GetFilePreview(const Dtk_string &inInputFile, Dtk_PreviewPtr &outPreview)
CerecReader::CerecReader
CerecReader()
CerecReader::PopulateComponentsTree
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_string &inInputFile, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
Dtk_Reader
Definition: dtk_reader.hpp:15
CerecReader::EndPopulateComponentsTree
Dtk_ErrorStatus EndPopulateComponentsTree()
Dtk_string
This is a high level string class.
Definition: dtk_string.hpp:53
CerecReader::GetFileVersion
Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string &outVersion)
CerecReader::EndComponent
Dtk_ErrorStatus EndComponent(Dtk_ComponentPtr &inComponent)
Dtk_bool
char Dtk_bool
Definition: define.h:724
CerecReader::Inventory
void Inventory()
CerecReader
Definition: dtk_CerecReader.hpp:5
CerecReader::ReadEntity
Dtk_ErrorStatus ReadEntity(Dtk_Node &inNode, Dtk_EntityPtr &outEntity)
Dtk_Node
This is the Node Class.
Definition: dtk_maindoc.hpp:234
Dtk_Int32
int32_t Dtk_Int32
Definition: define.h:686
CerecReader::ActivateReader
Dtk_ErrorStatus ActivateReader()
Dtk_ErrorStatus
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37
CerecReader::ReadComponent
Dtk_ErrorStatus ReadComponent(const Dtk_ComponentPtr &inComponent, Dtk_NodePtr &outRootNode)
CerecReader::GetVersion
Dtk_Int32 GetVersion()
CerecReader::DesactivateReader
Dtk_ErrorStatus DesactivateReader()
CerecReader::PopulateComponentsTree
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_tab< Dtk_StreamPtr > &inArrayStream, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
CerecReader::Enable
static Dtk_bool Enable()
Dtk_tab
This is a high level array class.
Definition: util_stl_dtk.hpp:84
CerecReader::~CerecReader
~CerecReader()
CerecReader::CreateDocumentGraphical
Dtk_ErrorStatus CreateDocumentGraphical(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)
CerecReader::CreateDocument
Dtk_ErrorStatus CreateDocument(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)