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

#include <LINK/basic/Sequence.h>

#include <LINK/graph/Attribute.h>

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


typedef AttributeBase* _AttributeBase_;
typedef Sequence<AttributeBase* > _Sequence_AttributeBase__;
static Sequence<AttributeBase* > s__Sequence_AttributeBase__;

#define _Sequence_AttributeBase__DATA(x) ((Sequence<AttributeBase* >*) (EXTDATA(x)))
#define _Sequence_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<Sequence<AttributeBase* > >::type))
#define _Sequence_AttributeBase__ISNT_DATA(x) (!_Sequence_AttributeBase__IS_DATA(x))

#define _Sequence_AttributeBase__CXX_DATA(x) (*(Sequence<AttributeBase* >*) (EXTDATA(VAL(x))))
#define _Sequence_AttributeBase__CXX_IS_DATA(x) (INSTANCEP(x) && \
		TYPEP(STk_slot_ref(x,val_scm), tc_CXXwrapper) && \
		(EXTID(STk_slot_ref(x,val_scm)) == Wrapper<Sequence<AttributeBase* > >::type))
#define _Sequence_AttributeBase__CXX_ISNT_DATA(x) (!_Sequence_AttributeBase__CXX_IS_DATA(x))


PRIMITIVE STk_init__Sequence_AttributeBase__()
{
	Wrapper<_Sequence_AttributeBase__>::type = STk_new_CXXwrapper_id(
			Wrapper<_Sequence_AttributeBase__>::name, 
			Wrapper<Collection<AttributeBase*> >::name,
			(void (*)(SCM x, SCM port, int mode))
			CollectionWrapper<_AttributeBase_>::displayTypedCollection,
			(void (*)(SCM x))CollectionWrapper<_AttributeBase_>::markTypedCollection,
			(void (*)(SCM x))CollectionWrapper<_AttributeBase_>::freeTypedCollection);
	Tcl_InitHashTable(&Register<_Sequence_AttributeBase__>::objTable, TCL_ONE_WORD_KEYS);
	return UNDEFINED;
}

void genExtra_Sequence_AttributeBase__Methods(void);

PRIMITIVE STk_init_methods__Sequence_AttributeBase__()
{
	genExtra_Sequence_AttributeBase__Methods();
	return UNDEFINED;
}
