PUMA Library Reference Manual
Loading...
Searching...
No Matches
Puma::CopyManipulator Class Reference

#include <Manipulators.h>

+ Inheritance diagram for Puma::CopyManipulator:

Public Member Functions

 CopyManipulator (Unit *buffer, Token *from, Token *to=(Token *) 0)
 
 ~CopyManipulator ()
 
const char * op () const
 
ListElementduplicate ()
 Duplicate this list element.
 
Array< Token * > & args ()
 
void args (Array< Token * > &)
 
ManipError valid (ManipMode) const
 
void manipulate ()
 
void manipulate (Unit *buffer, Token *from, Token *to=(Token *) 0)
 
- Public Member Functions inherited from Puma::Manipulator
virtual ~Manipulator ()
 
void ignore_mask (ManipIgnoreMask mim)
 
ManipIgnoreMask ignore_mask () const
 
- Public Member Functions inherited from Puma::ListElement
 ListElement ()
 Constructor.
 
virtual ~ListElement ()
 Destructor.
 
Listbelonging_to () const
 Get the list this element belongs to.
 

Additional Inherited Members

- Static Public Attributes inherited from Puma::Manipulator
static const char * copy_op
 
static const char * cut_op
 
static const char * paste_op
 
static const char * paste_before_op
 
static const char * move_op
 
static const char * move_before_op
 
static const char * kill_op
 
static const char * cpp_copy_op
 
static const char * cpp_copy_before_op
 
static const char * cpp_kill_op
 
static const char * cpp_move_op
 
static const char * cpp_move_before_op
 
static const char * sequence_op
 
static const char * cpp_replace_op
 
static const char * cpp_swap_op
 
- Protected Member Functions inherited from Puma::Manipulator
 Manipulator ()
 
int valid (Token *, Token *, ManipMode) const
 

Constructor & Destructor Documentation

◆ CopyManipulator()

Puma::CopyManipulator::CopyManipulator ( Unit * buffer,
Token * from,
Token * to = (Token *) 0 )

◆ ~CopyManipulator()

Puma::CopyManipulator::~CopyManipulator ( )
inline

Member Function Documentation

◆ args() [1/2]

Array< Token * > & Puma::CopyManipulator::args ( )
inlinevirtual

Implements Puma::Manipulator.

◆ args() [2/2]

void Puma::CopyManipulator::args ( Array< Token * > & )
virtual

Implements Puma::Manipulator.

◆ duplicate()

ListElement * Puma::CopyManipulator::duplicate ( )
inlinevirtual

Duplicate this list element.

To be implemented by concrete list element implementations.

Returns
A pointer to the new list element.

Implements Puma::Manipulator.

◆ manipulate() [1/2]

void Puma::CopyManipulator::manipulate ( )
virtual

Implements Puma::Manipulator.

◆ manipulate() [2/2]

void Puma::CopyManipulator::manipulate ( Unit * buffer,
Token * from,
Token * to = (Token*) 0 )
inline

◆ op()

const char * Puma::CopyManipulator::op ( ) const
inlinevirtual

Implements Puma::Manipulator.

◆ valid()

ManipError Puma::CopyManipulator::valid ( ManipMode ) const
virtual

Implements Puma::Manipulator.