Home|News blank.gif
When Design Matters CoreLinux++ CoreLinux Consortium
blank.gif
CoreLinux++
blank.gif
Goals
blank.gif
Developer's Corner
blank.gif
Contacts
Decorator Class Report
Decorator Class Report
Generated at: Sat, Jan 22, 2000
09:20:28



TABLE OF CONTENTS
REPORT BODY

Class report
Data package
Developer class
CoreLinuxObject class
Decorator class
ImplementationComponent class
ConcreteDecorator<ImplementationComponent> class
Component View package

Model dictionary

SUMMARY


REPORT BODY

Class report

package Data
class Developer
Stereotype:   <<actor>>
Documentation:
Developer extends the Decorator pattern for a particular implementation

class CoreLinuxObject
Documentation:
The CoreLinuxObject is a base class in the libcorelinux library. It is not pervasive.

class Decorator < Implementation >
Superclasses:
Data::CoreLinuxObject

Documentation:
Decorator attaches additional responsibilities to an object dynamically.
Attributes:
protected   theImplementation  :  Implementation
Documentation:
The implementation instance

Operations:
protected   Decorator ( [Unnamed] : void )
Stereotype:   <<constructor>>
Documentation:
Default constructor is not allowed in base as the invarient is to have a Implementation.
public   Decorator ( aImplementation : Implementation )
aImplementation : Implementation
Documentation:
The implementation instance.
Stereotype:   <<constructor>>
Documentation:
Constructor that takes an Implementation instance.
public   Decorator ( aDecorator : DecoratorCref )
aDecorator : DecoratorCref
Documentation:
A const reference to a Decorator.
Stereotype:   <<constructor>>
Documentation:
Copy constructor.
public   ~Decorator ( [Unnamed] : void )
Stereotype:   <<destructor>>
Documentation:
Virtual Destructor.
public   DecoratorRef  operator= ( aDecorator : DecoratorCref )
aDecorator : DecoratorCref
Documentation:
A Decorator const reference.
Stereotype:   <<setter>>
Documentation:
Assignment operator overload.
public   bool  operator== ( aDecorator : DecoratorCref )
aDecorator : DecoratorCref
Documentation:
Decorator const reference.
Stereotype:   <<getter>>
Constraints:  {query}
Documentation:
Equality operator returns true if Decorator instance and theImplementation are equal to the argument.
public   setImplementation ( theimplementation : Implementation )
Stereotype:   <<setter>>
Documentation:
Sets theImplementation in the decorator instance.
public   Implementation  getImplementation ( [Unnamed] : void )
Stereotype:   <<getter>>
Constraints:  {query}
Documentation:
Retrieves theImplementation

class ImplementationComponent
Stereotype:   <<implementationClass>>
Documentation:
A Component that the decorator is adding responsibility to.
Operations:
public abstract  operation ( )
Documentation:
The operation or operations that are to be "decorated"

class ConcreteDecorator<ImplementationComponent> < Implementation >
Superclasses:
Data::Decorator
Data::ImplementationComponent

Stereotype:   <<implementationClass>>
Documentation:
The ConcreteDecorator is a Decorator instance that adds responsibility to the operations of a ImplementationComponent.
Operations:
public   operation ( )
Documentation:
The operation that the decorator adds responsibility to.


package Data::Component View


Model dictionary
C   D   G   I   O   S   T   ~   

C

Component View package
ConcreteDecorator class The ConcreteDecorator is a Decorator instance that adds responsibility to the operations of a ImplementationComponent.
CoreLinuxObject class The CoreLinuxObject is a base class in the libcorelinux library. It is not pervasive.

D

Data package
Decorator operation from class Decorator Default constructor is not allowed in base as the invarient is to have a Implementation.
Decorator operation from class Decorator Constructor that takes an Implementation instance.
Decorator operation from class Decorator Copy constructor.
Decorator class Decorator attaches additional responsibilities to an object dynamically.
Developer class Developer extends the Decorator pattern for a particular implementation

G

getImplementation operation from class Decorator Retrieves theImplementation

I

ImplementationComponent class A Component that the decorator is adding responsibility to.

O

operation operation from class ImplementationComponent The operation or operations that are to be "decorated"
operation operation from class ConcreteDecorator The operation that the decorator adds responsibility to.
operator= operation from class Decorator Assignment operator overload.
operator== operation from class Decorator Equality operator returns true if Decorator instance and theImplementation are equal to the argument.

S

setImplementation operation from class Decorator Sets theImplementation in the decorator instance.

T

theImplementation attribute from class Decorator The implementation instance

~

~Decorator operation from class Decorator Virtual Destructor.

SUMMARY
Total packages reported:     2
Total classes reported:      5
Total attributes reported:      1
Total operations reported:      10


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