public override void WriteClass(LangWriterBase langWriter) { var cppWriter = TryCastUtil.TryCast <CppWriter>(langWriter); WriteHeaderFile(cppWriter); WriteSourceFile(cppWriter); }
public void CreateInnerClass(LangClassBuilderBase classBuilder, AccessModifier accessModifier) { var cppClassBuilder = TryCastUtil.TryCast <CppClassBuilder>(classBuilder); cppClassBuilder._namespaceName = CppWriter.CreateNamespaceString(cppClassBuilder._namespaceName, _className); InnerClass innerClass; innerClass.classBuilder = cppClassBuilder; innerClass.accessModifier = accessModifier; _innerClasses.Add(innerClass); }