CatapultServer  v0.5.0.1 (Elephant)
BlockChangeReader.h
Go to the documentation of this file.
1 
21 #pragma once
22 
23 namespace catapult {
24  namespace io {
25  class BlockChangeSubscriber;
26  class InputStream;
27  }
28 }
29 
30 namespace catapult { namespace subscribers {
31 
33  void ReadNextBlockChange(io::InputStream& inputStream, io::BlockChangeSubscriber& subscriber);
34 }}
exceptions.h
BlockChangeSubscriber.h
BlockElementSerializer.h
catapult::io::ReadBlockStatement
void ReadBlockStatement(InputStream &inputStream, model::BlockStatement &blockStatement)
Reads block statement from inputStream into blockStatement.
Definition: BlockStatementSerializer.cpp:123
catapult::io::BlockChangeSubscriber
Block change subscriber.
Definition: BlockChangeSubscriber.h:27
catapult::io::InputStream
Reader interface.
Definition: Stream.h:27
catapult::io::Read8
auto Read8(TIo &input)
Reads value from input.
Definition: PodIoUtils.h:90
catapult::subscribers::ReadNextBlockChange
void ReadNextBlockChange(io::InputStream &inputStream, io::BlockChangeSubscriber &subscriber)
Reads next block change from inputStream and forwards it to subscriber.
Definition: BlockChangeReader.cpp:50
catapult::subscribers::BlockChangeOperationType::Drop_Blocks_After
Blocks dropped.
CATAPULT_THROW_INVALID_ARGUMENT_1
#define CATAPULT_THROW_INVALID_ARGUMENT_1(MESSAGE, PARAM1)
Macro used to throw a catapult invalid argument with a single parameter.
Definition: exceptions.h:183
BlockChangeReader.h
catapult::io::ReadBlockElement
std::shared_ptr< model::BlockElement > ReadBlockElement(InputStream &inputStream)
Definition: BlockElementSerializer.cpp:110
SubscriberOperationTypes.h
BlockStatementSerializer.h
catapult
Definition: AddressExtractionExtension.cpp:28
PodIoUtils.h
Stream.h
catapult::subscribers::BlockChangeOperationType::Block
Block saved.