Skip to content

Commit 4b3d0ba

Browse files
author
MohamedElgammal
committed
Adding doxygen documentation for all vtrutils files
1 parent 87e150c commit 4b3d0ba

20 files changed

+230
-114
lines changed

doc/_doxygen/vtr.dox

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ EXTRACT_PRIVATE = YES
77
EXTRACT_STATIC = YES
88
WARN_IF_UNDOCUMENTED = NO
99
INPUT = ../../libs/libvtrutil
10+
SORT_MEMBER_DOCS = NO
11+
SORT_BRIEF_DOCS = NO
12+
SORT_GROUP_NAMES = NO
13+
SORT_BY_SCOPE_NAME = NO
1014
RECURSIVE = YES
1115
GENERATE_HTML = NO
1216
GENERATE_LATEX = NO
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
===============
2+
Container Utils
3+
===============
4+
5+
vtr_hash
6+
--------
7+
.. doxygenfile:: vtr_hash.h
8+
:project: vtr
9+
10+
vtr_memory
11+
----------
12+
.. doxygenfile:: vtr_memory.h
13+
:project: vtr
14+
:sections: briefdescription detaileddescription innernamespace innerclass func
15+
16+
vtr_pair_util
17+
-------------
18+
.. doxygenfile:: vtr_pair_util.h
19+
:project: vtr
20+
:sections: innernamespace innerclass briefdescription detaileddescription user-defined public-func typedef
21+
22+
vtr_map_util
23+
------------
24+
.. doxygenfile:: vtr_map_util.h
25+
:project: vtr
26+

doc/src/api/vtrutil/containers.rst

Lines changed: 53 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,55 @@
22
Containers
33
==========
44

5-
vtr_array_view
6-
--------------
7-
.. doxygenfile:: vtr_array_view.h
5+
vtr_vector
6+
----------
7+
.. doxygenfile:: vtr_vector.h
88
:project: vtr
9-
:sections: innernamespace innerclass briefdescription detaileddescription user-defined public-func typedef
9+
:sections: briefdescription detaileddescription innernamespace innerclass public-func typedef func
1010

11-
vtr_bimap
12-
---------
13-
.. doxygenfile:: vtr_bimap.h
11+
vtr_small_vector
12+
----------------
13+
.. doxygenclass:: vtr::small_vector
1414
:project: vtr
15-
:sections: briefdescription detaileddescription innernamespace innerclass user-defined public-func derivedcompoundref typedef
15+
:members:
1616

17-
vtr_cache
18-
---------
19-
.. doxygenfile:: vtr_cache.h
17+
vtr_vector_map
18+
--------------
19+
.. doxygenfile:: vtr_vector_map.h
2020
:project: vtr
21-
:sections: briefdescription detaileddescription innernamespace innerclass user-defined public-func typedef
21+
:sections: briefdescription detaileddescription innernamespace innerclass public-func typedef func
2222

23-
vtr_dynamic_bitset
24-
------------------
25-
.. doxygenfile:: vtr_dynamic_bitset.h
23+
vtr_linear_map
24+
--------------
25+
.. doxygenfile:: vtr_linear_map.h
2626
:project: vtr
2727
:sections: briefdescription detaileddescription innernamespace func innerclass user-defined public-func typedef
2828

2929
vtr_flat_map
3030
------------
31+
.. doxygenclass:: vtr::flat_map
32+
:project: vtr
33+
:members:
34+
35+
.. doxygenclass:: vtr::flat_map2
36+
:project: vtr
37+
:members:
38+
3139
.. doxygenfile:: vtr_flat_map.h
3240
:project: vtr
33-
:sections: briefdescription detaileddescription innernamespace func innerclass user-defined public-func typedef
41+
:sections: innernamespace func
3442

35-
vtr_hash
36-
--------
37-
.. doxygenfile:: vtr_hash.h
43+
vtr_bimap
44+
---------
45+
.. doxygenfile:: vtr_bimap.h
3846
:project: vtr
47+
:sections: briefdescription detaileddescription innernamespace innerclass user-defined public-func derivedcompoundref typedef
3948

40-
vtr_linear_map
49+
vtr_vec_id_set
4150
--------------
42-
.. doxygenfile:: vtr_linear_map.h
51+
.. doxygenfile:: vtr_vec_id_set.h
4352
:project: vtr
44-
:sections: briefdescription detaileddescription innernamespace func innerclass user-defined public-func typedef
53+
:sections: briefdescription detaileddescription innernamespace innerclass public-func
4554

4655
vtr_list
4756
--------
@@ -56,15 +65,11 @@ vtr_list
5665
.. doxygenfunction:: delete_in_vptr_list
5766
:project: vtr
5867

59-
vtr_map_util
60-
------------
61-
.. doxygenfile:: vtr_map_util.h
62-
:project: vtr
63-
64-
vtr_memory
65-
----------
66-
.. doxygenfile:: vtr_memory.h
68+
vtr_ragged_matrix
69+
-----------------
70+
.. doxygenclass:: vtr::FlatRaggedMatrix
6771
:project: vtr
72+
:members:
6873

6974
vtr_ndmatrix
7075
------------
@@ -78,44 +83,30 @@ vtr_ndoffsetmatrix
7883
:project: vtr
7984
:sections: innernamespace innerclass briefdescription detaileddescription user-defined public-func typedef
8085

81-
vtr_pair_util.h
82-
---------------
83-
.. doxygenfile:: vtr_pair_util.h
84-
:project: vtr
85-
:sections: innernamespace innerclass briefdescription detaileddescription user-defined public-func typedef
86-
87-
vtr_ragged_matrix.h
88-
-------------------
89-
.. doxygenfile:: vtr_ragged_matrix.h
90-
:project: vtr
91-
:sections: briefdescription detaileddescription innernamespace innerclass public-func typedef
92-
93-
vtr_range.h
94-
-----------
95-
.. doxygenfile:: vtr_range.h
86+
vtr_array_view
87+
--------------
88+
.. doxygenclass:: vtr::array_view_id
9689
:project: vtr
97-
:sections: briefdescription detaileddescription innernamespace func innerclass public-func typedef
90+
:members:
9891

99-
vtr_small_vector.h
100-
------------------
101-
.. doxygenfile:: vtr_small_vector.h
92+
.. doxygenclass:: vtr::array_view
10293
:project: vtr
103-
:sections: briefdescription detaileddescription innernamespace innerclass public-func typedef func
94+
:members:
10495

105-
vtr_vec_id_set
106-
--------------
107-
.. doxygenfile:: vtr_vec_id_set.h
96+
vtr_string_view
97+
---------------
98+
.. doxygenclass:: vtr::string_view
10899
:project: vtr
109-
:sections: briefdescription detaileddescription innernamespace innerclass public-func
100+
:members:
110101

111-
vtr_vector
112-
----------
113-
.. doxygenfile:: vtr_vector.h
102+
vtr_cache
103+
---------
104+
.. doxygenclass:: vtr::Cache
114105
:project: vtr
115-
:sections: briefdescription detaileddescription innernamespace innerclass public-func typedef func
106+
:members:
116107

117-
vtr_vector_map
118-
--------------
119-
.. doxygenfile:: vtr_vector_map.h
108+
vtr_dynamic_bitset
109+
------------------
110+
.. doxygenclass:: vtr::dynamic_bitset
120111
:project: vtr
121-
:sections: briefdescription detaileddescription innernamespace innerclass public-func typedef func
112+
:members:

doc/src/api/vtrutil/geometry.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,20 @@ vtr_geometry
66
------------
77
.. doxygenfile:: vtr_geometry.h
88
:project: vtr
9-
:sections: briefdescription detaileddescription innernamespace func innerclass user-defined public-func
9+
:sections: briefdescription
10+
11+
.. doxygenclass:: vtr::Point
12+
:project: vtr
13+
:members:
14+
15+
.. doxygenclass:: vtr::Rect
16+
:project: vtr
17+
:members:
18+
19+
.. doxygenclass:: vtr::Line
20+
:project: vtr
21+
:members:
22+
23+
.. doxygenclass:: vtr::RectUnion
24+
:project: vtr
25+
:members:

doc/src/api/vtrutil/ids.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
============
2+
IDs - Ranges
3+
============
4+
5+
vtr_range
6+
---------
7+
.. doxygenfile:: vtr_range.h
8+
:project: vtr
9+
:sections: briefdescription detaileddescription innernamespace func innerclass public-func typedef
10+
11+
vtr_strong_id
12+
-------------
13+
.. doxygenfile:: vtr_strong_id.h
14+
:project: vtr
15+
:sections: briefdescription detaileddescription innernamespace
16+
17+
.. doxygenclass:: vtr::StrongId
18+
:project: vtr
19+
:members:
20+
21+
vtr_strong_id_range
22+
-------------------
23+
.. doxygenfile:: vtr_strong_id_range.h
24+
:project: vtr
25+
:sections: briefdescription detaileddescription innernamespace func innerclass user-defined public-func
26+

doc/src/api/vtrutil/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ VTRUTIL API
66
.. toctree::
77
:maxdepth: 1
88

9+
ids
910
containers
11+
container_utils
1012
logging
1113
geometry
1214
other

doc/src/api/vtrutil/logging.rst

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,39 @@
1-
=======
2-
Logging
3-
=======
1+
=============================
2+
Logging - Errors - Assertions
3+
=============================
44

5-
vtr_assertion
6-
-------------
7-
.. doxygenfile:: vtr_assert.h
5+
vtr_log
6+
-------
7+
.. doxygenfile:: vtr_log.h
88
:project: vtr
9-
:sections: briefdescription detaileddescription
9+
:sections: briefdescription detaileddescription innernamespace func
1010

1111
vtr_error
1212
---------
1313
.. doxygenfile:: vtr_error.h
1414
:project: vtr
1515
:sections: innernamespace innerclass briefdescription detaileddescription user-defined public-func
1616

17-
vtr_log
18-
-------
19-
.. doxygenfile:: vtr_log.h
20-
:project: vtr
21-
:sections: briefdescription detaileddescription innernamespace func
22-
23-
vtr_string_view
24-
---------------
25-
.. doxygenfile:: vtr_string_view.h
17+
vtr_assertion
18+
-------------
19+
.. doxygenfile:: vtr_assert.h
2620
:project: vtr
27-
:sections: briefdescription detaileddescription innernamespace innerclass public-func typedef func
21+
:sections: briefdescription detaileddescription
2822

2923
vtr_time
3024
--------
3125
.. doxygenfile:: vtr_time.h
3226
:project: vtr
33-
:sections: briefdescription detaileddescription innernamespace innerclass public-func typedef func
27+
:sections: briefdescription detaileddescription
28+
29+
.. doxygenclass:: vtr::ScopedStartFinishTimer
30+
:project: vtr
31+
32+
.. doxygenclass:: vtr::ScopedFinishTimer
33+
:project: vtr
3434

35+
.. doxygenclass:: vtr::ScopedActionTimer
36+
:project: vtr
37+
38+
.. doxygenclass:: vtr::Timer
39+
:project: vtr

0 commit comments

Comments
 (0)