home *** CD-ROM | disk | FTP | other *** search
- // Class: CLASS_NAME Visual C++ 2.X Windows Exe
-
- #ifndef __$CAPITALIZE_ALL$CLASS_NAME$_H //Required for current class
- #define __$CAPITALIZE_ALL$CLASS_NAME$_H
-
- [ //Required for base classes
- #ifndef __$CAPITALIZE_ALL$BASE_CLASS$_H
- #include "$BASE_CLASS$.h"
- #endif
- ]
-
- [#include <INCLUDE_FILE> //Required for include files, eg <CList.h>
- ]
-
- [ //Required for 1:1 associated classes
- #ifndef __$CAPITALIZE_ALL$ASSOCIATION_ONE_CLASS$_H
- #include "$ASSOCIATION_ONE_CLASS.h"
- #endif
- ]
-
- [ //Required for 1:1 aggregation (part) classes
- #ifndef __$CAPITALIZE_ALL$AGGREGATION_ONE_CLASS$_H
- #include "$AGGREGATION_ONE_CLASS$.h"
- #endif
- ]
-
- [ //Required for 1:M associated classes
- #ifndef __$CAPITALIZE_ALL$ASSOCIATION_MANY_CLASS$_H
- #include "$ASSOCIATION_MANY_CLASS$.h"
- #endif
- ]
-
- [ //Required for 1:M aggregation (part) classes
- #ifndef __$CAPITALIZE_ALL$AGGREGATION_MANY_CLASS$_H
- #include "$AGGREGATION_MANY_CLASS$.h"
- #endif
- ]
-
- CLASS_USER1
- CLASS_USER2
-
- class CLASS_NAME[NO_RETURN NO_REPEAT: NO_REPEAT public BASE_CLASS ,DELETE_LAST_SYMBOL] CLASS_LIBRARY_BASE_CLASS
- { [ATTRIBUTE_TYPE ATTRIBUTE_NAME$;]
- [ASSOCIATION_ONE_CLASS$* ASSOCIATION_ONE_NAME$;]
- [AGGREGATION_ONE_CLASS AGGREGATION_ONE_NAME$;]
- [CList <ASSOCIATION_MANY_CLASS, ASSOCIATION_MANY_CLASS&> ASSOCIATION_MANY_NAME;]
- [CList <AGGREGATION_MANY_CLASS, AGGREGATION_MANY_CLASS&> AGGREGATION_MANY_NAME;]
- public:
- //Default constructor
- //Update to access base class attributes
- //Update to access 1:1 part class attributes
- //Update to access 1:M part class attributes
- //Update to access 1:1 associated class attributes
- //Update to access 1:M associated class attributes
- //Ensure initial values entered
- CLASS_NAME () :[NO_RETURN ATTRIBUTE_NAME(ATTRIBUTE_INITIAL_VALUE),DELETE_LAST_SYMBOL] { }
-
- [ CPP_OPERATION_VIRTUAL CPP_OPERATION_STATIC OPERATION_RETURN_TYPE OPERATION_NAME (CPP_OPERATION_PARAMETERS) CPP_OPERATION_CONSTANT CPP_OPERATION_PURE_VIRTUAL;
- ]
-
- OPERATION_CPP_VIRTUAL_BASE_CLASS ~ CLASS_NAME ( ) { } //Destructor
- };
-
- #endif