-// Copyright (C) 2006-2014 CEA/DEN, EDF R&D
+// Copyright (C) 2006-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
throw Exception("An HomogeneousPoolContainer cannot be detached on cloning #2 !");
}
+void HomogeneousPoolContainer::assignPG(const PlayGround *pg)
+{
+ _pg.takeRef(pg);
+}
+
void HomogeneousPoolContainer::dettachOnCloning() const
{
_isAttachedOnCloning=true;
HomogeneousPoolContainer::~HomogeneousPoolContainer()
{
}
+
+const PlayGround *HomogeneousPoolContainer::getPG() const
+{
+ if(_pg.isNull())
+ throw Exception("HomogeneousPoolContainer::getPG : PlayGround is nullptr !");
+ return _pg;
+}