DATAKIT SDK  V2026.4
dtk_JtReader.hpp
Go to the documentation of this file.
1 /**********************************************************
2  Dtk_JtrReader.hpp
3 ***********************************************************/
4 #ifndef _DTK_JT_READER_H_
5 #define _DTK_JT_READER_H_
6 #include "util/dtk_reader.hpp"
7 #include "def/define.h"
8 
9 class JtReader: public Dtk_Reader
10 {
11 public:
13  virtual ~JtReader();
14  static bool Enable();
15  //! [Options]
16  //! \brief : Enable or disable Semantic PMI reading, try to recognize PMI as semantic.
17  //! \brief : Can be enabled or disabled before each Dtk_Node::GetDtk_FdtPtr()
18  //! \param [in] inActivate : 0 disable (default)
19  //! 1 enable
20  static Dtk_ErrorStatus ActivateSemanticPMI( int inActivate = 1 );
21  //! \brief : Leaf structure (JT SUBNODES) read as components if set, otherwise read as nodes (default)
22  //! \brief : Must be enabled before each Dtk_API::OpenDocument()
23  //! \brief : If leaf structure on nodes, instances as duplicated on these nodes.
24  //! \param [in] inOnComponents : 1 leaf structure on components
25  //! 0 leaf structure on nodes
26  static Dtk_ErrorStatus SetLeafStructureAsComponents( int inOnComponents );
27  //! [Options]
29 };
30 
31 #endif // _DTK_JT_READER_H_
32 
JtReader::Enable
static bool Enable()
Dtk_Reader
Definition: dtk_reader.hpp:15
JtReader::JtReader
JtReader()
JtReader::ActivateSemanticPMI
static Dtk_ErrorStatus ActivateSemanticPMI(int inActivate=1)
: Enable or disable Semantic PMI reading, try to recognize PMI as semantic.
JtReader::GetSubReader
Dtk_Reader *& GetSubReader(int)
[Options]
JtReader::~JtReader
virtual ~JtReader()
JtReader
Definition: dtk_JtReader.hpp:10
Dtk_ErrorStatus
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
JtReader::SetLeafStructureAsComponents
static Dtk_ErrorStatus SetLeafStructureAsComponents(int inOnComponents)
: Leaf structure (JT SUBNODES) read as components if set, otherwise read as nodes (default)
define.h
dtk_reader.hpp