Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated copyright message
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_Folder.h
diff --git
a/src/ModelAPI/ModelAPI_Folder.h
b/src/ModelAPI/ModelAPI_Folder.h
index b89fd8704bfc75e6a01f6c13c84468ec63618246..76b0a224275ef4609177db30a97ea61b679383aa 100644
(file)
--- a/
src/ModelAPI/ModelAPI_Folder.h
+++ b/
src/ModelAPI/ModelAPI_Folder.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-20
17 CEA/DEN, EDF R&D
+// Copyright (C) 2014-20
23 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-12,10
+12,9
@@
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
//
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef ModelAPI_Folder_H_
//
#ifndef ModelAPI_Folder_H_
@@
-83,7
+82,7
@@
public:
// Helper methods, aliases for data()->method()
// -----------------------------------------------------------------------------------------------
/// Returns the name stored in the attribute
// Helper methods, aliases for data()->method()
// -----------------------------------------------------------------------------------------------
/// Returns the name stored in the attribute
- inline std::string name()
+ inline std::
w
string name()
{
return data()->name();
}
{
return data()->name();
}
@@
-93,6
+92,10
@@
public:
return data()->reference(theID);
}
return data()->reference(theID);
}
+ /// Returns the last visible feature in the folder, passing through invisible,
+ /// that may appear as the last ones.
+ MODELAPI_EXPORT std::shared_ptr<ModelAPI_Feature> lastVisibleFeature();
+
protected:
/// This method is called just after creation of the object: it must initialize
/// all fields, normally initialized in the constructor
protected:
/// This method is called just after creation of the object: it must initialize
/// all fields, normally initialized in the constructor