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