Public Member Functions | Public Attributes

StateSerializer Struct Reference

#include <serializers.h>

List of all members.

Public Member Functions

 StateSerializer ()
 StateSerializer (const State &state)
 serialize state info
 StateSerializer (const StateSerializer &other)
 copy constructor
StatecreateState (Editor *editor, const QPoint &pos)
 returns new state instance, owner is to be delete it

Public Attributes

bool m_dimmed
QString m_dimStateFillColor
QString m_dimStateLabelColor
float m_dimStateLineCoef
QString m_dimStateLineColor
unsigned char m_dimStateLineStyle
QString m_label
QPointF m_pos
 needed when pasted in selection
QString m_stateFillColor
unsigned char m_stateFillStatus
QString m_stateLabelColor
float m_stateLabelScale
int m_stateLabelSize
QString m_stateLineColor
float m_stateLineDoubleCoef
float m_stateLineDoubleSep
unsigned char m_stateLineStyle
float m_stateLineWidth
QString m_stateName
 holds original state name -> for copying transitions
QString m_typeName
 state typeName (StateManager create state according to this)
bool m_valid
 if true, contains real state

Detailed Description

Definition at line 17 of file serializers.h.


Constructor & Destructor Documentation

StateSerializer::StateSerializer (  )  [inline]

Definition at line 19 of file serializers.h.

StateSerializer::StateSerializer ( const State state  ) 

serialize state info

Definition at line 52 of file serializers.cpp.

StateSerializer::StateSerializer ( const StateSerializer other  ) 

copy constructor

Definition at line 65 of file serializers.cpp.


Member Function Documentation

State * StateSerializer::createState ( Editor editor,
const QPoint &  pos 
)

Member Data Documentation

Definition at line 35 of file serializers.h.

Referenced by createState().

Definition at line 49 of file serializers.h.

Referenced by createState().

Definition at line 48 of file serializers.h.

Referenced by createState().

Definition at line 47 of file serializers.h.

Referenced by createState().

Definition at line 46 of file serializers.h.

Referenced by createState().

Definition at line 45 of file serializers.h.

Referenced by createState().

Definition at line 33 of file serializers.h.

Referenced by createState().

needed when pasted in selection

Definition at line 31 of file serializers.h.

Definition at line 43 of file serializers.h.

Referenced by createState().

Definition at line 42 of file serializers.h.

Referenced by createState().

Definition at line 40 of file serializers.h.

Referenced by createState().

Definition at line 41 of file serializers.h.

Referenced by createState().

Definition at line 54 of file serializers.h.

Referenced by createState().

Definition at line 39 of file serializers.h.

Referenced by createState().

Definition at line 51 of file serializers.h.

Referenced by createState().

Definition at line 52 of file serializers.h.

Referenced by createState().

Definition at line 37 of file serializers.h.

Referenced by createState().

Definition at line 38 of file serializers.h.

Referenced by createState().

holds original state name -> for copying transitions

Definition at line 30 of file serializers.h.

state typeName (StateManager create state according to this)

Definition at line 32 of file serializers.h.

Referenced by createState().

if true, contains real state

Definition at line 28 of file serializers.h.

Referenced by createState(), operator<<(), and operator>>().


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