1
//=============================================================================
4
// $Id: stringparam.h,v 1.0.0.0 2010/04/24 01:01:01 terminator356 Exp $
6
// Copyright (C) 1999-2010 by Werner Schweer and others
8
// This program is free software; you can redistribute it and/or modify
9
// it under the terms of the GNU General Public License version 2.
11
// This program is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
// GNU General Public License for more details.
16
// You should have received a copy of the GNU General Public License
17
// along with this program; if not, write to the Free Software
18
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
//=============================================================================
22
#ifndef __STRINGPARAM_H__
23
#define __STRINGPARAM_H__
31
//typedef std::pair<std::string, std::string > StringParamMapItem;
32
typedef std::map<std::string, std::string >::iterator iStringParamMap;
33
typedef std::map<std::string, std::string >::const_iterator ciStringParamMap;
35
class StringParamMap : public std::map<std::string, std::string >
38
void set(const char* /*key*/, const char* /*value*/);
39
void remove(const char* /*key*/);
41
iStringParamMap findKey(const char* /*key*/);
42
//int index(char* /*key*/);
44
void read(Xml& /*xml*/, const QString& /*name*/);
45
void write(int /*level*/, Xml& /*xml*/, const char* /*name*/) const;
49
#endif //__STRINGPARAM_H__
b'\\ No newline at end of file'