added to db stream: DbTextStream::operator<<(const std::vector<long> & tabid)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@782 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -535,6 +535,28 @@ return *this;
|
||||
}
|
||||
|
||||
|
||||
DbTextStream & DbTextStream::operator<<(const std::vector<long> & tabid)
|
||||
{
|
||||
if( was_param )
|
||||
buffer += ", ";
|
||||
|
||||
buffer += '(';
|
||||
|
||||
for(size_t i=0 ; i<tabid.size(); ++i)
|
||||
{
|
||||
TextStream<std::string>::operator<<(tabid[i]);
|
||||
|
||||
if( i + 1 < tabid.size() )
|
||||
buffer += ',';
|
||||
}
|
||||
|
||||
buffer += ')';
|
||||
|
||||
was_param = true;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
const char * DbTextStream::ConvertTime(const tm & t)
|
||||
{
|
||||
|
Reference in New Issue
Block a user