Home|News blank.gif
When Design Matters CoreLinux++ CoreLinux Consortium
blank.gif
CoreLinux++
blank.gif
Goals
blank.gif
Developer's Corner
blank.gif
Contacts
Builder Class Report
Builder Class Report
Generated at: Fri, Feb 04, 2000
10:08:43



TABLE OF CONTENTS
REPORT BODY

Class report
Data package
Developer class
Implementor class
Component View package
corelinux package
Builder class
AbstractFactory class
Allocator class
AbstractAllocator class
SolutionSpace package
Part class
Product class
FactoryImpl<Identifier> class
BuilderImpl<Product> class

Model dictionary

SUMMARY


REPORT BODY

Class report

package Data
class Developer
Stereotype:   <<actor>>
Documentation:
Developer extends patterns for use in a solution space

class Implementor
Superclasses:
Data::Developer

Stereotype:   <<actor>>
Documentation:
Implementor is a developer that interfaces the extension types into applications in the solution space.


package Data::Component View

package Data::corelinux
abstract class Builder < ProductImpl >
Documentation:
Builder seperates the construction of a complex object from its representation so that the same construction process can create different representations. This differs from AbstractFactory in that the Factory creates parts and Builder creates Products (assembled parts).
Attributes:
private   theCurrentProduct  :  ProductImplPtr = NULLPTR
Documentation:
The product currently being built
private   theProductCreates  :  Count = 0
Documentation:
The number of products this builder has created.
private   theProductDestroys  :  Count = 0
Documentation:
The number of products this builder has destroyed.

Operations:
protected   Builder ( [Unnamed] : void )
Stereotype:   <<constructor>>
Documentation:
Default constructor
public   Builder ( aBuilder : Builder )
Stereotype:   <<constructor>>
Documentation:
Copy constructor
public   ~Builder ( [Unnamed] : void )
Stereotype:   <<destructor>>
Documentation:
Virtual Destructor
public   Builder  operator= ( aBuilder : Builder )
Stereotype:   <<operator>>
Documentation:
Assignment operator
public   bool  operator== ( aBuilder : Builder )
Stereotype:   <<operator>>
Documentation:
Equality operator
public   Builder ( aFactory : AbstractFactory )
Stereotype:   <<constructor>>
Documentation:
Default Builder constructor requires a AbstractFactory instance.
public   ProductImpl  create ( [Unnamed] : void )
Stereotype:   <<constructor>>
Documentation:
Create a Product of type ProductImpl and return it to the caller. Increments a create count after successful call to createProduct protected pure virtual.
public   void  destroy ( aProduct : ProductImpl )
Stereotype:   <<destructor>>
Documentation:
Destroys and Product instance of type ProductImpl. The default behavior increments a destroy count after a successful call to destroyProduct protected pure virtual.
protected abstract  ProductImpl  createProduct ( [Unnamed] : void )
Stereotype:   <<constructor>>
Constraints:  {query}
Documentation:
Create a Product instance.
protected abstract  void  destroyProduct ( aProduct : ProductImpl )
Stereotype:   <<destructor>>
Constraints:  {query}
Documentation:
Destroys a Product instance.
public   ProductImpl  getCurrentProduct ( [Unnamed] : void )
Stereotype:   <<getter>>
Constraints:  {query}
Documentation:
Retrieves the most currently created Product of type ProductImpl
public   Count  getProductCreates ( [Unnamed] : void )
Stereotype:   <<getter>>
Constraints:  {query}
Documentation:
Retrieve the number of products this Builder has created.
public   Count  getProductDestroys ( [Unnamed] : void )
Stereotype:   <<getter>>
Constraints:  {query}
Documentation:
Retrieves the count of products built.

abstract class AbstractFactory < KeyImpl >
Documentation:
AbstractFactory provides the interface for creating families or dependent objects without specifying their concrete classes.

abstract class Allocator
Documentation:
Allocator is a base class that maintains the instrumentation and identity for all Allocators.

abstract class AbstractAllocator < TypeImpl >
Documentation:
AbstractAllocator extends Allocator and provides for Type specification.


package Data::SolutionSpace
abstract class Part
Documentation:
Domain part (bit).

abstract class Product
Documentation:
Domain product type.

class FactoryImpl<Identifier>
Superclasses:
Data::corelinux::AbstractFactory

Documentation:
Factory implementation with domain idetnfiers, creates requested parts.

class BuilderImpl<Product>
Superclasses:
Data::corelinux::Builder

Documentation:
Builder implementation for domain product types.
Operations:
protected   Product  createProduct ( [Unnamed] : void )
Stereotype:   <<constructor>>
Constraints:  {query}
Documentation:
Create a Product instance.
protected   void  destroyProduct ( aProduct : Product )
Stereotype:   <<destructor>>
Constraints:  {query}
Documentation:
Destroys a Product instance.
public   BuilderImpl ( aFactory : FactoryImpl )
Stereotype:   <<constructor>>
Documentation:
Default constructor requires a Factory instance.



Model dictionary
A   B   C   D   F   G   I   O   P   S   T   ~   

A

AbstractAllocator class from package corelinux AbstractAllocator extends Allocator and provides for Type specification.
AbstractFactory class from package corelinux AbstractFactory provides the interface for creating families or dependent objects without specifying their concrete classes.
Allocator class from package corelinux Allocator is a base class that maintains the instrumentation and identity for all Allocators.

B

Builder class from package corelinux Builder seperates the construction of a complex object from its representation so that the same construction process can create different representations. This differs from AbstractFactory in that the Factory creates parts and Builder creates Products (assembled parts).
Builder operation from class corelinux.Builder Default constructor
Builder operation from class corelinux.Builder Copy constructor
Builder operation from class corelinux.Builder Default Builder constructor requires a AbstractFactory instance.
BuilderImpl operation from class SolutionSpace.BuilderImpl Default constructor requires a Factory instance.
BuilderImpl class from package SolutionSpace Builder implementation for domain product types.

C

Component View package
corelinux package
create operation from class corelinux.Builder Create a Product of type ProductImpl and return it to the caller. Increments a create count after successful call to createProduct protected pure virtual.
createProduct operation from class corelinux.Builder Create a Product instance.
createProduct operation from class SolutionSpace.BuilderImpl Create a Product instance.

D

Data package
destroy operation from class corelinux.Builder Destroys and Product instance of type ProductImpl. The default behavior increments a destroy count after a successful call to destroyProduct protected pure virtual.
destroyProduct operation from class corelinux.Builder Destroys a Product instance.
destroyProduct operation from class SolutionSpace.BuilderImpl Destroys a Product instance.
Developer class Developer extends patterns for use in a solution space

F

FactoryImpl class from package SolutionSpace Factory implementation with domain idetnfiers, creates requested parts.

G

getCurrentProduct operation from class corelinux.Builder Retrieves the most currently created Product of type ProductImpl
getProductCreates operation from class corelinux.Builder Retrieve the number of products this Builder has created.
getProductDestroys operation from class corelinux.Builder Retrieves the count of products built.

I

Implementor class Implementor is a developer that interfaces the extension types into applications in the solution space.

O

operator= operation from class corelinux.Builder Assignment operator
operator== operation from class corelinux.Builder Equality operator

P

Part class from package SolutionSpace Domain part (bit).
Product class from package SolutionSpace Domain product type.

S

SolutionSpace package

T

theCurrentProduct attribute from class corelinux.Builder The product currently being built
theProductCreates attribute from class corelinux.Builder The number of products this builder has created.
theProductDestroys attribute from class corelinux.Builder The number of products this builder has destroyed.

~

~Builder operation from class corelinux.Builder Virtual Destructor

SUMMARY
Total packages reported:     4
Total classes reported:      10
Total attributes reported:      3
Total operations reported:      16


Copyright © 1999, 2000 by CoreLinux Consortium
This material may be distributed only subject to the terms and conditions set forth in the Open Publication License
Contacts
- contact the webmaster
News
Powered / Hosted by

SourceForge.net
Contributor
NoMagic, inc.
thanks Gary!
Cool OO Sites
cetus
corba
omg
patterns
  Made with xemacs / php Comments to webmaster blank.gif