Blender V5.3
blender::nodes::NodeWarning Struct Reference

#include <NOD_warning.hh>

Public Member Functions

 NodeWarning ()=default
 NodeWarning (NodeWarningType type, StringRef message)
 NodeWarning (const Report &report)
uint64_t hash () const

Public Attributes

NodeWarningType type = NodeWarningType::Error
std::string message

Friends

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

Detailed Description

Definition at line 30 of file NOD_warning.hh.

Constructor & Destructor Documentation

◆ NodeWarning() [1/3]

blender::nodes::NodeWarning::NodeWarning ( )
default

Referenced by operator==.

◆ NodeWarning() [2/3]

blender::nodes::NodeWarning::NodeWarning ( NodeWarningType type,
StringRef message )
inline

Definition at line 35 of file NOD_warning.hh.

References message, and type.

◆ NodeWarning() [3/3]

blender::nodes::NodeWarning::NodeWarning ( const Report & report)
explicit

Member Function Documentation

◆ hash()

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

Definition at line 38 of file NOD_warning.hh.

References blender::get_default_hash().

◆ operator==

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

References b, and NodeWarning().

Member Data Documentation

◆ message

◆ type


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