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

#include <LINK/basic/MSet.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 MSet<AttributeBase* > _MSet_AttributeBase__;
static MSet<AttributeBase* > s__MSet_AttributeBase__;

#define _MSet_AttributeBase__DATA(x) ((MSet<AttributeBase* >*) (EXTDATA(x)))
#define _MSet_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<MSet<AttributeBase* > >::type))
#define _MSet_AttributeBase__ISNT_DATA(x) (!_MSet_AttributeBase__IS_DATA(x))

#define _MSet_AttributeBase__CXX_DATA(x) (*(MSet<AttributeBase* >*) (EXTDATA(VAL(x))))
#define _MSet_AttributeBase__CXX_IS_DATA(x) (INSTANCEP(x) && \
		TYPEP(STk_slot_ref(x,val_scm), tc_CXXwrapper) && \
		(EXTID(STk_slot_ref(x,val_scm)) == Wrapper<MSet<AttributeBase* > >::type))
#define _MSet_AttributeBase__CXX_ISNT_DATA(x) (!_MSet_AttributeBase__CXX_IS_DATA(x))


PRIMITIVE STk_init__MSet_AttributeBase__()
{
	Wrapper<_MSet_AttributeBase__>::type = STk_new_CXXwrapper_id(
			Wrapper<_MSet_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<_MSet_AttributeBase__>::objTable, TCL_ONE_WORD_KEYS);
	return UNDEFINED;
}

void genExtra_MSet_AttributeBase__Methods(void);

PRIMITIVE STk_init_methods__MSet_AttributeBase__()
{
	genExtra_MSet_AttributeBase__Methods();
	return UNDEFINED;
}
