BSchemaTableNode::CustomColumn Class Reference
[CoreDataManagerProvider]

#include <dmprovider/SchemaTableNode.h>

Inheritance diagram for BSchemaTableNode::CustomColumn:

SAtom List of all members.

Detailed Description

Base class for implementing custom column data in BSchemaTableNode.

Derive from this class and implement its virtuals, then add an instance to the table with BSchemaTableNode::AddCustomColumn().


Column Management

Attach/detach from table.

status_t AttachColumn (const SString &name, const char **baseColumnNames=NULL)
 Attach this custom data to a column name in the table.
status_t DetachColumn (const SString &name)
 Detach this custom column from the table.

Bookkeeping

Creation, destruction.

 CustomColumn (const sptr< BSchemaTableNode > &table)
const sptr< BSchemaTableNode > & Table () const
virtual ~CustomColumn ()

Data Computation

Bind to columns, retrieve column data.

virtual status_t SetValueLocked (uint32_t columnOrRowID, const SValue &inValue, SValue *inoutRealValues)
virtual SValue ValueLocked (uint32_t columnOrRowID, const SValue *baseValues, const size_t *columnsToValues) const =0
 Retrieve data for this column.


Constructor & Destructor Documentation

CustomColumn const sptr< BSchemaTableNode > &  table  ) 
 

~CustomColumn  )  [virtual]
 


Member Function Documentation

status_t AttachColumn const SString name,
const char **  baseColumnNames = NULL
 

Attach this custom data to a column name in the table.

status_t DetachColumn const SString name  ) 
 

Detach this custom column from the table.

status_t SetValueLocked uint32_t  columnOrRowID,
const SValue inValue,
SValue inoutRealValues
[virtual]
 

const sptr<BSchemaTableNode>& Table  )  const [inline]
 

virtual SValue ValueLocked uint32_t  columnOrRowID,
const SValue baseValues,
const size_t *  columnsToValues
const [pure virtual]
 

Retrieve data for this column.


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