LibreOffice Module connectivity (master) 1
|
#include <MacabHeader.hxx>
Classes | |
class | iterator |
Public Member Functions | |
MacabHeader () | |
MacabHeader (const sal_Int32 _size, macabfield **_fields) | |
virtual | ~MacabHeader () override |
void | operator+= (const MacabHeader *r) |
OUString | getString (const sal_Int32 i) const |
void | sortRecord () |
sal_Int32 | getColumnNumber (std::u16string_view s) const |
MacabHeader * | begin () |
sal_Int32 | end () const |
Public Member Functions inherited from connectivity::macab::MacabRecord | |
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 Public Member Functions inherited from connectivity::macab::MacabRecord | |
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 | |
macabfield ** | sortRecord (sal_Int32 _start, sal_Int32 _length) |
Protected Member Functions inherited from connectivity::macab::MacabRecord | |
void | releaseFields () |
Additional Inherited Members | |
Protected Attributes inherited from connectivity::macab::MacabRecord | |
sal_Int32 | size |
std::unique_ptr< macabfield *[]> | fields |
Definition at line 30 of file MacabHeader.hxx.
MacabHeader::MacabHeader | ( | ) |
Definition at line 62 of file MacabHeader.cxx.
References connectivity::macab::MacabRecord::fields, and connectivity::macab::MacabRecord::size.
MacabHeader::MacabHeader | ( | const sal_Int32 | _size, |
macabfield ** | _fields | ||
) |
Definition at line 35 of file MacabHeader.cxx.
References connectivity::macab::MacabRecord::fields, i, connectivity::macab::MacabRecord::size, connectivity::macab::macabfield::type, connectivity::macab::macabfield::value, and value.
|
overridevirtual |
Definition at line 69 of file MacabHeader.cxx.
MacabHeader * MacabHeader::begin | ( | ) |
Definition at line 282 of file MacabHeader.cxx.
Referenced by connectivity::macab::MacabDatabaseMetaData::getColumns().
|
static |
Definition at line 240 of file MacabHeader.cxx.
References result, and connectivity::macab::macabfield::value.
Referenced by sortRecord().
sal_Int32 MacabHeader::end | ( | ) | const |
Definition at line 325 of file MacabHeader.cxx.
References connectivity::macab::MacabRecord::size.
Referenced by connectivity::macab::MacabDatabaseMetaData::getColumns().
sal_Int32 MacabHeader::getColumnNumber | ( | std::u16string_view | s | ) | const |
Definition at line 266 of file MacabHeader.cxx.
References getString(), i, and connectivity::macab::MacabRecord::size.
Referenced by connectivity::macab::MacabRecords::getField(), connectivity::macab::MacabRecords::getFieldNumber(), connectivity::macab::MacabRecords::insertPropertyIntoMacabRecord(), and connectivity::macab::MacabResultSetMetaData::setMacabFields().
OUString MacabHeader::getString | ( | const sal_Int32 | i | ) | const |
Definition at line 142 of file MacabHeader.cxx.
References connectivity::macab::CFStringToOUString(), connectivity::macab::MacabRecord::fields, i, connectivity::macab::MacabRecord::size, and value.
Referenced by connectivity::macab::MacabResultSetMetaData::getColumnName(), and getColumnNumber().
void MacabHeader::operator+= | ( | const MacabHeader * | r | ) |
Definition at line 74 of file MacabHeader.cxx.
References connectivity::macab::MacabRecord::contains(), connectivity::macab::MacabRecord::copy(), connectivity::macab::MacabRecord::fields, connectivity::macab::MacabRecord::get(), connectivity::macab::MacabRecord::getSize(), i, connectivity::macab::MacabRecord::releaseFields(), and connectivity::macab::MacabRecord::size.
void MacabHeader::sortRecord | ( | ) |
Definition at line 161 of file MacabHeader.cxx.
References connectivity::macab::MacabRecord::size, and sortRecord().
Referenced by sortRecord().
|
protected |
Definition at line 167 of file MacabHeader.cxx.
References compareFields(), connectivity::macab::MacabRecord::fields, connectivity::macab::MacabRecord::get(), i, connectivity::macab::MacabRecord::size, and sortRecord().
Referenced by connectivity::macab::MacabRecords::createHeaderForRecordType().