cct.cprocessor
Class MacroProcessor

java.lang.Object
  extended by cct.cprocessor.MacroProcessor
All Implemented Interfaces:
MacroProcessorInterface

public class MacroProcessor
extends java.lang.Object
implements MacroProcessorInterface

Title:

Description:

Copyright: Copyright (c) 2007

Company: ANU


Field Summary
(package private)  CommandProcessor commandProcessor
           
(package private)  java.util.ArrayList currentMacroBlock
           
(package private)  java.lang.String currentMacroName
           
(package private)  java.util.HashMap macroNames
           
(package private)  java.util.ArrayList Macros
           
(package private)  MolProcessorInterface MPI
           
 
Constructor Summary
MacroProcessor(MolProcessorInterface mpi)
           
 
Method Summary
 void addAtom(java.lang.Object atom)
           
 void addBond(java.lang.Object atom_1, java.lang.Object atom_2)
           
static void main(java.lang.String[] args)
           
 void recordMacro(java.lang.String macroName)
           
 void stopRecordMacro()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MPI

MolProcessorInterface MPI

commandProcessor

CommandProcessor commandProcessor

macroNames

java.util.HashMap macroNames

Macros

java.util.ArrayList Macros

currentMacroName

java.lang.String currentMacroName

currentMacroBlock

java.util.ArrayList currentMacroBlock
Constructor Detail

MacroProcessor

public MacroProcessor(MolProcessorInterface mpi)
Method Detail

main

public static void main(java.lang.String[] args)

addAtom

public void addAtom(java.lang.Object atom)
Specified by:
addAtom in interface MacroProcessorInterface

addBond

public void addBond(java.lang.Object atom_1,
                    java.lang.Object atom_2)
Specified by:
addBond in interface MacroProcessorInterface

recordMacro

public void recordMacro(java.lang.String macroName)
Specified by:
recordMacro in interface MacroProcessorInterface

stopRecordMacro

public void stopRecordMacro()
Specified by:
stopRecordMacro in interface MacroProcessorInterface