Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

TSE3::Cmd::Phrase_SetInfo Class Reference

Set TSE3::Phrase info Command. More...

#include <Phrase.h>

Inheritance diagram for TSE3::Cmd::Phrase_SetInfo:

Inheritance graph
[legend]
Collaboration diagram for TSE3::Cmd::Phrase_SetInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Phrase_SetInfo (TSE3::Phrase *phrase, const std::string &title, const TSE3::DisplayParams &dp)

Protected Member Functions

virtual void executeImpl ()
virtual void undoImpl ()

Detailed Description

Set TSE3::Phrase info Command.

Command to set a TSE3::Phrase's info (the title and its TSE3::DisplayParams setup).

If the TSE3::Phrase is parented in a TSE3::PhraseList and you change the title to an invalid name, then the exception generated by TSE3::PhraseList::insert() will be propragated back to you.

Author:
Pete Goodliffe
Version:
1.00
See also:
Command


Constructor & Destructor Documentation

TSE3::Cmd::Phrase_SetInfo::Phrase_SetInfo TSE3::Phrase phrase,
const std::string &  title,
const TSE3::DisplayParams dp
 

To create this command specify the TSE3::Track object to alter and the new information.

If the TSE3::Phrase is not parented, or the new title already exists in the PhraseList, then a PhraseListError is thrown.

Parameters:
phrase TSE3::Phrase to run command on
title New title string (or "" to leave title)
dp New TSE3::DisplayParams
Exceptions:
PhraseListError 


Member Function Documentation

virtual void TSE3::Cmd::Phrase_SetInfo::executeImpl  )  [protected, virtual]
 

Implements TSE3::Cmd::Command.

virtual void TSE3::Cmd::Phrase_SetInfo::undoImpl  )  [protected, virtual]
 

Implements TSE3::Cmd::Command.


The documentation for this class was generated from the following file:
Generated on Wed May 25 14:47:39 2005 for TSE3 by doxygen 1.3.2