Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19244466
BaseRepository.xh
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
BaseRepository.xh
View Options
// -*- C++ -*-
//
// BaseRepository.xh is a part of ThePEG - Toolkit for HEP Event Generation
// Copyright (C) 1999-2019 Leif Lonnblad
//
// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
#ifndef ThePEG_BaseRepository_XH
#define ThePEG_BaseRepository_XH
//
// This is the declarations of the exception classes used by the
// BaseRepository class.
//
#include "ThePEG/Interface/InterfaceBase.xh"
namespace ThePEG {
/** @cond EXCEPTIONCLASSES */
/** Exception class used by BaseRepository if an object does not
implement the InterfacedBase::clone() function properly. */
struct BadClassClone: public InterfaceException {
/** Standard constructor. */
BadClassClone(const InterfacedBase &);
};
/** Exception class used by BaseRepository if an objects
InterfacedBase::clone() function throws an exception. */
struct BadClone: public InterfaceException {
/** Standard constructor. */
BadClone(const InterfacedBase &);
};
/** Exception class used by BaseRepository if the name of an object in
the repository has been changed outside the repository. */
struct RepoNameException: public InterfaceException {
/** Standard constructor. */
RepoNameException(string);
};
/** Exception class used by BaseRepository if creating an object with
a name that already exists in the repository.. */
struct RepoNameExistsException: public InterfaceException {
/** Standard constructor. */
RepoNameExistsException(string);
};
/** Exception class used by BaseRepository when trying to access a
non-existing directory. */
struct RepositoryNoDirectory: public InterfaceException {
/** Standard constructor. */
RepositoryNoDirectory(string);
};
/** Exception class used by BaseRepository when trying to access a
non-existent object. */
struct RepositoryNotFound: public InterfaceException {
/** Standard constructor. */
RepositoryNotFound(string name);
};
/** Exception class used by BaseRepository if a specified object was
not of the expected class. */
struct RepositoryClassMisMatch: public InterfaceException {
/** Standard constructor. */
RepositoryClassMisMatch(const InterfacedBase & o, string name);
};
/** @endcond */
}
#endif /* ThePEG_BaseRepository_XH */
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Sep 30, 4:42 AM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6564783
Default Alt Text
BaseRepository.xh (2 KB)
Attached To
Mode
rTHEPEGHG thepeghg
Attached
Detach File
Event Timeline
Log In to Comment