MeVisLab Toolbox Reference
macos::ResourceFork Class Reference

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

#include <macResourceFork.h>

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. More...
 
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. More...
 
static void removeNamedResource (const std::string &filename, const std::string &name, uint32_t typeAsFourCharCode)
 Remove resource identified by name and type associated with path. More...
 

Detailed Description

Add data to resource fork of files on HFS & APFS volumes.

Definition at line 26 of file macResourceFork.h.

Member Function Documentation

◆ hasNamedResource()

static bool macos::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.

◆ removeNamedResource()

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

Remove resource identified by name and type associated with path.

◆ updateNamedResource()

static void macos::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: