#include <storage/MetaDataNode.h>
Inheritance diagram for BMetaDataNode:

This class derives from BGenericNode, adding to it an implementation of the basic meta-data (mimeType, creationDate, modifiedDate). Derived classes need only implement LookupEntry() to have a fully functioning INode.
Bookkeeping | |
| Creation, destruction, locking, etc. | |
| BMetaDataNode (const SContext &context) | |
| BMetaDataNode () | |
| void | TouchLocked () |
| Update the modified date. | |
| virtual | ~BMetaDataNode () |
BGenericNode Metadata API | |
| Implement the BGenericNode virtuals needed to support the basic meta-data of a node. | |
| virtual nsecs_t | CreationDateLocked () const |
| You must implement this to return the creation date. | |
| virtual SString | MimeTypeLocked () const |
| Default implementation always returns "application/vnd.palm.catalog". | |
| virtual nsecs_t | ModifiedDateLocked () const |
| You must implement this to return the last modification date. | |
| virtual status_t | StoreCreationDateLocked (nsecs_t value) |
| Default implementation does nothing, returning B_UNSUPPORTED. | |
| virtual status_t | StoreMimeTypeLocked (const SString &value) |
| Default implementation does nothing, returning B_UNSUPPORTED. | |
| virtual status_t | StoreModifiedDateLocked (nsecs_t value) |
| Default implementation does nothing, returning B_UNSUPPORTED. | |
|
|
|
|
|
|
|
|
|
|
|
You must implement this to return the creation date.
Implements BGenericNode. |
|
|
Default implementation always returns "application/vnd.palm.catalog".
Reimplemented from BGenericNode. Reimplemented in BSchemaRowIDJoin::RowNode, BSchemaTableNode::RowNode, and BIndexedTableNode::RowNode. |
|
|
You must implement this to return the last modification date.
Implements BGenericNode. |
|
|
Default implementation does nothing, returning B_UNSUPPORTED.
Reimplemented from BGenericNode. |
|
|
Default implementation does nothing, returning B_UNSUPPORTED.
Reimplemented from BGenericNode. Reimplemented in BSchemaRowIDJoin::RowNode, BSchemaTableNode::RowNode, and BIndexedTableNode::RowNode. |
|
|
Default implementation does nothing, returning B_UNSUPPORTED.
Reimplemented from BGenericNode. |
|
|
Update the modified date.
|