Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
src
section.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
*
4
*
5
*
6
* Copyright (C) 1997-2015 by Dimitri van Heesch.
7
*
8
* Permission to use, copy, modify, and distribute this software and its
9
* documentation under the terms of the GNU General Public License is hereby
10
* granted. No representations are made about the suitability of this software
11
* for any purpose. It is provided "as is" without express or implied warranty.
12
* See the GNU General Public License for more details.
13
*
14
* Documents produced by Doxygen are derivative works derived from the
15
* input used in their production; they are not affected by this license.
16
*
17
*/
18
19
#ifndef SECTION_H
20
#define SECTION_H
21
22
#include "
sortdict.h
"
23
24
class
Definition
;
25
26
/** Class representing a section in a page */
27
struct
SectionInfo
28
{
29
enum
SectionType
{
Page
= 0,
30
Section
= 1,
31
Subsection
= 2,
32
Subsubsection
= 3,
33
Paragraph
= 4,
34
Anchor
= 5,
35
Table
= 6
36
};
37
SectionInfo
(
const
char
*
f
,
const
int
lin,
const
char
*
l
,
const
char
*
t
,
38
SectionType
st,
int
lev,
const
char
*
r
=0) :
39
label
(l),
title
(t),
type
(st),
ref
(
r
),
definition
(0),
40
fileName
(f),
lineNr
(lin),
generated
(
FALSE
),
level
(lev)
41
{
42
}
43
SectionInfo
(
const
SectionInfo
&
s
)
44
{
45
label
=s.
label
.
copy
();
46
title
=s.
title
.
copy
();
47
type
=s.
type
;
48
ref
=s.
ref
.
copy
();
49
definition
=s.
definition
;
50
fileName
=s.
fileName
.
copy
();
51
lineNr
=s.
lineNr
;
52
generated
=s.
generated
;
53
level
=s.
level
;
54
}
55
~SectionInfo
() {}
56
QCString
label
;
57
QCString
title
;
58
SectionType
type
;
59
QCString
ref
;
60
Definition
*
definition
;
61
QCString
fileName
;
62
int
lineNr
;
63
bool
generated
;
64
int
level
;
65
};
66
67
/** Unsorted dictionary of SectionInfo objects. */
68
class
SectionDict
:
public
SDict
<SectionInfo>
69
{
70
public
:
71
SectionDict
(
int
size
) :
SDict
<
SectionInfo
>(size) {}
72
~SectionDict
() {}
73
};
74
75
#endif
SectionDict::SectionDict
SectionDict(int size)
Definition:
section.h:71
SectionInfo::SectionInfo
SectionInfo(const char *f, const int lin, const char *l, const char *t, SectionType st, int lev, const char *r=0)
Definition:
section.h:37
keras_to_tensorflow.f
f
Definition:
keras_to_tensorflow.py:162
Definition
Definition:
definition.h:92
SectionInfo::type
SectionType type
Definition:
section.h:58
SectionInfo::generated
bool generated
Definition:
section.h:63
SectionInfo::SectionInfo
SectionInfo(const SectionInfo &s)
Definition:
section.h:43
SectionInfo::ref
QCString ref
Definition:
section.h:59
FALSE
const bool FALSE
Definition:
qglobal.h:370
SectionInfo::label
QCString label
Definition:
section.h:56
l
static QStrList * l
Definition:
config.cpp:1044
SectionInfo::Subsubsection
Definition:
section.h:32
QCString::copy
QCString copy() const
Definition:
qcstring.h:250
util::size
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition:
StdUtils.h:92
SectionInfo::SectionType
SectionType
Definition:
section.h:29
SDict
Definition:
sortdict.h:73
SectionInfo::Page
Definition:
section.h:29
type
Definition:
ShowerProducedPtrsHolder.hh:36
reco_momentum_tuples.t
t
Definition:
reco_momentum_tuples.py:25
SectionInfo::fileName
QCString fileName
Definition:
section.h:61
SectionInfo::level
int level
Definition:
section.h:64
SectionInfo::Section
Definition:
section.h:30
SectionInfo
Definition:
section.h:27
SectionInfo::lineNr
int lineNr
Definition:
section.h:62
SectionInfo::title
QCString title
Definition:
section.h:57
SectionInfo::Table
Definition:
section.h:35
sortdict.h
SectionInfo::~SectionInfo
~SectionInfo()
Definition:
section.h:55
SectionDict::~SectionDict
~SectionDict()
Definition:
section.h:72
SectionInfo::Subsection
Definition:
section.h:31
SectionInfo::Anchor
Definition:
section.h:34
SectionInfo::Paragraph
Definition:
section.h:33
SectionDict
Definition:
section.h:68
SectionInfo::definition
Definition * definition
Definition:
section.h:60
QCString
Definition:
qcstring.h:131
s
static QCString * s
Definition:
config.cpp:1042
plot_model.r
r
Definition:
plot_model.py:57
Generated by
1.8.11