Skip to content

Commit d9b6aa2

Browse files
committed
Add documentation
1 parent 74c543d commit d9b6aa2

File tree

13 files changed

+53
-1
lines changed

13 files changed

+53
-1
lines changed

src/xtd.core/include/xtd/basic_array.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
1010
namespace xtd {
11+
/// @name Aliases
12+
13+
/// @{
1114
/// @brief Represents the type to array type.
1215
/// @par Header
1316
/// ```cpp
@@ -20,8 +23,9 @@ namespace xtd {
2023
/// @ingroup xtd_core system
2124
template<class type_t>
2225
using type_to_array_t = typename std::conditional<std::is_same<bool, type_t>::value, char, type_t>::type;
26+
/// @}
2327

24-
/// @brief Base object that represent array.
28+
/// @brief Base object that represent array.
2529
/// @par Definition
2630
/// ```cpp
2731
/// template<class type_t, class allocator_t = xtd::collections::generic::helpers::allocator<type_t>>

src/xtd.core/include/xtd/boolean_object.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
99
namespace xtd {
10+
/// @name Aliases
11+
12+
/// @{
1013
/// @brief Represent a boxed bool.
1114
/// @par Header
1215
/// ```cpp
@@ -27,4 +30,5 @@ namespace xtd {
2730
/// console::write_line("result = {}", result); // Display: result = true;
2831
/// ```
2932
using boolean_object = box<bool>;
33+
/// @}
3034
}

src/xtd.core/include/xtd/boxing.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131

3232
/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
3333
namespace xtd {
34+
/// @name Static Methods
35+
36+
/// @{
3437
/// @brief Allows to box an object
3538
/// @param value Value used to initialize object.
3639
/// @return Boxed object.
@@ -63,6 +66,7 @@ namespace xtd {
6366
/// @remarks For more information about types, see [Native types, boxing and unboxing](https://gammasoft71.github.io/xtd/docs/documentation/Guides/xtd.core/Types%20overview/types).
6467
template<class type_t, class ...args_t>
6568
inline box<type_t> boxing(args_t&& ...args) noexcept {return box<type_t>(args...);}
69+
/// @}
6670

6771
/// @cond
6872
inline const object& boxing(const object& value) noexcept {return value;}

src/xtd.core/include/xtd/collections/generic/helpers/allocator.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ namespace xtd {
1212
namespace generic {
1313
/// @brief The xtd::collections::generic::helpers namespace contains helpers for generic collections, sush as comparer, equator an hasher structs.
1414
namespace helpers {
15+
/// @name Aliases
16+
17+
/// @{
1518
/// @brief Represent an allocator alias.
1619
/// @par Header
1720
/// ```cpp
@@ -33,6 +36,7 @@ namespace xtd {
3336
/// ```
3437
template<class type_t>
3538
using allocator = std::allocator<type_t>;
39+
/// @}
3640
}
3741
}
3842
}

src/xtd.core/include/xtd/collections/generic/helpers/iterator.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ namespace xtd {
1414
namespace generic {
1515
/// @brief The xtd::collections::generic::helpers namespace contains helpers for generic collections, sush as comparer, equator an hasher structs.
1616
namespace helpers {
17+
/// @name Aliases
18+
19+
/// @{
1720
/// @brief Represents the value iterator type.
1821
/// @par Header
1922
/// ```cpp
@@ -65,6 +68,7 @@ namespace xtd {
6568
/// @ingroup xtd_core helpers_generic_collections
6669
template< class input_iterator_t >
6770
using iterator_to_allocator_t = std::pair<std::add_const_t<iterator_key_t<input_iterator_t>>, iterator_mapped_t<input_iterator_t>>;
71+
/// @}
6872
}
6973
}
7074
}

src/xtd.core/include/xtd/register_any_stringer.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ inline std::pair<const std::type_index, std::function<std::string(std::any const
2121

2222
/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
2323
namespace xtd {
24+
/// @name Static Methods
25+
26+
/// @{
2427
/// @brief Register an any stringer method for a specified type.
2528
/// @param func Function to register any stringer for specified type.
2629
/// @par Namespace
@@ -36,4 +39,5 @@ namespace xtd {
3639
unregister_any_stringer<type_t>();
3740
__any_stringer__.insert(__to_any_stringer__<type_t>(func));
3841
}
42+
/// @}
3943
}

src/xtd.core/include/xtd/size_object.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
99
namespace xtd {
10+
/// @name Aliases
11+
12+
/// @{
1013
/// @brief Represent a boxed size_t.
1114
/// @par Namespace
1215
/// xtd
@@ -23,4 +26,5 @@ namespace xtd {
2326
/// console::write_line("result = {}", result); // Display: result = 42;
2427
/// ```
2528
using size_object = box_integer<size_t>;
29+
/// @}
2630
}

src/xtd.core/include/xtd/string_comparer.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
88
namespace xtd {
9+
/// @name Aliases
10+
11+
/// @{
912
/// @brief Represents a string comparison operation that uses specific case and culture-based or ordinal comparison rules.
1013
/// @par Definition
1114
/// ```cpp
@@ -21,4 +24,5 @@ namespace xtd {
2124
/// xtd.core
2225
/// @ingroup xtd_core system
2326
using string_comparer = basic_string_comparer<char>;
27+
/// @}
2428
}

src/xtd.core/include/xtd/u16string_comparer.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
99
namespace xtd {
10+
/// @name Aliases
11+
12+
/// @{
1013
/// @brief Represents a u16string comparison operation that uses specific case and culture-based or ordinal comparison rules.
1114
/// @par Definition
1215
/// ```cpp
@@ -22,4 +25,5 @@ namespace xtd {
2225
/// xtd.core
2326
/// @ingroup xtd_core system
2427
using u16string_comparer = xtd::basic_string_comparer<xtd::char16>;
28+
/// @}
2529
}

src/xtd.core/include/xtd/u32string_comparer.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
99
namespace xtd {
10+
/// @name Aliases
11+
12+
/// @{
1013
/// @brief Represents a u32string comparison operation that uses specific case and culture-based or ordinal comparison rules.
1114
/// @par Definition
1215
/// ```cpp
@@ -22,4 +25,5 @@ namespace xtd {
2225
/// xtd.core
2326
/// @ingroup xtd_core system
2427
using u32string_comparer = xtd::basic_string_comparer<xtd::char32>;
28+
/// @}
2529
}

0 commit comments

Comments
 (0)