CatapultServer  v0.5.0.1 (Elephant)
src/catapult/types.h File Reference
Include dependency graph for src/catapult/types.h:

Go to the source code of this file.

Classes

struct  catapult::Signature_tag
 
struct  catapult::Key_tag
 
struct  catapult::Hash512_tag
 
struct  catapult::Hash256_tag
 
struct  catapult::Hash160_tag
 
struct  catapult::GenerationHash_tag
 
struct  catapult::Address_tag
 
struct  catapult::UnresolvedAddress_tag
 
struct  catapult::Timestamp_tag
 
struct  catapult::Amount_tag
 
struct  catapult::MosaicId_tag
 
struct  catapult::UnresolvedMosaicId_tag
 
struct  catapult::Height_tag
 
struct  catapult::BlockDuration_tag
 
struct  catapult::BlockFeeMultiplier_tag
 
struct  catapult::Difficulty_tag
 
struct  catapult::Importance_tag
 

Namespaces

 catapult
 

Typedefs

using catapult::Signature = utils::ByteArray< Signature_Size, Signature_tag >
 
using catapult::Key = utils::ByteArray< Key_Size, Key_tag >
 
using catapult::Hash512 = utils::ByteArray< Hash512_Size, Hash512_tag >
 
using catapult::Hash256 = utils::ByteArray< Hash256_Size, Hash256_tag >
 
using catapult::Hash160 = utils::ByteArray< Hash160_Size, Hash160_tag >
 
using catapult::GenerationHash = utils::ByteArray< Hash256_Size, GenerationHash_tag >
 
using catapult::Address = utils::ByteArray< Address_Decoded_Size, Address_tag >
 
using catapult::UnresolvedAddress = utils::ByteArray< Address_Decoded_Size, UnresolvedAddress_tag >
 
using catapult::Timestamp = utils::BaseValue< uint64_t, Timestamp_tag >
 
using catapult::Amount = utils::BaseValue< uint64_t, Amount_tag >
 
using catapult::MosaicId = utils::BaseValue< uint64_t, MosaicId_tag >
 
using catapult::UnresolvedMosaicId = utils::BaseValue< uint64_t, UnresolvedMosaicId_tag >
 
using catapult::Height = utils::BaseValue< uint64_t, Height_tag >
 
using catapult::BlockDuration = utils::BaseValue< uint64_t, BlockDuration_tag >
 
using catapult::BlockFeeMultiplier = utils::BaseValue< uint32_t, BlockFeeMultiplier_tag >
 
using catapult::Difficulty = utils::ClampedBaseValue< uint64_t, Difficulty_tag >
 
using catapult::Importance = utils::BaseValue< uint64_t, Importance_tag >
 

Functions

template<typename T , size_t N>
constexpr size_t catapult::CountOf (T const (&)[N]) noexcept
 Returns the size of the specified array. More...
 

Variables

constexpr size_t catapult::Signature_Size = 64
 
constexpr size_t catapult::Key_Size = 32
 
constexpr size_t catapult::Hash512_Size = 64
 
constexpr size_t catapult::Hash256_Size = 32
 
constexpr size_t catapult::Hash160_Size = 20
 
constexpr size_t catapult::Address_Decoded_Size = 25
 
constexpr size_t catapult::Address_Encoded_Size = 40