Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxRegistryImporter.h

00001 /*
00002  *  Copyright (c) 1998, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *
00006  *  Author(s):
00007  *  Dennis Koelma (koelma@wins.uva.nl)
00008  *  Edo Poll (poll@wins.uva.nl)
00009  */
00010 
00011 #ifndef HxRegistryImporter_h
00012 #define HxRegistryImporter_h
00013 
00014 #include "HxRegistry.h"
00015 
00016 
00020 class HxRegistryImporter
00021 {
00022 public:
00024                     HxRegistryImporter(HxString fileName);
00026                     HxRegistryImporter(const char* argv[]);
00028                     HxRegistryImporter(HxRegistry&, HxString fileName);
00030                     HxRegistryImporter(HxRegistry&, const char* argv[]);
00031 };
00032 
00033 inline
00034 HxRegistryImporter::HxRegistryImporter(HxString fileName)
00035 {
00036     HxRegistry::instance().import(fileName);
00037 }
00038 
00039 inline
00040 HxRegistryImporter::HxRegistryImporter(const char* argv[])
00041 {
00042     HxRegistry::instance().import(argv);
00043 }
00044 
00045 inline
00046 HxRegistryImporter::HxRegistryImporter(HxRegistry& registry, HxString fileName)
00047 {
00048     registry.import(fileName);
00049 }
00050 
00051 inline
00052 HxRegistryImporter::HxRegistryImporter(HxRegistry& registry, const char* argv[])
00053 {
00054     registry.import(argv);
00055 }
00056 
00057 #endif

Generated on Tue Feb 3 14:18:41 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001