org.biomage.tools.generate_cpp
Class CreateCPPFile.ConstructorWriter

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

public class CreateCPPFile.ConstructorWriter
extends CreateCPPFile.specificWriter

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


Constructor Summary
CreateCPPFile.ConstructorWriter(java.io.FileWriter writer, CreateFile creator)
           
 
Method Summary
 boolean doAssocations()
           
 boolean doAttrs()
           
 boolean doBase()
           
 void handleEnd(boolean alterEnd)
           
 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.ConstructorWriter

public CreateCPPFile.ConstructorWriter(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.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

handleEnd

public void handleEnd(boolean alterEnd)
               throws java.lang.Exception
Throws:
java.lang.Exception