HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::drce::FileItem Struct Reference

#include <DRCEFilesList.hpp>

Public Types

enum  {
  CREATE_BEFORE_EXEC_AND_WRITE_DATA = 1, DELETE_BEFORE_EXEC = 2, READ_AFTER_EXEC_AND_RETURN_RESULT = 4, DELETE_AFTER_EXEC = 8,
  ENCODE_DECODE_CONTENT_BASE64 = 2147483648
}

Public Member Functions

 FileItem (void)
 FileItem (const std::string &name_, const std::string &data_, unsigned int actionType_)
 FileItem (const FileItem &rhs)
 FileItem (FileItem &&rhs)
FileItemoperator= (const FileItem &rhs)
FileItemoperator= (FileItem &&rhs)

Public Attributes

std::string name
std::string data
unsigned int actionType

Detailed Description

Definition at line 25 of file DRCEFilesList.hpp.

Member Enumeration Documentation

anonymous enum

The const list for action that will be done with file

Enumerator:
CREATE_BEFORE_EXEC_AND_WRITE_DATA 

create before command execution and write data stream.

DELETE_BEFORE_EXEC 

delete before command execution.

READ_AFTER_EXEC_AND_RETURN_RESULT 

read data stream after execution and return in result response.

DELETE_AFTER_EXEC 

delete after command execution.

ENCODE_DECODE_CONTENT_BASE64 

encode/decode content with base64 algorithm.

Definition at line 30 of file DRCEFilesList.hpp.

Constructor & Destructor Documentation

HCE::drce::FileItem::FileItem ( void  )

Definition at line 10 of file DRCEFilesList.cpp.

HCE::drce::FileItem::FileItem ( const std::string &  name_,
const std::string &  data_,
unsigned int  actionType_ 
)

Definition at line 15 of file DRCEFilesList.cpp.

HCE::drce::FileItem::FileItem ( const FileItem rhs)

Definition at line 20 of file DRCEFilesList.cpp.

HCE::drce::FileItem::FileItem ( FileItem &&  rhs)

Definition at line 26 of file DRCEFilesList.cpp.

Member Function Documentation

FileItem & HCE::drce::FileItem::operator= ( const FileItem rhs)

Definition at line 32 of file DRCEFilesList.cpp.

FileItem & HCE::drce::FileItem::operator= ( FileItem &&  rhs)

Definition at line 43 of file DRCEFilesList.cpp.

Member Data Documentation

unsigned int HCE::drce::FileItem::actionType

action that will be done with file.

Definition at line 50 of file DRCEFilesList.hpp.

std::string HCE::drce::FileItem::data

data stream that can be written to the file.

Definition at line 49 of file DRCEFilesList.hpp.

std::string HCE::drce::FileItem::name

name of file that will be processed.

Definition at line 48 of file DRCEFilesList.hpp.


The documentation for this struct was generated from the following files: