OutputProcessing protocol reference

OutputProcessing.h

Overview

The OutputProcessing protocol defines methods that an output processing or generating class must implement.

The methods consist of two groups. The main group is associated with the actual output generation, while the helper group with additional tasks such as creating and removing directories.

Tasks

Output generation entry points

Instance methods

generateOutput

Notifies output generator to start processing the data and generate output.

- (void)generateOutput
Exceptions
NSException

Thrown if output generation fails.

Discussion

This message is sent only to conformers which return YES from isOutputGenerationEnabled. The conformers which receive the message should process it without having to check again. It is the responsibility of the clients to ensure that this message is sent only if output generation is enabled.

See also
Declared in
OutputProcessing.h

Properties

isOutputGenerationEnabled

Determines whether the specific output handled by conformer should be generated or not.

@property BOOL isOutputGenerationEnabled
Discussion

This answers the question "did user select the given output generation or not?".

See also
Declared in
OutputProcessing.h

© 2008-2009 Tomaz Kragelj. All rights reserved. (Last updated: 2009-08-24)
Back to index / hierarchy.