CatapultServer
v0.5.0.1 (Elephant)
|
Go to the source code of this file.
Namespaces | |
catapult | |
catapult::ionet | |
catapult::ionet::detail | |
Macros | |
#define | CATAPULT_LOG_EXCEEDS_REMAINING_BYTES(SIZE, MESSAGE) CATAPULT_LOG(warning) << MESSAGE << " (" << SIZE << ") exceeds remaining bytes (" << remainingBytes << ")" |
#define | CATAPULT_LOG_DATA_SIZE_ERROR(SIZE, MESSAGE) CATAPULT_LOG(warning) << "buffer data size (" << buffer.Size << ") " << MESSAGE << " (" << SIZE << ")" |
Functions | |
template<typename TEntity , typename TIsValidPredicate > | |
bool | catapult::ionet::detail::IsEntityValid (const TEntity &entity, TIsValidPredicate isValid) |
template<typename TEntity , typename TIsValidPredicate > | |
std::vector< size_t > | catapult::ionet::ExtractEntityOffsets (const RawBuffer &buffer, TIsValidPredicate isValid) |
template<typename TEntity , typename TIsValidPredicate > | |
bool | catapult::ionet::ContainsSingleEntity (const RawBuffer &buffer, TIsValidPredicate isValid) |
template<typename TStructure > | |
size_t | catapult::ionet::CountFixedSizeStructures (const RawBuffer &buffer) |
#define CATAPULT_LOG_DATA_SIZE_ERROR | ( | SIZE, | |
MESSAGE | |||
) | CATAPULT_LOG(warning) << "buffer data size (" << buffer.Size << ") " << MESSAGE << " (" << SIZE << ")" |
#define CATAPULT_LOG_EXCEEDS_REMAINING_BYTES | ( | SIZE, | |
MESSAGE | |||
) | CATAPULT_LOG(warning) << MESSAGE << " (" << SIZE << ") exceeds remaining bytes (" << remainingBytes << ")" |