Public Member Functions | Private Attributes | List of all members
NonCopyableInt Class Reference

Public Member Functions

int get () const
 
 NonCopyableInt (int value)
 
 NonCopyableInt (const NonCopyableInt &)=delete
 
 NonCopyableInt (NonCopyableInt &&other) noexcept
 
NonCopyableIntoperator= (const NonCopyableInt &)=delete
 
NonCopyableIntoperator= (NonCopyableInt &&other) noexcept
 
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/3]

NonCopyableInt::NonCopyableInt ( int  value)
inlineexplicit

Definition at line 62 of file test_sequences_and_iterators.cpp.

◆ NonCopyableInt() [2/3]

NonCopyableInt::NonCopyableInt ( const NonCopyableInt )
delete

◆ NonCopyableInt() [3/3]

NonCopyableInt::NonCopyableInt ( NonCopyableInt &&  other)
inlinenoexcept

Definition at line 64 of file test_sequences_and_iterators.cpp.

◆ ~NonCopyableInt()

NonCopyableInt::~NonCopyableInt ( )
default

Member Function Documentation

◆ get()

int NonCopyableInt::get ( ) const
inline

Definition at line 73 of file test_sequences_and_iterators.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Definition at line 68 of file test_sequences_and_iterators.cpp.

◆ set()

void NonCopyableInt::set ( int  value)
inline

Definition at line 74 of file test_sequences_and_iterators.cpp.

Member Data Documentation

◆ value_

int NonCopyableInt::value_
private

Definition at line 78 of file test_sequences_and_iterators.cpp.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:03