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

#include <MacabRecord.hxx>

Inheritance diagram for connectivity::macab::MacabRecord:
[legend]

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
 
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 macabfieldcreateMacabField (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
 

Detailed Description

Definition at line 47 of file MacabRecord.hxx.

Constructor & Destructor Documentation

◆ MacabRecord() [1/2]

MacabRecord::MacabRecord ( )

Definition at line 36 of file MacabRecord.cxx.

References size.

◆ MacabRecord() [2/2]

MacabRecord::MacabRecord ( const sal_Int32  _size)
explicit

Definition at line 41 of file MacabRecord.cxx.

References fields, i, size, and size.

◆ ~MacabRecord()

MacabRecord::~MacabRecord ( )
virtual

Definition at line 51 of file MacabRecord.cxx.

References fields, i, releaseFields(), and size.

Member Function Documentation

◆ compareFields()

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

◆ contains() [1/2]

bool MacabRecord::contains ( const CFTypeRef  _value) const

Definition at line 90 of file MacabRecord.cxx.

References fields, i, size, and value.

◆ contains() [2/2]

bool MacabRecord::contains ( const macabfield _field) const

◆ copy()

macabfield * MacabRecord::copy ( const sal_Int32  i) const

◆ createMacabField()

macabfield * MacabRecord::createMacabField ( const OUString &  _newFieldString,
const ABPropertyType  _abtype 
)
static

◆ fieldToString()

OUString MacabRecord::fieldToString ( const macabfield _aField)
static

◆ get()

macabfield * MacabRecord::get ( const sal_Int32  i) const

◆ getSize()

sal_Int32 MacabRecord::getSize ( ) const

◆ insertAtColumn()

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().

◆ releaseFields()

void MacabRecord::releaseFields ( )
protected

Definition at line 149 of file MacabRecord.cxx.

References fields, i, size, and value.

Referenced by connectivity::macab::MacabHeader::operator+=(), and ~MacabRecord().

Member Data Documentation

◆ fields

std::unique_ptr<macabfield *[]> connectivity::macab::MacabRecord::fields
protected

◆ size

sal_Int32 connectivity::macab::MacabRecord::size
protected

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