X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Iterator.h;h=d09d360dab383eab5be0733c3e18127c86773ea0;hb=ad8562bab9992101430a6327aa7ca06c71f6d084;hp=824579792fc560282ada87287ca4282a9a3e7da0;hpb=8749815cc2069167555bf5e823190727b7004a35;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Iterator.h b/src/HYDROData/HYDROData_Iterator.h index 82457979..d09d360d 100644 --- a/src/HYDROData/HYDROData_Iterator.h +++ b/src/HYDROData/HYDROData_Iterator.h @@ -21,8 +21,8 @@ public: * \param theDoc document to iterate * \param theKind kind of the iterated object, can be UNKNOWN: to iterate all objects */ - HYDRODATA_EXPORT HYDROData_Iterator(Handle(HYDROData_Document) theDoc, - ObjectKind theKind = KIND_UNKNOWN); + HYDRODATA_EXPORT HYDROData_Iterator( const Handle(HYDROData_Document)& theDoc, + const ObjectKind theKind = KIND_UNKNOWN); /** * Iterates to the next object @@ -46,13 +46,15 @@ public: * \param theDoc document where object will be located * \param theKind kind of the new object, can not be UNKNOWN */ - 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 Handle(HYDROData_Entity) Object( const TDF_Label& theLabel ); + static HYDRODATA_EXPORT Handle(HYDROData_Entity) Object( + const TDF_Label& theLabel ); protected: