Blender  V3.3
Public Member Functions | Public Attributes | Friends | List of all members
blender::tests::TestType Struct Reference

Public Member Functions

 TestType ()
 
 ~TestType ()
 
 TestType (const TestType &other)
 
 TestType (TestType &&other) noexcept
 
TestTypeoperator= (const TestType &other)
 
TestTypeoperator= (TestType &&other) noexcept
 
uint64_t hash () const
 

Public Attributes

volatile int value
 

Friends

std::ostream & operator<< (std::ostream &stream, const TestType &value)
 
bool operator== (const TestType &UNUSED(a), const TestType &UNUSED(b))
 

Detailed Description

Definition at line 21 of file BLI_cpp_type_test.cc.

Constructor & Destructor Documentation

◆ TestType() [1/3]

blender::tests::TestType::TestType ( )
inline

Definition at line 24 of file BLI_cpp_type_test.cc.

References blender::tests::default_constructed_value, and value.

◆ ~TestType()

blender::tests::TestType::~TestType ( )
inline

Definition at line 29 of file BLI_cpp_type_test.cc.

References blender::tests::destructed_value, and value.

◆ TestType() [2/3]

blender::tests::TestType::TestType ( const TestType other)
inline

◆ TestType() [3/3]

blender::tests::TestType::TestType ( TestType &&  other)
inlinenoexcept

Member Function Documentation

◆ hash()

uint64_t blender::tests::TestType::hash ( ) const
inline

Definition at line 71 of file BLI_cpp_type_test.cc.

◆ operator=() [1/2]

TestType& blender::tests::TestType::operator= ( const TestType other)
inline

◆ operator=() [2/2]

TestType& blender::tests::TestType::operator= ( TestType &&  other)
inlinenoexcept

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const TestType value 
)
friend

Definition at line 60 of file BLI_cpp_type_test.cc.

◆ operator==

bool operator== ( const TestType UNUSEDa,
const TestType UNUSED
)
friend

Definition at line 66 of file BLI_cpp_type_test.cc.

Member Data Documentation

◆ value

volatile int blender::tests::TestType::value
mutable

Definition at line 22 of file BLI_cpp_type_test.cc.

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


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