LCOV - code coverage report
Current view: top level - libreoffice/autodoc/source/parser_i/inc/tokens - stmstar2.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 3 3 100.0 %
Date: 2012-12-27 Functions: 2 2 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 ADC_STMSTAR2_HXX
      21             : #define ADC_STMSTAR2_HXX
      22             : 
      23             : // USED SERVICES
      24             :     // BASE CLASSES
      25             : #include <tokens/stmstat2.hxx>
      26             :     // COMPONENTS
      27             :     // PARAMETERS
      28             :     // SERVICES
      29             : 
      30             : 
      31             : class StmArrayStatu2 : public StmStatu2
      32             : {
      33             :   public:
      34             :     // LIFECYCLE
      35             :                         StmArrayStatu2(
      36             :                             intt            i_nStatusSize,
      37             :                             const INT16 *   in_aArrayModel,
      38             :                             uintt           i_nTokenId,
      39             :                             bool            in_bIsDefault );
      40             :                         ~StmArrayStatu2();
      41             : 
      42             :     // INQUIRY
      43             :     StmStatu2::Branch   NextBy(
      44             :                             intt            in_nFollowersIndex) const;
      45     1928025 :     UINT16              TokenId() const     { return nTokenId; }
      46             :     virtual bool        IsADefault() const;
      47             : 
      48             :     // ACCESS
      49             :     virtual StmArrayStatu2 *
      50             :                         AsArray();
      51             :     bool                SetBranch(
      52             :                             intt            in_nBranchIx,
      53             :                             StmStatu2::Branch
      54             :                                             in_nBranch );
      55             :     void                SetTokenId(
      56             :                             UINT16          in_nTokenId );
      57             :   private:
      58             :     StmStatu2::Branch * dpBranches;
      59             :     intt                nNrOfBranches;
      60             :     UINT16              nTokenId;
      61             :     bool                bIsADefault;
      62             : };
      63             : 
      64             : 
      65             : // IMPLEMENTATION
      66             : 
      67             : inline void
      68         360 : StmArrayStatu2::SetTokenId( UINT16 in_nTokenId )
      69         360 :     { nTokenId = in_nTokenId; }
      70             : 
      71             : 
      72             : 
      73             : #endif
      74             : 
      75             : 
      76             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10