Scorum
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros
operation_util.hpp File Reference
#include <scorum/protocol/authority.hpp>
#include <fc/variant.hpp>
#include <boost/container/flat_set.hpp>
#include <string>
#include <vector>

Go to the source code of this file.

Macros

#define DECLARE_OPERATION_TYPE(OperationType)
 
#define DECLARE_OPERATION_SERIALIZATOR(OperationType)
 

Macro Definition Documentation

◆ DECLARE_OPERATION_SERIALIZATOR

#define DECLARE_OPERATION_SERIALIZATOR (   OperationType)
Value:
namespace fc { \
\
void to_variant(const OperationType&, fc::variant&); \
void from_variant(const fc::variant&, OperationType&); \
\
} /* fc */
Definition: game.cpp:4
void to_variant(const game_type &game, fc::variant &var)
Definition: game.cpp:8
void from_variant(const fc::variant &var, game_type &game)
Definition: game.cpp:12

Definition at line 32 of file operation_util.hpp.

◆ DECLARE_OPERATION_TYPE

#define DECLARE_OPERATION_TYPE (   OperationType)
Value:
\
namespace scorum { \
namespace protocol { \
\
void operation_validate(const OperationType& o); \
void operation_get_required_authorities(const OperationType& op, \
flat_set<account_name_type>& active, \
flat_set<account_name_type>& owner, \
flat_set<account_name_type>& posting, \
std::vector<authority>& other); \
} \
} /* scorum::protocol */
void operation_validate(const proposal_operation &op)
Definition: asset.cpp:15
#define DECLARE_OPERATION_SERIALIZATOR(OperationType)

Definition at line 17 of file operation_util.hpp.