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

Inheritance diagram

 Inheritance diagram of SFBQoSFlowClass

Version

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

Reference

BREW API IQoSFlow

Member

Public Functions
SFCError GetOpt( SInt32 id , AEEQoSFlowOpt* opt )
Get the AEEQoSFlowOpt in the list of AEEQoSFlowOpt in the SFBQoSFlow instance with specified id.
SFCError GetOptAtIndex( SInt32 index , AEEQoSFilterOpt* opt )
Get the AEEQoSFlowOpt in the list of AEEQoSFlowOpt in the SFBQoSFlow instance at specified index.
static
SFBQoSFlowSmp
NewInstance( SFCErrorPtr exception = null )
Create a new SFBQoSFlow instance.
static
SFBQoSFlowSmp
NewInstance( AEECLSID id , SFCErrorPtr exception = null )
Create a new SFBQoSFlow instance.
SFCError RemoveOpt( SInt32 id )
Removes the AEEQoSFlowOpt matching ID.
SFCError RemoveOptAtIndex( SInt32 index )
Removes the AEEQoSFlowOpt at nIndex.
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.

SFBQoSFlow::GetOpt
Get the AEEQoSFlowOpt in the list of AEEQoSFlowOpt in the SFBQoSFlow instance with specified id.
[ public ]
SFCError GetOpt(
    SInt32 id            // id of the option to find in the options list
    AEEQoSFlowOpt* opt   // where to stick the found AEEQoSFlowOpt
);

Return value

  • If succeeds: SFERR_NO_ERROR
  • If failed: SFERR_FAILED

Reference

BREW API IQOSFLOW_GetOpt


SFBQoSFlow::GetOptAtIndex
Get the AEEQoSFlowOpt in the list of AEEQoSFlowOpt in the SFBQoSFlow instance at specified index.
[ public ]
SFCError GetOptAtIndex(
    SInt32 index           // option Index
    AEEQoSFilterOpt* opt   // where to stick the found AEEQoSFlowOpt
);

Return value

  • If succeeds: SFERR_NO_ERROR
  • If failed: SFERR_FAILED

Reference

BREW API IQOSFLOW_GetOptAtIndex


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

SFBQoSFlow::RemoveOpt
Removes the AEEQoSFlowOpt 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 IQOSFLOW_RemoveOpt


SFBQoSFlow::RemoveOptAtIndex
Removes the AEEQoSFlowOpt at nIndex.
[ public ]
SFCError RemoveOptAtIndex(
    SInt32 index   // id of the option to remove from the options list
);

Return value

  • If succeeds: SFERR_NO_ERROR
  • If failed: SFERR_FAILED

Reference

BREW API IQOSFLOW_RemoveOptAtIndex