STYLE: Correct comments in PtrList and List

This commit is contained in:
laurence
2013-07-04 13:15:28 +01:00
parent 7546c1529a
commit 00d42c51c3
2 changed files with 6 additions and 10 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -162,10 +162,10 @@ public:
// Edit // Edit
//- Reset size of List. //- Alias for setSize(const label)
inline void resize(const label); inline void resize(const label);
//- Reset size of List and value for new elements. //- Alias for setSize(const label, const T&)
inline void resize(const label, const T&); inline void resize(const label, const T&);
//- Reset size of List. //- Reset size of List.

View File

@ -173,16 +173,12 @@ public:
// Edit // Edit
//- Reset size of PtrList. This can only be used to set the size //- Reset size of PtrList. If extending the PtrList, new entries are
// of an empty PtrList, extend a PtrList, remove entries from // set to NULL. If truncating the PtrList, removed entries are
// the end of a PtrList. If the entries are non-empty they are
// deleted. // deleted.
void setSize(const label); void setSize(const label);
//- Reset size of PtrList. This can only be used to set the size //- Alias for setSize(const label)
// of an empty PtrList, extend a PtrList, remove entries from
// the end of a PtrList. If the entries are non-empty they are
// deleted.
inline void resize(const label); inline void resize(const label);
//- Clear the PtrList, i.e. set size to zero deleting all the //- Clear the PtrList, i.e. set size to zero deleting all the