ADTF File Library
Loading...
Searching...
No Matches
adtf3_sample_info.h File Reference
Include dependency graph for adtf3_sample_info.h:

Go to the source code of this file.

Classes

struct  adtf_file::adtf3::HashValueStorage
 Value Storage struct. More...
 

Namespaces

namespace  adtf_file
 namespace for ADTF File library
 
namespace  adtf_file::adtf3
 namespace for support of ADTF 3 files
 

Enumerations

enum class  adtf_file::adtf3::HashedValueType : uint8_t {
  hvt_invalid = 0 , hvt_bool = 2 , hvt_int8 = 3 , hvt_uint8 = 4 ,
  hvt_int16 = 5 , hvt_uint16 = 6 , hvt_int32 = 7 , hvt_uint32 = 8 ,
  hvt_float32 = 9 , hvt_float64 = 10 , hvt_int64 = 12 , hvt_uint64 = 13
}
 Value type identifier for sample info within adtf_file::ReadSample, adtf_file::WriteSample.
 

Functions

bool adtf_file::adtf3::hasSampleInfo (const WriteSample &sample)
 Checks wether the sample has trailing sample information or not.
 
void adtf_file::adtf3::serializeSampleInfo (const WriteSample &sample, OutputStream &stream)
 serializes the sample info as trailing data to the sample
 
void adtf_file::adtf3::deserializeSampleInfo (ReadSample &sample, InputStream &stream)
 deserializes the sample info from stream as trailing data to the sample if hasSampleInfo returned with true
 

Detailed Description

Copyright 2025 Digitalwerk GmbH.

This Source Code Form is subject to the terms of the Mozilla
Public License, v. 2.0. If a copy of the MPL was not distributed
with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.

You may add additional accurate notices of copyright ownership.