LCOV - code coverage report
Current view: top level - libreoffice/autodoc/inc/ary/idl - i_comrela.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 5 5 100.0 %
Date: 2012-12-27 Functions: 3 3 100.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             : #ifndef ARY_IDL_I_COMRELA_HXX
      21             : #define ARY_IDL_I_COMRELA_HXX
      22             : 
      23             : // USED SERVICES
      24             : #include <ary/idl/i_types4idl.hxx>
      25             : 
      26             : namespace ary
      27             : {
      28             : namespace doc
      29             : {
      30             :     class OldIdlDocu;
      31             : }
      32             : }
      33             : 
      34             : 
      35             : 
      36             : 
      37             : namespace ary
      38             : {
      39             : namespace idl
      40             : {
      41             : 
      42             : 
      43             : /** Contains data for an IDL code entity related to another one like a base of
      44             :     an interface or of a service or the supported interface of a service.
      45             : */
      46             : class CommentedRelation
      47             : {
      48             :   public:
      49             :     // LIFECYCLE
      50             : 
      51        4583 :                         CommentedRelation(
      52             :                             Type_id             i_nType,
      53             :                             doc::OldIdlDocu *   i_pInfo )
      54             :                                                 :   nType(i_nType),
      55        4583 :                                                     pInfo(i_pInfo)
      56        4583 :                                                 {}
      57             :     // INQUIRY
      58       36543 :     Type_id             Type() const            { return nType; }
      59       14600 :     doc::OldIdlDocu *   Info() const            { return pInfo; }
      60             : 
      61             :   private:
      62             :     // DATA
      63             :     Type_id             nType;
      64             :     doc::OldIdlDocu *   pInfo;
      65             : };
      66             : 
      67             : 
      68             : 
      69             : 
      70             : }   // namespace idl
      71             : }   // namespace ary
      72             : #endif
      73             : 
      74             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10