#  Copyright (C) 2017 The authors of Py-ChemShell
#
#  This file is part of Py-ChemShell.
#
#  Py-ChemShell is free software: you can redistribute it and/or modify
#  it under the terms of the GNU Lesser General Public License as
#  published by the Free Software Foundation, either version 3 of the
#  License, or (at your option) any later version.
#
#  Py-ChemShell is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU Lesser General Public License for more details.
#
#  You should have received a copy of the GNU Lesser General Public
#  License along with Py-ChemShell.  If not, see
#  <http://www.gnu.org/licenses/>.

from ctypes import Structure
from . import Objects

class Options(Objects):
    '''A container of Interface/Task options'''

    _init = '_properties'

    # YL 23/02/2021: unlike other classes whose Class._kwargs as a class attribute can be
    #                shared, a <class Options> instance must use a unique dictionary to
    #                server for every other class
    @property
    def _kwargs(self):
        '''<class Options> version of _kwargs dictionary'''

        try:
            return self.__kwargs
        except:
            self.__kwargs = dict()
            return self.__kwargs


    @_kwargs.setter
    def _kwargs(self, val):
        '''Setter of _kwargs'''

        self.__kwargs = val


class LegalTypes(tuple):
    ''''''
    pass

