class Phrase_Create

Insert TSE3::Phrase Command. More...

Full nameTSE3::Cmd::Phrase_Create
Definition#include <Phrase.h>
InheritsTSE3::Cmd::Command [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Command to insert a TSE3::Phrase into a TSE3::Song by creating it from a TSE3::PhraseEdit.

This object may propagate the TSE3::PhraseListError exception if the Phrase name already exists.

See also: Command

 Phrase_Create (TSE3::PhraseList *phraseList, TSE3::PhraseEdit *phraseEdit, const std::string &title = "")

Phrase_Create

Creates a new Phrase_Create command.

After having performed the first execute() on this object it is safe to delete the PhraseEdit object. Until then you must ensure that the object is not deleted.

Parameters:
phraseTSE3::Phrase to insert
phraseListTSE3::PhraseList to insert it in

 ~Phrase_Create ()

~Phrase_Create

[virtual]

TSE3::Phrasephrase ()

phrase

[const]

Returns a pointer to the created Phrase. This is only valid once execute() had been called.

void  executeImpl ()

executeImpl

[protected virtual]

Reimplemented from Command for internal purposes..

void  undoImpl ()

undoImpl

[protected virtual]

Reimplemented from Command for internal purposes..