LibreOffice Module connectivity (master) 1
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
connectivity::macab::MacabHeader Class Reference

#include <MacabHeader.hxx>

Inheritance diagram for connectivity::macab::MacabHeader:
[legend]
Collaboration diagram for connectivity::macab::MacabHeader:
[legend]

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
 
MacabHeaderbegin ()
 
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
 
macabfieldcopy (const sal_Int32 i) const
 
macabfieldget (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 macabfieldcreateMacabField (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
 

Detailed Description

Definition at line 30 of file MacabHeader.hxx.

Constructor & Destructor Documentation

◆ MacabHeader() [1/2]

MacabHeader::MacabHeader ( )

◆ MacabHeader() [2/2]

MacabHeader::MacabHeader ( const sal_Int32  _size,
macabfield **  _fields 
)

◆ ~MacabHeader()

MacabHeader::~MacabHeader ( )
overridevirtual

Definition at line 69 of file MacabHeader.cxx.

Member Function Documentation

◆ begin()

MacabHeader * MacabHeader::begin ( )

◆ compareFields()

sal_Int32 MacabHeader::compareFields ( const macabfield _field1,
const macabfield _field2 
)
static

Definition at line 240 of file MacabHeader.cxx.

References result, and connectivity::macab::macabfield::value.

Referenced by sortRecord().

◆ end()

sal_Int32 MacabHeader::end ( ) const

◆ getColumnNumber()

sal_Int32 MacabHeader::getColumnNumber ( std::u16string_view  s) const

◆ getString()

OUString MacabHeader::getString ( const sal_Int32  i) const

◆ operator+=()

void MacabHeader::operator+= ( const MacabHeader r)

◆ sortRecord() [1/2]

void MacabHeader::sortRecord ( )

Definition at line 161 of file MacabHeader.cxx.

References connectivity::macab::MacabRecord::size, and sortRecord().

Referenced by sortRecord().

◆ sortRecord() [2/2]

macabfield ** MacabHeader::sortRecord ( sal_Int32  _start,
sal_Int32  _length 
)
protected

The documentation for this class was generated from the following files: