LCOV - code coverage report
Current view: top level - libreoffice/autodoc/source/ary/idl - it_ce.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 17 22 77.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_ce.hxx"
      22             : 
      23             : 
      24             : // NOT FULLY DEFINED SERVICES
      25             : #include <cosv/tpl/processor.hxx>
      26             : #include <ary/idl/i_ce.hxx>
      27             : #include <ary/idl/i_gate.hxx>
      28             : #include <ary/idl/i_module.hxx>
      29             : #include <ary/idl/ip_ce.hxx>
      30             : 
      31             : 
      32             : 
      33             : namespace ary
      34             : {
      35             : namespace idl
      36             : {
      37             : 
      38             : 
      39        3696 : Ce_Type::Ce_Type( Ce_id                        i_relatedCe,
      40             :                   const std::vector<Type_id> * i_templateParameters )
      41             :     :   nRelatedCe(i_relatedCe),
      42        3696 :         pTemplateParameters(0)
      43             : {
      44        3696 :     if (i_templateParameters != 0)
      45        3696 :         pTemplateParameters = new std::vector<Type_id>(*i_templateParameters);
      46        3696 : }
      47             : 
      48           0 : Ce_Type::~Ce_Type()
      49             : {
      50           0 : }
      51             : 
      52             : ClassId
      53       81743 : Ce_Type::get_AryClass() const
      54             : {
      55       81743 :     return class_id;
      56             : }
      57             : 
      58             : void
      59           0 : Ce_Type::do_Accept( csv::ProcessorIfc & io_processor ) const
      60             : {
      61           0 :     csv::CheckedCall(io_processor, *this);
      62           0 : }
      63             : 
      64             : void
      65       19471 : Ce_Type::inq_Get_Text( StringVector &      o_module,
      66             :                        String &            o_name,
      67             :                        Ce_id &             o_nRelatedCe,
      68             :                        int &               ,                // o_nSequenceCount
      69             :                        const Gate &        i_rGate ) const
      70             : {
      71       19471 :     String sDummyMember;
      72             : 
      73             :     const CodeEntity &
      74       19471 :         rCe = i_rGate.Ces().Find_Ce(nRelatedCe);
      75       19471 :     i_rGate.Ces().Get_Text( o_module,
      76             :                             o_name,
      77             :                             sDummyMember,
      78       19471 :                             rCe );
      79       19471 :     o_nRelatedCe = nRelatedCe;
      80       19471 : }
      81             : 
      82             : const std::vector<Type_id> *
      83       15927 : Ce_Type::inq_TemplateParameters() const
      84             : {
      85       15927 :     return pTemplateParameters.Ptr();
      86             : }
      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