CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::TransactionData Struct Reference
Inheritance diagram for catapult::cache::TransactionData:
Collaboration diagram for catapult::cache::TransactionData:

Public Member Functions

 TransactionData (const model::TransactionInfo &transactionInfo, size_t id)
 
 TransactionData (size_t id)
 
bool operator< (const TransactionData &rhs) const
 
- Public Member Functions inherited from catapult::model::TransactionInfo
 TransactionInfo ()=default
 Creates a transaction info. More...
 
 TransactionInfo (const std::shared_ptr< const Transaction > &pTransaction)
 Creates a transaction info around pTransaction without any metadata. More...
 
 TransactionInfo (const std::shared_ptr< const Transaction > &pTransaction, const Hash256 &hash)
 Creates a transaction info around pTransaction and its associated metadata (hash). More...
 
TransactionInfo copy () const
 Creates a (shallow) copy of this info. More...
 
- Public Member Functions inherited from catapult::model::DetachedTransactionInfo
 DetachedTransactionInfo ()=default
 Creates a transaction info. More...
 
 DetachedTransactionInfo (const std::shared_ptr< const Transaction > &pTransaction)
 Creates a transaction info around pTransaction without any metadata. More...
 
DetachedTransactionInfo copy () const
 Creates a (shallow) copy of this info. More...
 
- Public Member Functions inherited from catapult::model::EntityInfo< const Transaction >
 EntityInfo ()=default
 Creates an entity info. More...
 
 EntityInfo (const std::shared_ptr< const Transaction > &pEntityParam, const Hash256 &hash)
 Creates an entity info around pEntityParam and its associated metadata (hash). More...
 
 operator bool () const noexcept
 Returns true if the info is not empty and contains a valid entity pointer, false otherwise. More...
 
- Public Member Functions inherited from catapult::utils::MoveOnly
constexpr MoveOnly ()=default
 Default constructor. More...
 
 ~MoveOnly ()=default
 Default destructor. More...
 
 MoveOnly (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
 MoveOnly (MoveOnly &&)=default
 Default move constructor. More...
 
MoveOnlyoperator= (const MoveOnly &)=delete
 Disabled assignment operator. More...
 
MoveOnlyoperator= (MoveOnly &&)=default
 Default move assignment operator. More...
 
- Public Member Functions inherited from catapult::utils::NonCopyable
constexpr NonCopyable ()=default
 Default constructor. More...
 
 ~NonCopyable ()=default
 Default destructor. More...
 
 NonCopyable (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
NonCopyableoperator= (const NonCopyable &)=delete
 Disabled assignment operator. More...
 

Public Attributes

size_t Id
 
- Public Attributes inherited from catapult::model::TransactionInfo
Hash256 MerkleComponentHash
 Modified hash that should be used as a hash in the merkle tree. More...
 
- Public Attributes inherited from catapult::model::DetachedTransactionInfo
std::shared_ptr< const UnresolvedAddressSetOptionalExtractedAddresses
 Extracted addresses (optional). More...
 
- Public Attributes inherited from catapult::model::EntityInfo< const Transaction >
std::shared_ptr< const TransactionpEntity
 Entity pointer. More...
 
Hash256 EntityHash
 Entity hash. More...
 

Constructor & Destructor Documentation

◆ TransactionData() [1/2]

catapult::cache::TransactionData::TransactionData ( const model::TransactionInfo transactionInfo,
size_t  id 
)
inlineexplicit

◆ TransactionData() [2/2]

catapult::cache::TransactionData::TransactionData ( size_t  id)
inlineexplicit

Member Function Documentation

◆ operator<()

bool catapult::cache::TransactionData::operator< ( const TransactionData rhs) const
inline

Member Data Documentation

◆ Id

size_t catapult::cache::TransactionData::Id

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