#include <Deleted.h>
Public Member Functions | |
Deleted (string newName, string newDescription) | |
Standard constructor. |
It should be used when an interface is removed to provide a user-friendly message indicating why it was removed and possibly which interface should be used instead.
For each deleted interface to be defined for a class T
, exactly one static object of the Deleted<T> must be created and initialized as follows:
Deleted<T> delint(name, description);
Where name
is an identifier std::string
which should only contain letters [a-zA-z0-9_] and description
is an arbitrary std::string
The Deleted
class, as all other InterfaceBase classes are mainly used in the BaseRepository class.
Definition at line 119 of file Deleted.h.
ThePEG::Deleted< T >::Deleted | ( | string | newName, | |
string | newDescription | |||
) | [inline] |