org.apache.activemq.openwire.tool
Class CppMarshallingClassesGenerator

java.lang.Object
  extended by org.apache.activemq.openwire.tool.OpenWireGenerator
      extended by org.apache.activemq.openwire.tool.MultiSourceGenerator
          extended by org.apache.activemq.openwire.tool.JavaMarshallingGenerator
              extended by org.apache.activemq.openwire.tool.CppMarshallingHeadersGenerator
                  extended by org.apache.activemq.openwire.tool.CppMarshallingClassesGenerator

public class CppMarshallingClassesGenerator
extends CppMarshallingHeadersGenerator


Field Summary
 
Fields inherited from class org.apache.activemq.openwire.tool.CppMarshallingHeadersGenerator
targetDir
 
Fields inherited from class org.apache.activemq.openwire.tool.JavaMarshallingGenerator
concreteClasses, factoryFile, factoryFileName, indent
 
Fields inherited from class org.apache.activemq.openwire.tool.MultiSourceGenerator
baseClass, buffer, className, destDir, destFile, jclass, manuallyMaintainedClasses, simpleName, superclass
 
Fields inherited from class org.apache.activemq.openwire.tool.OpenWireGenerator
filePostFix, jam, openwireVersion
 
Constructor Summary
CppMarshallingClassesGenerator()
           
 
Method Summary
 void generateFactory(PrintWriter out)
           
protected  void generateFile(PrintWriter out)
           
protected  int generateMarshal1Body(PrintWriter out)
           
protected  void generateMarshal2Body(PrintWriter out)
           
protected  void generateUnmarshalBodyForArrayProperty(PrintWriter out, org.codehaus.jam.JProperty property, org.codehaus.jam.JAnnotationValue size)
           
protected  void generateUnmarshalBodyForProperty(PrintWriter out, org.codehaus.jam.JProperty property, org.codehaus.jam.JAnnotationValue size)
           
protected  String getFilePostFix()
           
 
Methods inherited from class org.apache.activemq.openwire.tool.CppMarshallingHeadersGenerator
generateLicence, getTargetDir, run, setTargetDir
 
Methods inherited from class org.apache.activemq.openwire.tool.JavaMarshallingGenerator
generateLooseMarshalBody, generateLooseUnmarshalBody, generateLooseUnmarshalBodyForArrayProperty, generateLooseUnmarshalBodyForProperty, generateTightMarshal1Body, generateTightMarshal2Body, generateTightUnmarshalBody, generateTightUnmarshalBodyForArrayProperty, generateTightUnmarshalBodyForProperty, getBaseClassName, getClassName, getConcreteClasses, getFactoryFile, getFactoryFileName, getIndent, getMandatoryFlag, initialiseManuallyMaintainedClasses, processClass, processFactory, setConcreteClasses, setFactoryFile, setFactoryFileName, setIndent
 
Methods inherited from class org.apache.activemq.openwire.tool.MultiSourceGenerator
getAbstractClassText, getBaseClass, getClassName, getDestDir, getDestFile, getJclass, getManuallyMaintainedClasses, getProperties, getSimpleName, getSuperclass, isAbstractClass, isMarshallerAware, isValidClass, setBaseClass, setClassName, setDestDir, setDestFile, setJclass, setManuallyMaintainedClasses, setSimpleName, setSuperclass
 
Methods inherited from class org.apache.activemq.openwire.tool.OpenWireGenerator
capitalize, decapitalize, getClasses, getJam, getOpenWireOpCode, getOpenwireVersion, isAbstract, isCachedProperty, isMarshallAware, isThrowable, isValidProperty, setJam, setOpenwireVersion, stringValue, stringValue, toCSharpType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CppMarshallingClassesGenerator

public CppMarshallingClassesGenerator()
Method Detail

getFilePostFix

protected String getFilePostFix()
Overrides:
getFilePostFix in class CppMarshallingHeadersGenerator

generateUnmarshalBodyForProperty

protected void generateUnmarshalBodyForProperty(PrintWriter out,
                                                org.codehaus.jam.JProperty property,
                                                org.codehaus.jam.JAnnotationValue size)

generateUnmarshalBodyForArrayProperty

protected void generateUnmarshalBodyForArrayProperty(PrintWriter out,
                                                     org.codehaus.jam.JProperty property,
                                                     org.codehaus.jam.JAnnotationValue size)

generateMarshal1Body

protected int generateMarshal1Body(PrintWriter out)

generateMarshal2Body

protected void generateMarshal2Body(PrintWriter out)

generateFile

protected void generateFile(PrintWriter out)
                     throws Exception
Overrides:
generateFile in class CppMarshallingHeadersGenerator
Throws:
Exception

generateFactory

public void generateFactory(PrintWriter out)
Overrides:
generateFactory in class CppMarshallingHeadersGenerator


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.