mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0031326: Foundation Classes - Init from Json for base OCCT classes
InitFromJson method implementation for some simple classes. OCCT_INIT_* defines introduction to do automatic parsing of the stream into values. Inspector is extended to visualize objects created on the dump stream if it might be created.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#ifndef TreeModel_ItemBase_H
|
||||
#define TreeModel_ItemBase_H
|
||||
|
||||
#include <NCollection_List.hxx>
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_Macro.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
@@ -149,6 +150,7 @@ public:
|
||||
//! Returns the item properties
|
||||
const Handle(TreeModel_ItemProperties)& Properties() const { return myProperties; }
|
||||
|
||||
Standard_EXPORT virtual void Presentations (NCollection_List<Handle(Standard_Transient)>& thePresentations);
|
||||
protected:
|
||||
|
||||
//! \param theParent the parent item
|
||||
|
Reference in New Issue
Block a user