Classes | Defines | Functions

C:/CVUT/diplomka/Automata_editor/sources/serializers.h File Reference

#include "state.h"
#include "transition.h"
#include <QStringList>
Include dependency graph for serializers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SelectionSerializer
struct  StateSerializer
struct  TransitionSerializer

Defines

#define DBGLOG_SER(x)

Functions

QDataStream & operator<< (QDataStream &out, const StateSerializer &serializer)
 qRegisterMetaTypeStreamOperators<StateSerializer>("StateSerializer"); is in editor's constructor.
QDataStream & operator<< (QDataStream &out, const SelectionSerializer &serializer)
 qRegisterMetaTypeStreamOperators<SelectionSerializer>("SelectionSerializer"); is in editor's constructor.
QDataStream & operator<< (QDataStream &out, const TransitionSerializer &serializer)
 qRegisterMetaTypeStreamOperators<TransitionSerializer>("TransitionSerializer"); is in editor's constructor.
QDataStream & operator>> (QDataStream &in, TransitionSerializer &serializer)
QDataStream & operator>> (QDataStream &in, StateSerializer &serializer)
QDataStream & operator>> (QDataStream &in, SelectionSerializer &serializer)

Define Documentation

#define DBGLOG_SER (   x  ) 

Function Documentation

QDataStream& operator<< ( QDataStream &  out,
const StateSerializer serializer 
)

qRegisterMetaTypeStreamOperators<StateSerializer>("StateSerializer"); is in editor's constructor.

Definition at line 36 of file serializers.cpp.

References StateSerializer::m_valid, and SS_PARAMS.

QDataStream& operator<< ( QDataStream &  out,
const SelectionSerializer serializer 
)

qRegisterMetaTypeStreamOperators<SelectionSerializer>("SelectionSerializer"); is in editor's constructor.

Definition at line 262 of file serializers.cpp.

References SelectionSerializer::m_hotSpot, SelectionSerializer::m_serializedStates, SelectionSerializer::m_serializedTransitions, and SelectionSerializer::m_valid.

QDataStream& operator<< ( QDataStream &  out,
const TransitionSerializer serializer 
)

qRegisterMetaTypeStreamOperators<TransitionSerializer>("TransitionSerializer"); is in editor's constructor.

Definition at line 131 of file serializers.cpp.

References DBGLOG_SER, TransitionSerializer::m_stateNames, TransitionSerializer::m_valid, and TS_PARAMS.

QDataStream& operator>> ( QDataStream &  in,
TransitionSerializer serializer 
)
QDataStream& operator>> ( QDataStream &  in,
StateSerializer serializer 
)

Definition at line 44 of file serializers.cpp.

References StateSerializer::m_valid, and SS_PARAMS.

QDataStream& operator>> ( QDataStream &  in,
SelectionSerializer serializer 
)