Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/gammasoft71/xtd
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Oct 1, 2024
2 parents ce9e0d2 + 4467528 commit 4f406d0
Show file tree
Hide file tree
Showing 32 changed files with 180 additions and 180 deletions.
32 changes: 16 additions & 16 deletions src/xtd.core/include/xtd/access_violation_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,62 +40,62 @@ namespace xtd {
/// @param message Message string associate to the exception.
/// @param error Error code associate to the exception.
/// @param stack_frame (optional) Contains current information about member name, file path and line number in the file where the exception is occurred. Typically #current_stack_frame_.
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::error_code - Will be removed in version 0.4.0
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::error_code - Will be removed in version 0.4.0")]]
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::error_code - Will be removed in version 0.4.0.
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::error_code - Will be removed in version 0.4.0.")]]
access_violation_exception(const xtd::string& message, const std::error_code& error, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::empty());
/// @brief Create a new instance of class access_violation_exception
/// @param message Message string associate to the exception.
/// @param help_link Help link string associate to the exception.
/// @param stack_frame (optional) Contains current information about member name, file path and line number in the file where the exception is occurred. Typically #current_stack_frame_.
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::help_link - Will be removed in version 0.4.0
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::help_link - Will be removed in version 0.4.0")]]
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::help_link - Will be removed in version 0.4.0.
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::help_link - Will be removed in version 0.4.0.")]]
access_violation_exception(const xtd::string& message, const xtd::string& help_link, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::empty());
/// @brief Create a new instance of class access_violation_exception
/// @param message Message string associate to the exception.
/// @param error Error code associate to the exception.
/// @param help_link Help link string associate to the exception.
/// @param stack_frame (optional) Contains current information about member name, file path and line number in the file where the exception is occurred. Typically #current_stack_frame_.
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the properties xtd::exception::error_code and xtd::exception::help_link - Will be removed in version 0.4.0
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the properties xtd::exception::error_code and xtd::exception::help_link - Will be removed in version 0.4.0")]]
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the properties xtd::exception::error_code and xtd::exception::help_link - Will be removed in version 0.4.0.
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const xtd::diagnostics::stack_frame& stack_frame) and manually set the properties xtd::exception::error_code and xtd::exception::help_link - Will be removed in version 0.4.0.")]]
access_violation_exception(const xtd::string& message, const std::error_code& error, const xtd::string& help_link, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::empty());
/// @brief Create a new instance of class access_violation_exception
/// @param inner_exception The exception that is the cause of the current exception.
/// @param stack_frame (optional) Contains current information about member name, file path and line number in the file where the exception is occurred. Typically #current_stack_frame_.
/// @remarks Message is set with the default message associate to the exception.
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) - Will be removed in version 0.4.0
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) - Will be removed in version 0.4.0")]]
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) - Will be removed in version 0.4.0.
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) - Will be removed in version 0.4.0.")]]
access_violation_exception(const std::exception& inner_exception, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::empty());
/// @brief Create a new instance of class access_violation_exception
/// @param message Message string associate to the exception.
/// @param inner_exception The exception that is the cause of the current exception.
/// @param stack_frame (optional) Contains current information about member name, file path and line number in the file where the exception is occurred. Typically #current_stack_frame_.
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) - Will be removed in version 0.4.0
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) - Will be removed in version 0.4.0")]]
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) - Will be removed in version 0.4.0.
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) - Will be removed in version 0.4.0.")]]
access_violation_exception(const xtd::string& message, const std::exception& inner_exception, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::empty());
/// @brief Create a new instance of class access_violation_exception
/// @param message Message string associate to the exception.
/// @param inner_exception The exception that is the cause of the current exception.
/// @param error Error code associate to the exception.
/// @param stack_frame (optional) Contains current information about member name, file path and line number in the file where the exception is occurred. Typically #current_stack_frame_.
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::error_code - Will be removed in version 0.4.0
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::error_code - Will be removed in version 0.4.0")]]
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::error_code - Will be removed in version 0.4.0.
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::error_code - Will be removed in version 0.4.0.")]]
access_violation_exception(const xtd::string& message, const std::exception& inner_exception, const std::error_code& error, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::empty());
/// @brief Create a new instance of class access_violation_exception
/// @param message Message string associate to the exception.
/// @param inner_exception The exception that is the cause of the current exception.
/// @param help_link Help link string associate to the exception.
/// @param stack_frame (optional) Contains current information about member name, file path and line number in the file where the exception is occurred. Typically #current_stack_frame_.
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::help_link - Will be removed in version 0.4.0
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::help_link - Will be removed in version 0.4.0")]]
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::help_link - Will be removed in version 0.4.0.
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the property xtd::exception::help_link - Will be removed in version 0.4.0.")]]
access_violation_exception(const xtd::string& message, const std::exception& inner_exception, const xtd::string& help_link, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::empty());
/// @brief Create a new instance of class access_violation_exception
/// @param message Message string associate to the exception.
/// @param inner_exception The exception that is the cause of the current exception.
/// @param error Error code associate to the exception.
/// @param help_link Help link string associate to the exception.
/// @param stack_frame (optional) Contains current information about member name, file path and line number in the file where the exception is occurred. Typically #current_stack_frame_.
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the properties xtd::exception::error_code and xtd::exception::help_link - Will be removed in version 0.4.0
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the properties xtd::exception::error_code and xtd::exception::help_link - Will be removed in version 0.4.0")]]
/// @deprecated Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the properties xtd::exception::error_code and xtd::exception::help_link - Will be removed in version 0.4.0.
[[deprecated("Use xtd::access_violation_exception (const xtd::string& message, const exception_t& inner_exception, const xtd::diagnostics::stack_frame& stack_frame) and manually set the properties xtd::exception::error_code and xtd::exception::help_link - Will be removed in version 0.4.0.")]]
access_violation_exception(const xtd::string& message, const std::exception& inner_exception, const std::error_code& error, const xtd::string& help_link, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::empty());
/// @}

Expand Down
28 changes: 14 additions & 14 deletions src/xtd.core/include/xtd/basic_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -1506,8 +1506,8 @@ namespace xtd {

/// @brief Indicates whether this basic_string is an empty basic_string ("").
/// @return true if the value parameter is null or an empty basic_string (""); otherwise, false.
/// @deprecated Replaced by xtd::basic_string::is_empty(const xtd::basic_string&) - Will be removed in version 0.4.0
[[deprecated("Replaced by xtd::basic_string::is_empty(const xtd::basic_string&) - Will be removed in version 0.4.0")]]
/// @deprecated Replaced by xtd::basic_string::is_empty(const xtd::basic_string&) - Will be removed in version 0.4.0.
[[deprecated("Replaced by xtd::basic_string::is_empty(const xtd::basic_string&) - Will be removed in version 0.4.0.")]]
bool is_empty() const noexcept {return is_empty(*this);}

/// @brief Reports the index of the last occurrence of the specified basic_string in this basic_string.
Expand Down Expand Up @@ -2018,22 +2018,22 @@ namespace xtd {
/// @brief Gets the class name of the object_t.
/// @return The class name of the object_t.
/// @remarks For example, the name of the basic_string type is basic_string.
/// @deprecated Replaced by typeof_<object_t>().name() - Will be removed in version 0.4.0
/// @deprecated Replaced by typeof_<object_t>().name() - Will be removed in version 0.4.0.
template<typename object_t>
[[deprecated("Replaced by typeof_<object_t>().name() - Will be removed in version 0.4.0")]]
[[deprecated("Replaced by typeof_<object_t>().name() - Will be removed in version 0.4.0.")]]
static basic_string class_name() {return get_class_name(full_class_name<object_t>());}
/// @brief Gets the class name of the specified object.
/// @return The class name of the specified object.
/// @remarks For example, the name of the basic_string type is basic_string.
/// @deprecated Replaced by typeof_(object).name() - Will be removed in version 0.4.0
/// @deprecated Replaced by typeof_(object).name() - Will be removed in version 0.4.0.
template<typename object_t>
[[deprecated("Replaced by typeof_(object).name() - Will be removed in version 0.4.0")]]
[[deprecated("Replaced by typeof_(object).name() - Will be removed in version 0.4.0.")]]
static basic_string class_name(const object_t& object) {return get_class_name(full_class_name(object));}
/// @brief Gets the class name of the specified object.
/// @return The class name of the specified object.
/// @remarks For example, the name of the basic_string type is basic_string.
/// @deprecated Replaced by typeof_(info).name() - Will be removed in version 0.4.0
[[deprecated("Replaced by typeof_(info).name() - Will be removed in version 0.4.0")]]
/// @deprecated Replaced by typeof_(info).name() - Will be removed in version 0.4.0.
[[deprecated("Replaced by typeof_(info).name() - Will be removed in version 0.4.0.")]]
static basic_string class_name(const std::type_info& info) {return __xtd_get_class_name(info);}

/// @brief Compares two specified basic_string objects and returns an integer that indicates their relative position in the sort order.
Expand Down Expand Up @@ -2263,22 +2263,22 @@ namespace xtd {
/// @brief Gets the fully qualified class name of the objec_t, including the namespace of the objec_t.
/// @return The fully qualified class name of the objec_t, including the namespace of the objec_t.
/// @remarks For example, the fully qualified name of the basic_string type is xtd::basic_string.
/// @deprecated Replaced by typeof_<object_t>().full_name() - Will be removed in version 0.4.0
/// @deprecated Replaced by typeof_<object_t>().full_name() - Will be removed in version 0.4.0.
template<typename object_t>
[[deprecated("Replaced by typeof_<object_t>().full_name() - Will be removed in version 0.4.0")]]
[[deprecated("Replaced by typeof_<object_t>().full_name() - Will be removed in version 0.4.0.")]]
static basic_string full_class_name() {return demangle(typeid(object_t).name());}
/// @brief Gets the fully qualified class name of the specified object, including the namespace of the specified object.
/// @return The fully qualified class name of the objec_t, including the namespace of the specified object.
/// @remarks For example, the fully qualified name of the basic_string type is xtd::basic_string.
/// @deprecated Replaced by typeof_(object).full_name() - Will be removed in version 0.4.0
/// @deprecated Replaced by typeof_(object).full_name() - Will be removed in version 0.4.0.
template<typename object_t>
[[deprecated("Replaced by typeof_(object).full_name() - Will be removed in version 0.4.0")]]
[[deprecated("Replaced by typeof_(object).full_name() - Will be removed in version 0.4.0.")]]
static basic_string full_class_name(const object_t& object) {return demangle(typeid(object).name());}
/// @brief Gets the fully qualified class name of the specified object, including the namespace of the specified object.
/// @return The fully qualified class name of the objec_t, including the namespace of the specified object.
/// @remarks For example, the fully qualified name of the basic_string type is xtd::basic_string.
/// @deprecated Replaced by typeof_(info).full_name() - Will be removed in version 0.4.0
[[deprecated("Replaced by typeof_(info).full_name() - Will be removed in version 0.4.0")]]
/// @deprecated Replaced by typeof_(info).full_name() - Will be removed in version 0.4.0.
[[deprecated("Replaced by typeof_(info).full_name() - Will be removed in version 0.4.0.")]]
static basic_string full_class_name(const std::type_info& info) {return __xtd_get_full_class_name(info);}

/// @brief Indicates whether the specifeid basic_string is an empty basic_string ("").
Expand Down
Loading

0 comments on commit 4f406d0

Please sign in to comment.