LCOV - code coverage report
Current view: top level - libreoffice/autodoc/source/ary/idl - it_sequence.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 13 18 72.2 %
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_sequence.hxx"
      22             : 
      23             : 
      24             : // NOT FULLY DEFINED SERVICES
      25             : #include <cosv/tpl/processor.hxx>
      26             : #include <ary/idl/i_gate.hxx>
      27             : #include <ary/idl/ip_type.hxx>
      28             : 
      29             : 
      30             : 
      31             : namespace ary
      32             : {
      33             : namespace idl
      34             : {
      35             : 
      36             : 
      37         277 : Sequence::Sequence( Type_id i_nRelatedType )
      38         277 :     :   nRelatedType(i_nRelatedType)
      39             : {
      40         277 : }
      41             : 
      42           0 : Sequence::~Sequence()
      43             : {
      44           0 : }
      45             : 
      46             : ClassId
      47        4884 : Sequence::get_AryClass() const
      48             : {
      49        4884 :     return class_id;
      50             : }
      51             : 
      52             : void
      53           0 : Sequence::do_Accept( csv::ProcessorIfc & io_processor ) const
      54             : {
      55           0 :     csv::CheckedCall(io_processor, *this);
      56           0 : }
      57             : 
      58             : void
      59        1194 : Sequence::inq_Get_Text( StringVector &      o_module,
      60             :                         String &            o_name,
      61             :                         Ce_id &             o_nRelatedCe,
      62             :                         int &               o_nSequenceCount,
      63             :                         const Gate &        i_rGate ) const
      64             : {
      65        1194 :     ++o_nSequenceCount;
      66             : 
      67        1194 :     i_rGate.Types().Find_Type(nRelatedType)
      68             :             .Get_Text(  o_module,
      69             :                         o_name,
      70             :                         o_nRelatedCe,
      71             :                         o_nSequenceCount,
      72        1194 :                         i_rGate );
      73        1194 : }
      74             : 
      75             : const Type &
      76         652 : Sequence::inq_FirstEnclosedNonSequenceType(const Gate & i_rGate) const
      77             : {
      78         652 :     return i_rGate.Types().Find_Type(nRelatedType).FirstEnclosedNonSequenceType(i_rGate);
      79             : }
      80             : 
      81             : 
      82             : }   // namespace idl
      83           3 : }   // namespace ary
      84             : 
      85             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10