Blender V5.3
lexit::IdentifierMap::Identifier Struct Reference

#include <identifier.hh>

Public Member Functions

uint64_t * data () const
template<int Size>
bool operator== (const PaddedString< Size > &str) const
bool operator== (std::string_view str) const

Public Attributes

uint16_t next
uint16_t size
uint32_t hash

Detailed Description

Definition at line 80 of file identifier.hh.

Member Function Documentation

◆ data()

uint64_t * lexit::IdentifierMap::Identifier::data ( ) const
inline

WORKAROUND: MSVC does not support trailing null size array.

Definition at line 86 of file identifier.hh.

References hash.

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

◆ operator==() [1/2]

template<int Size>
bool lexit::IdentifierMap::Identifier::operator== ( const PaddedString< Size > & str) const
inline

Definition at line 92 of file identifier.hh.

References data(), size, and str.

◆ operator==() [2/2]

bool lexit::IdentifierMap::Identifier::operator== ( std::string_view str) const
inline

Definition at line 100 of file identifier.hh.

References data(), size, and str.

Member Data Documentation

◆ hash

uint32_t lexit::IdentifierMap::Identifier::hash

Definition at line 83 of file identifier.hh.

Referenced by data(), and lexit::IdentifierMap::lookup_or_add().

◆ next

uint16_t lexit::IdentifierMap::Identifier::next

Definition at line 81 of file identifier.hh.

◆ size

uint16_t lexit::IdentifierMap::Identifier::size

Definition at line 82 of file identifier.hh.

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


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