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

Developer

API Reference

IVFSCACHEMODEL_CHILDNAME()

Brew Release
Brew MP 1.0.2
Description
Returns the name of a specified child node given its index. This is a separate function so that it is not neccessary to create the complete child node merely to check the name. This is equivalent to the idea of opendir()/readdir() unix calls, which return names without accessing the node details.
Params
po
[]:
Pointer to the IVfsCacheModel interface object
container
[]:
Pointer to the associated cache container
index
[]:
The index of the required child, in the range 0 to ChildCount()-1
Interface
  • IVFSCACHEMODEL
Prototype
  •    VfsPathElement IVFSCACHEMODEL_ChildName(IVfsCacheModel * po,IVfsCacheContainer * container,int index)
    
Return
  •    The name of the specified child.
    
Comments
This function MUST be present in all cache models In some circumstances, implementing this call may be impossible (for instance, providing a list of extensions). If this is the case, a dummy function which returns NULL should be provided.