CatapultServer  v0.5.0.1 (Elephant)
ContainerTypes.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "catapult/utils/Hashers.h"
23 #include "catapult/types.h"
24 #include <unordered_set>
25 
26 namespace catapult {
27  namespace model {
28  template<typename TEntity>
30 
31  template<typename TEntity>
33  struct Transaction;
34  struct TransactionInfo;
35  }
36 }
37 
38 namespace catapult { namespace model {
39 
41  using AddressSet = std::unordered_set<Address, utils::ArrayHasher<Address>>;
42 
44  using UnresolvedAddressSet = std::unordered_set<UnresolvedAddress, utils::ArrayHasher<UnresolvedAddress>>;
45 
47  using TransactionInfosSet = std::unordered_set<
51 }}
52 
catapult::model::AddressSet
std::unordered_set< Address, utils::ArrayHasher< Address > > AddressSet
Unordered set of addresses.
Definition: ContainerTypes.h:41
catapult::model::EntityInfoComparer
Comparer object for an EntityInfo.
Definition: ContainerTypes.h:29
catapult::model::TransactionInfo
A transaction and its associated metadata.
Definition: EntityInfo.h:104
catapult::model::UnresolvedAddressSet
std::unordered_set< UnresolvedAddress, utils::ArrayHasher< UnresolvedAddress > > UnresolvedAddressSet
Unordered set of unresolved addresses.
Definition: ContainerTypes.h:44
catapult::model::TransactionInfosSet
std::unordered_set< TransactionInfo, EntityInfoHasher< const Transaction >, EntityInfoComparer< const Transaction > > TransactionInfosSet
Unordered set of transaction infos.
Definition: ContainerTypes.h:50
catapult::model::EntityInfoHasher
Hasher object for an EntityInfo.
Definition: ContainerTypes.h:32
types.h
catapult
Definition: AddressExtractionExtension.cpp:28
Hashers.h
catapult::model::Transaction
Binary layout for a transaction.
Definition: Transaction.h:32