xref: /trunk/main/autodoc/source/parser/inc/cpp/prs_cpp.hxx (revision 914d351e5f5b84e4342a86d6ab8d4aca7308b9bd)
11c78a5d6SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
31c78a5d6SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
41c78a5d6SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
51c78a5d6SAndrew Rist  * distributed with this work for additional information
61c78a5d6SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
71c78a5d6SAndrew Rist  * to you under the Apache License, Version 2.0 (the
81c78a5d6SAndrew Rist  * "License"); you may not use this file except in compliance
91c78a5d6SAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
111c78a5d6SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
131c78a5d6SAndrew Rist  * Unless required by applicable law or agreed to in writing,
141c78a5d6SAndrew Rist  * software distributed under the License is distributed on an
151c78a5d6SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
161c78a5d6SAndrew Rist  * KIND, either express or implied.  See the License for the
171c78a5d6SAndrew Rist  * specific language governing permissions and limitations
181c78a5d6SAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
201c78a5d6SAndrew Rist  *************************************************************/
211c78a5d6SAndrew Rist 
221c78a5d6SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef ADC_CPP_PRS_CPP_HXX
25cdf0e10cSrcweir #define ADC_CPP_PRS_CPP_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir 
28cdf0e10cSrcweir 
29cdf0e10cSrcweir // USED SERVICES
30cdf0e10cSrcweir     // BASE CLASSES
31cdf0e10cSrcweir #include <autodoc/prs_code.hxx>
32cdf0e10cSrcweir     // COMPONENTS
33cdf0e10cSrcweir     // PARAMETERS
34cdf0e10cSrcweir 
35cdf0e10cSrcweir namespace cpp
36cdf0e10cSrcweir {
37cdf0e10cSrcweir 
38cdf0e10cSrcweir struct S_RunningData;
39cdf0e10cSrcweir 
40cdf0e10cSrcweir class Cpluplus_Parser : public autodoc::CodeParser_Ifc
41cdf0e10cSrcweir {
42cdf0e10cSrcweir   public:
43cdf0e10cSrcweir                         Cpluplus_Parser();
44cdf0e10cSrcweir     virtual             ~Cpluplus_Parser();
45cdf0e10cSrcweir 
46cdf0e10cSrcweir 
47cdf0e10cSrcweir     virtual void        Setup(
48cdf0e10cSrcweir                             ary::Repository &   o_rRepository,
49cdf0e10cSrcweir                             const autodoc::DocumentationParser_Ifc &
50*b32aa359SDamjan Jovanovic                                                 i_rDocumentationInterpreter,
51*b32aa359SDamjan Jovanovic                             const ::std::vector<String> &
52*b32aa359SDamjan Jovanovic                                                 ignoreDefines );
53cdf0e10cSrcweir 
54cdf0e10cSrcweir     virtual void        Run(
55cdf0e10cSrcweir                             const autodoc::FileCollector_Ifc &
56cdf0e10cSrcweir                                                 i_rFiles );
57cdf0e10cSrcweir   private:
58cdf0e10cSrcweir     Dyn<S_RunningData>  pRunningData;
59cdf0e10cSrcweir };
60cdf0e10cSrcweir 
61cdf0e10cSrcweir 
62cdf0e10cSrcweir 
63cdf0e10cSrcweir 
64cdf0e10cSrcweir }   // namespace cpp
65cdf0e10cSrcweir #endif
66