- static Handle(HYDROData_Entity) CreateObject( TDF_Label& theNewLabel,
- const ObjectKind& theObjectKind );
+ static HYDRODATA_EXPORT Handle(HYDROData_Entity) CreateObject(
+ TDF_Label& theNewLabel,
+ const ObjectKind& theObjectKind );
+
+ /**
+ * Returns object associated to the given label.
+ */
+ static HYDRODATA_EXPORT Handle(HYDROData_Entity) Object(
+ const TDF_Label& theLabel );