[go: up one dir, main page]

Menu

[r8]: / trunk / formvalue.cpp  Maximize  Restore  History

Download this file

38 lines (31 with data), 928 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string>
#include "formvalue.h"
#include "contentdisposition.h"
FormValue::FormValue ( ) {
#ifdef EHS_MEMORY
std::cerr << "[EHS_MEMORY] Allocated: FormValue" << std::endl;
#endif
}
FormValue::FormValue ( std::string & irsBody, ///< body for the form value
ContentDisposition & ioContentDisposition ///< content disposition type string
) :
oContentDisposition ( ioContentDisposition ),
sBody ( irsBody ) {
#ifdef EHS_MEMORY
std::cerr << "[EHS_MEMORY] Allocated: FormValue" << std::endl;
#endif
}
FormValue::FormValue ( const FormValue & iroFormValue ) {
*this = iroFormValue;
#ifdef EHS_MEMORY
std::cerr << "[EHS_MEMORY] Allocated: FormValue (Copy Constructor)" << std::endl;
#endif
}
FormValue::~FormValue ( ) {
#ifdef EHS_MEMORY
std::cerr << "[EHS_MEMORY] Deallocated: FormValue" << std::endl;
#endif
}