Esempio n. 1
0
    def __str__(self):
        '''
            Dunder method for ReadTemplate.

            :return: object in a human-readable format.
            :rtype: <str>
            :exceptions: None
        '''
        return '{0} ({1})'.format(self.__class__.__name__,
                                  FileChecking.__str__(self))
Esempio n. 2
0
    def __str__(self):
        '''
            Dunder method for MCUSelector.

            :return: object in a human-readable format.
            :rtype: <str>
            :exceptions: None
        '''
        return '{0} ({1}, {2})'.format(self.__class__.__name__,
                                       FileChecking.__str__(self),
                                       str(self.__mcu_list))
Esempio n. 3
0
    def __str__(self):
        '''
            Dunder method for SchemaLoader.

            :return: object in a human-readable format.
            :rtype: <str>
            :exceptions: None
        '''
        return '{0} ({1}, {2})'.format(self.__class__.__name__,
                                       FileChecking.__str__(self),
                                       SchemaContainer.__str__(self))
Esempio n. 4
0
    def __str__(self):
        '''
            Dunder method for GenReadmeModule.

            :return: object in a human-readable format.
            :rtype: <str>
            :exceptions: None
        '''
        return '{0} ({1}, {2}, {3})'.format(
            self.__class__.__name__, FileChecking.__str__(self),
            str(self.__reader), str(self.__writer)
        )
Esempio n. 5
0
    def __str__(self):
        '''
            Dunder method for MessageQueue.

            :return: object in a human-readable format.
            :rtype: <str>
            :exceptions: None
        '''
        return '{0} ({1}, {2}, {3}, {4}, {5})'.format(
            self.__class__.__name__, FileChecking.__str__(self),
            ProConfig.__str__(self), ProName.__str__(self), str(self.__reader),
            str(self.__writer))
Esempio n. 6
0
    def __str__(self):
        '''
            Dunder method for GenPro.

            :return: object in a human-readable format.
            :rtype: <str>
            :exceptions: None
        '''
        return '{0} ({1}, {2}, {3}, {4})'.format(self.__class__.__name__,
                                                 FileChecking.__str__(self),
                                                 ProConfig.__str__(self),
                                                 ProName.__str__(self),
                                                 ProType.__str__(self))
Esempio n. 7
0
    def __str__(self):
        '''
            Dunder str method for ConfigFile.

            :return: object in a human-readable format.
            :rtype: <str>
            :exceptions: None
        '''
        return '{0} ({1}, {2}, {3}, {4}, {5}, {6})'.format(
            self.__class__.__name__,
            FileChecking.__str__(self),
            str(self.__verbose),
            self.__file_path,
            self.__file_mode,
            self.__file_format,
            self.__file,
        )