LCOV - code coverage report
Current view: top level - libreoffice/autodoc/source/ary/idl - i_ce.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 13 13 100.0 %
Date: 2012-12-27 Functions: 6 7 85.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 <ary/idl/i_ce.hxx>
      22             : 
      23             : 
      24             : // NOT FULLY DEFINED SERVICES
      25             : #include <ary/doc/d_oldidldocu.hxx>
      26             : #include <ary/getncast.hxx>
      27             : 
      28             : 
      29             : namespace ary
      30             : {
      31             : namespace idl
      32             : {
      33             : 
      34       19527 : CodeEntity::CodeEntity()
      35             :     :   aDocu(),
      36       19527 :         p2s(0)
      37             : {
      38       19527 : }
      39             : 
      40       19527 : CodeEntity::~CodeEntity()
      41             : {
      42       19527 : }
      43             : 
      44             : const Ce_2s &
      45       51261 : CodeEntity::Secondaries() const
      46             : {
      47       51261 :     return const_cast<CodeEntity*>(this)->Secondaries();
      48             : }
      49             : 
      50             : Ce_2s &
      51      100226 : CodeEntity::Secondaries()
      52             : {
      53      100226 :     if (p2s)
      54       80699 :         return *p2s;
      55       19527 :     p2s = Ce_2s::Create_();
      56       19527 :     return *p2s;
      57             : }
      58             : 
      59             : }   // namespace idl
      60           3 : }   // namespace ary
      61             : 
      62             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10