Blender V5.0
UniqueName_Map Struct Reference

Public Member Functions

 UniqueName_Map (const bool is_global)
UniqueName_TypeMapfind_by_type (const short id_type)
void populate (Main &bmain, Library *library, ID *ignore_id)
void add_name (UniqueName_TypeMap &type_map, StringRef name_full, StringRef name_base, const int number)
void add_name (const short id_type, StringRef name_full, StringRef name_base, const int number)
void remove_full_name (UniqueName_TypeMap &type_map, blender::StringRef name_full)
void remove_full_name (const short id_type, blender::StringRef name_full)

Public Attributes

std::array< UniqueName_TypeMap, INDEX_ID_MAXtype_maps
bool is_global

Detailed Description

Definition at line 178 of file main_namemap.cc.

Constructor & Destructor Documentation

◆ UniqueName_Map()

UniqueName_Map::UniqueName_Map ( const bool is_global)
inline

Definition at line 184 of file main_namemap.cc.

References is_global, and type_maps.

Member Function Documentation

◆ add_name() [1/2]

void UniqueName_Map::add_name ( const short id_type,
StringRef name_full,
StringRef name_base,
const int number )
inline

Definition at line 274 of file main_namemap.cc.

References add_name(), and find_by_type().

◆ add_name() [2/2]

◆ find_by_type()

◆ populate()

◆ remove_full_name() [1/2]

void UniqueName_Map::remove_full_name ( const short id_type,
blender::StringRef name_full )
inline

Definition at line 321 of file main_namemap.cc.

References find_by_type(), and remove_full_name().

◆ remove_full_name() [2/2]

Member Data Documentation

◆ is_global

bool UniqueName_Map::is_global

Definition at line 182 of file main_namemap.cc.

Referenced by UniqueName_Map().

◆ type_maps

std::array<UniqueName_TypeMap, INDEX_ID_MAX> UniqueName_Map::type_maps

Definition at line 179 of file main_namemap.cc.

Referenced by find_by_type(), and UniqueName_Map().


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