| 1 | // | 
|---|
| 2 | // MetaColumn.cpp | 
|---|
| 3 | // | 
|---|
| 4 | // Library: SQL | 
|---|
| 5 | // Package: SQLCore | 
|---|
| 6 | // Module:  MetaColumn | 
|---|
| 7 | // | 
|---|
| 8 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. | 
|---|
| 9 | // and Contributors. | 
|---|
| 10 | // | 
|---|
| 11 | // SPDX-License-Identifier:	BSL-1.0 | 
|---|
| 12 | // | 
|---|
| 13 |  | 
|---|
| 14 |  | 
|---|
| 15 | #include "Poco/SQL/MetaColumn.h" | 
|---|
| 16 |  | 
|---|
| 17 |  | 
|---|
| 18 | namespace Poco { | 
|---|
| 19 | namespace SQL { | 
|---|
| 20 |  | 
|---|
| 21 |  | 
|---|
| 22 | MetaColumn::MetaColumn(): | 
|---|
| 23 | _length(), | 
|---|
| 24 | _precision(), | 
|---|
| 25 | _position(), | 
|---|
| 26 | _type(), | 
|---|
| 27 | _nullable() | 
|---|
| 28 | { | 
|---|
| 29 | } | 
|---|
| 30 |  | 
|---|
| 31 |  | 
|---|
| 32 | MetaColumn::MetaColumn(std::size_t columnPosition, | 
|---|
| 33 | const std::string& rName, | 
|---|
| 34 | ColumnDataType columnType, | 
|---|
| 35 | std::size_t columnLength, | 
|---|
| 36 | std::size_t columnPrecision, | 
|---|
| 37 | bool nullable): | 
|---|
| 38 | _name(rName), | 
|---|
| 39 | _length(columnLength), | 
|---|
| 40 | _precision(columnPrecision), | 
|---|
| 41 | _position(columnPosition), | 
|---|
| 42 | _type(columnType), | 
|---|
| 43 | _nullable(nullable) | 
|---|
| 44 | { | 
|---|
| 45 | } | 
|---|
| 46 |  | 
|---|
| 47 |  | 
|---|
| 48 | MetaColumn::~MetaColumn() | 
|---|
| 49 | { | 
|---|
| 50 | } | 
|---|
| 51 |  | 
|---|
| 52 |  | 
|---|
| 53 | } } // namespace Poco::SQL | 
|---|
| 54 |  | 
|---|