/*
    BCU SDK bcu development enviroment
    Copyright (C) 2005-2011 Martin Koegler <mkoegler@auto.tuwien.ac.at>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program 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 General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

OBJECT(Property)

#if !(defined(PARSER_GEN)&& defined(READ_INPUT))
ATTRIB_IDENT(ID)
#endif

ATTRIB_IDENT(Name)

ATTRIB_ENUM(Type,PropertyType,Map_PropertyType)
ATTRIB_INT_MAP(PropertyID,Map_PropertyID)
ATTRIB_INT(MaxArrayLength)
ATTRIB_BOOL(Writeable)
ATTRIB_BOOL(eeprom)
ATTRIB_IDENT(handler)

#if !defined(WRITE_OUTPUT) && !(defined(PARSER_GEN)&&defined(READ_BACK))
ATTRIB_STRING(Title)
ATTRIB_STRING(AddInfo)
#endif

CI_OBJECT(Property)

#if !defined(WRITE_OUTPUT) && !(defined(PARSER_GEN)&&defined(READ_BACK))
ATTRIB_BOOL(Disable)
ATTRIB_BOOL(ReadOnly)
ATTRIB_INT(ReadAccess)
ATTRIB_INT(WriteAccess)
#endif

END_OBJECT
