Click here to Skip to main content
15,891,033 members
Articles / Programming Languages / C++

A Lightweight Implementation of UML Statecharts in C++

Rate me:
Please Sign up or sign in to vote.
4.68/5 (17 votes)
23 Aug 20078 min read 96.6K   2K   39  
This lightweight class allows you to easily implement a UML statechart in C++.
//
// Module Name:	StdType.h
//
// Description:	Header file defining standard types.
//
// Copyright (c) 2000-2007, Grant Schultz.  All rights reserved.
//
#if !defined(__STDTYPE_H__)
#define __STDTYPE_H__

typedef   unsigned char       bit8;
typedef   char                int8;
typedef   unsigned char       uint8;

typedef   unsigned short      bit16;
typedef   short               int16;
typedef   unsigned short      uint16;

typedef   unsigned long       bit32;
typedef   long                int32;
typedef   unsigned long       uint32;

typedef   unsigned int        sizetype;

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions