namespace PT renamed to pt
This commit is contained in:
@@ -74,12 +74,12 @@ int BaseExpression::get_work_mode()
|
||||
|
||||
|
||||
|
||||
PT::TextStream * BaseExpression::get_text_stream()
|
||||
pt::TextStream * BaseExpression::get_text_stream()
|
||||
{
|
||||
return out_stream;
|
||||
}
|
||||
|
||||
void BaseExpression::set_text_stream(PT::TextStream * out_stream)
|
||||
void BaseExpression::set_text_stream(pt::TextStream * out_stream)
|
||||
{
|
||||
this->out_stream = out_stream;
|
||||
}
|
||||
@@ -88,7 +88,7 @@ void BaseExpression::set_text_stream(PT::TextStream * out_stream)
|
||||
|
||||
|
||||
|
||||
PT::TextStream * BaseExpression::get_current_stream()
|
||||
pt::TextStream * BaseExpression::get_current_stream()
|
||||
{
|
||||
return out_stream;
|
||||
}
|
||||
@@ -107,7 +107,7 @@ bool BaseExpression::get_allow_to_use_prefix()
|
||||
|
||||
|
||||
|
||||
void BaseExpression::generate_from_model(PT::TextStream & stream, Model & model)
|
||||
void BaseExpression::generate_from_model(pt::TextStream & stream, Model & model)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
generate_from_model(model);
|
||||
@@ -208,8 +208,8 @@ void BaseExpression::put_field_name(const wchar_t * field_name, const FT & field
|
||||
|
||||
void BaseExpression::save_foreign_key(const wchar_t * field_name, const FT & field_type, ModelEnv * model_env)
|
||||
{
|
||||
PT::TextStream str;
|
||||
PT::TextStream * old_out_stream = out_stream;
|
||||
pt::TextStream str;
|
||||
pt::TextStream * old_out_stream = out_stream;
|
||||
|
||||
out_stream = &str;
|
||||
put_field_name(field_name, field_type, model_env);
|
||||
@@ -337,22 +337,22 @@ void BaseExpression::after_field_value(char, const FT & field_type)
|
||||
after_field_value_string(field_type);
|
||||
}
|
||||
|
||||
void BaseExpression::before_field_value(const PT::Date &, const FT & field_type)
|
||||
void BaseExpression::before_field_value(const pt::Date &, const FT & field_type)
|
||||
{
|
||||
before_field_value_string(field_type);
|
||||
}
|
||||
|
||||
void BaseExpression::after_field_value(const PT::Date &, const FT & field_type)
|
||||
void BaseExpression::after_field_value(const pt::Date &, const FT & field_type)
|
||||
{
|
||||
after_field_value_string(field_type);
|
||||
}
|
||||
|
||||
void BaseExpression::before_field_value(const PT::Space &, const FT & field_type)
|
||||
void BaseExpression::before_field_value(const pt::Space &, const FT & field_type)
|
||||
{
|
||||
before_field_value_string(field_type);
|
||||
}
|
||||
|
||||
void BaseExpression::after_field_value(const PT::Space &, const FT & field_type)
|
||||
void BaseExpression::after_field_value(const pt::Space &, const FT & field_type)
|
||||
{
|
||||
after_field_value_string(field_type);
|
||||
}
|
||||
@@ -373,7 +373,7 @@ char BaseExpression::char_to_hex_part(char c)
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::char_to_hex(char c, PT::TextStream & stream)
|
||||
void BaseExpression::char_to_hex(char c, pt::TextStream & stream)
|
||||
{
|
||||
stream << char_to_hex_part(((unsigned char)c) >> 4);
|
||||
stream << char_to_hex_part(((unsigned char)c) & 0x0f);
|
||||
@@ -382,7 +382,7 @@ void BaseExpression::char_to_hex(char c, PT::TextStream & stream)
|
||||
|
||||
|
||||
|
||||
void BaseExpression::esc(char val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(char val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
if( field_type.is_binary() || field_type.is_hexadecimal() )
|
||||
{
|
||||
@@ -395,19 +395,19 @@ void BaseExpression::esc(char val, PT::TextStream & stream, const FT & field_typ
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(unsigned char val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(unsigned char val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
esc(static_cast<char>(val), stream, field_type);
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(wchar_t val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(wchar_t val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
if( field_type.use_utf8() )
|
||||
{
|
||||
char utf8_buf[10];
|
||||
|
||||
size_t utf8_len = PT::IntToUTF8((int)val, utf8_buf, sizeof(utf8_buf));
|
||||
size_t utf8_len = pt::IntToUTF8((int)val, utf8_buf, sizeof(utf8_buf));
|
||||
|
||||
for(size_t a = 0 ; a < utf8_len ; ++a)
|
||||
{
|
||||
@@ -421,7 +421,7 @@ void BaseExpression::esc(wchar_t val, PT::TextStream & stream, const FT & field_
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(const wchar_t * val, bool has_known_length, size_t len, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(const wchar_t * val, bool has_known_length, size_t len, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
if( field_type.use_utf8() )
|
||||
{
|
||||
@@ -429,7 +429,7 @@ void BaseExpression::esc(const wchar_t * val, bool has_known_length, size_t len,
|
||||
|
||||
for(size_t i = 0 ; has_known_length ? (i < len) : val[i] != 0 ; ++i)
|
||||
{
|
||||
size_t utf8_len = PT::IntToUTF8((int)val[i], utf8_buf, sizeof(utf8_buf));
|
||||
size_t utf8_len = pt::IntToUTF8((int)val[i], utf8_buf, sizeof(utf8_buf));
|
||||
|
||||
for(size_t a = 0 ; a < utf8_len ; ++a)
|
||||
{
|
||||
@@ -447,19 +447,19 @@ void BaseExpression::esc(const wchar_t * val, bool has_known_length, size_t len,
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(const std::wstring & val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(const std::wstring & val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
esc(val.c_str(), true, val.size(), stream, field_type);
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(const wchar_t * val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(const wchar_t * val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
esc(val, false, 0, stream, field_type);
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(const std::string & val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(const std::string & val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
for(size_t i = 0 ; i < val.size() ; ++i)
|
||||
{
|
||||
@@ -468,7 +468,7 @@ void BaseExpression::esc(const std::string & val, PT::TextStream & stream, const
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(const char * val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(const char * val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
for(size_t i = 0 ; val[i] != 0 ; ++i)
|
||||
{
|
||||
@@ -477,7 +477,7 @@ void BaseExpression::esc(const char * val, PT::TextStream & stream, const FT & f
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(bool val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(bool val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
if( val )
|
||||
stream << "true";
|
||||
@@ -486,82 +486,82 @@ void BaseExpression::esc(bool val, PT::TextStream & stream, const FT & field_typ
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(short val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(short val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
stream << val;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(unsigned short val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(unsigned short val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
stream << val;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(int val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(int val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
stream << val;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(unsigned int val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(unsigned int val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
stream << val;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(long val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(long val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
stream << val;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(unsigned long val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(unsigned long val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
stream << val;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(long long val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(long long val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
// not implemented in PT::TextStream yet
|
||||
// not implemented in pt::TextStream yet
|
||||
//stream << val;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(unsigned long long val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(unsigned long long val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
//stream << val;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(float val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(float val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
stream << val;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(double val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(double val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
stream << val;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(long double val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(long double val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
// IMPLEMENT ME in PT::TextStream
|
||||
// IMPLEMENT ME in pt::TextStream
|
||||
//stream << val;
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::esc(const PT::Date & date, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(const pt::Date & date, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
stream << date;
|
||||
}
|
||||
|
||||
void BaseExpression::esc(const PT::TextStream & val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(const pt::TextStream & val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
PT::TextStream::const_iterator i = val.begin();
|
||||
pt::TextStream::const_iterator i = val.begin();
|
||||
|
||||
for(; i != val.end() ; ++i)
|
||||
{
|
||||
@@ -569,9 +569,9 @@ void BaseExpression::esc(const PT::TextStream & val, PT::TextStream & stream, co
|
||||
}
|
||||
}
|
||||
|
||||
void BaseExpression::esc(const PT::WTextStream & val, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(const pt::WTextStream & val, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
PT::WTextStream::const_iterator i = val.begin();
|
||||
pt::WTextStream::const_iterator i = val.begin();
|
||||
|
||||
for(; i != val.end() ; ++i)
|
||||
{
|
||||
@@ -579,119 +579,119 @@ void BaseExpression::esc(const PT::WTextStream & val, PT::TextStream & stream, c
|
||||
}
|
||||
}
|
||||
|
||||
void BaseExpression::esc(const PT::Space & space, PT::TextStream & stream, const FT & field_type)
|
||||
void BaseExpression::esc(const pt::Space & space, pt::TextStream & stream, const FT & field_type)
|
||||
{
|
||||
PT::WTextStream tmp_stream;
|
||||
pt::WTextStream tmp_stream;
|
||||
|
||||
space.serialize_to_space_stream(tmp_stream, true);
|
||||
esc(tmp_stream, stream, field_type);
|
||||
}
|
||||
|
||||
|
||||
//void BaseExpression::put_type(char val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(char val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "char";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(unsigned char val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(unsigned char val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "unsigned char";
|
||||
//}
|
||||
//
|
||||
//
|
||||
//void BaseExpression::put_type(const std::wstring & val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(const std::wstring & val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "text";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(const wchar_t * val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(const wchar_t * val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "text";
|
||||
//}
|
||||
//
|
||||
//
|
||||
//void BaseExpression::put_type(const std::string & val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(const std::string & val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "text";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(const char * val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(const char * val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "text";
|
||||
//}
|
||||
//
|
||||
//
|
||||
//void BaseExpression::put_type(bool val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(bool val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "boolean";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(short val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(short val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "short integer";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(unsigned short val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(unsigned short val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "unsigned short integer";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(int val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(int val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "integer";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(unsigned int val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(unsigned int val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "unsigned integer";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(long val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(long val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "long integer";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(unsigned long val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(unsigned long val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "unsigned long integer";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(long long val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(long long val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "very long integer";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(unsigned long long val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(unsigned long long val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "unsigned very long integer";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(float val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(float val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "float";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(double val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(double val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "double";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(long double val, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(long double val, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "long double";
|
||||
//}
|
||||
//
|
||||
////void BaseExpression::put_type(void* val, PT::TextStream & stream)
|
||||
////void BaseExpression::put_type(void* val, pt::TextStream & stream)
|
||||
////{
|
||||
////}
|
||||
//
|
||||
//
|
||||
//void BaseExpression::put_type(const PT::Date & date, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(const pt::Date & date, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "date";
|
||||
//}
|
||||
//
|
||||
//void BaseExpression::put_type(const Model & model, PT::TextStream & stream)
|
||||
//void BaseExpression::put_type(const Model & model, pt::TextStream & stream)
|
||||
//{
|
||||
// stream << "object";
|
||||
//}
|
||||
@@ -740,7 +740,7 @@ void BaseExpression::put_schema_table(const wchar_t * schema_name, const wchar_t
|
||||
/*
|
||||
* schema_name can be empty - in such a case we do not put the schema name
|
||||
*/
|
||||
void BaseExpression::put_schema_table(const PT::WTextStream & schema_name, const PT::WTextStream & table_name)
|
||||
void BaseExpression::put_schema_table(const pt::WTextStream & schema_name, const pt::WTextStream & table_name)
|
||||
{
|
||||
if( out_stream )
|
||||
{
|
||||
@@ -778,7 +778,7 @@ void BaseExpression::put_table(const wchar_t * table_name)
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::put_table(const PT::WTextStream & table_name)
|
||||
void BaseExpression::put_table(const pt::WTextStream & table_name)
|
||||
{
|
||||
if( out_stream )
|
||||
{
|
||||
@@ -806,7 +806,7 @@ void BaseExpression::put_table_with_index(const wchar_t * table_name, int index)
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::put_table_with_index(const PT::WTextStream & table_name, int index)
|
||||
void BaseExpression::put_table_with_index(const pt::WTextStream & table_name, int index)
|
||||
{
|
||||
if( out_stream )
|
||||
{
|
||||
@@ -833,7 +833,7 @@ void BaseExpression::put_table_with_index_and_field(const wchar_t * table_name,
|
||||
}
|
||||
}
|
||||
|
||||
void BaseExpression::put_table_with_index_and_field(const PT::WTextStream & table_name, int index, const wchar_t * field_name, const FT & field_type)
|
||||
void BaseExpression::put_table_with_index_and_field(const pt::WTextStream & table_name, int index, const wchar_t * field_name, const FT & field_type)
|
||||
{
|
||||
if( out_stream )
|
||||
{
|
||||
@@ -854,7 +854,7 @@ void BaseExpression::put_table_and_field(const wchar_t * table_name, const wchar
|
||||
}
|
||||
}
|
||||
|
||||
void BaseExpression::put_table_and_field(const PT::WTextStream & table_name, const wchar_t * field_name, const FT & field_type)
|
||||
void BaseExpression::put_table_and_field(const pt::WTextStream & table_name, const wchar_t * field_name, const FT & field_type)
|
||||
{
|
||||
if( out_stream )
|
||||
{
|
||||
@@ -866,7 +866,7 @@ void BaseExpression::put_table_and_field(const PT::WTextStream & table_name, con
|
||||
|
||||
|
||||
|
||||
void BaseExpression::schema_table_to_stream(PT::TextStream & stream, const wchar_t * schema_name, const wchar_t * table_name)
|
||||
void BaseExpression::schema_table_to_stream(pt::TextStream & stream, const wchar_t * schema_name, const wchar_t * table_name)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_schema_table(schema_name, table_name);
|
||||
@@ -874,7 +874,7 @@ void BaseExpression::schema_table_to_stream(PT::TextStream & stream, const wchar
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::schema_table_to_stream(PT::TextStream & stream, const PT::WTextStream & schema_name, const PT::WTextStream & table_name)
|
||||
void BaseExpression::schema_table_to_stream(pt::TextStream & stream, const pt::WTextStream & schema_name, const pt::WTextStream & table_name)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_schema_table(schema_name, table_name);
|
||||
@@ -882,7 +882,7 @@ void BaseExpression::schema_table_to_stream(PT::TextStream & stream, const PT::W
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::table_to_stream(PT::TextStream & stream, const wchar_t * table_name)
|
||||
void BaseExpression::table_to_stream(pt::TextStream & stream, const wchar_t * table_name)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_table(table_name);
|
||||
@@ -890,7 +890,7 @@ void BaseExpression::table_to_stream(PT::TextStream & stream, const wchar_t * ta
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::table_to_stream(PT::TextStream & stream, const PT::WTextStream & table_name)
|
||||
void BaseExpression::table_to_stream(pt::TextStream & stream, const pt::WTextStream & table_name)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_table(table_name);
|
||||
@@ -898,7 +898,7 @@ void BaseExpression::table_to_stream(PT::TextStream & stream, const PT::WTextStr
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::table_with_index_to_stream(PT::TextStream & stream, const wchar_t * table_name, int index)
|
||||
void BaseExpression::table_with_index_to_stream(pt::TextStream & stream, const wchar_t * table_name, int index)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_table_with_index(table_name, index);
|
||||
@@ -906,7 +906,7 @@ void BaseExpression::table_with_index_to_stream(PT::TextStream & stream, const w
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::table_with_index_to_stream(PT::TextStream & stream, const PT::WTextStream & table_name, int index)
|
||||
void BaseExpression::table_with_index_to_stream(pt::TextStream & stream, const pt::WTextStream & table_name, int index)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_table_with_index(table_name, index);
|
||||
@@ -914,7 +914,7 @@ void BaseExpression::table_with_index_to_stream(PT::TextStream & stream, const P
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::table_with_index_and_field_to_stream(PT::TextStream & stream, const wchar_t * table_name, int index, const wchar_t * field_name, const FT & field_type)
|
||||
void BaseExpression::table_with_index_and_field_to_stream(pt::TextStream & stream, const wchar_t * table_name, int index, const wchar_t * field_name, const FT & field_type)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_table_with_index_and_field(table_name, index, field_name, field_type);
|
||||
@@ -922,7 +922,7 @@ void BaseExpression::table_with_index_and_field_to_stream(PT::TextStream & strea
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::table_with_index_and_field_to_stream(PT::TextStream & stream, const PT::WTextStream & table_name, int index, const wchar_t * field_name, const FT & field_type)
|
||||
void BaseExpression::table_with_index_and_field_to_stream(pt::TextStream & stream, const pt::WTextStream & table_name, int index, const wchar_t * field_name, const FT & field_type)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_table_with_index_and_field(table_name, index, field_name, field_type);
|
||||
@@ -930,7 +930,7 @@ void BaseExpression::table_with_index_and_field_to_stream(PT::TextStream & strea
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::table_and_field_to_stream(PT::TextStream & stream, const wchar_t * table_name, const wchar_t * field_name, const FT & field_type)
|
||||
void BaseExpression::table_and_field_to_stream(pt::TextStream & stream, const wchar_t * table_name, const wchar_t * field_name, const FT & field_type)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_table_and_field(table_name, field_name, field_type);
|
||||
@@ -938,7 +938,7 @@ void BaseExpression::table_and_field_to_stream(PT::TextStream & stream, const wc
|
||||
}
|
||||
|
||||
|
||||
void BaseExpression::table_and_field_to_stream(PT::TextStream & stream, const PT::WTextStream & table_name, const wchar_t * field_name, const FT & field_type)
|
||||
void BaseExpression::table_and_field_to_stream(pt::TextStream & stream, const pt::WTextStream & table_name, const wchar_t * field_name, const FT & field_type)
|
||||
{
|
||||
this->out_stream = &stream;
|
||||
put_table_and_field(table_name, field_name, field_type);
|
||||
|
Reference in New Issue
Block a user