7 #include "fwActivities/IBuilder.hpp" 9 #include <fwData/Vector.hpp> 16 ::fwData::Vector::sptr IBuilder::getType( const ::fwData::Vector::csptr& currentSelection,
17 const std::string& type )
const 19 SLM_ASSERT(
"currentSelection not instanced", currentSelection);
21 ::fwData::Vector::sptr subSelection = ::fwData::Vector::New();
24 OSLM_ASSERT(
"Object not instanced in selection", obj);
27 subSelection->getContainer().push_back(obj);
#define OSLM_ASSERT(message, cond)
work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel) ...
ContainerType::value_type value_type
#define SLM_ASSERT(message, cond)
work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel) ...
Namespace containing activities data and builder.