ewmscp  ..
Classes | Namespaces | Typedefs | Enumerations | Functions
copyRequestTypes.h File Reference

(v0.19-24-g0617ca1 with changes)

#include <enumAsBitmask.h>
#include <map>
#include <type_traits>
#include <waitQueues.h>
#include <throwcall.h>
Include dependency graph for copyRequestTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fatalException
 class for exceptions that should result in program termination More...
 
class  unimplementedActionError
 class for exceptions that result from unimplemented functions Exceptions of this kind are to be thrown when a input or output handler gets called via a function that is not implemented for this specific handler. More...
 
class  copyRequest::stateType
 

Namespaces

 copyRequest
 

Typedefs

typedef waitQueues::simple< copyRequest::basecopyRequest::simpleQueue
 simple first-in first-out queue. More...
 
typedef waitQueues::timed< copyRequest::basecopyRequest::timedQueue
 for delayed processing: returns elements when due. More...
 
typedef std::chrono::system_clock copyRequest::clock_type
 type for time measurements More...
 

Enumerations

enum  copyRequest::stateBitType {
  copyRequest::stateBitType::fileToBeCopied = 1 << 0, copyRequest::stateBitType::linkToBeMade = 1 << 1, copyRequest::stateBitType::fileToBeRemoved = 1 << 2, copyRequest::stateBitType::fileToBeRenamed = 1 << 3,
  copyRequest::stateBitType::vanished = 1 << 4, copyRequest::stateBitType::ignore = 1 << 5, copyRequest::stateBitType::trucated = 1 << 6, copyRequest::stateBitType::inWork = 1 << 7,
  copyRequest::stateBitType::failed = 1 << 8, copyRequest::stateBitType::done = 1 << 9, copyRequest::stateBitType::append = 1 << 10, copyRequest::stateBitType::attributeMismatch = 1 << 11,
  copyRequest::stateBitType::noActionNeeded = vanished | ignore, copyRequest::stateBitType::action = fileToBeCopied | linkToBeMade | fileToBeRemoved | fileToBeRenamed
}
 

Functions

std::ostream & operator<< (std::ostream &stream, const copyRequest::clock_type::time_point &)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  stream,
const copyRequest::clock_type::time_point &   
)

Definition at line 36 of file copyRequest.cpp.

37  {
38  stream << std::chrono::duration_cast<std::chrono::duration<double>>(t.time_since_epoch()).count();
39  return stream;
40 }