Genlib's member tag

Syntax:

members class [ :base-class-list ] {
class interface declarations
}

A members tag marks code that is to be inserted in the class interface (header) file. This includes regular member function / instance variable declarations. Instance variables that are containers of other classes are normally specified with the provide tag instead of being included in members. Similarly, constructors and destructors are specified with constructor and destructor tags, and inline code with the inlinecode tag.

By default, the declarations in the members statement are private, which can be changed with normal C++ mechanisms (i.e. public:, protected:).

If class needs to inherit from other base classes, this can be specified by including the optional base-class-list part of the members statement, the syntax of which is identical to the normal C++ syntax for specifying base classes for a derived class.