PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFBSMSBCSrvOpts
Wrapper class for the ISMSBCSrvOpts interface.
#include <SFBSMSBCSrvOpts.h.hpp>
class SFBSMSBCSrvOpts : public SFBWebOpts;
SFMTYPEDEFWRAPPER(SFBSMSBCSrvOpts)

Inheritance diagram

 Inheritance diagram of SFBSMSBCSrvOptsClass

Version

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

Reference

BREW API ISMSBCSrvOpts

Member

Public Functions
SFCError GetOpt( SInt32 id , SMSBCSrvOpts* opt )
Find most recently added SMSBCSrvOpts, in the list of SMSBCSrvOpts.
static
SFBSMSBCSrvOptsSmp
NewInstance( SFCErrorPtr exception = null )
Create a new SFBSMSBCSrvOpts instance.
static
SFBSMSBCSrvOptsSmp
NewInstance( AEECLSID id , SFCErrorPtr exception = null )
Create a new SFBSMSBCSrvOpts instance.
SFCError RemoveOpt( SInt32 id )
Removes the most recently added SMSBCSrvOpts matching id.
SFCError AddOpt( WebOptPtr opts ) (inherits from SFBWebOpts)
Add the list of WebOpts to the current web option set.
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.

SFBSMSBCSrvOpts::GetOpt
Find most recently added SMSBCSrvOpts, in the list of SMSBCSrvOpts.
[ public ]
SFCError GetOpt(
    SInt32 id           // id of the option to find in the options list
    SMSBCSrvOpts* opt   // where to stick the found SMSBCSrvOpts
);

Return value

  • If succeeds: SFERR_NO_ERROR
  • If failed: SFERR_FAILED

Reference

BREW API ISMSBCSRVOPTS_GetOpt


SFBSMSBCSrvOpts::NewInstance
Create a new SFBSMSBCSrvOpts instance.
[ public, static ]
SFBSMSBCSrvOptsSmp NewInstance(
    SFCErrorPtr exception = null   // Error
);
[ public, static ]
SFBSMSBCSrvOptsSmp NewInstance(
    AEECLSID id                    // Class ID
    SFCErrorPtr exception = null   // Error
);

SFBSMSBCSrvOpts::RemoveOpt
Removes the most recently added SMSBCSrvOpts matching id.
[ public ]
SFCError RemoveOpt(
    SInt32 id   // id of the option to remove from the options list
);

Return value

  • If succeeds: SFERR_NO_ERROR
  • If failed: SFERR_FAILED

Reference

BREW API ISMSBCSRVOPTS_RemoveOpt