Commit 3fb23e0e authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Cosmetic changes in all COOL packages (except ACE) via coolCppClean.


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@18768 4525493e-7705-40b1-a816-d608a930855b
parent b0a82aef
......@@ -27,7 +27,7 @@ namespace cool
*
* @author Andrea Valassi, Sven A. Schmidt and Marco Clemencic
* @date 2007-01-17
*/
*///
/// AV 18.01.2007 - do NOT use virtual inheritance here!
/// For reasons that are still unclear, this makes it impossible to fetch
......
......@@ -27,7 +27,7 @@ namespace cool
*
* @author Andrea Valassi and Sven A. Schmidt
* @date 2004-12-08
*/
*///
class DatabaseSvcFactory {
......
......@@ -19,7 +19,7 @@ DatabaseSvcFactory::databaseService()
pApp.reset( new Application() );
}
return pApp->databaseService();
*/
*///
static Application app;
return app.databaseService();
}
......
......@@ -13,7 +13,7 @@ namespace cool {
*
* @author Sven A. Schmidt and Andrea Valassi
* @date 2004-11-05
*/
*///
// ChannelId.
typedef UInt32 ChannelId;
......
......@@ -10,7 +10,7 @@
#include <vector>
#include "CoolKernel/ChannelId.h"
namespace cool
namespace cool
{
/** @class ChannelSelection ChannelSelection.h
......@@ -25,7 +25,7 @@ namespace cool
*
* @author Sven A. Schmidt, Andrea Valassi and Marco Clemencic
* @date 2005-08-08
*/
*///
class ChannelSelection
{
......@@ -44,7 +44,7 @@ namespace cool
// Required by PyCool
#ifdef COOL290CO
ChannelRange()
ChannelRange()
: m_firstChannel( 0 ) // Fix Coverity UNINIT_CTOR (bug #95363)
, m_lastChannel( 0 ) {}
#else
......
......@@ -18,7 +18,7 @@ namespace cool
*
* @author Andrea Valassi and Martin Wache
* @date 2008-07-30
*/
*///
class CompositeSelection : virtual public IRecordSelection
{
......
......@@ -26,7 +26,7 @@ namespace cool
*
* @author Andrea Valassi and Marco Clemencic
* @date 2006-12-01
*/
*///
class ConstRecordAdapter : public IRecord {
......
......@@ -21,7 +21,7 @@ namespace cool
*
* @author Andrea Valassi, Sven A. Schmidt and Marco Clemencic
* @date 2004-11-09
*/
*///
typedef std::string DatabaseId;
......
......@@ -22,7 +22,7 @@ namespace cool {
*
* @author Andrea Valassi, Sven A. Schmidt and Marco Clemencic
* @date 2004-10-27
*/
*///
class Exception : public std::exception {
......@@ -69,7 +69,7 @@ namespace cool {
/** @class DatabaseNotOpen
*
* Exception thrown when a database is not open.
*/
*///
class DatabaseNotOpen : public Exception {
......@@ -89,7 +89,7 @@ namespace cool {
/** @class DatabaseDoesNotExist
*
* Exception thrown when a database does not exist.
*/
*///
class DatabaseDoesNotExist : public Exception {
......@@ -110,7 +110,7 @@ namespace cool {
*
* Exception thrown when attempting to update a database
* that is open in read-only mode.
*/
*///
class DatabaseOpenInReadOnlyMode : public Exception {
......@@ -133,7 +133,7 @@ namespace cool {
*
* Exception thrown during folder or folderset creation when
* a folder or folder set with that name already exists.
*/
*///
class NodeExists : public Exception {
......@@ -156,7 +156,7 @@ namespace cool {
* Exception thrown when a node with a given name, id and/or other
* properties cannot be found (e.g. a node with a given id does not exist,
* or a node with a given full name is a folder and not a folder set).
*/
*///
class NodeNotFound : public Exception {
......@@ -189,7 +189,7 @@ namespace cool {
* Exception thrown when a folder with a given name cannot be found
* (either because a node with that name does not exist or because
* the name indicates a folder set).
*/
*///
class FolderNotFound : public NodeNotFound {
......@@ -222,7 +222,7 @@ namespace cool {
* Exception thrown when a folder set with a given name cannot be found
* (either because a node with that name does not exist or because the
* name indicates a folder).
*/
*///
class FolderSetNotFound : public NodeNotFound {
......@@ -254,7 +254,7 @@ namespace cool {
*
* Exception thrown when an HVS node does not support HVS tagging because
* it exists in a single version.
*/
*///
class NodeIsSingleVersion : public Exception {
......@@ -276,7 +276,7 @@ namespace cool {
*
* Exception thrown when tagging operations are attempted within
* a folder that does not support versioning (single-version folder).
*/
*///
class FolderIsSingleVersion : public NodeIsSingleVersion {
......@@ -332,7 +332,7 @@ namespace cool {
* between two given nodes cannot be found (either they are not related
* in any way, if the flag is false; or they are not parent and child,
* if the flag is true, but they still may be related more distantly).
*/
*///
class NodeRelationNotFound : public Exception {
......@@ -383,7 +383,7 @@ namespace cool {
/** @class ObjectNotFound
*
* Exception thrown when an object does not exist.
*/
*///
class ObjectNotFound : public Exception {
......@@ -413,7 +413,7 @@ namespace cool {
*
* Exception thrown during tag creation when a tag already exists.
* Tag names, except for "HEAD", are case sensitive.
*/
*///
class TagExists : public Exception {
......@@ -435,7 +435,7 @@ namespace cool {
*
* Exception thrown when a tag does not exist.
* Tag names, except for "HEAD", are case sensitive.
*/
*///
class TagNotFound : public Exception {
......@@ -492,7 +492,7 @@ namespace cool {
* ("", "HEAD" or a case-insensitive variant such as "head" or "Head").
* Also thrown when trying to retrieve the name of the node where
* the HEAD tag is defined (it is defined in all folders).
*/
*///
class ReservedHeadTag : public Exception {
......@@ -516,7 +516,7 @@ namespace cool {
*
* Exception thrown when attempting to modify a locked tag.
*
*/
*///
class TagIsLocked : public Exception {
......@@ -539,7 +539,7 @@ namespace cool {
* Exception thrown when attempting to create an invalid tag relation,
* e.g. between the root node and its not-existing parent node
* or between two tags with the same name in different nodes.
*/
*///
class InvalidTagRelation : public Exception {
......@@ -572,7 +572,7 @@ namespace cool {
*
* Exception thrown when a child tag related to the given parent tag
* already exists in the given child of a given parent node.
*/
*///
class TagRelationExists : public Exception {
......@@ -603,7 +603,7 @@ namespace cool {
*
* Exception thrown when no child tag related to the given parent tag
* can be found in the given child of a given parent node.
*/
*///
class TagRelationNotFound : public Exception {
......@@ -637,7 +637,7 @@ namespace cool {
*
* @author Andrea Valassi and Sven A. Schmidt
* @date 2004-12-06
*/
*///
class ValidityKeyException : public Exception {
......@@ -658,7 +658,7 @@ namespace cool {
/** @class ValidityKeyOutOfBoundaries
*
* Exception thrown when validity key is too low or too high.
*/
*///
class ValidityKeyOutOfBoundaries : public ValidityKeyException {
......@@ -686,7 +686,7 @@ namespace cool {
/** @class ValidityIntervalBackwards
*
* Exception thrown when since > until in a validity interval.
*/
*///
class ValidityIntervalBackwards : public ValidityKeyException {
......@@ -727,7 +727,7 @@ namespace cool {
*
* @author Andrea Valassi
* @date 2006-12-16
*/
*///
class InvalidChannelName : public Exception {
......@@ -769,7 +769,7 @@ namespace cool {
*
* @author Sven A. Schmidt and Andrea Valassi
* @date 2006-05-28
*/
*///
class ChannelNotFound : public Exception {
......@@ -809,7 +809,7 @@ namespace cool {
*
* @author Andrea Valassi
* @date 2006-12-16
*/
*///
class ChannelExists : public Exception {
......@@ -852,7 +852,7 @@ namespace cool {
*
* @author Sven A. Schmidt
* @date 2005-08-11
*/
*///
class InvalidChannelRange : public Exception {
......@@ -884,7 +884,7 @@ namespace cool {
*
* @author Andrea Valassi
* @date 2013-12-01
*/
*///
class InvalidFolderSpecification : public Exception {
......@@ -915,7 +915,7 @@ namespace cool {
*
* @author Andrea Valassi
* @date 2007-01-08
*/
*///
class InvalidPayloadSpecification :
#ifdef COOL290EX
......@@ -951,7 +951,7 @@ namespace cool {
*
* @author Andrea Valassi
* @date 2007-01-08
*/
*///
class PayloadSpecificationTooManyFields
: public InvalidPayloadSpecification {
......@@ -983,7 +983,7 @@ namespace cool {
*
* @author Andrea Valassi
* @date 2007-01-08
*/
*///
class PayloadSpecificationTooManyBlobFields
: public InvalidPayloadSpecification {
......@@ -1015,7 +1015,7 @@ namespace cool {
*
* @author Andrea Valassi
* @date 2007-01-10
*/
*///
class PayloadSpecificationTooManyString255Fields
: public InvalidPayloadSpecification {
......@@ -1052,7 +1052,7 @@ namespace cool {
*
* @author Andrea Valassi
* @date 2007-01-08
*/
*///
class PayloadSpecificationInvalidFieldName
: public InvalidPayloadSpecification {
......
......@@ -18,7 +18,7 @@ namespace cool
*
* @author Andrea Valassi and Martin Wache
* @date 2008-07-28
*/
*///
class FieldSelection : virtual public IRecordSelection
{
......
......@@ -24,7 +24,7 @@ namespace cool
*
* @author Andrea Valassi, Marco Clemencic and Martin Wache
* @date 2006-09-22
*/
*///
class FolderSpecification : public IFolderSpecification
{
......@@ -68,7 +68,7 @@ namespace cool
FolderSpecification( FolderVersioning::Mode mode,
const IRecordSpecification& payloadSpecification,
bool hasPayloadTable ) );
*/
*///
#endif
/*
......@@ -76,7 +76,7 @@ namespace cool
FolderSpecification( FolderVersioning::Mode mode,
const IRecordSpecification& payloadSpecification,
const IRecordSpecification& channelSpecification );
*/
*///
#ifdef COOL290VP
/// Copy constructor
......@@ -110,7 +110,7 @@ namespace cool
/// Get the channel specification (to modify it).
RecordSpecification& channelSpecification();
*/
*///
#ifndef COOL290VP
/// Get the payload table flag (const).
......
......@@ -15,7 +15,7 @@ namespace cool {
*
* @author Sven A. Schmidt and Andrea Valassi
* @date 2004-11-05
*/
*///
// Folder versioning mode.
namespace FolderVersioning
......
......@@ -10,7 +10,7 @@ namespace cool {
*
* @author Andrea Valassi
* @date 2007-03-20
*/
*///
// HVS tag lock status.
namespace HvsTagLock
......
......@@ -40,7 +40,7 @@ namespace cool
*
* @author Andrea Valassi
* @date 2007-01-17
*/
*///
class IApplication
{
......
......@@ -28,7 +28,7 @@ namespace cool
*
* @author Andrea Valassi, Sven A. Schmidt and Marco Clemencic
* @date 2004-11-09
*/
*///
class IDatabase
{
......@@ -51,13 +51,13 @@ namespace cool
/// Does the database support this payload specification?
virtual bool isValidPayloadSpecification
( const IRecordSpecification& spec ) = 0;
*/
*///
/*
/// Does the database support this channel specification?
virtual bool isValidChannelSpecification
( const IRecordSpecification& spec ) = 0;
*/
*///
/// Create a new folder set and return the corresponding manager.
/// The ownership of the folderset manager instance is shared.
......@@ -110,7 +110,7 @@ namespace cool
COOL_DEPRECATED
( virtual IFolderPtr createFolder
( const std::string& fullPath,
const IRecordSpecification& payloadSpec,
const IRecordSpecification & payloadSpec,
const std::string& description = "",
FolderVersioning::Mode mode = FolderVersioning::SINGLE_VERSION,
bool createParents = false ) ) = 0;
......
......@@ -19,7 +19,7 @@ namespace cool
*
* @author Andrea Valassi, Sven A. Schmidt and Marco Clemencic
* @date 2004-11-09
*/
*///
class IDatabaseSvc
{
......@@ -47,7 +47,7 @@ namespace cool
/// The ownership of the database manager instance is shared.
virtual IDatabasePtr createDatabase( const DatabaseId& dbId,
const IRecord& dbAttr ) const = 0;
*/
*///
/// Open an existing database and return the corresponding manager.
/// The ownership of the database manager instance is shared.
......
......@@ -10,7 +10,7 @@
#include "CoolKernel/RecordException.h"
// Forward declarations
namespace coral
namespace coral
{
class Attribute;
}
......@@ -82,9 +82,9 @@ namespace cool
*
* @author Andrea Valassi and Marco Clemencic
* @date 2006-09-28
*/
*///
class IField
class IField
{
public:
......
......@@ -53,7 +53,7 @@ namespace cool
* @author Andrea Valassi and Marco Clemencic
* @date 2006-09-22
*/
*///
class IFieldSpecification
{
......
......@@ -40,7 +40,7 @@ namespace cool
*
* @author Sven A. Schmidt, Andrea Valassi and Marco Clemencic
* @date 2004-10-27
*/
*///
class IFolder : virtual public IHvsNode
{
......@@ -95,7 +95,7 @@ namespace cool
/// Retrieve the properties of an external reference constraint
virtual const IFolder::ExternalReference&
externalReference( const std::string& name ) const = 0;
*/
*///
/// Activate/deactivate a storage buffer for bulk insertion of objects.
/// Flush the buffer when deactivating an active one.
......@@ -135,10 +135,10 @@ namespace cool
/// DEPRECATED - added for easier compatibility with COOL 1.3
/// (this is likely to be removed in a future COOL release).
COOL_DEPRECATED
( virtual void storeObject( const ValidityKey& since,
const ValidityKey& until,
( virtual void storeObject( const ValidityKey & since,
const ValidityKey & until,
const coral::AttributeList& payload,
const ChannelId& channelId,
const ChannelId & channelId,
const std::string& userTagName = "",
bool userTagOnly = false ) ) = 0;
......
......@@ -22,7 +22,7 @@ namespace cool
*
* @author Sven A. Schmidt, Andrea Valassi and Marco Clemencic
* @date 2005-06-07
*/
*///
class IFolderSet : virtual public IHvsNode
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment