FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kFsUtils Class Reference

Description

Collection of utility functions.

Public Member Functions

k32u kCountBits32u (k32u value)
 Counts the number of bits that are set in a 32-bit unsigned integer. More...
 
kStatus kFindPl2Program (k32u configuration, kDaughterboardModel model, kChar *path, kSize capacity, kVersion *version)
 Gives the path and the version of a Pl2 file given a specific configuration and model. More...
 
kStatus kFindPlProgram (k32u configuration, kChar *path, kSize capacity, kVersion *version)
 Gives the path and the version of a Pl file given a specific configuration. More...
 
kStatus kFsUtils_FindPsProgram (const kChar *programName, kControllerType type, kBool isDebug, kChar *path, kSize capacity)
 This function returns the fully qualified (absolute) path for a given program name based on the controller type. More...
 
kStatus kLoadFromFile (kObject *object, const kChar *path, kLoadStreamFx loadFunction, kAlloc allocator)
 Loads a file and parses a user-defined object from the file using the specified callback. More...
 
kStatus kSaveToFile (kObject object, const kChar *path, kSaveStreamFx saveFunction)
 Formats a user-defined object using the specified callback and saves the result to file. More...
 

The documentation for this class was generated from the following file: