Blender V5.3
blender::deg::ComponentNode::OperationIDKey Struct Reference

#include <deg_node_component.hh>

Public Member Functions

 OperationIDKey ()=default
 OperationIDKey (const OperationCode opcode)
 OperationIDKey (const OperationCode opcode, const StringRef name, const int name_tag)
uint64_t hash () const
Standard Component Methods
std::string identifier () const

Public Attributes

OperationCode opcode = OperationCode::OPERATION
int name_tag = -1
StringRef name = ""

Friends

bool operator== (const OperationIDKey &a, const OperationIDKey &b)=default

Detailed Description

Definition at line 35 of file deg_node_component.hh.

Constructor & Destructor Documentation

◆ OperationIDKey() [1/3]

blender::deg::ComponentNode::OperationIDKey::OperationIDKey ( )
default

Referenced by operator==.

◆ OperationIDKey() [2/3]

blender::deg::ComponentNode::OperationIDKey::OperationIDKey ( const OperationCode opcode)
inline

Definition at line 41 of file deg_node_component.hh.

References opcode.

◆ OperationIDKey() [3/3]

blender::deg::ComponentNode::OperationIDKey::OperationIDKey ( const OperationCode opcode,
const StringRef name,
const int name_tag )
inline

Definition at line 42 of file deg_node_component.hh.

References name, name_tag, and opcode.

Member Function Documentation

◆ hash()

uint64_t blender::deg::ComponentNode::OperationIDKey::hash ( ) const
inline

Definition at line 49 of file deg_node_component.hh.

References blender::get_default_hash(), name, name_tag, and opcode.

◆ identifier()

std::string blender::deg::ComponentNode::OperationIDKey::identifier ( ) const

Definition at line 30 of file deg_node_component.cc.

References name, and opcode.

Referenced by blender::deg::ComponentNode::get_operation().

◆ operator==

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

References b, and OperationIDKey().

Member Data Documentation

◆ name

StringRef blender::deg::ComponentNode::OperationIDKey::name = ""

◆ name_tag

int blender::deg::ComponentNode::OperationIDKey::name_tag = -1

◆ opcode

OperationCode blender::deg::ComponentNode::OperationIDKey::opcode = OperationCode::OPERATION

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