Skip to content

Commit 38c70e5

Browse files
committed
options doc refinement
1 parent 452f9f5 commit 38c70e5

4 files changed

Lines changed: 15 additions & 3 deletions

File tree

include/gl/io/options.hpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,16 @@ inline constexpr iword_type layout_options_mask =
2929
/// @brief @ref gl::io::options_manip "Stream manipulator" to enable concise graph formatting.
3030
///
3131
/// Clears all layout-specific flags to default back to a compact representation.
32+
///
33+
/// @hideinitializer
3234
inline constexpr options_manip concise{0ul, detail::layout_options_mask};
3335

3436
/// @ingroup GL GL-IO
3537
/// @brief @ref gl::io::options_manip "Stream manipulator" to enable verbose graph formatting.
3638
///
3739
/// Modifies the stream state to output detailed structural information.
40+
///
41+
/// @hideinitializer
3842
inline constexpr options_manip verbose{
3943
detail::build_mask(detail::option_bit::verbose), detail::layout_options_mask
4044
};
@@ -43,44 +47,53 @@ inline constexpr options_manip verbose{
4347
/// @brief @ref gl::io::options_manip "Stream manipulator" to enable the Graph Specification Format (GSF).
4448
///
4549
/// Modifies the stream to output or expect data matching the precise internal parsing format used for serialization and deserialization.
50+
///
51+
/// @hideinitializer
4652
inline constexpr options_manip spec_fmt{
4753
detail::build_mask(detail::option_bit::spec_fmt), detail::layout_options_mask
4854
};
4955

5056
/// @ingroup GL GL-IO
5157
/// @brief @ref gl::io::options_manip "Stream manipulator" to enable the processing of vertex properties.
58+
/// @hideinitializer
5259
inline constexpr options_manip with_vertex_properties =
5360
set_options(detail::option_bit::with_vertex_properties);
5461

5562
/// @ingroup GL GL-IO
5663
/// @brief @ref gl::io::options_manip "Stream manipulator" to disable the processing of vertex properties.
64+
/// @hideinitializer
5765
inline constexpr options_manip without_vertex_properties =
5866
clear_options(detail::option_bit::with_vertex_properties);
5967

6068
/// @ingroup GL GL-IO
6169
/// @brief @ref gl::io::options_manip "Stream manipulator" to enable the processing of edge properties.
70+
/// @hideinitializer
6271
inline constexpr options_manip with_edge_properties =
6372
set_options(detail::option_bit::with_connection_properties);
6473

6574
/// @ingroup GL GL-IO
6675
/// @brief @ref gl::io::options_manip "Stream manipulator" to disable the processing of edge properties.
76+
/// @hideinitializer
6777
inline constexpr options_manip without_edge_properties =
6878
clear_options(detail::option_bit::with_connection_properties);
6979

7080
/// @ingroup GL GL-IO
7181
/// @brief @ref gl::io::options_manip "Stream manipulator" to enable the processing of both vertex and edge properties simultaneously.
82+
/// @hideinitializer
7283
inline constexpr options_manip with_properties = set_options(
7384
detail::option_bit::with_vertex_properties, detail::option_bit::with_connection_properties
7485
);
7586

7687
/// @ingroup GL GL-IO
7788
/// @brief @ref gl::io::options_manip "Stream manipulator" to disable the processing of both vertex and edge properties simultaneously.
89+
/// @hideinitializer
7890
inline constexpr options_manip without_properties = clear_options(
7991
detail::option_bit::with_vertex_properties, detail::option_bit::with_connection_properties
8092
);
8193

8294
/// @ingroup GL GL-IO
8395
/// @brief @ref gl::io::options_manip "Stream manipulator" to reset all custom graph formatting flags back to their default states.
96+
/// @hideinitializer
8497
inline constexpr options_manip default_options{0ul, ~static_cast<iword_type>(0)};
8598

8699
} // namespace gl::io

include/gl/io/options_manip.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ using iword_type = long;
2828
using bit_position_type = unsigned;
2929

3030
/// @ingroup GL GL-IO
31-
/// @brief Base bit representing the first position in an `iword` flag map.
31+
/// @brief Base bit representing the a single position in an `iword` flag map.
3232
inline constexpr iword_type iword_bit = 1ul;
3333

3434
/// @ingroup GL GL-IO

include/gl/traits.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#include <ranges>
1515
#include <type_traits>
1616

17-
/// @namespace gl::traits
18-
/// @brief Contains C++20 concepts and type traits used to constrain library templates.
1917
namespace gl::traits {
2018

2119
/// @ingroup GL GL-Traits

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ nav:
1717
# - HGL:
1818
- API Index:
1919
- Modules: cpp-gl/modules.md
20+
- Namespaces: cpp-gl/namespaces.md
2021
- Classes & Structs: cpp-gl/annotated.md
2122
- Class Hierarchy: cpp-gl/hierarchy.md
2223
- Concepts: cpp-gl/concepts.md

0 commit comments

Comments
 (0)