Blender V5.0
blender::locale::MessageKey Struct Reference

Public Member Functions

 MessageKey (const StringRef c)
uint64_t hash () const

Static Public Member Functions

static uint64_t hash_as (const MessageKeyRef &key)

Public Attributes

std::string context
std::string str

Detailed Description

Definition at line 413 of file messages.cc.

Constructor & Destructor Documentation

◆ MessageKey()

blender::locale::MessageKey::MessageKey ( const StringRef c)
inline

Member Function Documentation

◆ hash()

uint64_t blender::locale::MessageKey::hash ( ) const
inline

Definition at line 429 of file messages.cc.

References blender::get_default_hash().

◆ hash_as()

uint64_t blender::locale::MessageKey::hash_as ( const MessageKeyRef & key)
inlinestatic

Definition at line 434 of file messages.cc.

References blender::locale::MessageKeyRef::hash().

Member Data Documentation

◆ context

std::string blender::locale::MessageKey::context

Definition at line 414 of file messages.cc.

Referenced by blender::locale::operator==().

◆ str

std::string blender::locale::MessageKey::str

Definition at line 415 of file messages.cc.

Referenced by blender::locale::operator==().


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