LCOV - code coverage report
Current view: top level - libreoffice/autodoc/source/ary/idl - i_reposypart.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 27 27 100.0 %
Date: 2012-12-27 Functions: 11 11 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #include <precomp.h>
      21             : #include "i_reposypart.hxx"
      22             : 
      23             : 
      24             : // NOT FULLY DEFINED SERVICES
      25             : #include <ary/idl/i_namelookup.hxx>
      26             : #include <idl_internalgate.hxx>
      27             : #include "ia_ce.hxx"
      28             : #include "ia_type.hxx"
      29             : #include "i2s_calculator.hxx"
      30             : #include "is_ce.hxx"
      31             : #include "is_type.hxx"
      32             : 
      33             : 
      34             : 
      35             : 
      36             : namespace ary
      37             : {
      38             : namespace idl
      39             : {
      40             : 
      41             : 
      42             : DYN InternalGate &
      43           1 : InternalGate::Create_Partition_()
      44             : {
      45           1 :     return *new RepositoryPartition;
      46             : }
      47             : 
      48             : 
      49             : 
      50           1 : RepositoryPartition::RepositoryPartition()
      51             :     :   pCes(0),
      52             :         pTypes(0),
      53           1 :         pNamesDictionary(new NameLookup)
      54             : {
      55           1 :     pTypes = new TypeAdmin;
      56           1 :     pCes = new CeAdmin(*pNamesDictionary, *pTypes);
      57           1 : }
      58             : 
      59           2 : RepositoryPartition::~RepositoryPartition()
      60             : {
      61           2 : }
      62             : 
      63             : void
      64           1 : RepositoryPartition::Calculate_AllSecondaryInformation(
      65             :                             const String &      i_devman_reffilepath )
      66             : {
      67             :     // KORR_FUTURE
      68             :     //  Forward the options from here.
      69             : 
      70             :     SecondariesCalculator
      71           1 :         secalc(*pCes,*pTypes);
      72             : 
      73           1 :     secalc.CheckAllInterfaceBases();
      74           1 :     secalc.Connect_Types2Ces();
      75           1 :     secalc.Gather_CrossReferences();
      76             : 
      77           1 :     if ( NOT i_devman_reffilepath.empty() )
      78             :     {
      79           1 :         secalc.Make_Links2DeveloperManual(i_devman_reffilepath);
      80           1 :     }
      81           1 : }
      82             : 
      83             : const CePilot &
      84      233363 : RepositoryPartition::Ces() const
      85             : {
      86      233363 :     return *pCes;
      87             : }
      88             : 
      89             : const TypePilot &
      90       78431 : RepositoryPartition::Types() const
      91             : {
      92       78431 :     return *pTypes;
      93             : }
      94             : 
      95             : CePilot &
      96       54840 : RepositoryPartition::Ces()
      97             : {
      98       54840 :     return *pCes;
      99             : }
     100             : 
     101             : TypePilot &
     102       27486 : RepositoryPartition::Types()
     103             : {
     104       27486 :     return *pTypes;
     105             : }
     106             : 
     107             : 
     108             : 
     109             : }   //  namespace idl
     110           3 : }   //  namespace ary
     111             : 
     112             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10