LCOV - code coverage report
Current view: top level - libreoffice/autodoc/source/ary/kernel - reposy.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 14 18 77.8 %
Date: 2012-12-27 Functions: 8 10 80.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 <reposy.hxx>
      22             : 
      23             : 
      24             : // NOT FULLY DECLARED SERVICES
      25             : #include <idl_internalgate.hxx>
      26             : 
      27             : 
      28             : namespace ary
      29             : {
      30             : 
      31             : 
      32             : //*****************     Repository          ************//
      33             : 
      34             : DYN Repository &
      35           1 : Repository::Create_()
      36             : {
      37           1 :     return *new RepositoryCenter;
      38             : }
      39             : 
      40             : 
      41             : 
      42             : 
      43           1 : RepositoryCenter::RepositoryCenter()
      44             :     :   sDisplayedName(),
      45             :         aLocation(),
      46           1 :         pIdlPartition(0)
      47             : {
      48           1 :     pIdlPartition = & idl::InternalGate::Create_Partition_();
      49           1 : }
      50             : 
      51           2 : RepositoryCenter::~RepositoryCenter()
      52             : {
      53           2 : }
      54             : 
      55             : const ::ary::idl::Gate &
      56           0 : RepositoryCenter::Gate_Idl() const
      57             : {
      58             :     csv_assert(pIdlPartition);
      59           0 :     return *pIdlPartition;
      60             : }
      61             : 
      62             : const String &
      63           0 : RepositoryCenter::Title() const
      64             : {
      65           0 :     return sDisplayedName;
      66             : }
      67             : 
      68             : ::ary::idl::Gate &
      69         122 : RepositoryCenter::Gate_Idl()
      70             : {
      71             :     csv_assert(pIdlPartition);
      72         122 :     return *pIdlPartition;
      73             : }
      74             : 
      75             : void
      76           1 : RepositoryCenter::Set_Title(const String & i_sName)
      77             : {
      78           1 :     sDisplayedName = i_sName;
      79           1 : }
      80             : 
      81             : 
      82             : 
      83             : 
      84             : //*********************     Repository Type Info Data       ****************//
      85             : 
      86             : // !!! IMPORTANT - NEVER DELETE OR CHANGE - ADDING ALLOWED
      87             : 
      88             : 
      89             : 
      90             : /*  ClassType-Ids
      91             :     -------------
      92             : 
      93             :     idl                 2000
      94             :     information         5000
      95             :     logic location      6000
      96             :     phys location       7000
      97             :     sec. prod.          8000
      98             : 
      99             : 
     100             :     idl
     101             :     ---
     102             : 
     103             :     Module              2000
     104             :     Interface           2001
     105             :     Function            2002
     106             :     Service             2003
     107             :     Property            2004
     108             :     Enum                2005
     109             :     EnumValue           2006
     110             :     Typedef             2007
     111             :     Struct              2008
     112             :     StructElement       2009
     113             :     Exception           2010
     114             :     ConstantGroup       2011
     115             :     Constant            2012
     116             :     Singleton           2013
     117             :     Attribute           2014
     118             :     SglIfcService       2015
     119             :     SglIfcSingleton     2016
     120             : 
     121             :     BuiltInType         2200
     122             :     CeType              2201
     123             :     Sequence            2202
     124             :     ExplicitType        2203
     125             :     ExplicitNameRoom    2204
     126             :     TemplateParamType   2205
     127             : 
     128             :     physical location
     129             :     -----------------
     130             :     Root                7000
     131             :     Directory           7030
     132             :     File                7100
     133             : 
     134             : 
     135             :     info
     136             :     ----
     137             :     CodeInformation
     138             :         (IDL)          11002
     139             : */
     140             : 
     141             : 
     142           3 : }   // namespace ary
     143             : 
     144             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10