ADTF  3.18.2
ddl_printer.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include "ddl_usage.h"
10 #include <iostream>
11 
12 #ifdef USE_ADTF_MEDIA_DESCRIPTION_LEGACY
13  #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
15  #endif
16 #endif
17 
18 namespace adtf
19 {
20 namespace mediadescription
21 {
22 namespace osborn
23 {
24 
38 {
39  public:
44  cDDLPrinter(const ddl::DDStructure& oStructure);
45 
50  void PrintTo(std::ostream& oStream) const;
51 
52  private:
53  std::string m_strDescription;
54 };
55 
56 std::ostream& operator<<(std::ostream& oStream, const cDDLPrinter& oPrinter);
57 
58 }
59 
61 }
62 }
Generates a DDL description from a structure definition.
Definition: ddl_printer.h:38
cDDLPrinter(const ddl::DDStructure &oStructure)
Initializes the printer with an existing structure definition.
void PrintTo(std::ostream &oStream) const
Prints the DDL description 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.