BIndexedTableNode::RowNode Class Reference
[Data Model]

#include <storage/IndexedTableNode.h>

Inheritance diagram for BIndexedTableNode::RowNode:

BIndexedDataNode BMetaDataNode BIndexedIterable SDatumGeneratorInt BGenericNode BGenericIterable SAtom BnNode BnIterable SSQLBuilder INode BBinder IIterable BBinder IInterface IBinder IInterface IBinder SAtom SAtom SAtom SAtom List of all members.

Detailed Description

Node object generated for a row in BIndexedTableNode.


Implementation

Redirect the row node implementation back up to the owning BIndexedTableNode.

virtual size_t CountEntriesLocked () const
 Return BIndexedTableNode::CountColumnsLocked().
virtual ssize_t EntryIndexOfLocked (const SString &entry) const
 Return BIndexedTableNode::ColumnIndexOfLocked().
virtual SString EntryNameAtLocked (size_t index) const
 Return BIndexedTableNode::ColumnNameAtLocked().
virtual void FinishReadingAtLocked (size_t index, const void *data) const
 Call BIndexedTableNode::FinishReadingAtLocked(m_index, index, ...).
virtual void FinishWritingAtLocked (size_t index, void *data)
 Call BIndexedTableNode::FinishWritingAtLocked(m_index, index, ...).
virtual SString MimeTypeLocked () const
 Return BIndexedTableNode::EntryMimeTypeLocked().
virtual void ReportChangeAtLocked (size_t index, const sptr< IBinder > &editor, uint32_t changes, off_t start=-1, off_t length=-1)
 Call BIndexedTableNode::ReportChangeAtLocked(m_index, index, ...).
virtual off_t SizeAtLocked (size_t index) const
 Return BIndexedTableNode::SizeAtLocked(m_index, index).
virtual const void * StartReadingAtLocked (size_t index, off_t position, ssize_t *inoutSize, uint32_t flags) const
 Call BIndexedTableNode::StartReadingAtLocked(m_index, index, ...).
virtual void * StartWritingAtLocked (size_t index, off_t position, ssize_t *inoutSize, uint32_t flags)
 Call BIndexedTableNode::StartWritingAtLocked(m_index, index, ...).
virtual status_t StoreMimeTypeLocked (const SString &value)
 Return B_UNSUPPORTED (clients can not modify the MIME type).
virtual status_t StoreSizeAtLocked (size_t index, off_t size)
 Call BIndexedTableNode::StoreSizeAtLocked(m_index, index, ...).
virtual status_t StoreValueAtLocked (size_t index, const SValue &value)
 Call BIndexedTableNode::StoreValueAtLocked(m_index, index, ...).
virtual status_t StoreValueTypeAtLocked (size_t index, uint32_t type)
 Call BIndexedTableNode::StoreValueTypeAtLocked(m_index, index, ...).
virtual SValue ValueAtLocked (size_t index) const
 Return BIndexedTableNode::ValueAtLocked(m_index, index).
virtual uint32_t ValueTypeAtLocked (size_t index) const
 Return BIndexedTableNode::ValueTypeAtLocked(m_index, index).

Bookkeeping

Creation, destruction, locking, etc.

virtual lock_status_t Lock () const
 Reimplemented to use the BIndexedTableNode lock.
 RowNode (const SContext &context, const sptr< BIndexedTableNode > &owner, size_t rowIndex, uint32_t mode)
 Reimplemented to use the BIndexedTableNode lock.
virtual void Unlock () const
 Reimplemented to use the BIndexedTableNode lock.
virtual status_t FinishAtom (const void *id)
 The destructor must call Lock(), so return FINISH_ATOM_ASYNC to avoid deadlocks.
virtual bool HoldRefForLink (const SValue &binding, uint32_t flags)
 Make this object stay around while there are links on it.
virtual ~RowNode ()
 Reimplemented to use the BIndexedTableNode lock.

Public Attributes

ssize_t m_index
const sptr< BIndexedTableNodem_owner


Constructor & Destructor Documentation

RowNode const SContext context,
const sptr< BIndexedTableNode > &  owner,
size_t  rowIndex,
uint32_t  mode
 

Reimplemented to use the BIndexedTableNode lock.

~RowNode  )  [protected, virtual]
 

Reimplemented to use the BIndexedTableNode lock.


Member Function Documentation

size_t CountEntriesLocked  )  const [virtual]
 

Return BIndexedTableNode::CountColumnsLocked().

Implements BIndexedDataNode.

ssize_t EntryIndexOfLocked const SString entry  )  const [virtual]
 

Return BIndexedTableNode::ColumnIndexOfLocked().

Implements BIndexedDataNode.

SString EntryNameAtLocked size_t  index  )  const [virtual]
 

Return BIndexedTableNode::ColumnNameAtLocked().

Implements BIndexedDataNode.

status_t FinishAtom const void *  id  )  [protected, virtual]
 

The destructor must call Lock(), so return FINISH_ATOM_ASYNC to avoid deadlocks.

Reimplemented from SAtom.

void FinishReadingAtLocked size_t  index,
const void *  data
const [virtual]
 

Call BIndexedTableNode::FinishReadingAtLocked(m_index, index, ...).

Reimplemented from SDatumGeneratorInt.

void FinishWritingAtLocked size_t  index,
void *  data
[virtual]
 

Call BIndexedTableNode::FinishWritingAtLocked(m_index, index, ...).

Reimplemented from SDatumGeneratorInt.

bool HoldRefForLink const SValue binding,
uint32_t  flags
[protected, virtual]
 

Make this object stay around while there are links on it.

Reimplemented from BBinder.

lock_status_t Lock  )  const [virtual]
 

Reimplemented to use the BIndexedTableNode lock.

Reimplemented from BIndexedDataNode.

SString MimeTypeLocked  )  const [virtual]
 

Return BIndexedTableNode::EntryMimeTypeLocked().

Reimplemented from BMetaDataNode.

void ReportChangeAtLocked size_t  index,
const sptr< IBinder > &  editor,
uint32_t  changes,
off_t  start = -1,
off_t  length = -1
[virtual]
 

Call BIndexedTableNode::ReportChangeAtLocked(m_index, index, ...).

Reimplemented from BIndexedDataNode.

off_t SizeAtLocked size_t  index  )  const [virtual]
 

Return BIndexedTableNode::SizeAtLocked(m_index, index).

Reimplemented from SDatumGeneratorInt.

const void * StartReadingAtLocked size_t  index,
off_t  position,
ssize_t *  inoutSize,
uint32_t  flags
const [virtual]
 

Call BIndexedTableNode::StartReadingAtLocked(m_index, index, ...).

Reimplemented from SDatumGeneratorInt.

void * StartWritingAtLocked size_t  index,
off_t  position,
ssize_t *  inoutSize,
uint32_t  flags
[virtual]
 

Call BIndexedTableNode::StartWritingAtLocked(m_index, index, ...).

Reimplemented from SDatumGeneratorInt.

status_t StoreMimeTypeLocked const SString value  )  [virtual]
 

Return B_UNSUPPORTED (clients can not modify the MIME type).

Reimplemented from BMetaDataNode.

status_t StoreSizeAtLocked size_t  index,
off_t  size
[virtual]
 

Call BIndexedTableNode::StoreSizeAtLocked(m_index, index, ...).

Reimplemented from SDatumGeneratorInt.

status_t StoreValueAtLocked size_t  index,
const SValue value
[virtual]
 

Call BIndexedTableNode::StoreValueAtLocked(m_index, index, ...).

Implements BIndexedDataNode.

status_t StoreValueTypeAtLocked size_t  index,
uint32_t  type
[virtual]
 

Call BIndexedTableNode::StoreValueTypeAtLocked(m_index, index, ...).

Reimplemented from SDatumGeneratorInt.

void Unlock  )  const [virtual]
 

Reimplemented to use the BIndexedTableNode lock.

Reimplemented from BIndexedDataNode.

SValue ValueAtLocked size_t  index  )  const [virtual]
 

Return BIndexedTableNode::ValueAtLocked(m_index, index).

Implements BIndexedDataNode.

uint32_t ValueTypeAtLocked size_t  index  )  const [virtual]
 

Return BIndexedTableNode::ValueTypeAtLocked(m_index, index).

Reimplemented from SDatumGeneratorInt.


Member Data Documentation

ssize_t m_index
 

const sptr<BIndexedTableNode> m_owner
 


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