xtd 0.2.0
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
11namespace xtd {
23 public:
25
29 virtual xtd::string to_string() const = 0;
31 };
32}
33
35std::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:71
Provides a way to represent the current object as a string.
Definition istringable.hpp:22
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