5#include "../../object.h"
6#include "../../string.h"
11 namespace collections {
39 template<
typename type_t>
67 constexpr params() noexcept = default;
93 constexpr iterator end() const noexcept {
return items_.end();}
115 operator const base_type&()
const noexcept {
return items_;}
130 template<
typename type_t>
132 return items.begin();
135 template<
typename type_t>
Represents text as a sequence of character units.
Definition basic_string.h:79
An object of type xtd::collections::generic::params <type_t> is a lightweight proxy object that provi...
Definition params.h:40
xtd::string to_string() const noexcept override
Returns a xtd::string that represents the current object.
Definition params.h:107
std::initializer_list< type_t > base_type
Represents the params base type.
Definition params.h:46
virtual const base_type & items() const noexcept
Returns the underlying base type items.
Definition params.h:97
typename base_type::value_type value_type
Represents the params value type.
Definition params.h:48
constexpr iterator begin() const noexcept
Returns a pointer to the first element in the params.
Definition params.h:83
typename base_type::size_type size_type
Represents the params size type (usually xtd::size).
Definition params.h:56
constexpr size_type size() const noexcept
Returns the number of elements in the params, i.e. std::distance(begin(), end()).
Definition params.h:101
constexpr iterator end() const noexcept
Returns a pointer to one past the last element in the params, i.e. begin() + size().
Definition params.h:93
virtual const_pointer data() const noexcept
Returns pointer to the underlying array serving as element storage.
Definition params.h:88
typename base_type::const_reference const_reference
Represents the const reference of params value type.
Definition params.h:52
const value_type * const_pointer
Represents the const pointer of params value type.
Definition params.h:54
typename base_type::const_iterator const_iterator
Represents the const iterator of params value type.
Definition params.h:60
constexpr params() noexcept=default
Create a new instance of the class xtd::collections::generic::params.
typename base_type::iterator iterator
Represents the iterator of params value type.
Definition params.h:58
typename base_type::reference reference
Represents the reference of params value type.
Definition params.h:50
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10