/[debian]/mimetic/branches/upstream/current/mimetic/fieldparam.h
ViewVC logotype

Contents of /mimetic/branches/upstream/current/mimetic/fieldparam.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 128 - (show annotations)
Sat Feb 25 16:49:20 2006 UTC (15 years, 5 months ago) by gregoa
File MIME type: text/plain
File size: 1583 byte(s)
[svn-inject] Installing original source of mimetic
1 /***************************************************************************
2 copyright : (C) 2002-2005 by Stefano Barbato
3 email : stefano@codesink.org
4
5 $Id: fieldparam.h,v 1.6 2005/02/23 10:26:14 tat Exp $
6 ***************************************************************************/
7
8 /***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16 #ifndef _MIMETIC_FIELD_PARAM_H_
17 #define _MIMETIC_FIELD_PARAM_H_
18 #include <string>
19 #include <iostream>
20 #include <list>
21 #include <mimetic/strutils.h>
22
23 namespace mimetic
24 {
25
26 /// Field param
27 struct FieldParam
28 {
29 FieldParam();
30 FieldParam(const std::string&);
31 FieldParam(const std::string&, const std::string&);
32 const istring& name() const;
33 const std::string& value() const;
34 void name(const std::string&);
35 void value(const std::string&);
36 friend std::ostream& operator<<(std::ostream&, const FieldParam&);
37 private:
38 istring m_name;
39 std::string m_value;
40 };
41
42 typedef std::list<FieldParam> FieldParamList;
43 }
44
45 #endif

  ViewVC Help
Powered by ViewVC 1.1.26