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

#include <LINK/graph/Edge.h>

#include <LINK/basic/Sequence.h>

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


typedef Sequence<Edge*> _Sequence_Edge__;
typedef MSet<Sequence<Edge*> > _MSet_Sequence_Edge___;
static MSet<Sequence<Edge*> > s__MSet_Sequence_Edge___;

#define _MSet_Sequence_Edge___DATA(x) ((MSet<Sequence<Edge*> >*) (EXTDATA(x)))
#define _MSet_Sequence_Edge___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<Edge*> > >::type))
#define _MSet_Sequence_Edge___ISNT_DATA(x) (!_MSet_Sequence_Edge___IS_DATA(x))

#define _MSet_Sequence_Edge___CXX_DATA(x) (*(MSet<Sequence<Edge*> >*) (EXTDATA(VAL(x))))
#define _MSet_Sequence_Edge___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<Edge*> > >::type))
#define _MSet_Sequence_Edge___CXX_ISNT_DATA(x) (!_MSet_Sequence_Edge___CXX_IS_DATA(x))


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

void genExtra_MSet_Sequence_Edge___Methods(void);

PRIMITIVE STk_init_methods__MSet_Sequence_Edge___()
{
	genExtra_MSet_Sequence_Edge___Methods();
	return UNDEFINED;
}
