Developer

API Reference

IVFSCACHEMODEL_ChildCount()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
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.
Parameters
  • 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).
Comment
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.
  • Follow