|
// ListNodeOfCOneAxis.cpp: implementation of the CListNodeOfCOneAxis class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ListNodeOfCOneAxis.h"
#include "MMath.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CListNodeOfCOneAxis::CListNodeOfCOneAxis( const COneAxis& P) : data(P), nextPtr(0)
{
}
CListNodeOfCOneAxis::~CListNodeOfCOneAxis()
{
}
COneAxis CListNodeOfCOneAxis::GetData() const
{
return data;
}
bool CListNodeOfCOneAxis::operator==(CListNodeOfCOneAxis& rhs)
{
return (this == &rhs);
}
bool CListNodeOfCOneAxis::operator!=(CListNodeOfCOneAxis& rhs)
{
return (this != &rhs);
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Sharjith is a Mechanical Engineer with strong passion for Automobiles, Aircrafts and Software development.