Blender V4.3
asset_indexer.cc File Reference
#include <ctime>
#include <fstream>
#include <iomanip>
#include <optional>
#include "ED_asset_indexer.hh"
#include "DNA_asset_types.h"
#include "DNA_userdef_types.h"
#include "BLI_fileops.h"
#include "BLI_hash.hh"
#include "BLI_linklist.h"
#include "BLI_path_utils.hh"
#include "BLI_serialize.hh"
#include "BLI_set.hh"
#include "BLI_string.h"
#include "BLI_string_ref.hh"
#include "BLI_string_utf8.h"
#include "BLI_uuid.h"
#include "AS_asset_catalog.hh"
#include "BKE_appdir.hh"
#include "BKE_asset.hh"
#include "BKE_idprop.hh"
#include "CLG_log.h"
#include <sstream>

Go to the source code of this file.

Classes

class  blender::ed::asset::index::AbstractFile
 
class  blender::ed::asset::index::BlendFile
 Reference to a blend file that can be indexed. More...
 
struct  blender::ed::asset::index::AssetLibraryIndex
 References the asset library directory. More...
 
struct  blender::ed::asset::index::AssetLibraryIndex::PreexistingFileIndexInfo
 
struct  blender::ed::asset::index::AssetIndex
 
class  blender::ed::asset::index::AssetIndexFile
 

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::asset
 
namespace  blender::ed::asset::index
 

Functions

constexpr StringRef blender::ed::asset::index::ATTRIBUTE_VERSION ("version")
 Indexer for asset libraries.
 
constexpr StringRef blender::ed::asset::index::ATTRIBUTE_ENTRIES ("entries")
 
constexpr StringRef blender::ed::asset::index::ATTRIBUTE_ENTRIES_NAME ("name")
 
constexpr StringRef blender::ed::asset::index::ATTRIBUTE_ENTRIES_CATALOG_ID ("catalog_id")
 
constexpr StringRef blender::ed::asset::index::ATTRIBUTE_ENTRIES_CATALOG_NAME ("catalog_name")
 
constexpr StringRef blender::ed::asset::index::ATTRIBUTE_ENTRIES_DESCRIPTION ("description")
 
constexpr StringRef blender::ed::asset::index::ATTRIBUTE_ENTRIES_AUTHOR ("author")
 
constexpr StringRef blender::ed::asset::index::ATTRIBUTE_ENTRIES_COPYRIGHT ("copyright")
 
constexpr StringRef blender::ed::asset::index::ATTRIBUTE_ENTRIES_LICENSE ("license")
 
constexpr StringRef blender::ed::asset::index::ATTRIBUTE_ENTRIES_TAGS ("tags")
 
constexpr StringRef blender::ed::asset::index::ATTRIBUTE_ENTRIES_PROPERTIES ("properties")
 
static void blender::ed::asset::index::add_id_name (DictionaryValue &result, const short idcode, const StringRefNull name)
 add id + name to the attributes.
 
static void blender::ed::asset::index::init_value_from_file_indexer_entry (DictionaryValue &result, const FileIndexerEntry *indexer_entry)
 
static void blender::ed::asset::index::init_value_from_file_indexer_entries (DictionaryValue &result, const FileIndexerEntries &indexer_entries)
 
static void blender::ed::asset::index::init_indexer_entry_from_value (FileIndexerEntry &indexer_entry, const DictionaryValue &entry)
 
static int blender::ed::asset::index::init_indexer_entries_from_value (FileIndexerEntries &indexer_entries, const DictionaryValue &value)
 
static eFileIndexerResult blender::ed::asset::index::read_index (const char *filename, FileIndexerEntries *entries, int *r_read_entries_len, void *user_data)
 
static void blender::ed::asset::index::update_index (const char *filename, FileIndexerEntries *entries, void *user_data)
 
static void * blender::ed::asset::index::init_user_data (const char *root_directory, size_t root_directory_maxncpy)
 
static void blender::ed::asset::index::free_user_data (void *user_data)
 
static void blender::ed::asset::index::filelist_finished (void *user_data)
 
constexpr FileIndexerType blender::ed::asset::index::asset_indexer ()
 

Variables

static CLG_LogRef LOG = {"ed.asset"}
 

Variable Documentation

◆ LOG

CLG_LogRef LOG = {"ed.asset"}
static

Definition at line 39 of file asset_indexer.cc.