Blender V5.0
blender::bke::outliner::treehash::TreeStoreElemKey Class Reference

#include <BKE_outliner_treehash.hh>

Public Member Functions

#TreeStoreElemKey
 TreeStoreElemKey (const TreeStoreElem &elem)
 TreeStoreElemKey (ID *id, short type, short nr)
uint64_t hash () const

Public Attributes

IDid = nullptr
short type = 0
short nr = 0

Friends

bool operator== (const TreeStoreElemKey &a, const TreeStoreElemKey &b)

Detailed Description

Definition at line 28 of file BKE_outliner_treehash.hh.

Constructor & Destructor Documentation

◆ TreeStoreElemKey() [1/2]

blender::bke::outliner::treehash::TreeStoreElemKey::TreeStoreElemKey ( const TreeStoreElem & elem)
explicit

Definition at line 62 of file outliner_treehash.cc.

References id, nr, and type.

Referenced by operator==.

◆ TreeStoreElemKey() [2/2]

blender::bke::outliner::treehash::TreeStoreElemKey::TreeStoreElemKey ( ID * id,
short type,
short nr )

Definition at line 67 of file outliner_treehash.cc.

References id, nr, and type.

Member Function Documentation

◆ hash()

uint64_t blender::bke::outliner::treehash::TreeStoreElemKey::hash ( ) const

Definition at line 69 of file outliner_treehash.cc.

References blender::get_default_hash(), nr, and type.

◆ operator==

bool operator== ( const TreeStoreElemKey & a,
const TreeStoreElemKey & b )
friend

Definition at line 74 of file outliner_treehash.cc.

References b, id, nr, TreeStoreElemKey(), and type.

Member Data Documentation

◆ id

ID* blender::bke::outliner::treehash::TreeStoreElemKey::id = nullptr

Definition at line 30 of file BKE_outliner_treehash.hh.

Referenced by operator==, TreeStoreElemKey(), and TreeStoreElemKey().

◆ nr

short blender::bke::outliner::treehash::TreeStoreElemKey::nr = 0

Definition at line 32 of file BKE_outliner_treehash.hh.

Referenced by hash(), operator==, TreeStoreElemKey(), and TreeStoreElemKey().

◆ type

short blender::bke::outliner::treehash::TreeStoreElemKey::type = 0

Definition at line 31 of file BKE_outliner_treehash.hh.

Referenced by hash(), operator==, TreeStoreElemKey(), and TreeStoreElemKey().


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