Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
6d118eec
Commit
6d118eec
authored
Dec 07, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more info to the context
parent
6dbf32d5
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
361 additions
and
155 deletions
+361
-155
classdef.cpp
src/classdef.cpp
+6
-0
classdef.h
src/classdef.h
+1
-0
context.cpp
src/context.cpp
+307
-152
context.h
src/context.h
+45
-1
membergroup.h
src/membergroup.h
+2
-2
No files found.
src/classdef.cpp
View file @
6d118eec
...
@@ -4769,3 +4769,9 @@ const ExampleSDict *ClassDef::exampleList() const
...
@@ -4769,3 +4769,9 @@ const ExampleSDict *ClassDef::exampleList() const
{
{
return
m_impl
->
exampleSDict
;
return
m_impl
->
exampleSDict
;
}
}
bool
ClassDef
::
subGrouping
()
const
{
return
m_impl
->
subGrouping
;
}
src/classdef.h
View file @
6d118eec
...
@@ -317,6 +317,7 @@ class ClassDef : public Definition
...
@@ -317,6 +317,7 @@ class ClassDef : public Definition
const
ExampleSDict
*
exampleList
()
const
;
const
ExampleSDict
*
exampleList
()
const
;
bool
hasExamples
()
const
;
bool
hasExamples
()
const
;
QCString
getMemberListFileName
()
const
;
QCString
getMemberListFileName
()
const
;
bool
subGrouping
()
const
;
//-----------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------
// --- setters ----
// --- setters ----
...
...
src/context.cpp
View file @
6d118eec
This diff is collapsed.
Click to expand it.
src/context.h
View file @
6d118eec
...
@@ -31,6 +31,9 @@ struct Argument;
...
@@ -31,6 +31,9 @@ struct Argument;
class
ArgumentList
;
class
ArgumentList
;
class
MemberNameInfoSDict
;
class
MemberNameInfoSDict
;
struct
MemberInfo
;
struct
MemberInfo
;
class
MemberGroup
;
class
MemberGroupSDict
;
class
MemberGroupList
;
//----------------------------------------------------
//----------------------------------------------------
...
@@ -650,6 +653,7 @@ class InheritanceListContext : public TemplateListIntf
...
@@ -650,6 +653,7 @@ class InheritanceListContext : public TemplateListIntf
class
MemberListContext
:
public
TemplateListIntf
class
MemberListContext
:
public
TemplateListIntf
{
{
public
:
public
:
MemberListContext
();
MemberListContext
(
const
MemberList
*
ml
);
MemberListContext
(
const
MemberList
*
ml
);
MemberListContext
(
MemberSDict
*
ml
,
bool
doSort
);
MemberListContext
(
MemberSDict
*
ml
,
bool
doSort
);
~
MemberListContext
();
~
MemberListContext
();
...
@@ -664,12 +668,50 @@ class MemberListContext : public TemplateListIntf
...
@@ -664,12 +668,50 @@ class MemberListContext : public TemplateListIntf
Private
*
p
;
Private
*
p
;
};
};
//----------------------------------------------------
class
MemberGroupInfoContext
:
public
TemplateStructIntf
{
public
:
MemberGroupInfoContext
(
Definition
*
def
,
const
QCString
&
relPath
,
const
MemberGroup
*
mg
);
~
MemberGroupInfoContext
();
// TemplateStructIntf methods
virtual
TemplateVariant
get
(
const
char
*
name
)
const
;
private
:
class
Private
;
Private
*
p
;
};
//----------------------------------------------------
class
MemberGroupListContext
:
public
TemplateListIntf
{
public
:
MemberGroupListContext
();
MemberGroupListContext
(
Definition
*
def
,
const
QCString
&
relPath
,
const
MemberGroupList
*
list
);
MemberGroupListContext
(
Definition
*
def
,
const
QCString
&
relPath
,
const
MemberGroupSDict
*
mgDict
,
bool
subGrouping
);
~
MemberGroupListContext
();
// TemplateListIntf
virtual
int
count
()
const
;
virtual
TemplateVariant
at
(
int
index
)
const
;
virtual
TemplateListIntf
::
ConstIterator
*
createIterator
()
const
;
private
:
class
Private
;
Private
*
p
;
};
//----------------------------------------------------
//----------------------------------------------------
class
MemberListInfoContext
:
public
TemplateStructIntf
class
MemberListInfoContext
:
public
TemplateStructIntf
{
{
public
:
public
:
MemberListInfoContext
(
const
MemberList
*
ml
,
const
QCString
&
title
,
MemberListInfoContext
(
Definition
*
def
,
const
QCString
&
relPath
,
const
MemberList
*
ml
,
const
QCString
&
title
,
const
QCString
&
subtitle
=
QCString
());
const
QCString
&
subtitle
=
QCString
());
~
MemberListInfoContext
();
~
MemberListInfoContext
();
...
@@ -702,6 +744,7 @@ class MemberInfoContext : public TemplateStructIntf
...
@@ -702,6 +744,7 @@ class MemberInfoContext : public TemplateStructIntf
class
AllMembersListContext
:
public
TemplateListIntf
class
AllMembersListContext
:
public
TemplateListIntf
{
{
public
:
public
:
AllMembersListContext
();
AllMembersListContext
(
const
MemberNameInfoSDict
*
ml
);
AllMembersListContext
(
const
MemberNameInfoSDict
*
ml
);
~
AllMembersListContext
();
~
AllMembersListContext
();
...
@@ -736,6 +779,7 @@ class ArgumentContext : public TemplateStructIntf
...
@@ -736,6 +779,7 @@ class ArgumentContext : public TemplateStructIntf
class
ArgumentListContext
:
public
TemplateListIntf
class
ArgumentListContext
:
public
TemplateListIntf
{
{
public
:
public
:
ArgumentListContext
();
ArgumentListContext
(
const
ArgumentList
*
al
,
Definition
*
def
,
const
QCString
&
relPath
);
ArgumentListContext
(
const
ArgumentList
*
al
,
Definition
*
def
,
const
QCString
&
relPath
);
~
ArgumentListContext
();
~
ArgumentListContext
();
...
...
src/membergroup.h
View file @
6d118eec
...
@@ -61,8 +61,8 @@ class MemberGroup
...
@@ -61,8 +61,8 @@ class MemberGroup
MemberListType
lt
,
MemberListType
lt
,
ClassDef
*
inheritedFrom
,
const
QCString
&
inheritId
);
ClassDef
*
inheritedFrom
,
const
QCString
&
inheritId
);
QCString
documentation
()
{
return
doc
;
}
QCString
documentation
()
const
{
return
doc
;
}
bool
allMembersInSameSection
()
{
return
inSameSection
;
}
bool
allMembersInSameSection
()
const
{
return
inSameSection
;
}
void
addToDeclarationSection
();
void
addToDeclarationSection
();
int
countDecMembers
(
GroupDef
*
gd
=
0
);
int
countDecMembers
(
GroupDef
*
gd
=
0
);
int
countDocMembers
();
int
countDocMembers
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment