Doxygen
arguments.cpp
浏览该文件的文档.
1
/*****************************************************************************
2
* Copyright (C) 1997-2019 by Dimitri van Heesch.
3
*
4
* Permission to use, copy, modify, and distribute this software and its
5
* documentation under the terms of the GNU General Public License is hereby
6
* granted. No representations are made about the suitability of this software
7
* for any purpose. It is provided "as is" without express or implied warranty.
8
* See the GNU General Public License for more details.
9
*
10
* Documents produced by Doxygen are derivative works derived from the
11
* input used in their production; they are not affected by this license.
12
*/
13
14
#include <algorithm>
15
16
#include "
arguments.h
"
17
18
/*! the argument list is documented if one of its
19
* arguments is documented
20
*/
21
bool
ArgumentList::hasDocumentation
()
const
22
{
23
return
std::any_of(
begin
(),
end
(),[](
const
Argument
&a){
return
a.
hasDocumentation
(); });
24
}
25
ArgumentList::hasDocumentation
bool hasDocumentation() const
Definition:
arguments.cpp:21
ArgumentList::end
iterator end()
Definition:
arguments.h:87
ArgumentList::begin
iterator begin()
Definition:
arguments.h:86
arguments.h
Argument
This class contains the information about the argument of a function or template
Definition:
arguments.h:26
Argument::hasDocumentation
bool hasDocumentation() const
Definition:
arguments.h:44
src
arguments.cpp
生成于 2021年 十一月 27日 星期六 08:40:51 , 为 Doxygen使用
1.8.17