de.uni_paderborn.fujaba.codegen
Class GnuCPPHeaderGenVisitor
java.lang.Object
de.uni_paderborn.fujaba.codegen.CodeGenVisitor
de.uni_paderborn.fujaba.codegen.OOGenVisitor
de.uni_paderborn.fujaba.codegen.AbstractCPPGenVisitor
de.uni_paderborn.fujaba.codegen.GnuCPPHeaderGenVisitor
- public class GnuCPPHeaderGenVisitor
- extends AbstractCPPGenVisitor
Class GnuCPPGenVisitor
- Version:
- $Revision: 1.17 $
- Author:
- $Author: schneider $
Fields inherited from class de.uni_paderborn.fujaba.codegen.OOGenVisitor |
ABSTRACT_STRING, ADD_OP_STRING, ADD_TO_SET_METHOD_STRING, AND_OP_STRING, ASSIGNMENT_OP_STRING, BREAK_STRING, CASE_STRING, CATCH_STRING, CLASS_STRING, CLOSE_NORM_BRACKET, COMPARE_TO_METHOD_STRING, DECR_OP_STRING, DIV_OP_STRING, DO_STRING, ELSE_STRING, EMPTY_STRING, END_BLOCK, END_METHOD_BLOCK, END_OF_LINE, END_OF_STATEMENT, END_OF_STATEMENT_LINE, EQUAL_OP_STRING, EQUALS_METHOD_STRING, EXTENDS_STRING, F_STATIC_STRING, FALSE_STRING, FINAL_STRING, FINALLY_STRING, FOR_STRING, GREATER_EQUAL_OP_STRING, GREATER_OP_STRING, IF_STRING, ILLEGALDATA_EXCEPTION_STRING, IMPLEMENTS_STRING, INCR_OP_STRING, INTERFACE_STRING, INTERRUPTED_EXCEPTION_STRING, LESS_EQUAL_OP_STRING, LESS_OP_STRING, LIST_SEPARATOR, MUL_OP_STRING, NATIVE_STRING, NO_ORDER, NOT_EQUAL_OP_STRING, NOT_OP_STRING, NULL_STRING, OPEN_NORM_BRACKET, OR_OP_STRING, ORDER, POINTER_POSTFIX, RETURN_STRING, SDM_ENSURE_STRING, SDM_EXCEPTION_STRING, SET_CONTAINS_METHOD_STRING, START_BLOCK, START_IF_BLOCK, START_METHOD_BLOCK, START_METHOD_BODY, SUB_OP_STRING, SWITCH_STRING, SYNCHRONIZED_STRING, THIS_STRING, TMP_FILE_EXTENDER, TRANSIENT_STRING, TRUE_STRING, TRY_STRING, UNIT_ASSERT_STRING, visibilityStrings, WHILE_STRING |
Method Summary |
void |
appendUMLMethodBody(java.lang.String body)
No comment provided by developer, please add a comment to improve documentation. |
void |
generateClassEndBlock()
No comment provided by developer, please add a comment to improve documentation. |
void |
generateClassStartBlock()
No comment provided by developer, please add a comment to improve documentation. |
void |
generatePackageBegin(FFile theFile)
No comment provided by developer, please add a comment to improve documentation. |
void |
generatePackageEnd(FFile theFile)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
getAttrDeclName(FAttr theAttr)
Get the attrDeclName attribute of the GnuCPPHeaderGenVisitor object |
java.lang.String |
getMethodDeclName(FMethod theMethod)
Get the methodDeclName attribute of the GnuCPPHeaderGenVisitor object |
java.lang.String |
getMethodDeclVisibilityString(int visibility)
Get the uMLMethodDeclVisibilityString attribute of the GnuCPPHeaderGenVisitor object |
java.lang.String |
getUMLAttrDeclVisibilityString(int visibility)
Get the uMLAttrDeclVisibilityString attribute of the GnuCPPHeaderGenVisitor object |
java.lang.String |
toString()
|
Methods inherited from class de.uni_paderborn.fujaba.codegen.AbstractCPPGenVisitor |
generateImportClass, generateImportPackage, getAssocTemplateName, getContainerName, getMethodName, getOOTypeAsString, getReferenceTemplateName, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getTypeAsString, initProgLangTypes, initVisibilityStrings, removeYou |
Methods inherited from class de.uni_paderborn.fujaba.codegen.OOGenVisitor |
addToProgLangTypes, appendAttrCommentary, appendAttrDeclaration, appendClassCommentary, appendClassDeclaration, appendMethodBody, appendMethodCommentary, appendMethodDeclaration, appendStatement, createAttrCommentary, createAttrDeclaration, createClassCommentary, createClassDeclaration, createClassExtendsDeclaration, createClassInterfaceModifier, createCloseBlock, createInitializerDeclaration, createInterfaceDeclaration, createInterfaceExtendsDeclaration, createMethodCommentary, createMethodDeclaration, createMethodParam, createMethodParamList, createNormalFMethodDeclaration, createOpenBlock, entriesOfProgLangTypes, generateCloseBlock, generateOpenBlock, getAttrDeclVisibilityString, getClassName, getContainerName, getFromProgLangTypes, getInterfaceName, getOOTypeAsString, getOOTypeAsString, getOOTypeAsString, getOOTypeAsString, getOperationText, getProgLangType, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getSourceCode, getTypeAsString, getTypeNameAsString, getTypeNameAsString, getVarName, getVarName, getVisibilityString, hasInProgLangTypes, hasKeyInProgLangTypes, iteratorOfProgLangTypes, keysOfProgLangTypes, removeAllFromProgLangTypes, removeKeyFromProgLangTypes |
Methods inherited from class de.uni_paderborn.fujaba.codegen.CodeGenVisitor |
append, append, appendFragment, appendTextFragment, createCommentary, createDirectory, createFile, createFiles, createIndentString, createIndentString, createLineCommentary, decIndentNr, getCodeGenStrategy, getCurrentBuffer, getCurrentFile, getCurrentFragment, getCurrentStrategy, getExtender, getFileName, getFirstFragment, getIndentNr, getName, getPath, incIndentNr, indentText, indentText, initBuffer, initVisitor, isCommentary, newLine, removeIndentFromCommentary, setCodeGenStrategy, setCurrentFile, setCurrentStrategy, setExtender, setFirstFragment, setIndentNr, setName, setPath, writeBufferToFile, writeFiles, writeFragmentsToFile, writeFragmentsToStream, writeFragmentToStream, writeToStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GnuCPPHeaderGenVisitor
public GnuCPPHeaderGenVisitor()
- Default Constructor
generatePackageBegin
public void generatePackageBegin(FFile theFile)
- No comment provided by developer, please add a comment to improve documentation.
- Specified by:
generatePackageBegin
in class OOGenVisitor
- Parameters:
theFile
- No description provided
generatePackageEnd
public void generatePackageEnd(FFile theFile)
- No comment provided by developer, please add a comment to improve documentation.
- Specified by:
generatePackageEnd
in class OOGenVisitor
- Parameters:
theFile
- No description provided
generateClassEndBlock
public void generateClassEndBlock()
- No comment provided by developer, please add a comment to improve documentation.
- Specified by:
generateClassEndBlock
in class OOGenVisitor
generateClassStartBlock
public void generateClassStartBlock()
- No comment provided by developer, please add a comment to improve documentation.
- Specified by:
generateClassStartBlock
in class OOGenVisitor
appendUMLMethodBody
public void appendUMLMethodBody(java.lang.String body)
- No comment provided by developer, please add a comment to improve documentation.
- Parameters:
body
- No description provided
getUMLAttrDeclVisibilityString
public java.lang.String getUMLAttrDeclVisibilityString(int visibility)
- Get the uMLAttrDeclVisibilityString attribute of the GnuCPPHeaderGenVisitor object
- Parameters:
visibility
- No description provided
- Returns:
- The uMLAttrDeclVisibilityString value
getMethodDeclVisibilityString
public java.lang.String getMethodDeclVisibilityString(int visibility)
- Get the uMLMethodDeclVisibilityString attribute of the GnuCPPHeaderGenVisitor object
- Overrides:
getMethodDeclVisibilityString
in class OOGenVisitor
- Parameters:
visibility
- No description provided
- Returns:
- The uMLMethodDeclVisibilityString value
getAttrDeclName
public java.lang.String getAttrDeclName(FAttr theAttr)
- Get the attrDeclName attribute of the GnuCPPHeaderGenVisitor object
- Specified by:
getAttrDeclName
in class OOGenVisitor
- Parameters:
theAttr
- No description provided
- Returns:
- The attrDeclName value
getMethodDeclName
public java.lang.String getMethodDeclName(FMethod theMethod)
- Get the methodDeclName attribute of the GnuCPPHeaderGenVisitor object
- Specified by:
getMethodDeclName
in class OOGenVisitor
- Parameters:
theMethod
- No description provided
- Returns:
- The methodDeclName value
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractCPPGenVisitor
- Returns:
- short string representation of current object