add more Finder::esc(...) and raw(...) methods

This commit is contained in:
2022-12-02 13:26:30 +01:00
parent 2ac8769d3a
commit dfc631dd06
3 changed files with 113 additions and 34 deletions

View File

@@ -963,6 +963,18 @@ void BaseExpression::put_string(const std::wstring & str, const FT & field_type,
}
void BaseExpression::put_stream(const pt::TextStream & str, const FT & field_type, bool add_quotes)
{
put_string_generic(str, field_type, add_quotes);
}
void BaseExpression::put_stream(const pt::WTextStream & str, const FT & field_type, bool add_quotes)
{
put_string_generic(str, field_type, add_quotes);
}
void BaseExpression::schema_table_to_stream(pt::TextStream & stream, const wchar_t * schema_name, const wchar_t * table_name)
{
@@ -1077,6 +1089,21 @@ void BaseExpression::string_to_stream(pt::TextStream & stream, const std::wstrin
}
void BaseExpression::stream_to_stream(pt::TextStream & stream_out, const pt::TextStream & stream_in, const FT & field_type, bool add_quotes)
{
this->out_stream = &stream_out;
put_stream(stream_in, field_type, add_quotes);
this->out_stream = nullptr;
}
void BaseExpression::stream_to_stream(pt::TextStream & stream_out, const pt::WTextStream & stream_in, const FT & field_type, bool add_quotes)
{
this->out_stream = &stream_out;
put_stream(stream_in, field_type, add_quotes);
this->out_stream = nullptr;
}