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

Public Member Functions

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

Private Attributes

int m_dataValue
 

Detailed Description

Definition at line 42 of file testNekPoint.cpp.

Constructor & Destructor Documentation

◆ PointTestClass() [1/3]

Nektar::UnitTests::PointTestClass::PointTestClass ( )
inline

Definition at line 45 of file testNekPoint.cpp.

◆ PointTestClass() [2/3]

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

Definition at line 48 of file testNekPoint.cpp.

48 : m_dataValue(data)
49 {
50 }

◆ PointTestClass() [3/3]

Nektar::UnitTests::PointTestClass::PointTestClass ( const PointTestClass )
default

◆ ~PointTestClass()

Nektar::UnitTests::PointTestClass::~PointTestClass ( )
inline

Definition at line 52 of file testNekPoint.cpp.

53 {
54 }

Member Function Documentation

◆ operator=()

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

Definition at line 56 of file testNekPoint.cpp.

57 {
58 m_dataValue = rhs.m_dataValue;
59 return *this;
60 }

References m_dataValue.

◆ value()

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

Member Data Documentation

◆ m_dataValue

int Nektar::UnitTests::PointTestClass::m_dataValue
private

Definition at line 68 of file testNekPoint.cpp.

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