org.biomage.tools.generate_cpp
Class CreateCPPFile.specificWriter

java.lang.Object
  extended by org.biomage.tools.generate_cpp.CreateCPPFile.specificWriter
Direct Known Subclasses:
CreateCPPFile.ClassDeclWriter, CreateCPPFile.ConstructorBodyWriter, CreateCPPFile.ConstructorWriter, CreateCPPFile.DataMemberWriter, CreateCPPFile.EquivalenceWriter, CreateCPPFile.GetAndSetWriter, CreateCPPFile.ImportWriter, CreateCPPFile.IncludeWriter, CreateCPPFile.RemoveFromWriter, CreateCPPFile.TemplateWriter
Enclosing class:
CreateCPPFile

public class CreateCPPFile.specificWriter
extends java.lang.Object

Description: An abstract class used to in conjuction with the LoopNames function that reads through all the attributes and assocations. LoopNames calls the various methods below.


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

Constructor Detail

CreateCPPFile.specificWriter

public CreateCPPFile.specificWriter()
Method Detail

doBase

public boolean doBase()

writeBaseComment

public void writeBaseComment(CreateFile creator)
                      throws java.lang.Exception
Throws:
java.lang.Exception

writeBase

public boolean writeBase(CreateFile creator,
                         java.lang.String name,
                         boolean wroteone)
                  throws java.lang.Exception
Throws:
java.lang.Exception

doAttrs

public boolean doAttrs()

writeAttrComment

public void writeAttrComment(CreateFile creator)
                      throws java.lang.Exception
Throws:
java.lang.Exception

writeAttr

public boolean writeAttr(CreateFile creator,
                         CreateFile.AttrInformation attr,
                         boolean wroteone)
                  throws java.lang.Exception
Throws:
java.lang.Exception

doAssocations

public boolean doAssocations()

writeAssocComment

public void writeAssocComment(CreateFile creator)
                       throws java.lang.Exception
Throws:
java.lang.Exception

writeAssoc

public boolean writeAssoc(CreateFile creator,
                          CreateFile.AssociationAttrInformation assc,
                          boolean wroteone)
                   throws java.lang.Exception
Throws:
java.lang.Exception