PUMA Library Reference Manual
Puma::ManipCommander Class Reference

#include <ManipCommander.h>

Public Member Functions

 ManipCommander ()
 
 ~ManipCommander ()
 
UnitnewBuffer ()
 
void addBuffer (Unit *)
 
ManipError valid () const
 
void commit ()
 
void commit (ManipController &)
 
void add (Manipulator *)
 
void clear ()
 
void ignore_mask (ManipIgnoreMask mim)
 
ManipIgnoreMask ignore_mask () const
 
void manip_mode (ManipMode mm)
 
ManipMode manip_mode () const
 
void cut (Unit *buffer, Token *from, Token *to=(Token *) 0)
 
void copy (Unit *buffer, Token *from, Token *to=(Token *) 0)
 
void kill (Token *from, Token *to=(Token *) 0)
 
void paste (Token *behind, Unit *)
 
void paste_before (Token *before, Unit *)
 
void paste (Token *behind, Token *which)
 
void paste_before (Token *before, Token *which)
 
void replace (Token *which, Token *with)
 
void copy (Token *from, Token *to, Token *behind)
 
void move (Token *from, Token *to, Token *behind)
 
void copy_before (Token *from, Token *to, Token *before)
 
void move_before (Token *from, Token *to, Token *before)
 
void replace (Token *from1, Token *to1, Token *from2, Token *to2)
 
void swap (Token *from1, Token *to1, Token *from2, Token *to2)
 
void kill (CTree *what)
 
void copy (CTree *what, CTree *behind)
 
void move (CTree *what, CTree *behind)
 
void copy_before (CTree *what, CTree *before)
 
void move_before (CTree *what, CTree *before)
 
void replace (CTree *what, CTree *with)
 
void swap (CTree *what, CTree *with)
 

Constructor & Destructor Documentation

◆ ManipCommander()

Puma::ManipCommander::ManipCommander ( )
inline

◆ ~ManipCommander()

Puma::ManipCommander::~ManipCommander ( )

Member Function Documentation

◆ add()

void Puma::ManipCommander::add ( Manipulator )

◆ addBuffer()

void Puma::ManipCommander::addBuffer ( Unit )

◆ clear()

void Puma::ManipCommander::clear ( )

◆ commit() [1/2]

void Puma::ManipCommander::commit ( )

◆ commit() [2/2]

void Puma::ManipCommander::commit ( ManipController )

◆ copy() [1/3]

void Puma::ManipCommander::copy ( CTree what,
CTree behind 
)

◆ copy() [2/3]

void Puma::ManipCommander::copy ( Token from,
Token to,
Token behind 
)

◆ copy() [3/3]

void Puma::ManipCommander::copy ( Unit buffer,
Token from,
Token to = (Token *) 0 
)

◆ copy_before() [1/2]

void Puma::ManipCommander::copy_before ( CTree what,
CTree before 
)

◆ copy_before() [2/2]

void Puma::ManipCommander::copy_before ( Token from,
Token to,
Token before 
)

◆ cut()

void Puma::ManipCommander::cut ( Unit buffer,
Token from,
Token to = (Token *) 0 
)

◆ ignore_mask() [1/2]

ManipIgnoreMask Puma::ManipCommander::ignore_mask ( ) const
inline

◆ ignore_mask() [2/2]

void Puma::ManipCommander::ignore_mask ( ManipIgnoreMask  mim)
inline

◆ kill() [1/2]

void Puma::ManipCommander::kill ( CTree what)

◆ kill() [2/2]

void Puma::ManipCommander::kill ( Token from,
Token to = (Token *) 0 
)

◆ manip_mode() [1/2]

ManipMode Puma::ManipCommander::manip_mode ( ) const
inline

◆ manip_mode() [2/2]

void Puma::ManipCommander::manip_mode ( ManipMode  mm)
inline

◆ move() [1/2]

void Puma::ManipCommander::move ( CTree what,
CTree behind 
)

◆ move() [2/2]

void Puma::ManipCommander::move ( Token from,
Token to,
Token behind 
)

◆ move_before() [1/2]

void Puma::ManipCommander::move_before ( CTree what,
CTree before 
)

◆ move_before() [2/2]

void Puma::ManipCommander::move_before ( Token from,
Token to,
Token before 
)

◆ newBuffer()

Unit* Puma::ManipCommander::newBuffer ( )

◆ paste() [1/2]

void Puma::ManipCommander::paste ( Token behind,
Token which 
)

◆ paste() [2/2]

void Puma::ManipCommander::paste ( Token behind,
Unit  
)

◆ paste_before() [1/2]

void Puma::ManipCommander::paste_before ( Token before,
Token which 
)

◆ paste_before() [2/2]

void Puma::ManipCommander::paste_before ( Token before,
Unit  
)

◆ replace() [1/3]

void Puma::ManipCommander::replace ( CTree what,
CTree with 
)

◆ replace() [2/3]

void Puma::ManipCommander::replace ( Token from1,
Token to1,
Token from2,
Token to2 
)

◆ replace() [3/3]

void Puma::ManipCommander::replace ( Token which,
Token with 
)

◆ swap() [1/2]

void Puma::ManipCommander::swap ( CTree what,
CTree with 
)

◆ swap() [2/2]

void Puma::ManipCommander::swap ( Token from1,
Token to1,
Token from2,
Token to2 
)

◆ valid()

ManipError Puma::ManipCommander::valid ( ) const