static const QString aName2("test_name2");
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1);
- Handle(HYDROData_Object) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
+ Handle(HYDROData_Entity) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
anObj->SetName(aName1);
- // first HYDROData_Object must be destroyed because there is no hander pointer naymore
+ // first HYDROData_Entity must be destroyed because there is no hander pointer naymore
anObj = aDoc->CreateObject(KIND_IMAGE); // second image object
anObj->SetName(aName2);
static const QString aName2("test_name2");
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1);
- Handle(HYDROData_Object) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
+ Handle(HYDROData_Entity) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
anObj->SetName(aName1);
- // first HYDROData_Object must be destroyed because there is no hander pointer naymore
+ // first HYDROData_Entity must be destroyed because there is no hander pointer naymore
anObj = aDoc->CreateObject(KIND_IMAGE); // second image object
anObj->SetName(aName2);