pwfengine
Public Slots | Public Member Functions
PAttemptSchema Class Reference

The action creates a new schema given its name and check its validity for the given wrapper. More...

#include <PAttemptSchema.h>

Inheritance diagram for PAttemptSchema:
PAction

List of all members.

Public Slots

virtual void start ()

Public Member Functions

 PAttemptSchema (const QString &schemaName, PWrapper *wrapper, PWrapperCache *wrapperCache)
 ~PAttemptSchema ()
PSchemaschema () const

Detailed Description

The action creates a new schema given its name and check its validity for the given wrapper.

It's duty of the user to take and delete the schema if the action succeded, otherwise, if the action has failed or has been stopped, the schema will deleted at destruction time.

Note:
if the action has been already used and is started again, then the old schema is intended as useless and will be destructed.

Constructor & Destructor Documentation

PAttemptSchema::PAttemptSchema ( const QString &  schemaName,
PWrapper wrapper,
PWrapperCache wrapperCache 
)
Note:
the wrapper becomes the parent of this object.
PAttemptSchema::~PAttemptSchema ( )

Delete the schema if the attempt has not succeded.


Member Function Documentation

void PAttemptSchema::start ( ) [virtual, slot]
Warning:
the method deletes the old schema if exists.

Reimplemented from PAction.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Enumerator