def initBase(self, visitor):
     self.__config = ConfigManager.ConfigManager.getInstance()
     self.__form = formatters.Formatters.getInstance()
     self.__form_comment = formatters.CommentFormatters()
     self.__model_parser = ModelParser.ModelParser.getInstance()
     self.__visitor = visitor
     DEBUG.info("ComponentVisitor: Instanced.")
     self.bodytext = ""
     self.prototypetext = ""
Exemple #2
0
 def __init__(self):
     """
     Constructor.
     """
     self.__config = ConfigManager.ConfigManager.getInstance()
     self.__form = formatters.Formatters.getInstance()
     self.__form_comment = formatters.CommentFormatters()
     DEBUG.info("EventVisitor: Instanced.")
     self.bodytext = ""
     self.prototypetext = ""
Exemple #3
0
 def __init__(self):
     """
     Constructor.
     """
     self.__config = ConfigManager.ConfigManager.getInstance()
     self.__form = formatters.Formatters()
     self.__form_comment = formatters.CommentFormatters()
     self.__model_parser = ModelParser.ModelParser.getInstance()
     DEBUG.info("TopologyHVisitor: Instanced.")
     self.bodytext = ""
     self.prototypetext = ""
 def __init__(self):
     """
     Constructor.
     """
     self.__config       = ConfigManager.ConfigManager.getInstance()
     self.__form         = formatters.Formatters()
     self.__form_comment = formatters.CommentFormatters()
     self.__model_parser = ModelParser.ModelParser.getInstance()
     self.__cmd_dir = "channels"
     DEBUG.info("InstanceTopologyChannelHTMLVisitor: Instanced.")
     self.bodytext       = ""
     self.prototypetext  = ""
     self.__fp_dict      = dict() # dictionary of instance name keyword to file handle pointer