The Codegen Directory
The codegen directory contains generated code used internally by HydraExpress. The code in this directory should not be modified.
The codegen directory contains the following subdirectories (in bold) and makefiles:
 
codegen\
makefile, makefile_debug
client\
MyServiceProxy.cpp
makefile, makefile_debug
obj\
MyServiceProxy.obj
common\
fault_message.cpp
makefile, makefile_debug
data\
<namespace>\
DataTypeMarshal.cpp
DataType.cpp
makefile, makefile_debug
obj\
<namespace>\
DataTypeMarshal.obj
DataType.obj
etc\
<project name>-manifest.xml
server\
MyServiceBase.cpp
MyServiceSkeleton.cpp
makefile, makefile_debug
obj\
MyServiceBase.obj
MyServiceSkeleton.obj
Like the app directory, codegen includes subdirectories that sort the code into client, server, and data-related groups, and include proxies, the server skeleton, and data objects. Again, these subdirectories are created only if the generator is creating relevant code.
Note the existence of the common directory. This is generated only if code exists that is common to both the client and the server side, usually faults. The contents of the common directory are compiled into a unique library and will be used by the client and server directories.
These directories contain only code that should not be edited by the user, such as the client proxy, the server skeleton, and data objects.