μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
NonCopyableInt Class Reference

Public Member Functions

 NonCopyableInt (int value)
 
 NonCopyableInt (const NonCopyableInt &)=delete
 
 NonCopyableInt (NonCopyableInt &&other) noexcept
 
NonCopyableIntoperator= (const NonCopyableInt &)=delete
 
NonCopyableIntoperator= (NonCopyableInt &&other) noexcept
 
int get () const
 
void set (int value)
 
 ~NonCopyableInt ()=default
 
 NonCopyableInt (int value)
 
 NonCopyableInt (const NonCopyableInt &)=delete
 
 NonCopyableInt (NonCopyableInt &&other) noexcept
 
NonCopyableIntoperator= (const NonCopyableInt &)=delete
 
NonCopyableIntoperator= (NonCopyableInt &&other) noexcept
 
int get () const
 
void set (int value)
 
 ~NonCopyableInt ()=default
 

Private Attributes

int value_
 

Detailed Description

Definition at line 60 of file test_sequences_and_iterators.cpp.

Constructor & Destructor Documentation

◆ NonCopyableInt() [1/6]

NonCopyableInt::NonCopyableInt ( int  value)
inlineexplicit

Definition at line 62 of file test_sequences_and_iterators.cpp.

◆ NonCopyableInt() [2/6]

NonCopyableInt::NonCopyableInt ( const NonCopyableInt )
delete

◆ NonCopyableInt() [3/6]

NonCopyableInt::NonCopyableInt ( NonCopyableInt &&  other)
inlinenoexcept

Definition at line 64 of file test_sequences_and_iterators.cpp.

◆ ~NonCopyableInt() [1/2]

NonCopyableInt::~NonCopyableInt ( )
default

◆ NonCopyableInt() [4/6]

NonCopyableInt::NonCopyableInt ( int  value)
inlineexplicit

Definition at line 62 of file test_sequences_and_iterators.cpp.

◆ NonCopyableInt() [5/6]

NonCopyableInt::NonCopyableInt ( const NonCopyableInt )
delete

◆ NonCopyableInt() [6/6]

NonCopyableInt::NonCopyableInt ( NonCopyableInt &&  other)
inlinenoexcept

Definition at line 64 of file test_sequences_and_iterators.cpp.

◆ ~NonCopyableInt() [2/2]

NonCopyableInt::~NonCopyableInt ( )
default

Member Function Documentation

◆ get() [1/2]

int NonCopyableInt::get ( ) const
inline

Definition at line 73 of file test_sequences_and_iterators.cpp.

References value_.

Referenced by TEST_SUBMODULE().

◆ get() [2/2]

int NonCopyableInt::get ( ) const
inline

Definition at line 73 of file test_sequences_and_iterators.cpp.

References value_.

◆ operator=() [1/4]

NonCopyableInt & NonCopyableInt::operator= ( const NonCopyableInt )
delete

◆ operator=() [2/4]

NonCopyableInt & NonCopyableInt::operator= ( const NonCopyableInt )
delete

◆ operator=() [3/4]

NonCopyableInt & NonCopyableInt::operator= ( NonCopyableInt &&  other)
inlinenoexcept

Definition at line 68 of file test_sequences_and_iterators.cpp.

References value_.

◆ operator=() [4/4]

NonCopyableInt & NonCopyableInt::operator= ( NonCopyableInt &&  other)
inlinenoexcept

Definition at line 68 of file test_sequences_and_iterators.cpp.

References value_.

◆ set() [1/2]

void NonCopyableInt::set ( int  value)
inline

Definition at line 74 of file test_sequences_and_iterators.cpp.

References value_.

Referenced by TEST_SUBMODULE().

◆ set() [2/2]

void NonCopyableInt::set ( int  value)
inline

Definition at line 74 of file test_sequences_and_iterators.cpp.

References value_.

Member Data Documentation

◆ value_

int NonCopyableInt::value_
private

Definition at line 78 of file test_sequences_and_iterators.cpp.

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


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