Skip to content

Application Types Geneneration

dale-wilson edited this page Dec 8, 2014 · 4 revisions

mFAST provides two approaches to incorporate FAST template specification into applications.

The first (and preferred) approach is using the tool fast_type_gen to generate C++ types for corresponding FAST templates. Using the generated C++ types makes it easier to read/write application code and provides stronger type safety. It also eliminates the need to parse the XML specification at run-time and thus reduce application memory footprint. Click this sentence for information about Using fast_type_gen

The second approach is to use a template specification is to explicitly read the XML file in the application; however, this approach loses type safety and the XML parser would increase the application memory footprint. Run-time XML Parsing

Clone this wiki locally