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

Inheritance diagram

 Inheritance diagram of SFBQueryClass

Version

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

Reference

BREW API IQI

Member

Public Functions
SFCError QueryInterface( AEECLSID clsid , VoidHandle handle )
Ask an object for another API contract from the object in question.
SFCError QueryInterface( AEECLSID clsid , SFBBaseSmpPtr handle )
Ask an object for another API contract from the object in question.
SFBBaseSmp QueryInterface( AEECLSID clsid )
Ask an object for another API contract from the object in question.
Void Self( AEECLSID clsidReq , SFBQuerySmpPtr clone , AEECLSID clsidImp )
Helper macro for those implementing an object with a single interface.
SFBQuerySmp Self( AEECLSID clsidReq , AEECLSID clsidImp )
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.

SFBQuery::QueryInterface
Ask an object for another API contract from the object in question.
[ public ]
SFCError QueryInterface(
    AEECLSID clsid      // requested class ID exposed by the object
    VoidHandle handle   // returned object. Filled by this method
);
[ public ]
SFCError QueryInterface(
    AEECLSID clsid         // requested class ID exposed by the object
    SFBBaseSmpPtr handle   // returned object
);
[ public ]
SFBBaseSmp QueryInterface(
    AEECLSID clsid   
);

Reference

BREW API IQI_QueryInterface


SFBQuery::Self
Helper macro for those implementing an object with a single interface.
[ public ]
Void Self(
    AEECLSID clsidReq      // the ClassID passed to QueryInterface, the requested ClassID
    SFBQuerySmpPtr clone   // output interface pointer
    AEECLSID clsidImp      // the ClassID of the interface (other than IQueryInterface) that the object implements
);
[ public ]
SFBQuerySmp Self(
    AEECLSID clsidReq   // the ClassID passed to QueryInterface, the requested ClassID
    AEECLSID clsidImp   // the ClassID of the interface (other than IQueryInterface) that the object implements
);

Reference

BREW API IQI_SELF