def __init__(self): """ Constructor. """ self.__config = ConfigManager.ConfigManager.getInstance() self.__form = formatters.Formatters() self.__form_comment = formatters.CommentFormatters() DEBUG.info("SerialCppVisitor: 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() 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