///home/berryj/link/bin/genMethods "-g" "-t" "Sequence<Vertex*>" "-h" "MSet" "-r" "Collection<Sequence<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 Sequence<Vertex*> _Sequence_Vertex__;
typedef MSet<Sequence<Vertex*> > _MSet_Sequence_Vertex___;
static MSet<Sequence<Vertex*> > s__MSet_Sequence_Vertex___;

#define _MSet_Sequence_Vertex___DATA(x) ((MSet<Sequence<Vertex*> >*) (EXTDATA(x)))
#define _MSet_Sequence_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<MSet<Sequence<Vertex*> > >::type))
#define _MSet_Sequence_Vertex___ISNT_DATA(x) (!_MSet_Sequence_Vertex___IS_DATA(x))

#define _MSet_Sequence_Vertex___CXX_DATA(x) (*(MSet<Sequence<Vertex*> >*) (EXTDATA(VAL(x))))
#define _MSet_Sequence_Vertex___CXX_IS_DATA(x) (INSTANCEP(x) && \
		TYPEP(STk_slot_ref(x,val_scm), tc_CXXwrapper) && \
		(EXTID(STk_slot_ref(x,val_scm)) == Wrapper<MSet<Sequence<Vertex*> > >::type))
#define _MSet_Sequence_Vertex___CXX_ISNT_DATA(x) (!_MSet_Sequence_Vertex___CXX_IS_DATA(x))


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

void genExtra_MSet_Sequence_Vertex___Methods(void);

PRIMITIVE STk_init_methods__MSet_Sequence_Vertex___()
{
	genExtra_MSet_Sequence_Vertex___Methods();
	return UNDEFINED;
}
