style changes and removals of typeid

refs #81
This commit is contained in:
Klaus Basan
2013-12-22 20:28:56 +00:00
committed by Mathew Sutcliffe
parent 229d7c6068
commit 978f3c88e5
73 changed files with 7356 additions and 7130 deletions

View File

@@ -5,97 +5,97 @@
namespace BlackMisc
{
namespace Math
{
/*!
* \brief Concrete vector implementation
*/
class CVector3D : public CVector3DBase<CVector3D>
{
public:
/*!
* \brief Default constructor
*/
CVector3D() : CVector3DBase() {}
/*!
* \brief Constructor by value
* \param i
* \param j
* \param k
*/
CVector3D(double i, double j, double k) : CVector3DBase(i, j, k) {}
/*!
* \brief Constructor by value
* \param value
*/
explicit CVector3D(double value) : CVector3DBase(value) {}
/*!
* \brief Copy constructor
* \param other
*/
CVector3D(const CVector3D &other) : CVector3DBase(other) {}
/*!
* \brief i
* \return
*/
double i() const
namespace Math
{
return this->m_i;
}
/*!
* \brief j
* \return
*/
double j() const
{
return this->m_j;
}
/*!
* \brief Concrete vector implementation
*/
class CVector3D : public CVector3DBase<CVector3D>
{
public:
/*!
* \brief Default constructor
*/
CVector3D() : CVector3DBase() {}
/*!
* \brief k
* \return
*/
double k() const
{
return this->m_k;
}
/*!
* \brief Constructor by value
* \param i
* \param j
* \param k
*/
CVector3D(double i, double j, double k) : CVector3DBase(i, j, k) {}
/*!
* \brief Set i
* \param i
*/
void setI(double i)
{
this->m_i = i;
}
/*!
* \brief Constructor by value
* \param value
*/
explicit CVector3D(double value) : CVector3DBase(value) {}
/*!
* \brief Set j
* \param j
*/
void setJ(double j)
{
this->m_j = j;
}
/*!
* \brief Copy constructor
* \param other
*/
CVector3D(const CVector3D &other) : CVector3DBase(other) {}
/*!
* \brief Set k
* \param k
*/
void setK(double k)
{
this->m_k = k;
}
/*!
* \brief i
* \return
*/
double i() const
{
return this->m_i;
}
};
/*!
* \brief j
* \return
*/
double j() const
{
return this->m_j;
}
} // namespace
/*!
* \brief k
* \return
*/
double k() const
{
return this->m_k;
}
/*!
* \brief Set i
* \param i
*/
void setI(double i)
{
this->m_i = i;
}
/*!
* \brief Set j
* \param j
*/
void setJ(double j)
{
this->m_j = j;
}
/*!
* \brief Set k
* \param k
*/
void setK(double k)
{
this->m_k = k;
}
};
} // namespace
} // namespace
Q_DECLARE_METATYPE(BlackMisc::Math::CVector3D)