1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: adc_msg.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef ADC_ADC_MSG_HXX
32 #define ADC_ADC_MSG_HXX
50 /** Gathers, sorts and displays (mainly diagnostic) messages to the
61 const String
& i_sOutputFilePath
);
66 const String
& i_sEntity
,
67 const String
& i_sFile
,
70 const String
& i_sFile
,
72 void Out_InvalidConstSymbol(
73 const String
& i_sText
,
74 const String
& i_sFile
,
76 void Out_UnresolvedLink(
77 const String
& i_sLinkText
,
78 const String
& i_sFile
,
80 void Out_TypeVsMemberMisuse(
81 const String
& i_sLinkText
,
82 const String
& i_sFile
,
85 static Messages
& The_();
94 const String
& i_file
,
99 const Location
& i_other
) const
100 { int cmp
= csv::compare(sFile
,i_other
.sFile
);
105 : nLine
< i_other
.nLine
;
109 typedef std::map
<Location
,String
> MessageMap
;
114 const String
& i_sText
,
115 const String
& i_sFile
,
119 const MessageMap
& i_source
,
120 const String
& i_title
,
121 const String
& i_firstIntermediateText
);
124 MessageMap aMissingDocs
;
125 MessageMap aParseErrors
;
126 MessageMap aInvalidConstSymbols
;
127 MessageMap aUnresolvedLinks
;
128 MessageMap aTypeVsMemberMisuses
;
136 } // namespace autodoc
138 inline autodoc::Messages
&
141 return autodoc::Messages::The_();