--  Copyright (2008-2013) Cédric Coussinet (cedric.coussinet@nomoseed.net)
--
--  This program is free software: you can redistribute it and/or modify
--  it under the terms of the GNU Affero General Public License as published
--  by the Free Software Foundation, either version 3 of the License, or
--  (at your option) any later version.
--
--  This program is distributed in the hope that it will be useful,
--  but WITHOUT ANY WARRANTY; without even the implied warranty of
--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--  GNU Affero General Public License for more details.

--  You should have received a copy of the GNU Affero General Public License
--  along with this program. If not, see <http://www.gnu.org/licenses/>

with Nomo.Interpreter.Gen_Rules_Directories.Initialization;
pragma Elaborate_All (Nomo.Interpreter.Gen_Rules_Directories.Initialization);

package body Nomo.Interpreter.Gen_Clusters_Base.Initialization is

   package Local_Rules_Directories_Initialization is new Local_Rules_Directories.Initialization;
   use Local_Rules_Directories_Initialization;

   procedure Initialize (This  : in out Cluster_Base) is
   begin
      for I in This.Store'Range loop
         Initialize (Rules_Directory (This.Directory), Positive (I), This.Store (I)'Unchecked_Access);
      end loop;
   end Initialize;

end Nomo.Interpreter.Gen_Clusters_Base.Initialization;
