Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

desaxe::SetAttribute_body< Obj_Type, Data_Type > Class Template Reference

#include <simple_actions.h>

Inheritance diagram for desaxe::SetAttribute_body< Obj_Type, Data_Type >:

Inheritance graph
[legend]
Collaboration diagram for desaxe::SetAttribute_body< Obj_Type, Data_Type >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef void(Obj_Type::* FunType )(Data_Type)

Public Member Functions

 SetAttribute_body (FunType set, const Xml_string &name)
 SetAttribute_body (FunType set, const Xml_string &name, Data_Type deflt)
void begin (const Xml_string &, Xml_attr attr)

Private Attributes

FunType set_
Xml_string name_
Data_Type default_
bool hasDefault_


Detailed Description

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

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

Definition at line 400 of file simple_actions.h.


Member Typedef Documentation

template<class Obj_Type, class Data_Type>
typedef void(Obj_Type::* desaxe::SetAttribute_body< Obj_Type, Data_Type >::FunType)(Data_Type)


Constructor & Destructor Documentation

template<class Obj_Type, class Data_Type>
desaxe::SetAttribute_body< Obj_Type, Data_Type >::SetAttribute_body ( FunType  set,
const Xml_string name 
) [inline]

Definition at line 405 of file simple_actions.h.

template<class Obj_Type, class Data_Type>
desaxe::SetAttribute_body< Obj_Type, Data_Type >::SetAttribute_body ( FunType  set,
const Xml_string name,
Data_Type  deflt 
) [inline]

Definition at line 409 of file simple_actions.h.


Member Function Documentation

template<class Obj_Type, class Data_Type>
void desaxe::SetAttribute_body< Obj_Type, Data_Type >::begin ( const Xml_string ,
Xml_attr  attr 
) [inline, virtual]


Member Data Documentation

template<class Obj_Type, class Data_Type>
FunType desaxe::SetAttribute_body< Obj_Type, Data_Type >::set_ [private]

template<class Obj_Type, class Data_Type>
Xml_string desaxe::SetAttribute_body< Obj_Type, Data_Type >::name_ [private]

template<class Obj_Type, class Data_Type>
Data_Type desaxe::SetAttribute_body< Obj_Type, Data_Type >::default_ [private]

template<class Obj_Type, class Data_Type>
bool desaxe::SetAttribute_body< Obj_Type, Data_Type >::hasDefault_ [private]


The documentation for this class was generated from the following file:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.