CatapultServer
v0.5.0.1 (Elephant)
|
Wrapper for low-level i/o operations on files.
Definition: RawFile.h:49
Open file for both reading and writing. Removes the file if it exists.
size_t m_id
Definition: AuditConsumer.cpp:65
boost::filesystem::path m_auditDirectory
Definition: AuditConsumer.cpp:64
constexpr std::underlying_type_t< TEnum > to_underlying_type(TEnum value)
Converts a strongly typed enumeration value to its underlying integral value.
Definition: Casting.h:37
DisruptorConsumerT< const ConsumerInput > ConstDisruptorConsumer
A const disruptor consumer function.
Definition: DisruptorConsumer.h:35
void Write(TIo &output, const utils::BasicBaseValue< TValue, TTag, TBaseValue > &value)
Writes base value into output.
Definition: PodIoUtils.h:30
constexpr disruptor::ConsumerResult Abort(validators::ValidationResult validationResult)
Creates an aborted consumer result around validationResult.
Definition: ConsumerResultFactory.h:34
Binary layout for a verifiable (with signature) entity.
Definition: VerifiableEntity.h:45
Definition: AddressExtractionExtension.cpp:28
void Write32(TIo &output, uint32_t value)
Writes value into output.
Definition: PodIoUtils.h:42
void write(const RawBuffer &dataBuffer)
Definition: RawFile.cpp:305
disruptor::ConstDisruptorConsumer CreateAuditConsumer(const std::string &auditDirectory)
Creates an audit consumer that saves all consumer inputs to auditDirectory.
Definition: AuditConsumer.cpp:69
constexpr disruptor::ConsumerResult Continue()
Creates a continuation consumer result.
Definition: ConsumerResultFactory.h:29
uint32_t Size
Entity size.
Definition: SizePrefixedEntity.h:33
Result of a consumer operation.
Definition: DisruptorTypes.h:63