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