Web framework C++
2.0.0
Simple web framework on c++ designed to easily create web pages, etc
Main Page
Classes
Files
File List
File Members
include
form_entity.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <list>
5
12
class
FormEntity
{
13
std::string value;
14
std::string fileName;
15
std::string contentType;
16
std::string charset;
17
FormEntity
* next;
18
bool
isFile;
19
public
:
26
explicit
FormEntity
(std::string & value);
27
31
~FormEntity
();
32
39
void
setFileName
(std::string & filename);
40
47
std::string
getFileName
();
48
55
void
setContentType
(std::string & contentType);
56
63
std::string
getContentType
();
64
71
void
setCharset
(std::string charset);
72
79
std::string
getCharset
();
80
87
void
setValue
(std::string & val);
88
95
std::string
getValue
();
96
103
bool
isFileContent
();
104
111
void
setNext
(
FormEntity
* next);
112
119
FormEntity
*
getNext
();
120
127
std::list<FormEntity *>
getArrayValue
();
128
};
FormEntity::getValue
std::string getValue()
FormEntity::setNext
void setNext(FormEntity *next)
FormEntity::getNext
FormEntity * getNext()
FormEntity::getContentType
std::string getContentType()
FormEntity::getFileName
std::string getFileName()
FormEntity::setValue
void setValue(std::string &val)
FormEntity::setContentType
void setContentType(std::string &contentType)
FormEntity::getArrayValue
std::list< FormEntity * > getArrayValue()
FormEntity::FormEntity
FormEntity(std::string &value)
FormEntity::isFileContent
bool isFileContent()
FormEntity::setFileName
void setFileName(std::string &filename)
FormEntity::~FormEntity
~FormEntity()
FormEntity
Wrapper class for value form.
Definition:
form_entity.h:12
FormEntity::getCharset
std::string getCharset()
FormEntity::setCharset
void setCharset(std::string charset)
Generated by
1.8.11