Blender V4.3
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 64 of file outliner_treehash.cc.

◆ TreeStoreElemKey() [2/2]

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

Definition at line 69 of file outliner_treehash.cc.

Member Function Documentation

◆ hash()

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

Definition at line 71 of file outliner_treehash.cc.

References blender::get_default_hash(), and nr.

Friends And Related Symbol Documentation

◆ operator==

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

Definition at line 76 of file outliner_treehash.cc.

Member Data Documentation

◆ id

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

Definition at line 30 of file BKE_outliner_treehash.hh.

◆ nr

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

Definition at line 32 of file BKE_outliner_treehash.hh.

Referenced by hash().

◆ type

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

Definition at line 31 of file BKE_outliner_treehash.hh.


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