00001 // 00002 // Part of the ht://Dig package <http://www.htdig.org/> 00003 // Copyright (c) 1999, 2000, 2001 The ht://Dig Group 00004 // For copyright details, see the file COPYING in your distribution 00005 // or the GNU General Public License version 2 or later 00006 // <http://www.gnu.org/copyleft/gpl.html> 00007 // 00008 // $Id: WordMatch_8cc-source.html,v 1.1 2008/06/08 10:13:15 sebdiaz Exp $ 00009 // 00010 #ifdef HAVE_CONFIG_H 00011 #include <config.h> 00012 #endif /* HAVE_CONFIG_H */ 00013 00014 #ifdef HAVE_UNISTD_H 00015 #include <unistd.h> 00016 #endif /* HAVE_UNISTD_H */ 00017 00018 #include <WordMatch.h> 00019 00020 String WordMatch::Get() const 00021 { 00022 String tmp; 00023 match.Get(tmp); 00024 if(!info.empty()) 00025 tmp << "(" << info << ")"; 00026 return tmp; 00027 }