STYLE: follow coding guide recommendation for '//- Destructor'

This commit is contained in:
Mark Olesen
2010-04-12 11:55:52 +02:00
parent a50f01b079
commit b6f3bd4c23
522 changed files with 1157 additions and 1653 deletions

View File

@ -128,8 +128,7 @@ public:
);
// Destructor
//- Destructor
virtual ~basicSubGrid();

View File

@ -107,8 +107,7 @@ public:
);
// Destructor
//- Destructor
virtual ~basicSubGrid();

View File

@ -137,8 +137,7 @@ public:
);
// Destructor
//- Destructor
virtual ~PDRDragModel();

View File

@ -135,8 +135,7 @@ public:
);
// Destructor
//- Destructor
virtual ~basic();

View File

@ -86,8 +86,7 @@ public:
);
// Destructor
//- Destructor
virtual ~Gulder();

View File

@ -91,8 +91,7 @@ public:
);
// Destructor
//- Destructor
virtual ~SCOPEBlend();

View File

@ -96,8 +96,7 @@ public:
);
// Destructor
//- Destructor
virtual ~SCOPEXiEq();

View File

@ -132,8 +132,7 @@ public:
);
// Destructor
//- Destructor
virtual ~XiEqModel();

View File

@ -90,8 +90,7 @@ public:
);
// Destructor
//- Destructor
virtual ~instability();

View File

@ -85,8 +85,7 @@ public:
);
// Destructor
//- Destructor
virtual ~KTS();

View File

@ -129,8 +129,7 @@ public:
);
// Destructor
//- Destructor
virtual ~XiGModel();

View File

@ -94,8 +94,7 @@ public:
);
// Destructor
//- Destructor
virtual ~instabilityG();

View File

@ -200,8 +200,7 @@ public:
);
// Destructor
//- Destructor
virtual ~XiModel();

View File

@ -95,8 +95,7 @@ public:
);
// Destructor
//- Destructor
virtual ~algebraic();

View File

@ -83,8 +83,7 @@ public:
);
// Destructor
//- Destructor
virtual ~fixed();

View File

@ -95,8 +95,7 @@ public:
);
// Destructor
//- Destructor
virtual ~transport();

View File

@ -194,7 +194,7 @@ public:
);
// Destructor
//- Destructor
~SCOPE();

View File

@ -88,8 +88,7 @@ public:
);
// Destructor
//- Destructor
virtual ~infinitelyFastChemistry();

View File

@ -83,8 +83,7 @@ public:
);
// Destructor
//- Destructor
virtual ~noCombustion();
// Member Functions

View File

@ -77,8 +77,7 @@ public:
regionProperties(const Time& runTime);
// Destructor
//- Destructor
~regionProperties();

View File

@ -94,8 +94,7 @@ public:
);
// Destructor
//- Destructor
~threePhaseMixture()
{}

View File

@ -96,8 +96,7 @@ public:
);
// Destructor
//- Destructor
virtual ~Kunz()
{}

View File

@ -90,8 +90,7 @@ public:
);
// Destructor
//- Destructor
virtual ~Merkle()
{}

View File

@ -103,8 +103,7 @@ public:
);
// Destructor
//- Destructor
virtual ~SchnerrSauer()
{}

View File

@ -121,8 +121,7 @@ public:
);
// Destructor
//- Destructor
virtual ~phaseChangeTwoPhaseMixture()
{}

View File

@ -209,8 +209,7 @@ public:
);
// Destructor
//- Destructor
~multiphaseMixture()
{}

View File

@ -108,8 +108,7 @@ public:
cellSplitter(const polyMesh& mesh);
// Destructor
//- Destructor
~cellSplitter();

View File

@ -100,8 +100,7 @@ public:
return autoPtr<block>(NULL);
}
// Destructor
//- Destructor
~block();

View File

@ -238,8 +238,7 @@ public:
);
// Destructor
//- Destructor
~sammMesh();

View File

@ -299,8 +299,7 @@ public:
);
// Destructor
//- Destructor
~starMesh();

View File

@ -102,8 +102,7 @@ public:
mergePolyMesh(const IOobject& io);
// Destructor
//- Destructor
virtual ~mergePolyMesh()
{}

View File

@ -76,8 +76,7 @@ public:
mirrorFvMesh(const IOobject& io);
// Destructor
//- Destructor
~mirrorFvMesh();

View File

@ -126,8 +126,7 @@ public:
domainDecomposition(const IOobject& io);
// Destructor
//- Destructor
~domainDecomposition();

View File

@ -230,8 +230,7 @@ public:
);
// Destructor
//- Destructor
~fvFieldDecomposer();

View File

@ -138,8 +138,7 @@ public:
);
// Destructor
//- Destructor
~pointFieldDecomposer();

View File

@ -187,7 +187,6 @@ protected:
);
//- Get the mesh/fields for a particular time
//- Destructor
virtual int RequestData
(
vtkInformation*,

View File

@ -693,7 +693,6 @@ public:
//- Destructor
~vtkPV3Foam();

View File

@ -312,7 +312,6 @@ public:
//- Destructor
~vtkPV3blockMesh();

View File

@ -116,8 +116,7 @@ public:
readerDatabase();
// Destructor
//- Destructor
~readerDatabase();

View File

@ -2,7 +2,7 @@
#
#+TITLE: OpenFOAM C++ style guide
#+AUTHOR: OpenCFD Ltd.
#+DATE: November 2009
#+DATE: April 2010
#+LINK: http://www.opencfd.co.uk
#+OPTIONS: author:nil ^:{}

View File

@ -56,8 +56,7 @@ public:
{}
// Destructor
//- Destructor
virtual ~ODE()
{}

View File

@ -103,8 +103,7 @@ public:
);
// Destructor
//- Destructor
virtual ~ODESolver()
{}

View File

@ -102,8 +102,7 @@ public:
//- Construct from std::string (or string), optionally ignoring case
regExp(const std::string&, const bool ignoreCase=false);
// Destructor
//- Destructor
~regExp();

View File

@ -99,8 +99,7 @@ public:
sigFpe();
// Destructor
//- Destructor
~sigFpe();

View File

@ -70,8 +70,7 @@ public:
sigInt();
// Destructor
//- Destructor
~sigInt();

View File

@ -70,8 +70,7 @@ public:
sigQuit();
// Destructor
//- Destructor
~sigQuit();

View File

@ -70,8 +70,7 @@ public:
sigSegv();
// Destructor
//- Destructor
~sigSegv();

View File

@ -117,8 +117,7 @@ public:
timer(const unsigned int newTimeOut);
// Destructor
//- Destructor
~timer();
};

View File

@ -79,15 +79,13 @@ public:
{}
// Destructor
//- Destructor
~subCycle()
{
// End the subCycleTime which restores the time state
// End the subCycleTime, which restores the time state
endSubCycle();
// Correct the time index of the field to correspond to the global
// time
// Correct the time index of the field to correspond to the global time
gf_.timeIndex() = gf_.time().timeIndex();
// Reset the old-time field value

View File

@ -95,8 +95,7 @@ public:
HashPtrTable(const HashPtrTable<T, Key, Hash>&);
// Destructor
//- Destructor
~HashPtrTable();

View File

@ -120,8 +120,7 @@ public:
ILList(Istream&, const INew&);
// Destructor
//- Destructor
~ILList();

View File

@ -122,8 +122,7 @@ public:
LList(const LList<LListBase, T>&);
// Destructor
//- Destructor
~LList();

View File

@ -112,8 +112,7 @@ public:
LPtrList(const LPtrList&);
// Destructor
//- Destructor
~LPtrList();

View File

@ -110,8 +110,7 @@ public:
inline DLListBase(link*);
// Destructor
//- Destructor
~DLListBase();

View File

@ -107,8 +107,7 @@ public:
inline SLListBase(link*);
// Destructor
//- Destructor
~SLListBase();

View File

@ -76,8 +76,7 @@ public:
Callback(const Callback<CallbackType>&);
// Destructor
//- Destructor
virtual ~Callback();

View File

@ -86,8 +86,7 @@ public:
CallbackRegistry();
// Destructor
//- Destructor
virtual ~CallbackRegistry();
};

View File

@ -219,8 +219,7 @@ public:
}
// Destructor
//- Destructor
virtual ~IOobject();

View File

@ -76,8 +76,7 @@ public:
IOobjectList(const IOobjectList&);
// Destructor
//- Destructor
~IOobjectList();

View File

@ -74,8 +74,7 @@ public:
IOField(const IOobject&, const Xfer<Field<Type> >&);
// Destructor
//- Destructor
virtual ~IOField();

View File

@ -75,8 +75,7 @@ public:
IOList(const IOobject&, const Xfer<List<T> >&);
// Destructor
//- Destructor
virtual ~IOList();

View File

@ -75,8 +75,7 @@ public:
IOMap(const IOobject&, const Xfer<Map<T> >&);
// Destructor
//- Destructor
virtual ~IOMap();

View File

@ -79,8 +79,7 @@ public:
IOPtrList(const IOobject&, const Xfer<PtrList<T> >&);
// Destructor
//- Destructor
virtual ~IOPtrList();

View File

@ -71,8 +71,7 @@ public:
IOdictionary(const IOobject&, const dictionary&);
// Destructor
//- Destructor
virtual ~IOdictionary();

View File

@ -70,8 +70,7 @@ class IFstreamAllocator
IFstreamAllocator(const fileName& pathname);
// Destructor
//- Destructor
~IFstreamAllocator();
};
@ -106,8 +105,7 @@ public:
);
// Destructor
//- Destructor
~IFstream();

View File

@ -69,8 +69,7 @@ class OFstreamAllocator
IOstream::compressionType compression=IOstream::UNCOMPRESSED
);
// Destructor
//- Destructor
~OFstreamAllocator();
};
@ -108,8 +107,7 @@ public:
);
// Destructor
//- Destructor
~OFstream();

View File

@ -288,8 +288,7 @@ public:
}
// Destructor
//- Destructor
virtual ~IOstream()
{}

View File

@ -85,8 +85,7 @@ public:
{}
// Destructor
//- Destructor
virtual ~Istream()
{}

View File

@ -131,8 +131,7 @@ public:
IOstream::versionNumber version=IOstream::currentVersion
);
// Destructor
//- Destructor
~PstreamBuffers();

View File

@ -106,8 +106,7 @@ public:
UIPstream(const int fromProcNo, PstreamBuffers&);
// Destructor
//- Destructor
~UIPstream();

View File

@ -102,8 +102,7 @@ public:
UOPstream(const int toProcNo, PstreamBuffers&);
// Destructor
//- Destructor
~UOPstream();

View File

@ -86,8 +86,7 @@ public:
);
// Destructor
//- Destructor
virtual ~ISstream()
{}

View File

@ -92,8 +92,7 @@ public:
{}
// Destructor
//- Destructor
~IStringStream()
{
delete &dynamic_cast<std::istringstream&>(stdStream());

View File

@ -93,8 +93,7 @@ public:
{}
// Destructor
//- Destructor
~OStringStream()
{
delete &dynamic_cast<std::ostringstream&>(stdStream());

View File

@ -165,8 +165,7 @@ public:
{}
// Destructor
//- Destructor
~OSHA1stream()
{
delete &dynamic_cast<osha1stream&>(stdStream());

View File

@ -99,8 +99,7 @@ public:
static autoPtr<CompoundToken> New(const word& type, Istream& is);
// Destructor
//- Destructor
virtual ~CompoundToken();

View File

@ -167,8 +167,7 @@ public:
static autoPtr<compound> New(const word& type, Istream&);
// Destructor
//- Destructor
virtual ~compound();
@ -309,8 +308,7 @@ public:
token(Istream&);
// Destructor
//- Destructor
inline ~token();

View File

@ -209,9 +209,7 @@ public:
);
// Destructor
//- Virtual destructor
//- Destructor
virtual ~Time();

View File

@ -63,8 +63,7 @@ public:
subCycleTime(Time&, const label nSubCycles);
// Destructor
//- Destructor
~subCycleTime();

View File

@ -218,8 +218,7 @@ public:
static autoPtr<dictionary> New(Istream&);
// Destructor
//- Destructor
~dictionary();

View File

@ -88,8 +88,7 @@ public:
dlLibraryTable();
// Destructor
//- Destructor
~dlLibraryTable();

View File

@ -97,8 +97,7 @@ public:
error(const error&);
// Destructor
//- Destructor
virtual ~error() throw();
@ -213,8 +212,7 @@ public:
IOerror(const dictionary&);
// Destructor
//- Destructor
virtual ~IOerror() throw();

View File

@ -135,8 +135,7 @@ public:
);
// Destructor
//- Destructor
virtual ~functionObject();

View File

@ -91,7 +91,7 @@ public:
outputFilterOutputControl(const Time&, const dictionary&);
// Destructor
//- Destructor
~outputFilterOutputControl();

View File

@ -101,8 +101,7 @@ public:
);
// Destructor
//- Destructor
virtual ~objectRegistry();

View File

@ -110,8 +110,7 @@ public:
regIOobject(const regIOobject&, bool registerCopy);
// Destructor
//- Destructor
virtual ~regIOobject();

View File

@ -53,8 +53,7 @@ public:
{}
// Destructor
//- Destructor
virtual ~FieldMapper()
{}

View File

@ -158,8 +158,7 @@ public:
);
// Destructor
//- Destructor
~SlicedGeometricField();
@ -202,8 +201,7 @@ public:
);
// Destructor
//- Destructor
~DimensionedInternalField();
};

View File

@ -126,8 +126,7 @@ public:
}
// Destructor
//- Destructor
~processorPointPatchField();

View File

@ -229,8 +229,7 @@ public:
);
// Destructor
//- Destructor
virtual ~pointPatchField<Type>()
{}

View File

@ -78,8 +78,7 @@ public:
JobInfo();
// Destructor
//- Destructor
~JobInfo();

View File

@ -226,8 +226,7 @@ public:
{}
// Destructor
//- Destructor
virtual ~writer()
{}

View File

@ -67,8 +67,7 @@ public:
{}
// Destructor
//- Destructor
~gnuplotGraph()
{}

View File

@ -67,8 +67,7 @@ public:
{}
// Destructor
//- Destructor
~jplotGraph()
{}

View File

@ -67,8 +67,7 @@ public:
{}
// Destructor
//- Destructor
~rawGraph()
{}

View File

@ -68,8 +68,7 @@ public:
{}
// Destructor
//- Destructor
~xmgrGraph()
{}

View File

@ -163,8 +163,7 @@ public:
);
// Destructor
//- Destructor
~PatchToPatchInterpolation();

View File

@ -99,8 +99,7 @@ public:
PrimitivePatchInterpolation(const Patch& p);
// Destructor
//- Destructor
~PrimitivePatchInterpolation();

View File

@ -116,8 +116,7 @@ public:
inline autoPtr<Matrix<Form, Type> > clone() const;
// Destructor
//- Destructor
~Matrix();

View File

@ -158,8 +158,7 @@ public:
{}
// Destructor
//- Destructor
virtual ~lduAddressing();

Some files were not shown because too many files have changed in this diff Show More