xtd 1.0.0
Loading...
Searching...
No Matches
yaml_reader.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "yaml.hpp"
7#include "../object.hpp"
8
10namespace xtd {
12 namespace serialization {
14 class yaml_reader : public object {
15 public:
17
19 explicit yaml_reader(std::istream& stream);
20 explicit yaml_reader(xtd::io::text_reader& text_reader);
21 explicit yaml_reader(const xtd::string& text);
23
25
27 auto yaml() const noexcept -> const xtd::serialization::yaml&;
29
30 private:
31 auto parse_text(const xtd::string& text) -> void;
32
34 };
35 }
36}
Represents a reader that can read a sequential series of characters.
Definition text_reader.hpp:38
object()=default
Create a new instance of the ultimate base class object.
Represents a YAML content. Typically a xtd::collections::generic::dictionary of xtd::string and xtd::...
Definition yaml.hpp:43
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
Contains classes that can be used for serializing and deserializing objects. Serialization is the pro...
Definition yaml.hpp:17
Contains classes that represent ASCII and Unicode character encodings; abstract base classes for conv...
Definition basic_string_builder.hpp:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::object class.
Contains xtd::io::stream_reader class.
Contains xtd::serialization::yaml class.