void nameFactoryRegister(NameFactory< AbstractProduct > &factory)
Registers the string returned by ConcreteProduct::getStaticName() to a function that default-construc...
This class is a visitor for classes derived from Test according to the Visitor Pattern.
This class represents a test or a suite of tests according to the Composite Pattern.
virtual bool accept(TestVisitor &visitor)=0
Makes the visitor visit this object as per the Visitor Pattern.
string _name
The name passed to the constructor.
const string & getName() const
Returns the name passed to the constructor.
bool operator<(const Test &test) const
Compares names lexicographically.