MIDAS
Loading...
Searching...
No Matches
Attachment Class Reference

Public Member Functions

 Attachment ()
 
 ~Attachment ()
 
void clear (int i)
 

Public Attributes

charattachment_buffer [3]
 
size_t attachment_size [3]
 

Detailed Description

Definition at line 66 of file mhttpd.cxx.

Constructor & Destructor Documentation

◆ Attachment()

Attachment::Attachment ( )
inline

Definition at line 72 of file mhttpd.cxx.

73 {
74 for (int i=0; i<3; i++) {
76 attachment_size[i] = 0;
77 }
78 }
char * attachment_buffer[3]
Definition mhttpd.cxx:69
size_t attachment_size[3]
Definition mhttpd.cxx:70
INT i
Definition mdump.cxx:32
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
Definition rmidas.h:24
Here is the call graph for this function:

◆ ~Attachment()

Attachment::~Attachment ( )
inline

Definition at line 79 of file mhttpd.cxx.

80 {
81 for (int i=0; i<3; i++) {
82 clear(i);
83 }
84 }
void clear(int i)
Definition mhttpd.cxx:85
Here is the call graph for this function:

Member Function Documentation

◆ clear()

void Attachment::clear ( int  i)
inline

Definition at line 85 of file mhttpd.cxx.

86 {
87 if (attachment_size[i]) {
88 attachment_size[i] = 0;
89 free(attachment_buffer[i]);
91 }
92 }
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ attachment_buffer

char* Attachment::attachment_buffer[3]

Definition at line 69 of file mhttpd.cxx.

◆ attachment_size

size_t Attachment::attachment_size[3]

Definition at line 70 of file mhttpd.cxx.


The documentation for this class was generated from the following file: