org.biomage.tools.generate_cpp
Class CreateCPPFile.ConstructorBodyWriter

java.lang.Object
  extended by org.biomage.tools.generate_cpp.CreateCPPFile.specificWriter
      extended by org.biomage.tools.generate_cpp.CreateCPPFile.ConstructorBodyWriter
Direct Known Subclasses:
CreateCPPFile.AssignmentWriter
Enclosing class:
CreateCPPFile

public class CreateCPPFile.ConstructorBodyWriter
extends CreateCPPFile.specificWriter

Description: Writes the copy constructor body needed into the CPP file.


Constructor Summary
CreateCPPFile.ConstructorBodyWriter(java.io.FileWriter writer)
           
 
Method Summary
 boolean doAssocations()
           
 boolean writeAssoc(CreateFile creator, CreateFile.AssociationAttrInformation attr, boolean wroteone)
           
 
Methods inherited from class org.biomage.tools.generate_cpp.CreateCPPFile.specificWriter
doAttrs, doBase, writeAssocComment, writeAttr, writeAttrComment, writeBase, writeBaseComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateCPPFile.ConstructorBodyWriter

public CreateCPPFile.ConstructorBodyWriter(java.io.FileWriter writer)
                                    throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

doAssocations

public boolean doAssocations()
Overrides:
doAssocations in class CreateCPPFile.specificWriter

writeAssoc

public boolean writeAssoc(CreateFile creator,
                          CreateFile.AssociationAttrInformation attr,
                          boolean wroteone)
                   throws java.lang.Exception
Overrides:
writeAssoc in class CreateCPPFile.specificWriter
Throws:
java.lang.Exception