forked from jessevdk/cldoc
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
137 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include <string> | ||
#include <list> | ||
|
||
/** | ||
* Foo method. | ||
*/ | ||
std::list<std::string> foo(); | ||
|
||
template <typename T> | ||
struct WithInner { | ||
typedef T Type; | ||
}; | ||
|
||
typedef std::list<WithInner<int>::Type> WithInnerIntType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<title>Documentation</title> | ||
<meta charset="utf-8"> | ||
|
||
<link rel="stylesheet" type="text/css" href="styles/cldoc.css"> | ||
</head> | ||
|
||
<body id="cldoc"> | ||
<div id="cldoc_sidebar"> | ||
<div id="cldoc_sidebar_items"> | ||
<div id="cldoc_sidebar_pagenav"></div> | ||
<div class="subtitle">Typedefs</div> | ||
<ul> | ||
<li><a href="#WithInnerIntType">WithInnerIntType<span class="counter"></span></a></li> | ||
</ul> | ||
<div class="subtitle">Structures</div> | ||
<ul> | ||
<li><a href="WithInner.html#WithInner">WithInner<T><span class="counter"></span></a></li> | ||
</ul> | ||
<div class="subtitle">Functions</div> | ||
<ul> | ||
<li><a href="#foo">foo<span class="counter"></span></a> | ||
<div class="brief"> | ||
<p>*</p> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div id="cldoc_content"> | ||
<h2 data-cldoc-dynamic="1" id="typedefs">Typedefs</h2> | ||
<table class="typedefs"> | ||
<tbody> | ||
<tr class="typedef" id="WithInnerIntType"> | ||
<td class="typedef_name identifier">WithInnerIntType</td> | ||
<td class="typedef_decl keyword">type</td> | ||
<td class="typedef_type"><span class="type"><span class="template-type"><span class="name">std::list</span><span class="template-arguments"><span class="plain"><</span><span class="sub-type"><span class="name "><a href="WithInner.html#WithInner.Type">WithInner<int>::Type</a></span></span> | ||
<span | ||
class="plain">></span> | ||
</span> | ||
</span> | ||
</span> | ||
</td> | ||
</tr> | ||
<tr class="doc"> | ||
<td colspan="3"></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<h2 data-cldoc-dynamic="1" id="structures">Structures</h2> | ||
<table class="structures"> | ||
<tbody> | ||
<tr class="short"> | ||
<td><a href="WithInner.html#WithInner">WithInner<T></a></td> | ||
<td></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<h2 data-cldoc-dynamic="1" id="functions">Functions</h2> | ||
<div class="functions"> | ||
<div class="function"> | ||
<div class="declaration" id="foo"> | ||
<div class="return_type"><span class="type"><span class="template-type"><span class="name">std::list</span><span class="template-arguments"><span class="plain"><</span><span class="sub-type"><span class="name ">std::string</span></span><span class="plain">></span></span> | ||
</span> | ||
</span> | ||
</div> | ||
<table class="declaration"> | ||
<tbody> | ||
<tr> | ||
<td class="identifier">foo</td> | ||
<td class="open_paren">(</td> | ||
<td colspan="2"></td> | ||
<td class="close_paren">)</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<div class="doc"> | ||
<p>Foo method.</p> | ||
</div> | ||
<table class="arguments"> | ||
<tbody> | ||
<tr class="return"> | ||
<td class="keyword">return</td> | ||
<td></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<index xmlns="http://jessevdk.github.com/cldoc/1.0"> | ||
<structtemplate name="WithInner" ref="WithInner#WithInner"> | ||
<templatetypeparameter id="WithInner::T" name="T" /> | ||
</structtemplate> | ||
<typedef id="WithInnerIntType" name="WithInnerIntType"> | ||
<type class="template" name="std::list"> | ||
<template-arguments> | ||
<type name="WithInner<int>::Type" ref="WithInner#WithInner::Type" /> | ||
</template-arguments> | ||
</type> | ||
</typedef> | ||
<function id="foo" name="foo"> | ||
<brief>*</brief> | ||
<doc>Foo method. | ||
</doc> | ||
<return> | ||
<type class="template" name="std::list"> | ||
<template-arguments> | ||
<type name="std::string" /> | ||
</template-arguments> | ||
</type> | ||
</return> | ||
</function> | ||
</index> |