# Path: lems/base/base.py
# class LEMSBase(object):
#     """
#     Base object for PyLEMS.
#     """
# 
#     def copy(self):
#         return copy.deepcopy(self)
# 
#     def toxml(self):
#         return ""


from lems.base.base import LEMSBase
"""



class Include(LEMSBase):
    """
    Include another LEMS file.
    """

    def __init__(self, filename):
        """
        Constructor.

        :param filename: Name of the file.
        :type name: str

        """

        self.file = filename
        """ Name of the file.
        :type: str """

    def toxml(self):
        """
        Exports this object into a LEMS XML object
        """

        return '<Include file="%s"/>' % self.file



# Path: lems/base/base.py
# class LEMSBase(object):
#     """
#     Base object for PyLEMS.
#     """
# 
#     def copy(self):
#         return copy.deepcopy(self)
# 
#     def toxml(self):
#         return ""


# Path: lems/model/fundamental.py
from lems.base.base import LEMSBase

"""



class Include(LEMSBase):
    """
    Include another LEMS file.
    """

    def __init__(self, filename):
        """
        Constructor.

        :param filename: Name of the file.
        :type name: str

        """

        self.file = filename
        """ Name of the file.
        :type: str """

    def toxml(self):
        """
        Exports this object into a LEMS XML object
        """

        return '<Include file="%s"/>' % self.file



class Dimension(LEMSBase):