Defect descriptor specialization for the default kind "any".
- Attention
- The name of this class violates the ROSE naming convention (not PascalCase). Users should not use this class until this is fixed since the change will be API breaking.
All other defect descriptors must inherit from this descritor. It provides a static method record
which should always be used to create a defect descriptor. This method collects all descriptors and return const references. Hence, all defect descriptors can be deleted by a call to clear.
Definition at line 52 of file Defect.h.
|
template<Kind k, typename... Args> |
static defect_t< k > const & | record (Args... args) |
| Call new for the specific kind of defect, forwards all argument to the constructor. Add pointer to all.
|
|
template<typename DefectT , typename... Args> |
static DefectT const & | record (Args... args) |
| Call new for the specific defect type, forwards all argument to the constructor (requires the specialization to declare __kind)
|
|
static void | clear () |
| Delete all stored defect and clear the container.
|
|
static void | display (std::ostream &out) |
|