xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd
interface
xtd::interface Class Reference
﹡ libraries
»
xtd.core
Inheritance diagram for xtd::interface:
Definition
Represent an interface class.
Namespace
xtd
Library
xtd.core
Examples
@include <
xtd
/
interface
>
class
istringable
:
public
interface
{
public
:
virtual
xtd::string
to_string
()
const
= 0;
};
class
foo :
public
istringable
{
public
:
foo() =
default
;
xtd
:
string
to_string
()
const override
{
return
"foo"
;}
};
xtd::interface
Represent an interface class.
Definition
interface.hpp:31
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.
xtd::string
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition
__string_definitions.hpp:43
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::to_string
auto to_string() const noexcept -> xtd::string override
Returns the string representation of this xtd::read_only_span <type_t> object.
Definition
read_only_span.hpp:342
The documentation for this class was generated from the following file:
xtd.core/include/xtd/
interface.hpp
Generated on
for xtd by
Gammasoft
. All rights reserved.