LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
XclExpSubStream Class Reference

Represents a complete substream of records enclosed into a pair of BOF/EOF records. More...

#include <xerecord.hxx>

Inheritance diagram for XclExpSubStream:
[legend]
Collaboration diagram for XclExpSubStream:
[legend]

Public Member Functions

 XclExpSubStream (sal_uInt16 nSubStrmType)
 
virtual void Save (XclExpStream &rStrm) override
 Writes the complete substream, including leading BOF and trailing EOF. More...
 
- Public Member Functions inherited from XclExpRecordList<>
bool IsEmpty () const
 
size_t GetSize () const
 
bool HasRecord (size_t nPos) const
 Returns true, if the passed index points to an exiting record. More...
 
XclExpRecordBaseGetRecord (size_t nPos) const
 Returns reference to an existing record or empty reference on error. More...
 
XclExpRecordBaseGetFirstRecord () const
 Returns reference to the first existing record or empty reference, if list is empty. More...
 
XclExpRecordBaseGetLastRecord () const
 Returns reference to the last existing record or empty reference, if list is empty. More...
 
void InsertRecord (XclExpRecordBase *pRec, size_t nPos)
 Inserts a record at the specified position into the list. More...
 
void InsertRecord (RecordRefType pRec, size_t nPos)
 
void AppendRecord (XclExpRecordBase *pRec)
 Appends a record to the list. More...
 
void AppendRecord (const RecordRefType &xRec)
 
void AppendRecord (RecordRefType xRec)&&
 
void ReplaceRecord (XclExpRecordBase *pRec, size_t nPos)
 Replaces the record at the specified position from the list with the passed record. More...
 
void ReplaceRecord (RecordRefType const &xRec, size_t nPos)
 
void AppendNewRecord (XclExpRecordBase *pRec)
 Appends a newly created record to the list. More...
 
void AppendNewRecord (RecordRefType const &xRec)
 
void AppendNewRecord (RecordRefType xRec)&&
 
void RemoveRecord (size_t nPos)
 Removes the record at the specified position from the list. More...
 
void RemoveAllRecords ()
 Removes all records from the list. More...
 
virtual void SaveXml (XclExpXmlStream &rStrm) override
 
- Public Member Functions inherited from XclExpRecordBase
 XclExpRecordBase ()
 
 XclExpRecordBase (XclExpRecordBase const &)
 
 XclExpRecordBase (XclExpRecordBase &&)
 
XclExpRecordBaseoperator= (XclExpRecordBase const &)
 
XclExpRecordBaseoperator= (XclExpRecordBase &&) noexcept
 
virtual ~XclExpRecordBase ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Attributes

sal_uInt16 mnSubStrmType
 

Additional Inherited Members

- Public Types inherited from XclExpRecordList<>
typedef rtl::Reference< XclExpRecordBaseRecordRefType
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Represents a complete substream of records enclosed into a pair of BOF/EOF records.

Definition at line 396 of file xerecord.hxx.

Constructor & Destructor Documentation

XclExpSubStream::XclExpSubStream ( sal_uInt16  nSubStrmType)
explicit

Definition at line 216 of file xerecord.cxx.

Member Function Documentation

void XclExpSubStream::Save ( XclExpStream rStrm)
overridevirtual

Member Data Documentation

sal_uInt16 XclExpSubStream::mnSubStrmType
private

Definition at line 405 of file xerecord.hxx.

Referenced by Save().


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