class
Edit
(Return to index)
This class contains all data for the sequence editor.
It acts as a communication area between the sequence editor commands.
Type: |
Instantiable |
Include file: |
./Editor/Edit.hh |
Synopsis (including inherited members):
- Public members:
-
Edit
(Sequence*)
;
-
~Edit
()
;
-
typedef Sequence::TLine TLine
;
-
typedef Sequence::TLine::iterator iterator
;
-
bool cycle
(const PlaceRep&)
;
-
void finish
(const string&)
;
-
void flatten
()
;
-
int installMultiple
(ElementBase*,double)
;
-
int installSingle
(const PlaceRep&,ElementBase*,double)
;
-
int moveMultiple
(double)
;
-
int moveSingleAbs
(const PlaceRep&,double)
;
-
int moveSingleRel
(const PlaceRep&,const PlaceRep&,double)
;
-
void reflect
()
;
-
int removeMultiple
()
;
-
int removeSingle
(const PlaceRep&)
;
-
int replaceMultiple
(ElementBase*)
;
-
int replaceSingle
(const PlaceRep&,ElementBase*)
;
-
int select
(const RangeRep&,const string&,const string&,const string&)
;
-
void selectClear
()
;
-
void selectFull
()
;
-
Pointer<Sequence> itsSequence
;
-
Pointer<TLine> itsLine
;
-
bool isModified
;
-
EditParser parser
;
-
static Edit* block
;
Documentation:
- Public members:
-
Edit
(Sequence*)
;
- Constructor.
Prepares the given sequence for editing.
Makes a copy with all drifts removed.
-
typedef Sequence::TLine TLine
;
- The type of line contained in a sequence.
-
static Edit* block
;
- Pointer to the edit data.
-
bool cycle
(const PlaceRep&)
;
- Cycle the edit sequence.
The new start point is at start.
-
void finish
(const string&)
;
- Finish editing.
Reconstruct the modified sequence as required.
If a new name is given, make a copy, otherwise if the sequence is
modified, overwrite the original.
-
void flatten
()
;
- Flatten the edit sequence.
-
int installMultiple
(ElementBase*,double)
;
- Install multiple elements.
New element elem at position at from all selected
elements.
-
int installSingle
(const PlaceRep&,ElementBase*,double)
;
- Install element relative to place.
New element elem at position at from from
(if given) or from origin.
-
bool isModified
;
- Modify flag.
If true, the edit sequence is different from the original.
-
typedef Sequence::TLine::iterator iterator
;
- The line iterator for a sequence.
-
Pointer<TLine> itsLine
;
- The edit sequence.
-
Pointer<Sequence> itsSequence
;
- The original sequence.
-
int moveMultiple
(double)
;
- Move multiple elements.
Move all selected elements by by.
-
int moveSingleAbs
(const PlaceRep&,double)
;
- Move single element.
Move element at pos to absolute position.
-
int moveSingleRel
(const PlaceRep&,const PlaceRep&,double)
;
- Move single element.
Move element at pos by given amount.
-
EditParser parser
;
- The parser used during a sequence edit.
-
void reflect
()
;
- Reflect the edit sequence.
-
int removeMultiple
()
;
- Remove multiple elements.
Remove all selected elements.
-
int removeSingle
(const PlaceRep&)
;
- Remove single element.
Remove element at pos
-
int replaceMultiple
(ElementBase*)
;
- Replace multiple elements.
Replace all selected elements by elem.
-
int replaceSingle
(const PlaceRep&,ElementBase*)
;
- Replace single element.
Replace element at pos by elem.
-
int select
(const RangeRep&,const string&,const string&,const string&)
;
- Select elements in the edit sequence.
Use range, class and regular expression.
-
void selectClear
()
;
- Clear all selection flags.
-
void selectFull
()
;
- Set all selection flags.
Documentation generated by fci on Mon Feb 7 12:29:49 2000