PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFBRecordStore
Wrapper Class for the IRecordStore interface.
#include <SFBRecordStore.h.hpp>
class SFBRecordStore : public SFBQuery;
SFMTYPEDEFWRAPPER(SFBRecordStore)

Inheritance diagram

 Inheritance diagram of SFBRecordStoreClass

Version

BREW 2.0 BREW 2.1 BREW 3.1 BREW 4.0
X O O O

Reference

BREW API IRecordStore

Member

Public Functions
SFCError Add( UInt08ConstPtr key , SInt32 keyLen , UInt08ConstPtr value , SInt32 valueLen )
Add a record to the store.
SFCError Find( UInt08ConstPtr key , SInt32 keyLen , UInt08Ptr value , SInt32Ptr valueLen )
Find a record in the cache.
SFCError Remove( UInt08ConstPtr key , SInt32 keyLen )
Remove a record from the store.
SFCError QueryInterface( AEECLSID clsid , VoidHandle handle ) (inherits from SFBQuery)
Ask an object for another API contract from the object in question.
SFCError QueryInterface( AEECLSID clsid , SFBBaseSmpPtr handle ) (inherits from SFBQuery)
Ask an object for another API contract from the object in question.
SFBBaseSmp QueryInterface( AEECLSID clsid ) (inherits from SFBQuery)
Ask an object for another API contract from the object in question.
Void Self( AEECLSID clsidReq , SFBQuerySmpPtr clone , AEECLSID clsidImp ) (inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
SFBQuerySmp Self( AEECLSID clsidReq , AEECLSID clsidImp ) (inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
Protected Functions
static
SFBBaseSmp
FactoryByCreate( AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface.
static
SFBBaseSmp
FactoryByQuery( SFBQuerySmpConstRef query , AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.

SFBRecordStore::Add
Add a record to the store.
[ public ]
SFCError Add(
    UInt08ConstPtr key     // the key data 
    SInt32 keyLen          // the length of the key data 
    UInt08ConstPtr value   // the value data 
    SInt32 valueLen        // the lengh of the value data
);

Reference

BREW API IRECORDSTORE_Add


SFBRecordStore::Find
Find a record in the cache.
[ public ]
SFCError Find(
    UInt08ConstPtr key   // the key data 
    SInt32 keyLen        // the length of the key data 
    UInt08Ptr value      // the value data 
    SInt32Ptr valueLen   // size of pVal, if pVal is null, pnValLen is ignored as input, 
                         // on output, holds the size of the data in the store (if any)
);

Reference

BREW API IRECORDSTORE_Find


SFBRecordStore::Remove
Remove a record from the store.
[ public ]
SFCError Remove(
    UInt08ConstPtr key   // the key data 
    SInt32 keyLen        // the length of the key data 
);

Reference

BREW API IRECORDSTORE_Remove