ADTF  3.18.2
ddl_dumper.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include "ddl_usage.h"
9 #include <iostream>
10 #include <string>
11 
12 #ifdef USE_ADTF_MEDIA_DESCRIPTION_LEGACY
13  #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
14  #include "legacy/dumper_legacy.h"
15  #endif
16 #endif
17 
18 namespace adtf
19 {
20 namespace mediadescription
21 {
22 namespace osborn
23 {
36 class cDumper
37 {
38 public:
43  cDumper(const ddl::DDStructure& oStructure);
44 
49  void PrintTo(std::ostream& oStream) const;
50 
51 private:
52  std::string m_strDescriptionDump;
53 };
54 
55 std::ostream& operator<<(std::ostream& oStream, const cDumper& oDumper);
56 
57 } // namespace osborn
58 
59 using osborn::cDumper;
60 
61 } // namespace mediadescription
62 } // namespace adtf
Dumps a structure definition to an output stream.
Definition: ddl_dumper.h:37
cDumper(const ddl::DDStructure &oStructure)
Initializes the dumper with an existing structure definition.
void PrintTo(std::ostream &oStream) const
Prints the structure to the given stream.
Utility class for a complete valid data definition of one StructType and its dependencies.
Definition: ddstructure.h:55
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Namespace for entire ADTF SDK.