add Finder::esc_like(...) methods
This commit is contained in:
@@ -1051,39 +1051,39 @@ void BaseExpression::put_alias(const pt::WTextStream & alias_name_prefix, int in
|
||||
|
||||
|
||||
|
||||
void BaseExpression::put_string(const char * str, const FT & field_type, bool add_quotes)
|
||||
void BaseExpression::put_string(const char * str, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
put_string_generic(str, field_type, add_quotes);
|
||||
put_string_generic(str, field_type, add_quotes, model_env);
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::put_string(const wchar_t * str, const FT & field_type, bool add_quotes)
|
||||
void BaseExpression::put_string(const wchar_t * str, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
put_string_generic(str, field_type, add_quotes);
|
||||
put_string_generic(str, field_type, add_quotes, model_env);
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::put_string(const std::string & str, const FT & field_type, bool add_quotes)
|
||||
void BaseExpression::put_string(const std::string & str, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
put_string_generic(str, field_type, add_quotes);
|
||||
put_string_generic(str, field_type, add_quotes, model_env);
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::put_string(const std::wstring & str, const FT & field_type, bool add_quotes)
|
||||
void BaseExpression::put_string(const std::wstring & str, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
put_string_generic(str, field_type, add_quotes);
|
||||
put_string_generic(str, field_type, add_quotes, model_env);
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::put_stream(const pt::TextStream & str, const FT & field_type, bool add_quotes)
|
||||
void BaseExpression::put_stream(const pt::TextStream & str, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
put_string_generic(str, field_type, add_quotes);
|
||||
put_string_generic(str, field_type, add_quotes, model_env);
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::put_stream(const pt::WTextStream & str, const FT & field_type, bool add_quotes)
|
||||
void BaseExpression::put_stream(const pt::WTextStream & str, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
put_string_generic(str, field_type, add_quotes);
|
||||
put_string_generic(str, field_type, add_quotes, model_env);
|
||||
}
|
||||
|
||||
|
||||
@@ -1186,50 +1186,50 @@ void BaseExpression::alias_to_stream(pt::TextStream & stream, const pt::WTextStr
|
||||
|
||||
|
||||
|
||||
void BaseExpression::string_to_stream(pt::TextStream & stream, const char * str, const FT & field_type, bool add_quotes)
|
||||
void BaseExpression::string_to_stream(pt::TextStream & stream, const char * str, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_string(str, field_type, add_quotes);
|
||||
put_string(str, field_type, add_quotes, model_env);
|
||||
this->out_stream = nullptr;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::string_to_stream(pt::TextStream & stream, const wchar_t * str, const FT & field_type, bool add_quotes)
|
||||
void BaseExpression::string_to_stream(pt::TextStream & stream, const wchar_t * str, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_string(str, field_type, add_quotes);
|
||||
put_string(str, field_type, add_quotes, model_env);
|
||||
this->out_stream = nullptr;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::string_to_stream(pt::TextStream & stream, const std::string & str, const FT & field_type, bool add_quotes)
|
||||
void BaseExpression::string_to_stream(pt::TextStream & stream, const std::string & str, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_string(str, field_type, add_quotes);
|
||||
put_string(str, field_type, add_quotes, model_env);
|
||||
this->out_stream = nullptr;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::string_to_stream(pt::TextStream & stream, const std::wstring & str, const FT & field_type, bool add_quotes)
|
||||
void BaseExpression::string_to_stream(pt::TextStream & stream, const std::wstring & str, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_string(str, field_type, add_quotes);
|
||||
put_string(str, field_type, add_quotes, model_env);
|
||||
this->out_stream = nullptr;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::stream_to_stream(pt::TextStream & stream_out, const pt::TextStream & stream_in, const FT & field_type, bool add_quotes)
|
||||
void BaseExpression::stream_to_stream(pt::TextStream & stream_out, const pt::TextStream & stream_in, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
this->out_stream = &stream_out;
|
||||
put_stream(stream_in, field_type, add_quotes);
|
||||
put_stream(stream_in, field_type, add_quotes, model_env);
|
||||
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)
|
||||
void BaseExpression::stream_to_stream(pt::TextStream & stream_out, const pt::WTextStream & stream_in, const FT & field_type, bool add_quotes, ModelEnv * model_env)
|
||||
{
|
||||
this->out_stream = &stream_out;
|
||||
put_stream(stream_in, field_type, add_quotes);
|
||||
put_stream(stream_in, field_type, add_quotes, model_env);
|
||||
this->out_stream = nullptr;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user