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

#include <LINK/graph/Vertex.h>

#include <LINK/basic/Sequence.h>

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


typedef Set<Vertex*> _Set_Vertex__;
typedef Sequence<Set<Vertex*> > _Sequence_Set_Vertex___;
static Sequence<Set<Vertex*> > s__Sequence_Set_Vertex___;

#define _Sequence_Set_Vertex___DATA(x) ((Sequence<Set<Vertex*> >*) (EXTDATA(x)))
#define _Sequence_Set_Vertex___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<Set<Vertex*> > >::type))
#define _Sequence_Set_Vertex___ISNT_DATA(x) (!_Sequence_Set_Vertex___IS_DATA(x))

#define _Sequence_Set_Vertex___CXX_DATA(x) (*(Sequence<Set<Vertex*> >*) (EXTDATA(VAL(x))))
#define _Sequence_Set_Vertex___CXX_IS_DATA(x) (INSTANCEP(x) && \
		TYPEP(STk_slot_ref(x,val_scm), tc_CXXwrapper) && \
		(EXTID(STk_slot_ref(x,val_scm)) == Wrapper<Sequence<Set<Vertex*> > >::type))
#define _Sequence_Set_Vertex___CXX_ISNT_DATA(x) (!_Sequence_Set_Vertex___CXX_IS_DATA(x))


PRIMITIVE STk_init__Sequence_Set_Vertex___()
{
	Wrapper<_Sequence_Set_Vertex___>::type = STk_new_CXXwrapper_id(
			Wrapper<_Sequence_Set_Vertex___>::name, 
			Wrapper<Collection<Set<Vertex*> > >::name,
			(void (*)(SCM x, SCM port, int mode))
			CollectionWrapper<_Set_Vertex__>::displayTypedCollection,
			(void (*)(SCM x))CollectionWrapper<_Set_Vertex__>::markTypedCollection,
			(void (*)(SCM x))CollectionWrapper<_Set_Vertex__>::freeTypedCollection);
	Tcl_InitHashTable(&Register<_Sequence_Set_Vertex___>::objTable, TCL_ONE_WORD_KEYS);
	return UNDEFINED;
}

void genExtra_Sequence_Set_Vertex___Methods(void);

PRIMITIVE STk_init_methods__Sequence_Set_Vertex___()
{
	genExtra_Sequence_Set_Vertex___Methods();
	return UNDEFINED;
}
