Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

WeederConfig.C

Go to the documentation of this file.
00001 // Copyright (C) 2001, Compaq Computer Corporation
00002 // 
00003 // This file is part of Vesta.
00004 // 
00005 // Vesta is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU Lesser General Public
00007 // License as published by the Free Software Foundation; either
00008 // version 2.1 of the License, or (at your option) any later version.
00009 // 
00010 // Vesta is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 // Lesser General Public License for more details.
00014 // 
00015 // You should have received a copy of the GNU Lesser General Public
00016 // License along with Vesta; if not, write to the Free Software
00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 
00019 // Created on Tue Mar  4 11:57:33 PST 1997 by heydon
00020 
00021 // Last modified on Tue Nov 13 13:09:23 EST 2001 by ken@xorian.net
00022 //      modified on Sun Oct 26 15:55:59 PST 1997 by heydon
00023 
00024 #include <Basics.H>
00025 #include <ReadConfig.H>
00026 #include <CacheConfig.H>
00027 
00028 #include "WeederConfig.H"
00029 
00030 // Section names in Vesta configuration file
00031 const char *Config_WeederSection = "Weeder";
00032 
00033 // Values from Vesta configuration file
00034 const Text Config_WeederMDDir(
00035   ReadConfig::TextVal(Config_WeederSection, "MetaDataDir"));
00036 const Text Config_Weeded(
00037   ReadConfig::TextVal(Config_WeederSection, "Weeded"));
00038 const Text Config_MiscVars(
00039   ReadConfig::TextVal(Config_WeederSection, "MiscVars"));
00040 const Text Config_PendingGL(
00041   ReadConfig::TextVal(Config_WeederSection, "PendingGL"));
00042 const Text Config_WorkingGL(
00043   ReadConfig::TextVal(Config_WeederSection, "WorkingGL"));
00044 const int  Config_GLNodeBuffSize =
00045   ReadConfig::IntVal(Config_WeederSection, "GLNodeBuffSize");
00046 const int  Config_DIBuffSize =
00047   ReadConfig::IntVal(Config_WeederSection, "DIBuffSize");
00048 const Text WeedConfig_CacheHost(
00049   ReadConfig::TextVal(Config_WeederSection, "CacheHost"));
00050 const Text WeedConfig_CachePort(
00051   ReadConfig::TextVal(Config_WeederSection, "CachePort"));
00052 const Text WeedConfig_CacheMDRoot(
00053   ReadConfig::TextVal(Config_WeederSection, "CacheMDRoot"));
00054 const Text WeedConfig_CacheMDDir(
00055   ReadConfig::TextVal(Config_WeederSection, "CacheMDDir"));
00056 const Text WeedConfig_CacheGLDir(
00057   ReadConfig::TextVal(Config_WeederSection, "CacheGLDir"));
00058 
00059 // Values formed from configuration values
00060 const Text Config_WeederMDPath(Config_MDRoot +'/'+ Config_WeederMDDir);
00061 const Text Config_WeededFile(Config_WeederMDPath +'/'+ Config_Weeded);
00062 const Text Config_MiscVarsFile(Config_WeederMDPath +'/'+Config_MiscVars);
00063 const Text Config_PendingGLFile(Config_WeederMDPath +'/'+Config_PendingGL);
00064 const Text Config_WorkingGLFile(Config_WeederMDPath +'/'+Config_WorkingGL);

Generated on Mon May 8 00:48:59 2006 for Vesta by  doxygen 1.4.2