xtd 0.2.0
Loading...
Searching...
No Matches
istringable.hpp
Go to the documentation of this file.
1
4#pragma once
5#define __XTD_CORE_INTERNAL__
7#undef __XTD_CORE_INTERNAL__
8#include "interface.hpp"
9#include "types.hpp"
10
12namespace xtd {
24 public:
26
30 virtual xtd::string to_string() const = 0;
32 };
33}
34
36std::ostream& operator <<(std::ostream& os, const xtd::istringable& obj) noexcept;
Contains string definitions.
Represents text as a sequence of character units.
Definition basic_string.hpp:79
Provides a way to represent the current object as a string.
Definition istringable.hpp:23
virtual xtd::string to_string() const =0
Gets a string that represents the current object.
#define interface_
This keyword is use to represent an interface.
Definition interface.hpp:58
Contains xtd::interface interface.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd fundamental types.