src/uml/src_gen/uml/impl/InstanceSpecificationImpl.cpp
/*
Getter & Setter for reference slot
*/
Getter & Setter for reference slot
Getter & Setter for reference slot
std::shared_ptr<Subset<uml::Slot, uml::Element>> InstanceSpecificationImpl::getSlot() const
{
	if(m_slot == nullptr)
	{
		m_slot.reset(new Subset<uml::Slot, uml::Element >());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising shared pointer Subset: " << "m_slot - Subset<uml::Slot, uml::Element >()" << std::endl;
		#endif
		m_slot->initSubset(getOwnedElement());
		#ifdef SHOW_SUBSET_UNION
			std::cout << "Initialising value Subset: " << "m_slot - Subset<uml::Slot, uml::Element >(getOwnedElement())" << std::endl;
		#endif
	}
    return m_slot;
}
std :: shared_ptr < Subset < uml :: Slot , uml :: Element > > InstanceSpecificationImpl :: getSlot ( ) const { if ( m_slot == nullptr ) { m_slot . reset ( new Subset < uml :: Slot , uml :: Element > ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif m_slot -> initSubset ( getOwnedElement ( ) ) ; #ifdef SHOW_SUBSET_UNION std :: cout << " " << " " << std :: endl ; #endif } return m_slot ; }
Getter & Setter for reference slot
Getter & Setter for reference slot
/*Subset*/ /*Subset*/