ADTF
Loading...
Searching...
No Matches
ddl_printer_legacy.h
Go to the documentation of this file.
1
7#pragma once
9#include <ostream>
10
11namespace adtf
12{
13namespace mediadescription
14{
15namespace flash
16{
17
31{
32public:
37 cDDLPrinter(const cStructureType& oStructure);
38
43 void PrintTo(std::ostream& oStream) const;
44
45private:
46 size_t GetMinimumAlignment(size_t nExpectedOffset, size_t nCurrentOffset, const std::string& strMemberName);
47 void AddStructure(const cStructureType& oStructure);
48 void AddEnumeration(const cEnumerationType& oEnumeration);
49 bool HasStructure(const cStructureType& oStructure);
50 bool HasEnumeration(const cEnumerationType& oEnumeration);
51
52private:
53 std::vector<std::pair<std::string, std::string>> m_oStructures;
54 std::vector<std::pair<std::string, std::string>> m_oEnumerations;
55};
56
63std::ostream& operator<<(std::ostream& oStream, const cDDLPrinter& oPrinter);
64
65} // namespace flash
66} // namespace mediadescription
67} // namespace adtf
Definition ddl_printer_legacy.h:31
cDDLPrinter(const cStructureType &oStructure)
void PrintTo(std::ostream &oStream) const
Definition type_reflection_legacy.h:140
Definition type_reflection_legacy.h:289
Namespace for all functionality of the ADTF Mediadescription SDK provided since v3....
Definition codec_sample_streamer_legacy.h:20
std::ostream & operator<<(std::ostream &oStream, const cDDLPrinter &oPrinter)
Namespace for the ADTF Mediadescription SDK.
Definition codec_sample_streamer.h:22
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14