Nektar++
Public Member Functions | Private Attributes | List of all members
Nektar::UnitTests::VectorTestClass Class Reference

Public Member Functions

 VectorTestClass ()
 
 VectorTestClass (int data)
 
 VectorTestClass (const VectorTestClass &in)=default
 
 ~VectorTestClass ()
 
VectorTestClass operator= (const VectorTestClass &rhs)
 
int value () const
 

Private Attributes

int m_dataValue
 

Detailed Description

Definition at line 50 of file testNekVector.cpp.

Constructor & Destructor Documentation

◆ VectorTestClass() [1/3]

Nektar::UnitTests::VectorTestClass::VectorTestClass ( )
inline

Definition at line 53 of file testNekVector.cpp.

◆ VectorTestClass() [2/3]

Nektar::UnitTests::VectorTestClass::VectorTestClass ( int  data)
inlineexplicit

Definition at line 56 of file testNekVector.cpp.

56 : m_dataValue(data)
57 {
58 }

◆ VectorTestClass() [3/3]

Nektar::UnitTests::VectorTestClass::VectorTestClass ( const VectorTestClass in)
default

◆ ~VectorTestClass()

Nektar::UnitTests::VectorTestClass::~VectorTestClass ( )
inline

Definition at line 60 of file testNekVector.cpp.

61 {
62 }

Member Function Documentation

◆ operator=()

VectorTestClass Nektar::UnitTests::VectorTestClass::operator= ( const VectorTestClass rhs)
inline

Definition at line 64 of file testNekVector.cpp.

65 {
66 m_dataValue = rhs.m_dataValue;
67 return *this;
68 }

References m_dataValue.

◆ value()

int Nektar::UnitTests::VectorTestClass::value ( ) const
inline

Member Data Documentation

◆ m_dataValue

int Nektar::UnitTests::VectorTestClass::m_dataValue
private

Definition at line 76 of file testNekVector.cpp.

Referenced by operator=(), and value().