Ginga  0.13.6.1771-df200
The iTV middleware.
Context.cpp File Reference
#include "aux-ginga.h"
#include "Context.h"
#include "Document.h"
Include dependency graph for Context.cpp:

Macros

#define COND_TOSTRING(str, act)
 
#define ACT_TOSTRING(str, act)
 

Macro Definition Documentation

#define ACT_TOSTRING (   str,
  act 
)
Value:
G_STMT_START \
{ \
((act).transition); \
(str) += "(" + (act).event->getFullId (); \
if ((act).event->getType () == Event::ATTRIBUTION) \
(str) += ":='" + (act).value + "'"; \
(str) += ")"; \
} \
G_STMT_END
Definition: Event.h:34
static string getEventTransitionAsString(Event::Transition)
Definition: Event.cpp:238

Referenced by Context::toString().

#define COND_TOSTRING (   str,
  act 
)
Value:
G_STMT_START \
{ \
((act).transition); \
(str) += "(" + (act).event->getFullId (); \
if ((act).predicate != nullptr) \
(str) += " ? " + (act).predicate->toString (); \
(str) += ")"; \
} \
G_STMT_END
static string getEventTransitionAsString(Event::Transition)
Definition: Event.cpp:238

Referenced by Context::toString().