API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IVFSCACHEMODEL_CHILDCOUNT()

Brew Release
Brew MP 1.0.2
Description
Should return the total number of children accessible via this node. For example, if the cache container represents an address book, then the SIZE of the container would be the number of entries to cache, and the ChildCount() should return the total number of entries in the address book.
Params
po
[]:
Pointer to the IVfsCacheModel interface object
container
[]:
Pointer to the associated cache container
Interface
  • IVFSCACHEMODEL
Prototype
  •    int IVFSCACHEMODEL_ChildCount(IVfsCacheModel * po,IVfsCacheContainer * container)
    
Return
  • The total number of children under this node. (NOT the cached number of children).
Comments
This function MUST be present in all cache models In some circumstances, implementing this call may be impossible (for instance, providing a count of extensions). If this is the case, a dummy function which returns 0 should be provided.