This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __LISTENERSET_H__ | |
#define __LISTENERSET_H__ | |
#include <set> | |
/* | |
Usage: | |
class IInputListener | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C02RC5H0G8WP:dothub dsaltares$ make test | |
tox | |
GLOB sdist-make: /Users/dsaltares/github/dothub/setup.py | |
py27 inst-nodeps: /Users/dsaltares/github/dothub/.tox/dist/dothub-0.15.1.zip | |
py27 installed: betamax==0.8.0,click==6.6,coverage==4.3,deepdiff==2.5.3,dothub==0.15.1,Flask==0.12,funcsigs==1.0.2,gitdb2==2.0.0,github-token==0.1.0,GitPython==2.1.1,itsdangerous==0.24,Jinja2==2.9.4,MarkupSafe==0.23,mock==2.0.0,pbr==1.10.0,py==1.4.32,pytest==3.0.5,PyYAML==3.12,requests==2.12.4,sealedmock==0.3.0,six==1.10.0,smmap2==2.0.1,Werkzeug==0.11.15 | |
py27 runtests: PYTHONHASHSEED='3216646903' | |
py27 runtests: commands[0] | py.test tests -vvvv | |
===================================================================================== test session starts ====================================================================================== | |
platform darwin -- Python 2.7.10, pytest-3.0.5, py-1.4.32, pluggy-0.4.0 -- /Users/dsaltares/github/dothub/.tox/py27/bin/python | |
cachedir: .cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __SMARTENUM_H__ | |
#define __SMARTENUM_H__ | |
#include <cstring> | |
#define SMARTENUM_VALUE(typeName, value) e##typeName##_##value, | |
#define SMARTENUM_STRING(typeName, value) #value, | |
#define SMARTENUM_DEFINE_ENUM(typeName, values) enum typeName { values(SMARTENUM_VALUE) e##typeName##_Count, }; |