de.uni_paderborn.fujaba.codegen
Class GnuCPPClassGenVisitor

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.CodeGenVisitor
      extended byde.uni_paderborn.fujaba.codegen.OOGenVisitor
          extended byde.uni_paderborn.fujaba.codegen.AbstractCPPGenVisitor
              extended byde.uni_paderborn.fujaba.codegen.GnuCPPClassGenVisitor

public class GnuCPPClassGenVisitor
extends AbstractCPPGenVisitor

Class GnuCPPGenVisitor

Version:
$Revision: 1.15 $
Author:
$Author: schneider $

Field Summary
 
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
 
Fields inherited from class de.uni_paderborn.fujaba.codegen.CodeGenVisitor
EIFFEL_VISITOR, END_BLOCK_COMMENTARY, GNU_CPP_CLASS_VISITOR, GNU_CPP_HEADER_VISITOR, INDENT_STRING, JAVA_VISITOR, LINE_COMMENTARY, LINE_IN_BLOCK_COMMENTARY, START_BLOCK_COMMENTARY
 
Constructor Summary
GnuCPPClassGenVisitor()
          Default Constructor
 
Method Summary
 void appendAttrCommentary(java.lang.String comment)
          No comment provided by developer, please add a comment to improve documentation.
 void appendAttrDeclaration(java.lang.String declString)
          No comment provided by developer, please add a comment to improve documentation.
 void appendClassDeclaration(java.lang.String declString)
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.String createAttrCommentary(FCommentary theCommentary)
          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 GnuCPPClassGenVisitor object
 java.lang.String getMethodDeclName(FMethod theMethod)
          Get the methodDeclName attribute of the GnuCPPClassGenVisitor object
 java.lang.String getMethodDeclVisibilityString(int visibility)
          Get the uMLMethodDeclVisibilityString attribute of the GnuCPPClassGenVisitor 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, appendClassCommentary, appendMethodBody, appendMethodCommentary, appendMethodDeclaration, appendStatement, 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
 

Constructor Detail

GnuCPPClassGenVisitor

public GnuCPPClassGenVisitor()
Default Constructor

Method Detail

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

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

createAttrCommentary

public java.lang.String createAttrCommentary(FCommentary theCommentary)
No comment provided by developer, please add a comment to improve documentation.

Overrides:
createAttrCommentary in class OOGenVisitor
Parameters:
theCommentary - No description provided
Returns:
No description provided

appendClassDeclaration

public void appendClassDeclaration(java.lang.String declString)
No comment provided by developer, please add a comment to improve documentation.

Overrides:
appendClassDeclaration in class OOGenVisitor
Parameters:
declString - No description provided

appendAttrCommentary

public void appendAttrCommentary(java.lang.String comment)
No comment provided by developer, please add a comment to improve documentation.

Overrides:
appendAttrCommentary in class OOGenVisitor
Parameters:
comment - No description provided

appendAttrDeclaration

public void appendAttrDeclaration(java.lang.String declString)
No comment provided by developer, please add a comment to improve documentation.

Overrides:
appendAttrDeclaration in class OOGenVisitor
Parameters:
declString - No description provided

getMethodDeclVisibilityString

public java.lang.String getMethodDeclVisibilityString(int visibility)
Get the uMLMethodDeclVisibilityString attribute of the GnuCPPClassGenVisitor 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 GnuCPPClassGenVisitor 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 GnuCPPClassGenVisitor 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