Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
Euclid::FilePool::OpenCloseTrait< TFD > Struct Template Reference

#include <FileManager.h>

Static Public Member Functions

static TFD open (const boost::filesystem::path &path, bool write)
 
static void close (TFD &)
 

Detailed Description

template<typename TFD>
struct Euclid::FilePool::OpenCloseTrait< TFD >

This trait has to be implemented for all supported file descriptor types.

Template Parameters
TFDFile descriptor type

Definition at line 40 of file FileManager.h.

Member Function Documentation

◆ close()

template<typename TFD >
static void Euclid::FilePool::OpenCloseTrait< TFD >::close ( TFD &  )
inlinestatic

Definition at line 47 of file FileManager.h.

◆ open()

template<typename TFD >
static TFD Euclid::FilePool::OpenCloseTrait< TFD >::open ( const boost::filesystem::path &  path,
bool  write 
)
inlinestatic

Definition at line 41 of file FileManager.h.


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