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

#include <from-fdstore-visitor.hpp>

Public Member Functions

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

Private Member Functions

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

Private Attributes

FDStore mStore
 

Constructor & Destructor Documentation

cargo::FromFDStoreVisitor::FromFDStoreVisitor ( int  fd)
inlineexplicit
cargo::FromFDStoreVisitor::FromFDStoreVisitor ( const FromFDStoreVisitor )
default

Member Function Documentation

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

Member Data Documentation

FDStore cargo::FromFDStoreVisitor::mStore
private

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