Scribus
Open source desktop publishing at your fingertips
desaxe::SetAttributeWithConversion_body< Obj_Type, Data_Type > Class Template Reference

#include <simple_actions.h>

Inheritance diagram for desaxe::SetAttributeWithConversion_body< Obj_Type, Data_Type >:
Collaboration diagram for desaxe::SetAttributeWithConversion_body< Obj_Type, Data_Type >:

Public Types

typedef void(Obj_Type::* FunType) (Data_Type)
 
typedef Data_Type(* ConvType) (const Xml_string &)
 

Public Member Functions

 SetAttributeWithConversion_body (FunType set, const Xml_string &name, ConvType conv)
 
 SetAttributeWithConversion_body (FunType set, const Xml_string &name, ConvType conv, Data_Type deflt)
 
void begin (const Xml_string &, Xml_attr attr)
 

Additional Inherited Members

- Protected Member Functions inherited from desaxe::Action_body
virtual void end (const Xml_string &)
 
virtual void chars (const Xml_string &)
 
virtual void reset ()
 
- Protected Attributes inherited from desaxe::Action_body
Digesterdig
 

Detailed Description

template<class Obj_Type, class Data_Type>
class desaxe::SetAttributeWithConversion_body< Obj_Type, Data_Type >

Stores named attribute to the topmost object on the stack if attribute present, or stores default if present.


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