Class Singleton.

Inherits Garbage

The Singleton class defines a singleton, ie. a word or phrase which may only be mentioned once in the documentation. It is used to ensure that only one Intro introduces a given Class or other Intro.

If a Singleton is created for a the same name as an already existing Singleton, error messages are omitted for both of them.

Singleton::Singleton( File * file, uint line, const String & name )

Constructs a Singleton to name, which is located at file, line.

File * Singleton::file() const

Returns the File where this Singleton was defined.

uint Singleton::line() const

Returns the line number where this Singleton was defined.

This web page based on source code belonging to Oryx Mail Systems GmbH. All rights reserved.