PUMA Library Reference Manual
Puma::Manipulator Class Referenceabstract

#include <Manipulators.h>

+ Inheritance diagram for Puma::Manipulator:

Public Member Functions

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

Static Public Attributes

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

 Manipulator ()
 
int valid (Token *, Token *, ManipMode) const
 

Constructor & Destructor Documentation

◆ Manipulator()

Puma::Manipulator::Manipulator ( )
inlineprotected

◆ ~Manipulator()

virtual Puma::Manipulator::~Manipulator ( )
inlinevirtual

Member Function Documentation

◆ args() [1/2]

◆ args() [2/2]

◆ duplicate()

◆ ignore_mask() [1/2]

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

◆ ignore_mask() [2/2]

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

◆ manipulate()

◆ op()

◆ valid() [1/2]

◆ valid() [2/2]

int Puma::Manipulator::valid ( Token ,
Token ,
ManipMode   
) const
protected

Member Data Documentation

◆ copy_op

const char* Puma::Manipulator::copy_op
static

◆ cpp_copy_before_op

const char* Puma::Manipulator::cpp_copy_before_op
static

◆ cpp_copy_op

const char* Puma::Manipulator::cpp_copy_op
static

◆ cpp_kill_op

const char* Puma::Manipulator::cpp_kill_op
static

◆ cpp_move_before_op

const char* Puma::Manipulator::cpp_move_before_op
static

◆ cpp_move_op

const char* Puma::Manipulator::cpp_move_op
static

◆ cpp_replace_op

const char* Puma::Manipulator::cpp_replace_op
static

◆ cpp_swap_op

const char* Puma::Manipulator::cpp_swap_op
static

◆ cut_op

const char* Puma::Manipulator::cut_op
static

◆ kill_op

const char* Puma::Manipulator::kill_op
static

◆ move_before_op

const char* Puma::Manipulator::move_before_op
static

◆ move_op

const char* Puma::Manipulator::move_op
static

◆ paste_before_op

const char* Puma::Manipulator::paste_before_op
static

◆ paste_op

const char* Puma::Manipulator::paste_op
static

◆ sequence_op

const char* Puma::Manipulator::sequence_op
static