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

@ -56,10 +56,9 @@ public:
{}
// Destructor
virtual ~ODE()
{}
//- Destructor
virtual ~ODE()
{}
// Member Functions

View File

@ -103,10 +103,9 @@ public:
);
// Destructor
virtual ~ODESolver()
{}
//- Destructor
virtual ~ODESolver()
{}
// Member Functions

View File

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

View File

@ -99,9 +99,8 @@ public:
sigFpe();
// Destructor
~sigFpe();
//- Destructor
~sigFpe();
// Member functions

View File

@ -70,9 +70,8 @@ public:
sigInt();
// Destructor
~sigInt();
//- Destructor
~sigInt();
// Member functions

View File

@ -70,9 +70,8 @@ public:
sigQuit();
// Destructor
~sigQuit();
//- Destructor
~sigQuit();
// Member functions

View File

@ -70,9 +70,8 @@ public:
sigSegv();
// Destructor
~sigSegv();
//- Destructor
~sigSegv();
// Member functions

View File

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

View File

@ -40,7 +40,7 @@ namespace Foam
{
/*---------------------------------------------------------------------------*\
Class subCycle Declaration
Class subCycle Declaration
\*---------------------------------------------------------------------------*/
template<class GeometricField>
@ -79,21 +79,19 @@ public:
{}
// Destructor
//- Destructor
~subCycle()
{
// End the subCycleTime, which restores the time state
endSubCycle();
~subCycle()
{
// End the subCycleTime which restores the time state
endSubCycle();
// Correct the time index of the field to correspond to the global time
gf_.timeIndex() = gf_.time().timeIndex();
// Correct the time index of the field to correspond to the global
// time
gf_.timeIndex() = gf_.time().timeIndex();
// Reset the old-time field value
gf_.oldTime() = gf0_;
gf_.oldTime().timeIndex() = gf_.time().timeIndex();
}
// Reset the old-time field value
gf_.oldTime() = gf0_;
gf_.oldTime().timeIndex() = gf_.time().timeIndex();
}
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -288,10 +288,9 @@ public:
}
// Destructor
virtual ~IOstream()
{}
//- Destructor
virtual ~IOstream()
{}
// Member functions

View File

@ -85,10 +85,9 @@ public:
{}
// Destructor
virtual ~Istream()
{}
//- Destructor
virtual ~Istream()
{}
// Member functions

View File

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

View File

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

View File

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

View File

@ -86,10 +86,9 @@ public:
);
// Destructor
virtual ~ISstream()
{}
//- Destructor
virtual ~ISstream()
{}
// Member functions

View File

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

View File

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

View File

@ -165,12 +165,11 @@ public:
{}
// Destructor
~OSHA1stream()
{
delete &dynamic_cast<osha1stream&>(stdStream());
}
//- Destructor
~OSHA1stream()
{
delete &dynamic_cast<osha1stream&>(stdStream());
}
// Member functions

View File

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

View File

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

View File

@ -209,10 +209,8 @@ public:
);
// Destructor
//- Virtual destructor
virtual ~Time();
//- Destructor
virtual ~Time();
// Member functions

View File

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

View File

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

View File

@ -88,9 +88,8 @@ public:
dlLibraryTable();
// Destructor
~dlLibraryTable();
//- Destructor
~dlLibraryTable();
// Member Functions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -53,10 +53,9 @@ public:
{}
// Destructor
virtual ~FieldMapper()
{}
//- Destructor
virtual ~FieldMapper()
{}
// Member Functions

View File

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

View File

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

View File

@ -229,10 +229,9 @@ public:
);
// Destructor
virtual ~pointPatchField<Type>()
{}
//- Destructor
virtual ~pointPatchField<Type>()
{}
// Member functions

View File

@ -78,9 +78,8 @@ public:
JobInfo();
// Destructor
~JobInfo();
//- Destructor
~JobInfo();
// Member Functions

View File

@ -226,10 +226,9 @@ public:
{}
// Destructor
virtual ~writer()
{}
//- Destructor
virtual ~writer()
{}
// Member Functions

View File

@ -67,10 +67,9 @@ public:
{}
// Destructor
~gnuplotGraph()
{}
//- Destructor
~gnuplotGraph()
{}
// Member Functions

View File

@ -67,10 +67,9 @@ public:
{}
// Destructor
~jplotGraph()
{}
//- Destructor
~jplotGraph()
{}
// Member Functions

View File

@ -67,10 +67,9 @@ public:
{}
// Destructor
~rawGraph()
{}
//- Destructor
~rawGraph()
{}
// Member Functions

View File

@ -68,10 +68,9 @@ public:
{}
// Destructor
~xmgrGraph()
{}
//- Destructor
~xmgrGraph()
{}
// Member Functions

View File

@ -163,9 +163,8 @@ public:
);
// Destructor
~PatchToPatchInterpolation();
//- Destructor
~PatchToPatchInterpolation();
// Member Functions

View File

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

View File

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

View File

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

View File

@ -57,9 +57,8 @@ public:
// Constructors
// Destructor
virtual ~cyclicLduInterface();
//- Destructor
virtual ~cyclicLduInterface();
// Member Functions

View File

@ -75,9 +75,8 @@ public:
{}
// Destructor
virtual ~lduInterface();
//- Destructor
virtual ~lduInterface();
// Member Functions

View File

@ -76,9 +76,8 @@ public:
processorLduInterface();
// Destructor
virtual ~processorLduInterface();
//- Destructor
virtual ~processorLduInterface();
// Member Functions

View File

@ -63,9 +63,8 @@ public:
{}
// Destructor
virtual ~cyclicLduInterfaceField();
//- Destructor
virtual ~cyclicLduInterfaceField();
// Member Functions

View File

@ -85,9 +85,8 @@ public:
{}
// Destructor
virtual ~lduInterfaceField();
//- Destructor
virtual ~lduInterfaceField();
// Member Functions

View File

@ -63,9 +63,8 @@ public:
{}
// Destructor
virtual ~processorLduInterfaceField();
//- Destructor
virtual ~processorLduInterfaceField();
// Member Functions

View File

@ -340,10 +340,9 @@ public:
// Destructor
virtual ~solver()
{}
//- Destructor
virtual ~solver()
{}
// Member functions
@ -492,10 +491,9 @@ public:
);
// Destructor
virtual ~smoother()
{}
//- Destructor
virtual ~smoother()
{}
// Member functions
@ -607,10 +605,9 @@ public:
);
// Destructor
virtual ~preconditioner()
{}
//- Destructor
virtual ~preconditioner()
{}
// Member functions
@ -677,9 +674,8 @@ public:
lduMatrix(const lduMesh&, Istream&);
// Destructor
~lduMatrix();
//- Destructor
~lduMatrix();
// Member functions

View File

@ -74,10 +74,9 @@ public:
);
// Destructor
virtual ~DICPreconditioner()
{}
//- Destructor
virtual ~DICPreconditioner()
{}
// Member Functions

View File

@ -74,10 +74,9 @@ public:
);
// Destructor
virtual ~DILUPreconditioner()
{}
//- Destructor
virtual ~DILUPreconditioner()
{}
// Member Functions

View File

@ -87,10 +87,9 @@ public:
);
// Destructor
virtual ~FDICPreconditioner()
{}
//- Destructor
virtual ~FDICPreconditioner()
{}
// Member Functions

View File

@ -79,9 +79,8 @@ public:
);
// Destructor
virtual ~GAMGPreconditioner();
//- Destructor
virtual ~GAMGPreconditioner();
// Member Functions

View File

@ -84,10 +84,9 @@ public:
);
// Destructor
virtual ~diagonalPreconditioner()
{}
//- Destructor
virtual ~diagonalPreconditioner()
{}
// Member Functions

View File

@ -75,10 +75,9 @@ public:
);
// Destructor
virtual ~noPreconditioner()
{}
//- Destructor
virtual ~noPreconditioner()
{}
// Member Functions

View File

@ -109,10 +109,9 @@ public:
const scalar relTol = 0.0
);
// Destructor
virtual ~BICCG()
{}
//- Destructor
virtual ~BICCG()
{}
};

View File

@ -180,9 +180,8 @@ public:
);
// Destructor
~GAMGAgglomeration();
//- Destructor
~GAMGAgglomeration();
// Member Functions

View File

@ -223,9 +223,8 @@ public:
);
// Destructor
virtual ~GAMGSolver();
//- Destructor
virtual ~GAMGSolver();
// Member Functions

View File

@ -90,9 +90,8 @@ public:
);
// Destructor
virtual ~cyclicGAMGInterfaceField();
//- Destructor
virtual ~cyclicGAMGInterfaceField();
// Member Functions

View File

@ -90,9 +90,8 @@ public:
);
// Destructor
virtual ~processorGAMGInterfaceField();
//- Destructor
virtual ~processorGAMGInterfaceField();
// Member Functions

View File

@ -86,9 +86,8 @@ public:
);
// Destructor
virtual ~cyclicGAMGInterface();
//- Destructor
virtual ~cyclicGAMGInterface();
// Member Functions

View File

@ -86,9 +86,8 @@ public:
);
// Destructor
virtual ~processorGAMGInterface();
//- Destructor
virtual ~processorGAMGInterface();
// Member Functions

View File

@ -108,10 +108,9 @@ public:
const scalar relTol = 0.0
);
// Destructor
virtual ~ICCG()
{}
//- Destructor
virtual ~ICCG()
{}
};

View File

@ -80,10 +80,9 @@ public:
);
// Destructor
virtual ~PBiCG()
{}
//- Destructor
virtual ~PBiCG()
{}
// Member Functions

View File

@ -80,10 +80,9 @@ public:
);
// Destructor
virtual ~PCG()
{}
//- Destructor
virtual ~PCG()
{}
// Member Functions

View File

@ -85,10 +85,9 @@ public:
);
// Destructor
virtual ~smoothSolver()
{}
//- Destructor
virtual ~smoothSolver()
{}
// Member Functions

View File

@ -107,9 +107,8 @@ public:
//- Construct by transferring the contents
inline Xfer(const Xfer<T>&);
// Destructor
inline ~Xfer();
//- Destructor
inline ~Xfer();
// Member Functions

View File

@ -68,10 +68,8 @@ public:
inline autoPtr(const autoPtr<T>&);
// Destructor
//- Delete object if pointer is not NULL
inline ~autoPtr();
//- Destructor, delete object if pointer is not NULL
inline ~autoPtr();
// Member Functions

View File

@ -80,10 +80,8 @@ public:
inline tmp(const tmp<T>&);
// Destructor
//- Delete object when reference count == 0
inline ~tmp();
//- Destructor, delete object when reference count == 0
inline ~tmp();
// Member Functions

View File

@ -59,10 +59,9 @@ public:
// Constructors
// Destructor
virtual ~lduMesh()
{}
//- Destructor
virtual ~lduMesh()
{}
// Member Functions

View File

@ -123,10 +123,9 @@ public:
{}
// Destructor
virtual ~lduPrimitiveMesh()
{}
//- Destructor
virtual ~lduPrimitiveMesh()
{}
// Member Functions

View File

@ -196,10 +196,9 @@ public:
);
// Destructor
virtual ~cellMatcher()
{}
//- Destructor
virtual ~cellMatcher()
{}
// Member Functions

View File

@ -77,9 +77,8 @@ public:
//- Construct null
hexMatcher();
// Destructor
~hexMatcher();
//- Destructor
~hexMatcher();
// Member Functions

View File

@ -77,9 +77,8 @@ public:
//- Construct
prismMatcher();
// Destructor
~prismMatcher();
//- Destructor
~prismMatcher();
// Member Functions

View File

@ -77,9 +77,8 @@ public:
//- Construct null
pyrMatcher();
// Destructor
~pyrMatcher();
//- Destructor
~pyrMatcher();
// Member Functions

View File

@ -77,9 +77,8 @@ public:
//- Construct null
tetMatcher();
// Destructor
~tetMatcher();
//- Destructor
~tetMatcher();
// Member Functions

View File

@ -77,9 +77,8 @@ public:
//- Construct null
tetWedgeMatcher();
// Destructor
~tetWedgeMatcher();
//- Destructor
~tetWedgeMatcher();
// Member Functions

View File

@ -77,9 +77,8 @@ public:
//- Construct null
wedgeMatcher();
// Destructor
~wedgeMatcher();
//- Destructor
~wedgeMatcher();
// Member Functions

View File

@ -71,9 +71,8 @@ public:
//- Construct from central "cellModels" file
cellModeller();
// Destructor
~cellModeller();
//- Destructor
~cellModeller();
// Member functions

View File

@ -97,9 +97,8 @@ public:
);
// Destructor
virtual ~patchIdentifier();
//- Destructor
virtual ~patchIdentifier();
// Member Functions

View File

@ -111,9 +111,8 @@ public:
pointMapper(const pointMesh&, const mapPolyMesh& mpm);
// Destructor
virtual ~pointMapper();
//- Destructor
virtual ~pointMapper();
// Member Functions

View File

@ -118,9 +118,8 @@ public:
);
// Destructor
virtual ~pointPatchMapper();
//- Destructor
virtual ~pointPatchMapper();
// Member Functions

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