LCOV - code coverage report
Current view: top level - libreoffice/autodoc/source/ary/idl - it_xnameroom.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 18 23 78.3 %
Date: 2012-12-27 Functions: 6 9 66.7 %
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 "it_xnameroom.hxx"
      22             : 
      23             : 
      24             : // NOT FULLY DEFINED SERVICES
      25             : #include <cosv/tpl/processor.hxx>
      26             : #include <cosv/tpl/tpltools.hxx>
      27             : #include <ary/idl/i_gate.hxx>
      28             : #include <ary/idl/ip_type.hxx>
      29             : 
      30             : 
      31             : 
      32             : namespace ary
      33             : {
      34             : namespace idl
      35             : {
      36             : 
      37             : 
      38         112 : ExplicitNameRoom::ExplicitNameRoom()
      39         112 :     :   aImpl()
      40             : {
      41         112 : }
      42             : 
      43         989 : ExplicitNameRoom::ExplicitNameRoom( const String &           i_sName,
      44             :                                     const ExplicitNameRoom & i_rParent )
      45         989 :     :   aImpl( i_sName, i_rParent.aImpl, i_rParent.TypeId() )
      46             : {
      47         989 : }
      48             : 
      49           0 : ExplicitNameRoom::~ExplicitNameRoom()
      50             : {
      51           0 : }
      52             : 
      53             : ClassId
      54        1099 : ExplicitNameRoom::get_AryClass() const
      55             : {
      56        1099 :     return class_id;
      57             : }
      58             : 
      59             : void
      60           0 : ExplicitNameRoom::do_Accept( csv::ProcessorIfc & io_processor ) const
      61             : {
      62           0 :     csv::CheckedCall(io_processor, *this);
      63           0 : }
      64             : 
      65             : void
      66           7 : ExplicitNameRoom::inq_Get_Text( StringVector &      o_module,
      67             :                                 String &            ,           // o_name
      68             :                                 Ce_id &             ,           // o_nRelatedCe
      69             :                                 int &               ,           // o_nSequemceCount
      70             :                                 const Gate &        ) const     // i_rGate
      71             : {
      72           7 :     StringVector::const_iterator it = NameChain_Begin();
      73          14 :     if ( it != NameChain_End()
      74           7 :             ? (*it).empty()
      75             :             : false )
      76             :     {   // Don't put out the root global namespace
      77           5 :         ++it;
      78             :     }
      79             : 
      80         105 :     for ( ;
      81          70 :           it != NameChain_End();
      82             :           ++it )
      83             :     {
      84          28 :         o_module.push_back(*it);
      85             :     }
      86           7 : }
      87             : 
      88             : 
      89             : 
      90             : 
      91             : }   // namespace idl
      92           3 : }   // namespace ary
      93             : 
      94             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10