00001 // This is mul/vpdfl/vpdfl_add_all_binary_loaders.cxx 00002 #include "vpdfl_add_all_binary_loaders.h" 00003 //: 00004 // \file 00005 00006 #include <vpdfl/vpdfl_axis_gaussian.h> 00007 #include <vpdfl/vpdfl_axis_gaussian_builder.h> 00008 #include <vpdfl/vpdfl_gaussian.h> 00009 #include <vpdfl/vpdfl_gaussian_builder.h> 00010 #include <vpdfl/vpdfl_mixture.h> 00011 #include <vpdfl/vpdfl_mixture_builder.h> 00012 #include <vpdfl/vpdfl_pc_gaussian.h> 00013 #include <vpdfl/vpdfl_pc_gaussian_builder.h> 00014 #include <vpdfl/vpdfl_gaussian_kernel_pdf.h> 00015 #include <vpdfl/vpdfl_gaussian_kernel_pdf_builder.h> 00016 00017 #include <mbl/mbl_cloneables_factory.h> 00018 00019 void vpdfl_add_all_binary_loaders() 00020 { 00021 vsl_add_to_binary_loader(vpdfl_axis_gaussian()); 00022 vsl_add_to_binary_loader(vpdfl_axis_gaussian_builder()); 00023 vsl_add_to_binary_loader(vpdfl_gaussian()); 00024 vsl_add_to_binary_loader(vpdfl_gaussian_builder()); 00025 vsl_add_to_binary_loader(vpdfl_mixture()); 00026 vsl_add_to_binary_loader(vpdfl_mixture_builder()); 00027 vsl_add_to_binary_loader(vpdfl_pc_gaussian()); 00028 vsl_add_to_binary_loader(vpdfl_pc_gaussian_builder()); 00029 vsl_add_to_binary_loader(vpdfl_gaussian_kernel_pdf()); 00030 vsl_add_to_binary_loader(vpdfl_gaussian_kernel_pdf_builder()); 00031 00032 // Also add to factories for generating from streams 00033 mbl_cloneables_factory<vpdfl_builder_base>::add(vpdfl_axis_gaussian_builder()); 00034 mbl_cloneables_factory<vpdfl_builder_base>::add(vpdfl_axis_gaussian_builder(), 00035 "axis_gaussian"); 00036 mbl_cloneables_factory<vpdfl_builder_base>::add(vpdfl_axis_gaussian_builder(), 00037 "axis_gaussian_builder"); 00038 mbl_cloneables_factory<vpdfl_builder_base>::add(vpdfl_gaussian_builder()); 00039 mbl_cloneables_factory<vpdfl_builder_base>::add(vpdfl_gaussian_builder(), 00040 "gaussian"); 00041 mbl_cloneables_factory<vpdfl_builder_base>::add(vpdfl_mixture_builder()); 00042 mbl_cloneables_factory<vpdfl_builder_base>::add(vpdfl_mixture_builder(), 00043 "mixture"); 00044 mbl_cloneables_factory<vpdfl_builder_base>::add(vpdfl_gaussian_kernel_pdf_builder()); 00045 mbl_cloneables_factory<vpdfl_builder_base>::add(vpdfl_gaussian_kernel_pdf_builder(), 00046 "gaussian_kernel"); 00047 00048 mbl_cloneables_factory<vpdfl_builder_base>::add(vpdfl_pc_gaussian_builder()); 00049 00050 }