SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | X | O | O |
Public Functions | |
---|---|
SFCError |
Add(
SFBQuerySmpConstRef query
) Add new entry at the end of the list.
|
SFCError |
AddAt(
UInt32 index
, SFBQuerySmpConstRef query
) Add new entry at the index that is specified by index.
|
Void |
Clear( Void ) Clear the list, release the memory.
|
SInt32 |
Find(
SFBQuerySmpConstRef query
) Return the index of an entry in the list.
|
SFCError |
GetAt(
UInt32 index
, SFBQuerySmpConstRef query
) Return the entry specified by index from the list.
|
static SFBQoSListSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBQoSList instance.
|
static SFBQoSListSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBQoSList instance.
|
SFCError |
Remove(
SFBQuerySmpConstRef query
) Remove the entry pointed by the parameter query.
|
SFCError |
RemoveAt(
UInt32 index
) Removes the entry that is specified by "index" from the list.
|
UInt32 |
Size( Void ) Return the number of the entries in the list.
|
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.
|
[ public ] SFCError Add( SFBQuerySmpConstRef query // the pointer to the new entry that will be added to the list );
[ public ] SFCError AddAt( UInt32 index // the index where the entry will be added SFBQuerySmpConstRef query // pointer to the entry that will be added to the list );
The index is zero based, if the index is greater than or equal to the size of the list then the new entry will be added at the end of the list.
[ public ] Void Clear(Void);
[ public ] SInt32 Find( SFBQuerySmpConstRef query // pointer to the entry that the user wants to find in the list );
The index that will be returned is zero based. If the entry wasn't found in the list, it returns -1.
[ public ] SFCError GetAt( UInt32 index // the index of the entry that will be returned. SFBQuerySmpConstRef query // on return points to the requested entry in the list );
The index is zero based, if the index is greater than or equal to the size of the list then SFERR_INVALID_PARAM is returned.
[ public, static ] SFBQoSListSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBQoSListSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError Remove( SFBQuerySmpConstRef query // the pointer to the entry that will be removed from the list );
[ public ] SFCError RemoveAt( UInt32 index // the index of the entry that will be removed from the list. );
The index is zero based, if the index is greater than or equal to the size of the list then SFERR_INVALID_PARAM is returned.
[ public ] UInt32 Size(Void);
Return the number of the entries in the list.
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |