LCOV - code coverage report
Current view: top level - libreoffice/autodoc/inc/ary_i - ci_atag2.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 5 6 83.3 %
Date: 2012-12-27 Functions: 4 6 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             : #ifndef ARY_CI_ATAG2_HXX
      21             : #define ARY_CI_ATAG2_HXX
      22             : 
      23             : 
      24             : 
      25             : // USED SERVICES
      26             :     // BASE CLASSES
      27             :     // COMPONENTS
      28             : #include <ary_i/ci_text2.hxx>
      29             :     // PARAMETERS
      30             : 
      31             : 
      32             : 
      33             : namespace ary
      34             : {
      35             : namespace inf
      36             : {
      37             : 
      38             : 
      39             : class DocumentationDisplay;
      40             : 
      41             : class AtTag2
      42             : {
      43             :   public:
      44           0 :     virtual             ~AtTag2() {}
      45             : 
      46             :     virtual void        DisplayAt(
      47             :                             DocumentationDisplay &
      48             :                                                 o_rDisplay ) const = 0;
      49             : 
      50       14771 :     const char *        Title() const           { return sTitle; }
      51       13308 :     const DocuTex2 &    Text() const            { return aText; }
      52        5428 :     DocuTex2 &          Access_Text()           { return aText; }
      53             : 
      54             :   protected:
      55       12344 :                         AtTag2(
      56             :                             const char *        i_sTitle)
      57       12344 :                                                 :   sTitle(i_sTitle) {}
      58             :     String              sTitle;
      59             :     DocuTex2            aText;
      60             : };
      61             : 
      62             : 
      63             : 
      64             : // IMPLEMENTATION
      65             : 
      66             : }   // namespace inf
      67             : }   // namespace ary
      68             : 
      69             : 
      70             : #endif
      71             : 
      72             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10