MeVisLabToolboxReference
macx::ResourceFork Class Reference

Add data to resource fork of files on HFS volumes. More...

#include <macResourceFork.h>

List of all members.

Static Public Member Functions

static bool hasNamedResource (const std::string &filename, const std::string &name, uint32_t typeAsFourCharCode)
 Check for resource identified by name and type associated with path.
static void updateNamedResource (const std::string &filename, const std::string &name, uint32_t typeAsFourCharCode, const void *value, size_t size)
 Associate name, type, and value together as resource of path.
static void removeNamedResource (const std::string &filename, const std::string &name, uint32_t typeAsFourCharCode)
 Remove resource identified by name and type associated with path.

Detailed Description

Add data to resource fork of files on HFS volumes.

Definition at line 17 of file macResourceFork.h.


Member Function Documentation

static bool macx::ResourceFork::hasNamedResource ( const std::string &  filename,
const std::string &  name,
uint32_t  typeAsFourCharCode 
) [static]

Check for resource identified by name and type associated with path.

static void macx::ResourceFork::removeNamedResource ( const std::string &  filename,
const std::string &  name,
uint32_t  typeAsFourCharCode 
) [static]

Remove resource identified by name and type associated with path.

static void macx::ResourceFork::updateNamedResource ( const std::string &  filename,
const std::string &  name,
uint32_t  typeAsFourCharCode,
const void *  value,
size_t  size 
) [static]

Associate name, type, and value together as resource of path.


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