mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: follow coding guide recommendation for '//- Destructor'
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -288,10 +288,9 @@ public:
|
||||
}
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
virtual ~IOstream()
|
||||
{}
|
||||
//- Destructor
|
||||
virtual ~IOstream()
|
||||
{}
|
||||
|
||||
|
||||
// Member functions
|
||||
|
||||
@ -85,10 +85,9 @@ public:
|
||||
{}
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
virtual ~Istream()
|
||||
{}
|
||||
//- Destructor
|
||||
virtual ~Istream()
|
||||
{}
|
||||
|
||||
|
||||
// Member functions
|
||||
|
||||
@ -131,9 +131,8 @@ public:
|
||||
IOstream::versionNumber version=IOstream::currentVersion
|
||||
);
|
||||
|
||||
// Destructor
|
||||
|
||||
~PstreamBuffers();
|
||||
//- Destructor
|
||||
~PstreamBuffers();
|
||||
|
||||
|
||||
// Member functions
|
||||
|
||||
@ -106,9 +106,8 @@ public:
|
||||
UIPstream(const int fromProcNo, PstreamBuffers&);
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
~UIPstream();
|
||||
//- Destructor
|
||||
~UIPstream();
|
||||
|
||||
|
||||
// Member functions
|
||||
|
||||
@ -102,9 +102,8 @@ public:
|
||||
UOPstream(const int toProcNo, PstreamBuffers&);
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
~UOPstream();
|
||||
//- Destructor
|
||||
~UOPstream();
|
||||
|
||||
|
||||
// Member functions
|
||||
|
||||
@ -86,10 +86,9 @@ public:
|
||||
);
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
virtual ~ISstream()
|
||||
{}
|
||||
//- Destructor
|
||||
virtual ~ISstream()
|
||||
{}
|
||||
|
||||
|
||||
// Member functions
|
||||
|
||||
@ -92,12 +92,11 @@ public:
|
||||
{}
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
~IStringStream()
|
||||
{
|
||||
delete &dynamic_cast<std::istringstream&>(stdStream());
|
||||
}
|
||||
//- Destructor
|
||||
~IStringStream()
|
||||
{
|
||||
delete &dynamic_cast<std::istringstream&>(stdStream());
|
||||
}
|
||||
|
||||
|
||||
// Member functions
|
||||
|
||||
@ -93,12 +93,11 @@ public:
|
||||
{}
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
~OStringStream()
|
||||
{
|
||||
delete &dynamic_cast<std::ostringstream&>(stdStream());
|
||||
}
|
||||
//- Destructor
|
||||
~OStringStream()
|
||||
{
|
||||
delete &dynamic_cast<std::ostringstream&>(stdStream());
|
||||
}
|
||||
|
||||
|
||||
// Member functions
|
||||
|
||||
@ -165,12 +165,11 @@ public:
|
||||
{}
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
~OSHA1stream()
|
||||
{
|
||||
delete &dynamic_cast<osha1stream&>(stdStream());
|
||||
}
|
||||
//- Destructor
|
||||
~OSHA1stream()
|
||||
{
|
||||
delete &dynamic_cast<osha1stream&>(stdStream());
|
||||
}
|
||||
|
||||
|
||||
// Member functions
|
||||
|
||||
@ -99,9 +99,8 @@ public:
|
||||
static autoPtr<CompoundToken> New(const word& type, Istream& is);
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
virtual ~CompoundToken();
|
||||
//- Destructor
|
||||
virtual ~CompoundToken();
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user