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

Public Member Functions

int get () const
 
 NonCopyableInt (const NonCopyableInt &)=delete
 
 NonCopyableInt (int value)
 
 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 67 of file test_sequences_and_iterators.cpp.

Constructor & Destructor Documentation

◆ NonCopyableInt() [1/3]

NonCopyableInt::NonCopyableInt ( int  value)
inlineexplicit

Definition at line 69 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 71 of file test_sequences_and_iterators.cpp.

◆ ~NonCopyableInt()

NonCopyableInt::~NonCopyableInt ( )
default

Member Function Documentation

◆ get()

int NonCopyableInt::get ( ) const
inline

Definition at line 80 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 75 of file test_sequences_and_iterators.cpp.

◆ set()

void NonCopyableInt::set ( int  value)
inline

Definition at line 81 of file test_sequences_and_iterators.cpp.

Member Data Documentation

◆ value_

int NonCopyableInt::value_
private

Definition at line 85 of file test_sequences_and_iterators.cpp.


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


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:36