Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Types | Public Member Functions | Public Attributes
desaxe::PRIVATE::Patch2< ObjType, LinkType > Struct Template Reference

#include <digester.h>

Inheritance diagram for desaxe::PRIVATE::Patch2< ObjType, LinkType >:
Inheritance graph
[legend]
Collaboration diagram for desaxe::PRIVATE::Patch2< ObjType, LinkType >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef void(ObjType::* FunType2 )(LinkType *)

Public Member Functions

 Patch2 (ObjType *ob, FunType2 fn, Patch *nxt=NULL)
void run (VarPtr link)

Public Attributes

ObjType * obj
FunType2 fun
Patchnext

Detailed Description

template<class ObjType, class LinkType>
struct desaxe::PRIVATE::Patch2< ObjType, LinkType >

Definition at line 283 of file digester.h.


Member Typedef Documentation

template<class ObjType , class LinkType >
typedef void(ObjType::* desaxe::PRIVATE::Patch2< ObjType, LinkType >::FunType2)(LinkType *)

Definition at line 285 of file digester.h.


Constructor & Destructor Documentation

template<class ObjType , class LinkType >
desaxe::PRIVATE::Patch2< ObjType, LinkType >::Patch2 ( ObjType *  ob,
FunType2  fn,
Patch nxt = NULL 
) [inline]

Definition at line 289 of file digester.h.

: Patch(nxt), obj(ob), fun(fn) {}

Member Function Documentation

template<class ObjType , class LinkType >
void desaxe::PRIVATE::Patch2< ObjType, LinkType >::run ( VarPtr  link) [inline, virtual]

Implements desaxe::PRIVATE::Patch.

Definition at line 291 of file digester.h.

              {
                     (obj->*fun)( static_cast<LinkType*>(link.ptr) ); 
              }

Member Data Documentation

template<class ObjType , class LinkType >
FunType2 desaxe::PRIVATE::Patch2< ObjType, LinkType >::fun

Definition at line 287 of file digester.h.

Definition at line 81 of file digester.h.

template<class ObjType , class LinkType >
ObjType* desaxe::PRIVATE::Patch2< ObjType, LinkType >::obj

Definition at line 286 of file digester.h.


The documentation for this struct was generated from the following file: