Uses of Class
edu.nps.moves.dis7.source.generator.pdus.GeneratedClass
Packages that use GeneratedClass
Package
Description
Code generator classes supporting software production to create the
edu.nps.moves.dis7
libraries.-
Uses of GeneratedClass in edu.nps.moves.dis7.source.generator.pdus
Fields in edu.nps.moves.dis7.source.generator.pdus with type parameters of type GeneratedClassModifier and TypeFieldDescriptionprotected Map
<String, GeneratedClass> AbstractGenerator.classDescriptions
Contains abstract descriptions of all the classes, key = name, value = objectprotected Map
<String, GeneratedClass> GeneratePdusForGivenLanguage.generatedClassNames
Contains the database of all the classes described by the XML documentMethods in edu.nps.moves.dis7.source.generator.pdus with parameters of type GeneratedClassModifier and TypeMethodDescriptionvoid
TreeNode.addClass
(GeneratedClass aClass) Add class to treevoid
CsharpGenerator.postProcessData
(edu.nps.moves.dis7.source.generator.pdus.PrintStringBuffer printStringBuffer, GeneratedClass aClass) postprocess data as neededvoid
CsharpGenerator.writeBitflagMethods
(edu.nps.moves.dis7.source.generator.pdus.PrintStringBuffer pw, GeneratedClass aClass, int indent) Some fields have integers with bit fields defined, eg an integer where bits 0-2 represent some value, while bits 3-4 represent another value, and so on.This writes accessor and mutator methods for those fields.void
CsharpGenerator.writeClass
(edu.nps.moves.dis7.source.generator.pdus.PrintStringBuffer pw, GeneratedClass aClass) Generate a source code file with getters, setters, ivars, and marshal/unmarshal methods for one class.void
PythonGenerator.writeClass
(PrintWriter printWriter, GeneratedClass aClass) Create custom outputvoid
PythonGenerator.writeClassComments
(PrintWriter printWriter, GeneratedClass aClass) Create custom outputvoid
CppGenerator.writeCppFile
(GeneratedClass aClass) output file for this classvoid
ObjcGenerator.writeDeallocMethod
(PrintWriter printWriter, GeneratedClass aClass) Produce custom output methodvoid
JavaGenerator.writeEqualityImplMethod
(PrintWriter pw, GeneratedClass aClass) write equalsImpl(...) method to this class to parent or subclassesvoid
JavaGenerator.writeEqualityMethod
(PrintWriter pw, GeneratedClass aClass) Write the code for an equality operator.void
CppGenerator.writeEqualityOperator
(PrintWriter pw, GeneratedClass aClass) Write the code for an equality operator.This allows you to compare two objects for equality.The code should look like bool operator ==(const ClassName& rhs) return (_ivar1==rhs._ivar1 && _var2 == rhs._ivar2 ...)void
ObjcGenerator.writeEqualityOperator
(PrintWriter printWriter, GeneratedClass aClass) Write the code for an equality operator.void
JavascriptGenerator.writeFlagMethods
(PrintWriter pw, GeneratedClass aClass) Some fields have integers with bit fields defined, eg an integer where bits 0-2 represent some value, while bits 3-4 represent another value, and so on.void
PythonGenerator.writeFlagMethods
(PrintWriter pw, GeneratedClass aClass) Some fields have integers with bit fields defined, eg an integer where bits 0-2 represent some value, while bits 3-4 represent another value, and so on.void
CppGenerator.writeGetMarshalledSizeMethod
(PrintWriter pw, GeneratedClass aClass) output marshalled sizevoid
CsharpGenerator.writeGetMarshalledSizeMethod
(edu.nps.moves.dis7.source.generator.pdus.PrintStringBuffer pw, GeneratedClass aClass, int indent) Write out method to get marshalled sizevoid
JavaGenerator.writeGetMarshalledSizeMethod
(PrintWriter printWriter, GeneratedClass aClass) Produce custom getMarshalledSize() methodvoid
ObjcGenerator.writeGetMarshalledSizeMethod
(PrintWriter printWriter, GeneratedClass aClass) Produce custom output methodvoid
CppGenerator.writeHeaderFile
(GeneratedClass aClass) Generate a c++ header file for the classesvoid
ObjcGenerator.writeHeaderFile
(GeneratedClass aClass) Generate a c++ header file for the classesvoid
PythonGenerator.writeMarshal
(PrintWriter pw, GeneratedClass aClass) The method that writes out the python marshalling codevoid
CppGenerator.writeMarshalMethod
(PrintWriter pw, GeneratedClass aClass) Write the code for a method that marshals out the object into a DIS format byte array.void
ObjcGenerator.writeMarshalMethod
(PrintWriter pw, GeneratedClass aClass) Write the code for a method that marshals out the object into a DIS format byte array.void
ObjcGenerator.writeObjcFile
(GeneratedClass aClass) Write custom object filevoid
CppGenerator.writeSetterMethod
(PrintWriter pw, GeneratedClass aClass, GeneratedClassAttribute anAttribute) write out setter methodvoid
JavaGenerator.writeToStringMethod
(PrintWriter pw, GeneratedClass aClass) Build the toString() method for this class, using the toString() methods of the fields of the objectvoid
PythonGenerator.writeUnmarshal
(PrintWriter printWriter, GeneratedClass aClass) Create custom methodvoid
CppGenerator.writeUnmarshalMethod
(PrintWriter pw, GeneratedClass aClass) write out unmarshal methodvoid
ObjcGenerator.writeUnmarshalMethod
(PrintWriter printWriter, GeneratedClass aClass) Produce custom output methodConstructors in edu.nps.moves.dis7.source.generator.pdus with parameters of type GeneratedClassConstructor parameters in edu.nps.moves.dis7.source.generator.pdus with type arguments of type GeneratedClassModifierConstructorDescriptionAbstractGenerator
(Map<String, GeneratedClass> pClassDescriptions, Properties pLanguageProperties) ConstructorCppGenerator
(Map<String, GeneratedClass> pClassDescriptions, Properties pCppProperties) ConstructorCsharpGenerator
(Map<String, GeneratedClass> pClassDescriptions, Properties pCsharpProperties) Create a generatorJavaGenerator
(Map<String, GeneratedClass> pClassDescriptions, Properties pJavaProperties) ConstructorJavascriptGenerator
(Map<String, GeneratedClass> pClassDescriptions, Properties pJavascriptProperties) Given the input object, something of an abstract syntax tree, this generates a source code file in the JavaScript language.It has ivars, getters, setters, and serialization/deserialization methods.Warning: only partially implemented.ObjcGenerator
(Map<String, GeneratedClass> pClassDescriptions, Properties pObjcProperties) Given the input object, something of an abstract syntax tree, this generates a source code file in the ObjectiveC language.PythonGenerator
(Map<String, GeneratedClass> pClassDescriptions, Properties languagePropertiesPython) Given the input object, something of an abstract syntax tree, this generates a source code file in the Python language.It has ivars, getters, setters, and serialization/deserialization methods.Warning: only partially implemented.