30 lines
539 B
C++
30 lines
539 B
C++
#ifndef __CGIFormattedData_h__
|
|
# define __CGIFormattedData_h__
|
|
|
|
# include "MString.h"
|
|
# include <map>
|
|
|
|
namespace coreutils {
|
|
|
|
///
|
|
/// Use the CGIFormattedData object to store and process data that
|
|
/// interfaces to the CGI format. Value pairs are accessible using
|
|
/// a common map interface.
|
|
///
|
|
|
|
class CGIFormattedData {
|
|
|
|
public:
|
|
CGIFormattedData();
|
|
CGIFormattedData(ZString cgiData);
|
|
|
|
ZString operator=(ZString cgiData);
|
|
|
|
std::map<MString, MString> data;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|