use pt::Stream instead of pt::TextStream as the output stream
This commit is contained in:
+7
-7
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2022-2023, Tomasz Sowa
|
||||
* Copyright (c) 2022-2024, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
virtual void set_root_element(const std::wstring & root_name);
|
||||
virtual std::wstring & get_root_element();
|
||||
|
||||
void to_text(pt::TextStream & stream, Model & model, Export exp);
|
||||
void to_text(pt::Stream & stream, Model & model, Export exp) override;
|
||||
|
||||
|
||||
protected:
|
||||
@@ -66,12 +66,12 @@ protected:
|
||||
bool put_root_element;
|
||||
std::wstring root_element_name;
|
||||
|
||||
void allocate_default_expression();
|
||||
void allocate_default_expression() override;
|
||||
|
||||
virtual void put_doctype_definition(pt::TextStream & stream);
|
||||
virtual void put_opening_root_element(pt::TextStream & stream);
|
||||
virtual void put_closing_root_element(pt::TextStream & stream);
|
||||
virtual void put_root_element_name(pt::TextStream & stream);
|
||||
virtual void put_doctype_definition(pt::Stream & stream);
|
||||
virtual void put_opening_root_element(pt::Stream & stream);
|
||||
virtual void put_closing_root_element(pt::Stream & stream);
|
||||
virtual void put_root_element_name(pt::Stream & stream);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user