struct eosio::singleton::row
Class List > eosio :: singleton :: row
Public Attributes
Type | Name |
---|---|
T | value |
Public Functions
Type | Name |
---|---|
uint64_t | primary_key () const |
Friends
Type | Name |
---|---|
friend DataStream & | operator<< |
friend DataStream & | operator>> |
Detailed Description
Structure of data inside the singleton table
Public Attributes Documentation
variable value
T eosio::singleton< SingletonName, T >::row::value;
Value to be stored inside the singleton table
Public Functions Documentation
function primary_key
uint64_t eosio::singleton< SingletonName, T >::row::primary_key() const
Get primary key of the data
Returns:
uint64_t - Primary Key
Friends Documentation
friend operator<<
template<typename DataStream>
DataStream& operator<<(
DataStream & ds,
const row & t
)
friend operator>>
template<typename DataStream>
DataStream& operator>>(
DataStream & ds,
row & t
)
The documentation for this class was generated from the following file: libraries/eosiolib/contracts/eosio/singleton.hpp