24 lines
643 B
C++
24 lines
643 B
C++
/**
|
|
* @file CSQLiteColumn.cpp
|
|
* @ingroup CSQLite
|
|
* @brief Encapsulation of a Column in a row of the result pointed by the prepared SQLite::Statement.
|
|
*
|
|
* Copyright (c) 2012-2019 Sebastien Rombauts (sebastien.rombauts@gmail.com)
|
|
*
|
|
* Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
|
|
* or copy at http://opensource.org/licenses/MIT)
|
|
*/
|
|
#include "pch.h"
|
|
#include "CSQLite/CSQLiteColumn.h"
|
|
|
|
|
|
#include <iostream>
|
|
|
|
|
|
// Standard std::ostream inserter
|
|
std::ostream& operator<<(std::ostream& aStream, const CSQLiteColumn& aColumn)
|
|
{
|
|
aStream.write(aColumn.getText(), aColumn.getBytes());
|
|
return aStream;
|
|
}
|