60 for (
int i = 0; i <
size(); ++i) {
64 names +=
"\""+
name(i)+
"\"";
87 os << registry.
print();
103 log << registry.
print();
Interface class for registries.
std::string content(void) const
Return list of names in registry.
Information logger interface definition.
GVector log(const GVector &vector)
Computes natural logarithm of vector elements.
std::ostream & operator<<(std::ostream &os, const GBase &base)
Output operator.
Information logger class definition.
virtual std::string print(const GChatter &chatter=NORMAL) const =0
Print content of object.
Interface class definition for registries.
virtual int size(void) const =0
Return number of classes in registry.
virtual std::string name(const int &index) const =0
Return name of registered class by index.