///home/berryj/link/bin/genMethods "-g" "-t" "AttributeBase*" "-h" "SortedList" "-r" "List<AttributeBase*>" "-I" "LINK/basic/List.h" "-I" "LINK/graph/Attribute.h" "-d" "graph" 
#include <stk.h>
#include <LINK/stkWrapper/LINK_STk.h>

#include <LINK/basic/List.h>

#include <LINK/graph/Attribute.h>

#include <LINK/stkWrapper/Wrapper.h>
#include <LINK/stkWrapper/Register.h>
#include <LINK/stkWrapper/ListWrapper.h>


typedef AttributeBase* _AttributeBase_;
typedef SortedList<AttributeBase* > _SortedList_AttributeBase__;
static SortedList<AttributeBase* > s__SortedList_AttributeBase__;

#define _SortedList_AttributeBase__DATA(x) ((SortedList<AttributeBase* >*) (EXTDATA(x)))
#define _SortedList_AttributeBase__IS_DATA(x) (TYPEP(x, tc_CXXwrapper) && \
		TYPEP(STk_slot_ref(x,val_scm), tc_CXXwrapper) && \
		(EXTID(STk_slot_ref(x,val_scm)) == Wrapper<SortedList<AttributeBase* > >::type))
#define _SortedList_AttributeBase__ISNT_DATA(x) (!_SortedList_AttributeBase__IS_DATA(x))

#define _SortedList_AttributeBase__CXX_DATA(x) (*(SortedList<AttributeBase* >*) (EXTDATA(VAL(x))))
#define _SortedList_AttributeBase__CXX_IS_DATA(x) (INSTANCEP(x) && \
		TYPEP(STk_slot_ref(x,val_scm), tc_CXXwrapper) && \
		(EXTID(STk_slot_ref(x,val_scm)) == Wrapper<SortedList<AttributeBase* > >::type))
#define _SortedList_AttributeBase__CXX_ISNT_DATA(x) (!_SortedList_AttributeBase__CXX_IS_DATA(x))


PRIMITIVE STk_init__SortedList_AttributeBase__()
{
	Wrapper<_SortedList_AttributeBase__>::type = STk_new_CXXwrapper_id(
			Wrapper<_SortedList_AttributeBase__>::name, 
			Wrapper<List<AttributeBase*> >::name,
			(void (*)(SCM x, SCM port, int mode))
			ListWrapper<_AttributeBase_>::displayTypedList,
			(void (*)(SCM x))ListWrapper<_AttributeBase_>::markTypedList,
			(void (*)(SCM x))ListWrapper<_AttributeBase_>::freeTypedList);
	Tcl_InitHashTable(&Register<_SortedList_AttributeBase__>::objTable, TCL_ONE_WORD_KEYS);
	return UNDEFINED;
}

void genExtra_SortedList_AttributeBase__Methods(void);

PRIMITIVE STk_init_methods__SortedList_AttributeBase__()
{
	genExtra_SortedList_AttributeBase__Methods();
	return UNDEFINED;
}
