Class CppClassesGenerator

    • Field Detail

      • targetDir

        protected String targetDir
    • Constructor Detail

      • CppClassesGenerator

        public CppClassesGenerator()
    • Method Detail

      • getFilePostFix

        protected String getFilePostFix()
      • toCppType

        public String toCppType​(org.codehaus.jam.JClass type)
        Converts the Java type to a C++ type name
      • toCppDefaultValue

        public String toCppDefaultValue​(org.codehaus.jam.JClass type)
        Converts the Java type to a C++ default value
      • toMarshalMethodName

        public String toMarshalMethodName​(org.codehaus.jam.JClass type)
        Converts the Java type to the name of the C++ marshal method to be used
      • toUnmarshalMethodName

        public String toUnmarshalMethodName​(org.codehaus.jam.JClass type)
        Converts the Java type to the name of the C++ unmarshal method to be used
      • toUnmarshalCast

        public String toUnmarshalCast​(org.codehaus.jam.JClass type)
        Converts the Java type to a C++ pointer cast
      • generateLicence

        protected void generateLicence​(PrintWriter out)
      • getTargetDir

        public String getTargetDir()
      • setTargetDir

        public void setTargetDir​(String targetDir)