|
AndroMeta
2.0.0
|
00001 /* 00002 * Copyright 2009-2012 AndroMeta LLC. All rights reserved. 00003 * 00004 * AndroMeta LLC retains all intellectual property and proprietary 00005 * rights to this software and related documentation and any modifications 00006 * thereto. Any use, reproduction, disclosure, or distribution of this 00007 * software and related documentation without an express license agreement 00008 * from AndroMeta LLC is strictly prohibited. 00009 * 00010 */ 00011 00018 #ifndef ANDROMETA_MML_GENERATOR_H 00019 #define ANDROMETA_MML_GENERATOR_H 00020 00021 #include <AndroMeta/MNode.h> 00022 #include <AndroMeta/MGenerator.h> 00023 00024 namespace Meta{ 00025 00033 class MMLGenerator : public MGenerator{ 00034 public: 00035 00039 MMLGenerator(); 00040 00044 ~MMLGenerator(); 00045 00049 mnode process(mnode node, uint32_t flags=0); 00050 00058 int generate(std::ostream& ostr); 00059 00063 void clear(); 00064 00068 static mstr toStr(mnode n); 00069 00070 private: 00071 MMLGenerator& operator=(const MMLGenerator&); 00072 MMLGenerator(const MMLGenerator&); 00073 00074 class MMLGenerator_* x_; 00075 }; 00076 00077 } // end namespace Meta 00078 00079 #endif // ANDROMETA_MML_GENERATOR_H
1.7.6.1