xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
istringable.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#define __XTD_CORE_INTERNAL__
6
#include "
internal/__string_definitions.hpp
"
7
#undef __XTD_CORE_INTERNAL__
8
#include "
extensions/stream_insertion_operator.hpp
"
9
#include "
generic_stream_output.hpp
"
10
#include "
interface.hpp
"
11
13
namespace
xtd
{
25
template
<
typename
type_t>
26
class
istringable
interface_
, public
extensions
::stream_insertion_operator<type_t, istringable<type_t>> {
27
public
:
29
33
[[nodiscard]]
virtual
auto
to_string
() const ->
xtd
::
string
= 0;
35
};
36
}
__string_definitions.hpp
xtd::istringable
Provides a way to represent the current object as a string.
Definition
istringable.hpp:26
xtd::istringable::to_string
virtual auto to_string() const -> xtd::string=0
Gets a string that represents the current object.
generic_stream_output.hpp
Contains generic stream output methods.
interface_
#define interface_
This keyword is use to represent an interface.
Definition
interface.hpp:58
interface.hpp
Contains xtd::interface interface.
xtd::extensions
The xtd::extensions namespace contains interface extensions.
Definition
comparison_operators.hpp:13
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
stream_insertion_operator.hpp
Contains xtd::extensions::stream_insertion_operator class.
Generated on
for xtd by
Gammasoft
. All rights reserved.