LCOV - code coverage report
Current view: top level - libreoffice/autodoc/inc/ary_i - ci_text2.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 4 4 100.0 %
Date: 2012-12-27 Functions: 4 5 80.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_CINFO_CI_TEXT2_HXX
      21             : #define ARY_CINFO_CI_TEXT2_HXX
      22             : 
      23             : 
      24             : 
      25             : // USED SERVICES
      26             :     // BASE CLASSES
      27             :     // COMPONENTS
      28             :     // PARAMETERS
      29             : 
      30             : 
      31             : namespace ary
      32             : {
      33             : namespace inf
      34             : {
      35             : 
      36             : 
      37             : class DocumentationDisplay;
      38             : 
      39             : 
      40     1211087 : class DocuToken
      41             : {
      42             :   public:
      43      949380 :     virtual             ~DocuToken() {}
      44             :     virtual void        DisplayAt(
      45             :                             DocumentationDisplay &
      46             :                                                 o_rDisplay ) const = 0;
      47             :     virtual bool        IsWhiteOnly() const = 0;
      48             : };
      49             : 
      50             : 
      51             : class DocuTex2
      52             : {
      53             :   public:
      54             :     typedef std::vector< DocuToken * >  TokenList;
      55             : 
      56             :                         DocuTex2();
      57             :     virtual             ~DocuTex2();
      58             : 
      59             :     virtual void        DisplayAt(
      60             :                             DocumentationDisplay &
      61             :                                                 o_rDisplay ) const;
      62             :     void                AddToken(
      63             :                             DYN DocuToken &     let_drToken );
      64             : 
      65          88 :     const TokenList &   Tokens() const          { return aTokens; }
      66       46492 :     bool                IsEmpty() const         { return aTokens.empty(); }
      67             :     const String &      TextOfFirstToken() const;
      68             : 
      69             :     String &            Access_TextOfFirstToken();
      70             : 
      71             :   private:
      72             :     TokenList           aTokens;
      73             : };
      74             : 
      75             : 
      76             : 
      77             : // IMPLEMENTATION
      78             : 
      79             : }   // namespace inf
      80             : }   // namespace ary
      81             : 
      82             : 
      83             : #endif
      84             : 
      85             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10