xtd 0.2.0
Loading...
Searching...
No Matches
yaml_reader.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "yaml.hpp"
9#include "../object.hpp"
10
12namespace xtd {
14 namespace serialization {
16 class yaml_reader : public object {
17 public:
19
21 explicit yaml_reader(std::istream& stream);
22 explicit yaml_reader(xtd::io::text_reader& text_reader);
23 explicit yaml_reader(const xtd::string& text);
25
27
29 auto yaml() const noexcept -> const xtd::serialization::yaml&;
31
32 private:
33 auto parse_text(const xtd::string& text) -> void;
34
36 };
37 }
38}
Contains xtd::argument_exception exception.
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
Contains xtd::format_exception exception.
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:17
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 alias.