Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cargo::ToFDStoreVisitor Class Reference

#include <to-fdstore-visitor.hpp>

Public Member Functions

 ToFDStoreVisitor (int fd)
 
 ToFDStoreVisitor (const ToFDStoreVisitor &)=default
 
ToFDStoreVisitoroperator= (const ToFDStoreVisitor &)=delete
 
template<typename T >
void visit (const std::string &, const T &value)
 

Private Member Functions

void writeInternal (const std::string &value)
 
void writeInternal (const char *&value)
 
void writeInternal (const cargo::FileDescriptor &fd)
 
template<typename T , typename std::enable_if< std::is_enum< T >::value, int >::type = 0>
void writeInternal (const T &value)
 
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value, int >::type = 0>
void writeInternal (const T &value)
 
template<typename T , typename std::enable_if< isVisitable< T >::value, int >::type = 0>
void writeInternal (const T &value)
 
template<typename T >
void writeInternal (const std::vector< T > &values)
 
template<typename T , std::size_t N>
void writeInternal (const std::array< T, N > &values)
 
template<typename V >
void writeInternal (const std::map< std::string, V > &values)
 
template<typename T , typename std::enable_if< isLikeTuple< T >::value, int >::type = 0>
void writeInternal (const T &values)
 

Private Attributes

FDStore mStore
 

Constructor & Destructor Documentation

cargo::ToFDStoreVisitor::ToFDStoreVisitor ( int  fd)
inline
cargo::ToFDStoreVisitor::ToFDStoreVisitor ( const ToFDStoreVisitor )
default

Member Function Documentation

ToFDStoreVisitor& cargo::ToFDStoreVisitor::operator= ( const ToFDStoreVisitor )
delete
template<typename T >
void cargo::ToFDStoreVisitor::visit ( const std::string &  ,
const T &  value 
)
inline
void cargo::ToFDStoreVisitor::writeInternal ( const std::string &  value)
inlineprivate
void cargo::ToFDStoreVisitor::writeInternal ( const char *&  value)
inlineprivate
void cargo::ToFDStoreVisitor::writeInternal ( const cargo::FileDescriptor fd)
inlineprivate
template<typename T , typename std::enable_if< std::is_enum< T >::value, int >::type = 0>
void cargo::ToFDStoreVisitor::writeInternal ( const T &  value)
inlineprivate
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value, int >::type = 0>
void cargo::ToFDStoreVisitor::writeInternal ( const T &  value)
inlineprivate
template<typename T , typename std::enable_if< isVisitable< T >::value, int >::type = 0>
void cargo::ToFDStoreVisitor::writeInternal ( const T &  value)
inlineprivate
template<typename T >
void cargo::ToFDStoreVisitor::writeInternal ( const std::vector< T > &  values)
inlineprivate
template<typename T , std::size_t N>
void cargo::ToFDStoreVisitor::writeInternal ( const std::array< T, N > &  values)
inlineprivate
template<typename V >
void cargo::ToFDStoreVisitor::writeInternal ( const std::map< std::string, V > &  values)
inlineprivate
template<typename T , typename std::enable_if< isLikeTuple< T >::value, int >::type = 0>
void cargo::ToFDStoreVisitor::writeInternal ( const T &  values)
inlineprivate

Member Data Documentation

FDStore cargo::ToFDStoreVisitor::mStore
private

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