Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::crypto::shim< Data > Struct Template Reference

#include <common.hpp>

Collaboration diagram for fc::crypto::shim< Data >:

Public Types

using data_type = Data
 

Public Member Functions

 shim ()
 
 shim (data_type &&data)
 
 shim (const data_type &data)
 
const data_typeserialize () const
 

Public Attributes

data_type _data
 

Detailed Description

template<typename Data>
struct fc::crypto::shim< Data >

Definition at line 174 of file common.hpp.

Member Typedef Documentation

◆ data_type

template<typename Data >
using fc::crypto::shim< Data >::data_type = Data

Definition at line 175 of file common.hpp.

Constructor & Destructor Documentation

◆ shim() [1/3]

template<typename Data >
fc::crypto::shim< Data >::shim ( )
inline

Definition at line 177 of file common.hpp.

178 {}

◆ shim() [2/3]

template<typename Data >
fc::crypto::shim< Data >::shim ( data_type && data)
inline

Definition at line 180 of file common.hpp.

181 :_data(forward<data_type>(data))
182 {}
data_type _data
Definition common.hpp:192

◆ shim() [3/3]

template<typename Data >
fc::crypto::shim< Data >::shim ( const data_type & data)
inline

Definition at line 184 of file common.hpp.

185 :_data(data)
186 {}

Member Function Documentation

◆ serialize()

template<typename Data >
const data_type & fc::crypto::shim< Data >::serialize ( ) const
inline

Definition at line 188 of file common.hpp.

188 {
189 return _data;
190 }
Here is the caller graph for this function:

Member Data Documentation

◆ _data

template<typename Data >
data_type fc::crypto::shim< Data >::_data

Definition at line 192 of file common.hpp.


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