org.biomage.tools.generate_cpp
Class CreateCPPFile.specificWriter
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateCPPFile.specificWriter
public CreateCPPFile.specificWriter()
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