org.biomage.tools.generate_cpp
Class CreateCPPFile.EquivalenceWriter

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

public class CreateCPPFile.EquivalenceWriter
extends CreateCPPFile.specificWriter

Description: Writes the =='s operator to the CPP file.


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

Field Detail

wrotesome

public boolean wrotesome
Constructor Detail

CreateCPPFile.EquivalenceWriter

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

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