text: 	class @SUBFIELDNAME : public Enumeration {
    public:
  @ENUMS
  		/** Returns the string description associated with the enumerated instance with this value.
  		 * If there is no enumerated instance for this value, the string Invalid enumeration: <val> is returned.     */
  		static std::string getDescriptionForValue(int aVal);
  
  		/** Returns the enumerated instance with this value.
  		 * If there is no enumerated instance for this value, the exception is thrown.     */
  		static @SUBFIELDNAME getEnumerationForValue(int aVal) throw(EnumException);
  
  		/** Returns true if there is an enumerated instance for this value, false otherwise. */
  		static bool enumerationForValueExists(int aVal);
  
  		typedef hashMap<int,@SUBFIELDNAME*> enumContainer;
  		static enumContainer getEnumerations();
  
  		/** Returns the start bit number for this subfield */
  		static short  getStartBit() { return startBit; };
  
  		/** Returns the end bit number for this subfield */
  		static short  getEndBit()   { return endBit;   };
  
  
  	private:
  		/** Constructor */
  		@SUBFIELDNAME(int value, std::string description);
  
  		static @SUBFIELDNAME* findEnumeration(int aVal);
  		static enumContainer enumerations;
  
  		static short startBit;
  		static short endBit;
  
  	};  /* @SUBFIELDNAME */
  
  