src/ecore/ecore/src_gen/ecore/impl/EClassImpl.cpp
std::shared_ptr<Bag<ecore::EClass>> EClassImpl::getEAllSuperTypes() const
{
	//generated from getterbody annotation
std::shared_ptr< Bag<ecore::EClass> > eAllSuperTypes(new Bag<ecore::EClass>  ());

	std::shared_ptr<Bag<EClass> > classList = this->getESuperTypes();
    eAllSuperTypes->insert(eAllSuperTypes->end(), classList->begin(), classList->end());
    for (std::shared_ptr<EClass > c : *classList)
    {
    	std::shared_ptr<Bag<EClass> > classList = c->getEAllSuperTypes();
        eAllSuperTypes->insert(eAllSuperTypes->end(), classList->begin(), classList->end());
    }
    return eAllSuperTypes;
	//end of body
}
/*
Getter & Setter for reference eAllSuperTypes
*/
Getter & Setter for reference eAllSuperTypes
Getter & Setter for reference eAllSuperTypes
std::shared_ptr<Bag<ecore::EClass>> EClassImpl::getEAllSuperTypes() const
{
std::shared_ptr< Bag<ecore::EClass> > eAllSuperTypes(new Bag<ecore::EClass>  ());
	std::shared_ptr<Bag<EClass> > classList = this->getESuperTypes();
    eAllSuperTypes->insert(eAllSuperTypes->end(), classList->begin(), classList->end());
    for (std::shared_ptr<EClass > c : *classList)
    {
    	std::shared_ptr<Bag<EClass> > classList = c->getEAllSuperTypes();
        eAllSuperTypes->insert(eAllSuperTypes->end(), classList->begin(), classList->end());
    }
    return eAllSuperTypes;
}
std :: shared_ptr < Bag < ecore :: EClass > > EClassImpl :: getEAllSuperTypes ( ) const { std :: shared_ptr < Bag < ecore :: EClass > > eAllSuperTypes ( new Bag < ecore :: EClass > ( ) ) ; std :: shared_ptr < Bag < EClass > > classList = this -> getESuperTypes ( ) ; eAllSuperTypes -> insert ( eAllSuperTypes -> end ( ) , classList -> begin ( ) , classList -> end ( ) ) ; for ( std :: shared_ptr < EClass > c : * classList ) { std :: shared_ptr < Bag < EClass > > classList = c -> getEAllSuperTypes ( ) ; eAllSuperTypes -> insert ( eAllSuperTypes -> end ( ) , classList -> begin ( ) , classList -> end ( ) ) ; } return eAllSuperTypes ; }
Getter & Setter for reference eAllSuperTypes
Getter & Setter for reference eAllSuperTypes
//generated from getterbody annotation //end of body