Updated notImplemented -> NotImplemented

The new NotImplemented macro uses __PRETTY_FUNCTION__ for GNU compatible
compilers otherwise __func__ to provide the function name string.
This commit is contained in:
Henry Weller
2015-11-01 10:26:37 +00:00
parent ef07a81610
commit 42fb1b9e8e
146 changed files with 331 additions and 967 deletions

View File

@ -271,11 +271,7 @@ public:
//- Update local data for topology changes
virtual void updateMesh(const mapPolyMesh&)
{
notImplemented
(
"medialAxisMeshMover::updateMesh"
"(const mapPolyMesh&)"
);
NotImplemented;
}
};

View File

@ -112,7 +112,7 @@ public:
//- Clone
autoPtr<block> clone() const
{
notImplemented("block::clone()");
NotImplemented;
return autoPtr<block>(NULL);
}

View File

@ -129,7 +129,7 @@ public:
//- Clone
autoPtr<blockDescriptor> clone() const
{
notImplemented("blockDescriptor::clone()");
NotImplemented;
return autoPtr<blockDescriptor>(NULL);
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -132,7 +132,7 @@ Foam::point Foam::BSpline::position
Foam::scalar Foam::BSpline::length() const
{
notImplemented("BSpline::length() const");
NotImplemented;
return 1.0;
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -132,7 +132,7 @@ Foam::point Foam::CatmullRomSpline::position
Foam::scalar Foam::CatmullRomSpline::length() const
{
notImplemented("CatmullRomSpline::length() const");
NotImplemented;
return 1.0;
}

View File

@ -68,7 +68,7 @@ Foam::curvedEdge::curvedEdge(const curvedEdge& c)
Foam::autoPtr<Foam::curvedEdge> Foam::curvedEdge::clone() const
{
notImplemented("curvedEdge::clone() const");
NotImplemented;
return autoPtr<curvedEdge>(NULL);
}
@ -135,7 +135,7 @@ Foam::pointField Foam::curvedEdge::appendEndPoints
void Foam::curvedEdge::operator=(const curvedEdge&)
{
notImplemented("void curvedEdge::operator=(const curvedEdge&)");
NotImplemented;
}