LCOV - code coverage report
Current view: top level - libreoffice/autodoc/source/ary/idl - it_explicit.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 ARY_IDL_IT_EXPLICIT_HXX
      21             : #define ARY_IDL_IT_EXPLICIT_HXX
      22             : 
      23             : // BASE CLASSES
      24             : #include "it_named.hxx"
      25             : 
      26             : 
      27             : 
      28             : 
      29             : namespace ary
      30             : {
      31             : namespace idl
      32             : {
      33             : 
      34             : 
      35             : /** A named @->Type, not yet related to its corresponding
      36             :     @->CodeEntity.
      37             : */
      38             : class ExplicitType : public Named_Type
      39             : {
      40             :   public:
      41             :     enum E_ClassId { class_id = 2203 };
      42             : 
      43             :     // LIFECYCLE
      44             :                         ExplicitType(
      45             :                             const String &      i_sName,
      46             :                             Type_id             i_nXNameRoom,
      47             :                             Ce_id               i_nModuleOfOccurrence,
      48             :                             const std::vector<Type_id> *
      49             :                                                 i_templateParameters );
      50             :     virtual             ~ExplicitType();
      51             : 
      52             :     // INQUIRY
      53        3386 :     Ce_id               ModuleOfOccurrence() const
      54        3386 :                                                 { return nModuleOfOccurrence; }
      55        3700 :     Type_id             NameRoom() const        { return nXNameRoom; }
      56             : 
      57             :   private:
      58             :     // Interface csv::ConstProcessorClient:
      59             :     virtual void        do_Accept(
      60             :                             csv::ProcessorIfc & io_processor ) const;
      61             :     // Interface CppEntity:
      62             :     virtual ClassId     get_AryClass() const;
      63             : 
      64             :     // Interface Type:
      65             :     virtual void        inq_Get_Text(
      66             :                             StringVector &      o_module,
      67             :                             String &            o_name,
      68             :                             Ce_id &             o_nRelatedCe,
      69             :                             int &               o_nSequemceCount,
      70             :                             const Gate &        i_rGate ) const;
      71             :     virtual const std::vector<Type_id> *
      72             :                         inq_TemplateParameters() const;
      73             :     // DATA
      74             :     Type_id             nXNameRoom;             // As written in code.
      75             :     Ce_id               nModuleOfOccurrence;
      76             :     Dyn< const std::vector<Type_id> >
      77             :                         pTemplateParameters;
      78             : };
      79             : 
      80             : 
      81             : 
      82             : 
      83             : }   // namespace idl
      84             : }   // namespace ary
      85             : #endif
      86             : 
      87             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10