Blender V5.3
blender::nodes::BundleType Class Reference

#include <NOD_bundle_type.hh>

Public Member Functions

 BundleType (FlatBundleTypePtr type)
 BundleType (NestedBundleTypePtr type)
StringRefNull name () const
uint64_t hash () const

Public Attributes

std::variant< FlatBundleTypePtr, NestedBundleTypePtr > type

Friends

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

Detailed Description

Definition at line 71 of file NOD_bundle_type.hh.

Constructor & Destructor Documentation

◆ BundleType() [1/2]

blender::nodes::BundleType::BundleType ( FlatBundleTypePtr type)
inline

Definition at line 75 of file NOD_bundle_type.hh.

References type.

Referenced by operator==.

◆ BundleType() [2/2]

blender::nodes::BundleType::BundleType ( NestedBundleTypePtr type)
inline

Definition at line 76 of file NOD_bundle_type.hh.

References type.

Member Function Documentation

◆ hash()

uint64_t blender::nodes::BundleType::hash ( ) const
inline

Definition at line 163 of file NOD_bundle_type.hh.

References blender::get_default_hash(), and type.

◆ name()

StringRefNull blender::nodes::BundleType::name ( ) const
inline

Definition at line 158 of file NOD_bundle_type.hh.

References type.

Referenced by blender::nodes::BundleTypeRegistry::register_type().

◆ operator==

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

References b, and BundleType().

Member Data Documentation

◆ type

std::variant<FlatBundleTypePtr, NestedBundleTypePtr> blender::nodes::BundleType::type

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