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 64 of file mhttpd.cxx.

Constructor & Destructor Documentation

◆ Attachment()

Attachment::Attachment ( )
inline

Definition at line 70 of file mhttpd.cxx.

71 {
72 for (int i=0; i<3; i++) {
74 attachment_size[i] = 0;
75 }
76 }
char * attachment_buffer[3]
Definition mhttpd.cxx:67
size_t attachment_size[3]
Definition mhttpd.cxx:68
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 77 of file mhttpd.cxx.

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

Member Function Documentation

◆ clear()

void Attachment::clear ( int  i)
inline

Definition at line 83 of file mhttpd.cxx.

84 {
85 if (attachment_size[i]) {
86 attachment_size[i] = 0;
87 free(attachment_buffer[i]);
89 }
90 }
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 67 of file mhttpd.cxx.

◆ attachment_size

size_t Attachment::attachment_size[3]

Definition at line 68 of file mhttpd.cxx.


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