# Path: polyadcirc/pyADCIRC/basic.py
# class pickleable(object):
#     """
#     Class that makes objects easily pickleable via a dict
#     """
#     def __init__(self):
#         super(pickleable, self).__init__()
# 
#     def __getstate__(self):
#         """
#         :rtype: dict
#         :returns: ``self.__dict__.copy()``
#         """
#         odict = self.__dict__.copy()
#         return odict
# 
#     def __setstate__(self, dict):
#         """
#         :param dict: dict to update
# 
#         ``self.__dict__.update(dict)``
#         """
#         self.__dict__.update(dict)


import glob, os, re
from polyadcirc.pyADCIRC.basic import pickleable

        """ 
        create_table(self.table, folder_name)

    def read_table(self, folder_name=None):
        """ 
        Read in ``self.table.file_name`` in ``folder_name`` 
       
        :param string folder_name: folder to read the table from
        :rtype: :class:`tableInfo`
        :returns: an object with all of the information in that table
        
        """ 
        return read_table(self.table.file_name, folder_name)

class tableInfo(pickleable):
    """
    This class stores the relation between Manning's *n* values and land class
    numbers.

    """
    def __init__(self, file_name, land_classes):
        """ Initializes a tableInfo object associated with file_name,
        containing all of the information in file_name
        """
        self.file_name = file_name 
        """ Name of classified value table, ``*.table`` """
        self.land_classes = land_classes 
        """ dict of land classification numbers and associated mannings_n
            values """

# Path: polyadcirc/pyADCIRC/basic.py
# class pickleable(object):
#     """
#     Class that makes objects easily pickleable via a dict
#     """
#     def __init__(self):
#         super(pickleable, self).__init__()
# 
#     def __getstate__(self):
#         """
#         :rtype: dict
#         :returns: ``self.__dict__.copy()``
#         """
#         odict = self.__dict__.copy()
#         return odict
# 
#     def __setstate__(self, dict):
#         """
#         :param dict: dict to update
# 
#         ``self.__dict__.update(dict)``
#         """
#         self.__dict__.update(dict)


# Path: polyadcirc/pyGriddata/table_management.py
import glob, os, re
from polyadcirc.pyADCIRC.basic import pickleable


        """ 
        create_table(self.table, folder_name)

    def read_table(self, folder_name=None):
        """ 
        Read in ``self.table.file_name`` in ``folder_name`` 
       
        :param string folder_name: folder to read the table from
        :rtype: :class:`tableInfo`
        :returns: an object with all of the information in that table
        
        """ 
        return read_table(self.table.file_name, folder_name)

class tableInfo(pickleable):
    """
    This class stores the relation between Manning's *n* values and land class
    numbers.

    """
    def __init__(self, file_name, land_classes):
        """ Initializes a tableInfo object associated with file_name,
        containing all of the information in file_name
        """
        self.file_name = file_name 
        """ Name of classified value table, ``*.table`` """
        self.land_classes = land_classes 
        """ dict of land classification numbers and associated mannings_n
            values """

        super(tableInfo, self).__init__()