Blender V5.3
packedFile.cc File Reference
#include <algorithm>
#include <cstddef>
#include <cstdio>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include "MEM_guardedalloc.h"
#include <cstring>
#include "AS_essentials_library.hh"
#include "DNA_ID.h"
#include "DNA_image_types.h"
#include "DNA_modifier_types.h"
#include "DNA_packedFile_types.h"
#include "DNA_sound_types.h"
#include "DNA_vfont_types.h"
#include "DNA_volume_types.h"
#include "BLI_listbase.hh"
#include "BLI_path_utils.hh"
#include "BLI_string.hh"
#include "BLI_utildefines.hh"
#include "BKE_bake_geometry_nodes_modifier.hh"
#include "BKE_bake_geometry_nodes_modifier_pack.hh"
#include "BKE_image.hh"
#include "BKE_image_format.hh"
#include "BKE_library.hh"
#include "BKE_main.hh"
#include "BKE_packedFile.hh"
#include "BKE_report.hh"
#include "BKE_sound.hh"
#include "BKE_vfont.hh"
#include "BKE_volume.hh"
#include "DEG_depsgraph.hh"
#include "IMB_imbuf.hh"
#include "BLO_read_write.hh"
#include "CLG_log.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

int blender::BKE_packedfile_seek (PackedFile *pf, int offset, int whence)
void blender::BKE_packedfile_rewind (PackedFile *pf)
int blender::BKE_packedfile_read (PackedFile *pf, void *data, int size)
PackedFileCount blender::BKE_packedfile_count_all (Main *bmain)
void blender::BKE_packedfile_free (PackedFile *pf)
PackedFile * blender::BKE_packedfile_duplicate (const PackedFile *pf_src)
PackedFile * blender::BKE_packedfile_new_from_memory (const void *mem, int memlen, const ImplicitSharingInfo *sharing_info=nullptr)
PackedFile * blender::BKE_packedfile_new (ReportList *reports, const char *filepath_rel, const char *basepath)
void blender::BKE_packedfile_pack_all (Main *bmain, ReportList *reports, bool verbose)
int blender::BKE_packedfile_write_to_file (ReportList *reports, const char *ref_file_name, const char *filepath_rel, PackedFile *pf)
ePF_FileCompare blender::BKE_packedfile_compare_to_file (const char *ref_file_name, const char *filepath_rel, const PackedFile *pf)
char * blender::BKE_packedfile_unpack_to_file (ReportList *reports, const char *ref_file_name, const char *abs_name, const char *local_name, PackedFile *pf, enum ePF_FileStatus how)
static void blender::unpack_generate_paths (const char *filepath, ID *id, char *r_abspath, size_t abspath_maxncpy, char *r_relpath, size_t relpath_maxncpy)
char * blender::BKE_packedfile_unpack (Main *bmain, ReportList *reports, ID *id, const char *orig_file_path, PackedFile *pf, enum ePF_FileStatus how)
int blender::BKE_packedfile_unpack_vfont (Main *bmain, ReportList *reports, VFont *vfont, enum ePF_FileStatus how)
int blender::BKE_packedfile_unpack_sound (Main *bmain, ReportList *reports, bSound *sound, enum ePF_FileStatus how)
int blender::BKE_packedfile_unpack_image (Main *bmain, ReportList *reports, Image *ima, enum ePF_FileStatus how)
int blender::BKE_packedfile_unpack_volume (Main *bmain, ReportList *reports, Volume *volume, enum ePF_FileStatus how)
int blender::BKE_packedfile_unpack_all_libraries (Main *bmain, ReportList *reports)
void blender::BKE_packedfile_pack_all_libraries (Main *bmain, ReportList *reports)
void blender::BKE_packedfile_unpack_all (Main *bmain, ReportList *reports, enum ePF_FileStatus how)
bool blender::BKE_packedfile_id_check (const ID *id)
void blender::BKE_packedfile_id_unpack (Main *bmain, ID *id, ReportList *reports, enum ePF_FileStatus how)
void blender::BKE_packedfile_blend_write (BlendWriter *writer, const PackedFile *pf)
void blender::BKE_packedfile_blend_read (BlendDataReader *reader, PackedFile **pf_p, StringRefNull filepath)

Variables

static CLG_LogRef blender::LOG = {"lib.packedfile"}