LibreOffice Module connectivity (master) 1
|
#include <MacabRecord.hxx>
Public Member Functions | |
MacabRecord () | |
MacabRecord (const sal_Int32 _size) | |
virtual | ~MacabRecord () |
void | insertAtColumn (CFTypeRef _value, ABPropertyType _type, const sal_Int32 _column) |
bool | contains (const macabfield *_field) const |
bool | contains (const CFTypeRef _value) const |
sal_Int32 | getSize () const |
macabfield * | copy (const sal_Int32 i) const |
macabfield * | get (const sal_Int32 i) const |
Static Public Member Functions | |
static sal_Int32 | compareFields (const macabfield *_field1, const macabfield *_field2) |
static macabfield * | createMacabField (const OUString &_newFieldString, const ABPropertyType _abtype) |
static OUString | fieldToString (const macabfield *_aField) |
Protected Member Functions | |
void | releaseFields () |
Protected Attributes | |
sal_Int32 | size |
std::unique_ptr< macabfield *[]> | fields |
Definition at line 47 of file MacabRecord.hxx.
MacabRecord::MacabRecord | ( | ) |
Definition at line 36 of file MacabRecord.cxx.
References size.
|
explicit |
|
virtual |
Definition at line 51 of file MacabRecord.cxx.
References fields, i, releaseFields(), and size.
|
static |
Definition at line 162 of file MacabRecord.cxx.
References result, connectivity::macab::macabfield::type, and connectivity::macab::macabfield::value.
Referenced by connectivity::macab::MacabSimpleOrder::compare(), connectivity::macab::MacabConditionEqual::eval(), and connectivity::macab::MacabConditionDifferent::eval().
bool MacabRecord::contains | ( | const CFTypeRef | _value | ) | const |
bool MacabRecord::contains | ( | const macabfield * | _field | ) | const |
Definition at line 81 of file MacabRecord.cxx.
References contains(), and connectivity::macab::macabfield::value.
Referenced by contains(), and connectivity::macab::MacabHeader::operator+=().
macabfield * MacabRecord::copy | ( | const sal_Int32 | i | ) | const |
Definition at line 114 of file MacabRecord.cxx.
References fields, i, size, connectivity::macab::macabfield::type, and connectivity::macab::macabfield::value.
Referenced by connectivity::macab::MacabRecords::createHeaderForProperty(), and connectivity::macab::MacabHeader::operator+=().
|
static |
Definition at line 223 of file MacabRecord.cxx.
References dbtools::DBTypeConversion::getStandardDate(), connectivity::macab::OUStringToCFString(), dbtools::DBTypeConversion::toDateTime(), toDouble(), connectivity::macab::macabfield::type, and connectivity::macab::macabfield::value.
Referenced by connectivity::macab::MacabConditionEqual::eval(), and connectivity::macab::MacabConditionDifferent::eval().
|
static |
Definition at line 291 of file MacabRecord.cxx.
References connectivity::macab::CFDateToDateTime(), connectivity::macab::CFStringToOUString(), dbtools::DBTypeConversion::toDateTimeString(), connectivity::macab::macabfield::type, and connectivity::macab::macabfield::value.
Referenced by connectivity::macab::MacabConditionSimilar::eval().
macabfield * MacabRecord::get | ( | const sal_Int32 | i | ) | const |
Definition at line 134 of file MacabRecord.cxx.
References fields, i, and size.
Referenced by connectivity::macab::MacabSimpleOrder::compare(), connectivity::macab::MacabConditionNull::eval(), connectivity::macab::MacabConditionNotNull::eval(), connectivity::macab::MacabConditionEqual::eval(), connectivity::macab::MacabConditionDifferent::eval(), connectivity::macab::MacabConditionSimilar::eval(), connectivity::macab::MacabResultSetMetaData::getColumnType(), connectivity::macab::MacabRecords::getField(), connectivity::macab::MacabRecords::insertPropertyIntoMacabRecord(), connectivity::macab::MacabHeader::operator+=(), and connectivity::macab::MacabHeader::sortRecord().
sal_Int32 MacabRecord::getSize | ( | ) | const |
Definition at line 108 of file MacabRecord.cxx.
References size.
Referenced by connectivity::macab::MacabRecords::createHeaderForProperty(), connectivity::macab::MacabRecords::createMacabRecord(), connectivity::macab::MacabRecords::getField(), and connectivity::macab::MacabHeader::operator+=().
void MacabRecord::insertAtColumn | ( | CFTypeRef | _value, |
ABPropertyType | _type, | ||
const sal_Int32 | _column | ||
) |
Definition at line 66 of file MacabRecord.cxx.
References fields, size, and value.
Referenced by connectivity::macab::MacabRecords::insertPropertyIntoMacabRecord().
|
protected |
Definition at line 149 of file MacabRecord.cxx.
References fields, i, size, and value.
Referenced by connectivity::macab::MacabHeader::operator+=(), and ~MacabRecord().
|
protected |
Definition at line 50 of file MacabRecord.hxx.
Referenced by contains(), copy(), get(), connectivity::macab::MacabHeader::getString(), insertAtColumn(), connectivity::macab::MacabHeader::MacabHeader(), MacabRecord(), connectivity::macab::MacabHeader::operator+=(), releaseFields(), connectivity::macab::MacabHeader::sortRecord(), and ~MacabRecord().
|
protected |
Definition at line 49 of file MacabRecord.hxx.
Referenced by contains(), copy(), connectivity::macab::MacabHeader::end(), get(), connectivity::macab::MacabHeader::getColumnNumber(), getSize(), connectivity::macab::MacabHeader::getString(), insertAtColumn(), connectivity::macab::MacabHeader::MacabHeader(), MacabRecord(), connectivity::macab::MacabHeader::operator+=(), releaseFields(), connectivity::macab::MacabHeader::sortRecord(), and ~MacabRecord().