libs/EDoc/DictionarySpecific.cpp

Go to the documentation of this file.
00001 /*******************************************************************************
00002 
00003    Copyright (C) 2007 by Brendon Costa
00004 
00005    This library is free software; you can redistribute it and/or modify 
00006    it under the terms of the "LGPL Like" License defined in the file COPYING 
00007    that should have been distributed along with this source.
00008 
00009    This library is distributed in the hope that it will be useful, 
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of 
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
00012 
00013    You should have received a copy of the "LGPL Like" License 
00014    along with this library; see the file COPYING. if not, it can be 
00015    obtained from the EDoc++ website: 
00016    http://edoc.sourceforge.net/license.html
00017 
00018 *******************************************************************************/
00019 #include "config.h"
00020 
00021 #include "EDoc/DictionarySpecific.h"
00022 #include "EDoc/Dictionary.h"
00023 
00024 #include <sstream>
00025 
00026 namespace EDoc
00027 {
00028    //===========================================================================
00029    DictionarySpecific::DictionarySpecific(Dictionary* dict_in) :
00030       dict(*(dict_in ? dict_in : GetCurrentDictionaryAssert()))
00031    {
00032    }
00033    //===========================================================================
00034    std::string DictionarySpecific::ToString(std::string prefix) const
00035    {
00036       std::ostringstream stream;
00037       Print(stream, prefix);
00038       return stream.str();
00039    }
00040    //===========================================================================
00041 }

Generated on Tue Jan 20 18:26:07 2009 for EDoc-0.2.1 by  doxygen 1.5.1