X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkPackage.cxx;h=66465e9813e2bb200a50e611848ad8c3d3e2cc88;hb=893cff74b10b6e9271e480491ae485ae69f5816e;hp=b5b15c4cda0e9476a43a5f3c92517ccbea665604;hpb=b12676eb62b1a767ca40dfdb7afba733c1f8e8b3;p=bbtk.git diff --git a/kernel/src/bbtkPackage.cxx b/kernel/src/bbtkPackage.cxx index b5b15c4..66465e9 100644 --- a/kernel/src/bbtkPackage.cxx +++ b/kernel/src/bbtkPackage.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkPackage.cxx,v $ Language: C++ - Date: $Date: 2010/02/08 15:15:24 $ - Version: $Revision: 1.34 $ + Date: $Date: 2010/09/12 14:52:25 $ + Version: $Revision: 1.35 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -677,6 +677,18 @@ namespace bbtk } //========================================================================== +//ups4 EED borrame + bool Package::ifBoxExist( std::string type) + { + bool ok=false; + DescriptorMapType::const_iterator i = mDescriptorMap.find(type); + if (i != mDescriptorMap.end()) + { + ok=true; + } + return ok; + } + //========================================================================== /// Creates an instance of a black box of type with name BlackBox::Pointer Package::NewBlackBox(const std::string& type,