org.biomage.tools.generate_cpp
Class CreateCPPFile.AssignmentWriter

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

public class CreateCPPFile.AssignmentWriter
extends CreateCPPFile.ConstructorBodyWriter

Description: Writes the Assignment operator to the CPP file.


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

Constructor Detail

CreateCPPFile.AssignmentWriter

public CreateCPPFile.AssignmentWriter(java.io.FileWriter writer,
                                      CreateFile creator)
                               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

doBase

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

writeBase

public boolean writeBase(CreateFile creator,
                         java.lang.String name,
                         boolean wroteone)
                  throws java.lang.Exception
Overrides:
writeBase in class CreateCPPFile.specificWriter
Throws:
java.lang.Exception

doAttrs

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

writeAttr

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

doAssocations

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

writeAssoc

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