Changes between Version 6 and Version 7 of code/doc/Factory
- Timestamp:
- Oct 18, 2008, 1:11:49 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/Factory
v6 v7 4 4 == Description == 5 5 6 The Factory is a [wiki:singleton] that maps [wiki:Identifier Identifiers] with their name and their network ID. The Factory is used by the !CreateFactory(classname) macro to add new entries. The ClassBy Name("classname") and ClassByID(network ID) macros use the Factory to retrieve an [wiki:Identifier] with a given classname or a given network ID respectively. See [wiki:CoreIncludes] for more information.6 The Factory is a [wiki:singleton] that maps [wiki:Identifier Identifiers] with their name and their network ID. The Factory is used by the !CreateFactory(classname) macro to add new entries. The ClassByString("classname") and ClassByID(network ID) macros use the Factory to retrieve an [wiki:Identifier] with a given classname or a given network ID respectively. See [wiki:CoreIncludes] for more information. 7 7 8 The ClassBy Nameand ClassByID macros are an abbreviation of the static function Factory::getIdentifier("name" or ID). The Factory also handles the change of a network ID to avoid conflicts with ambiguous map-entries.8 The ClassByString and ClassByID macros are an abbreviation of the static function Factory::getIdentifier("name" or ID). The Factory also handles the change of a network ID to avoid conflicts with ambiguous map-entries. 9 9 10 10 == Functions ==