13#ifndef MANAGED_ACTION_TRIGGER_H 
   14#define MANAGED_ACTION_TRIGGER_H 
   17#include <ThirdPartyWarningsDisable.h> 
   20#include <ThirdPartyWarningsRestore.h> 
   45#ifdef AllModifiersMask 
   46#undef AllModifiersMask 
   59      ControlModifier  = 0x20, 
 
   61      AllModifiersMask = 0x70, 
 
   69      AllButtonsMask   = 0x07,  
 
   77  static std::string 
strip(
const std::string& s);
 
   80  static std::string join(
const std::list<T>& l, 
const std::string& s);
 
 
   90    typename std::list<T>::const_iterator pos = l.begin();
 
   91    std::string 
result = (*pos).toString();
 
   93    while (pos != l.end()) {
 
   95      result += (*pos).toString();
 
 
#define SOMANAGEDINTERACTION_API
File to resolve system dependencies in View2D library.
 
ManagedActionTrigger is a base class for all triggers of managed interactions.
 
static std::string join(const std::list< T > &l, const std::string &s)
Joins a list of objects having a .toString() method, using a separator string s.
 
static std::string strip(const std::string &s)
Strips whitespaces away.
 
static std::list< std::string > splitString(const std::string &s, char c, bool doNotSplitAtLastChar=false)
 
Target mlrange_cast(Source arg)
Generic version of checked ML casts.