
/*
 * This file was generated by the SOM Compiler.
 * FileName: \odwin\h\NMSPCMG.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith.dll: 2.41
 */

/*
 * 
 *  Classes defined in this interface
 * 
 */


#ifndef SOM_ODNameSpaceManager_h
#define SOM_ODNameSpaceManager_h


#include <som.h>

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))



/*
 * Define class data structures as resolution macros
 */
#define ODNameSpaceManagerClassData (*resolve_ODNameSpaceManagerClassData())
#define ODNameSpaceManagerCClassData (*resolve_ODNameSpaceManagerCClassData())

/*
 * Define the class name as an object type
 */
#ifndef ODNameSpaceManager
#define ODNameSpaceManager SOMObject
#endif
#include <NmSpcMgB.h>

/*
 * Start of user-defined types:
 */
#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef ODObject
    #define ODObject SOMObject
#endif /* ODObject */
#ifndef ODExtension
    #define ODExtension SOMObject
#endif /* ODExtension */
#ifndef ODBaseNameSpaceManager
    #define ODBaseNameSpaceManager SOMObject
#endif /* ODBaseNameSpaceManager */
#ifndef ODNameSpace
    #define ODNameSpace SOMObject
#endif /* ODNameSpace */
#ifndef ODSession
    #define ODSession SOMObject
#endif /* ODSession */
#ifndef ODNameSpaceManager
    #define ODNameSpaceManager SOMObject
#endif /* ODNameSpaceManager */
#ifndef ODObjectNameSpace
    #define ODObjectNameSpace SOMObject
#endif /* ODObjectNameSpace */

/*
 * End of user-defined types.
 */

#define ODNameSpaceManager_MajorVersion 1
#define ODNameSpaceManager_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODNameSpaceManagerNewClass c
#define ODNameSpaceManagerClassData d
#define ODNameSpaceManagerCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODNameSpaceManager_classObj ODNameSpaceManagerClassData.classObject
#define _ODNameSpaceManager ODNameSpaceManager_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK ODNameSpaceManagerNewClass(integer4 somntmajorVersion,
		integer4 somntminorVersion);

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODNameSpaceManagerClassDataStructure {
	SOMClass *classObject;
	somMToken InitNameSpaceManager;
	somMToken UpdatePreferences;
	somMToken InitBaseNameSpaceManager;
	somMToken SynchNSTable;
	somMToken GetPreferences;
}  _ODNameSpaceManagerClassData;
SOMEXTERN struct ODNameSpaceManagerClassDataStructure * SOMLINK resolve_ODNameSpaceManagerClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODNameSpaceManagerCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODNameSpaceManagerCClassData;
SOMEXTERN struct ODNameSpaceManagerCClassDataStructure * SOMLINK resolve_ODNameSpaceManagerCClassData(void);

/*
 * New and Renew macros for ODNameSpaceManager
 */
#define ODNameSpaceManagerNew() \
   (_somNew(_ODNameSpaceManager ? _ODNameSpaceManager : ODNameSpaceManagerNewClass(ODNameSpaceManager_MajorVersion, ODNameSpaceManager_MinorVersion)))
#define ODNameSpaceManagerRenew(buf) \
   (_somRenew(_ODNameSpaceManager ? _ODNameSpaceManager : ODNameSpaceManagerNewClass(ODNameSpaceManager_MajorVersion, ODNameSpaceManager_MinorVersion), buf))

/*
 * Override method: somInit
 */
#define ODNameSpaceManager_somInit(somSelf) \
	SOMObject_somInit(somSelf)

/*
 * Override method: somUninit
 */
#define ODNameSpaceManager_somUninit(somSelf) \
	SOMObject_somUninit(somSelf)

/*
 * Override method: Purge
 */
#define ODNameSpaceManager_Purge(somSelf,ev,size) \
	ODObject_Purge(somSelf,ev,size)

/*
 * Override method: CreateNameSpace
 */
#define ODNameSpaceManager_CreateNameSpace(somSelf,ev,spaceName,inheritsFrom,numExpectedEntries,type) \
	ODBaseNameSpaceManager_CreateNameSpace(somSelf,ev,spaceName,inheritsFrom,numExpectedEntries,type)

/*
 * Override method: DeleteNameSpace
 */
#define ODNameSpaceManager_DeleteNameSpace(somSelf,ev,theNameSpace) \
	ODBaseNameSpaceManager_DeleteNameSpace(somSelf,ev,theNameSpace)

/*
 * Override method: HasNameSpace
 */
#define ODNameSpaceManager_HasNameSpace(somSelf,ev,spaceName) \
	ODBaseNameSpaceManager_HasNameSpace(somSelf,ev,spaceName)

/*
 * New Method: InitNameSpaceManager
 */
typedef void   (SOMLINK * somTD_ODNameSpaceManager_InitNameSpaceManager)(ODNameSpaceManager *somSelf, Environment *ev,
		ODSession* session);
#define somMD_ODNameSpaceManager_InitNameSpaceManager "::ODNameSpaceManager::InitNameSpaceManager"
#define ODNameSpaceManager_InitNameSpaceManager(somSelf,ev,session) \
    (SOM_Resolve(somSelf, ODNameSpaceManager, InitNameSpaceManager) \
	(somSelf,ev,session))
#ifndef SOMGD_InitNameSpaceManager
    #if (defined(_InitNameSpaceManager) || defined(__InitNameSpaceManager))
        #undef _InitNameSpaceManager
        #undef __InitNameSpaceManager
        #define SOMGD_InitNameSpaceManager 1
    #else
        #define _InitNameSpaceManager ODNameSpaceManager_InitNameSpaceManager
    #endif /* _InitNameSpaceManager */
#endif /* SOMGD_InitNameSpaceManager */

/*
 * New Method: UpdatePreferences
 */
typedef void   (SOMLINK * somTD_ODNameSpaceManager_UpdatePreferences)(ODNameSpaceManager *somSelf, Environment *ev);
#define somMD_ODNameSpaceManager_UpdatePreferences "::ODNameSpaceManager::UpdatePreferences"
#define ODNameSpaceManager_UpdatePreferences(somSelf,ev) \
    (SOM_Resolve(somSelf, ODNameSpaceManager, UpdatePreferences) \
	(somSelf,ev))
#ifndef SOMGD_UpdatePreferences
    #if (defined(_UpdatePreferences) || defined(__UpdatePreferences))
        #undef _UpdatePreferences
        #undef __UpdatePreferences
        #define SOMGD_UpdatePreferences 1
    #else
        #define _UpdatePreferences ODNameSpaceManager_UpdatePreferences
    #endif /* _UpdatePreferences */
#endif /* SOMGD_UpdatePreferences */

/*
 * New Method: SynchNSTable
 */
typedef void   (SOMLINK * somTD_ODNameSpaceManager_SynchNSTable)(ODNameSpaceManager *somSelf, Environment *ev);
#define somMD_ODNameSpaceManager_SynchNSTable "::ODNameSpaceManager::SynchNSTable"
#define ODNameSpaceManager_SynchNSTable(somSelf,ev) \
    (SOM_Resolve(somSelf, ODNameSpaceManager, SynchNSTable) \
	(somSelf,ev))
#ifndef SOMGD_SynchNSTable
    #if (defined(_SynchNSTable) || defined(__SynchNSTable))
        #undef _SynchNSTable
        #undef __SynchNSTable
        #define SOMGD_SynchNSTable 1
    #else
        #define _SynchNSTable ODNameSpaceManager_SynchNSTable
    #endif /* _SynchNSTable */
#endif /* SOMGD_SynchNSTable */

/*
 * New Method: GetPreferences
 */
typedef Preferences*   (SOMLINK * somTD_ODNameSpaceManager_GetPreferences)(ODNameSpaceManager *somSelf, Environment *ev);
#define somMD_ODNameSpaceManager_GetPreferences "::ODNameSpaceManager::GetPreferences"
#define ODNameSpaceManager_GetPreferences(somSelf,ev) \
    (SOM_Resolve(somSelf, ODNameSpaceManager, GetPreferences) \
	(somSelf,ev))
#ifndef SOMGD_GetPreferences
    #if (defined(_GetPreferences) || defined(__GetPreferences))
        #undef _GetPreferences
        #undef __GetPreferences
        #define SOMGD_GetPreferences 1
    #else
        #define _GetPreferences ODNameSpaceManager_GetPreferences
    #endif /* _GetPreferences */
#endif /* SOMGD_GetPreferences */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODNameSpaceManager_InitBaseNameSpaceManager ODBaseNameSpaceManager_InitBaseNameSpaceManager
#define ODNameSpaceManager_InitObject ODObject_InitObject
#define ODNameSpaceManager_IsInitialized ODObject_IsInitialized
#define ODNameSpaceManager_HasExtension ODObject_HasExtension
#define ODNameSpaceManager_GetExtension ODObject_GetExtension
#define ODNameSpaceManager_ReleaseExtension ODObject_ReleaseExtension
#define ODNameSpaceManager_IsEqualTo ODObject_IsEqualTo
#define ODNameSpaceManager_SubClassResponsibility ODObject_SubClassResponsibility
#define ODNameSpaceManager_somDefaultInit SOMObject_somDefaultInit
#define ODNameSpaceManager_somDestruct SOMObject_somDestruct
#define ODNameSpaceManager_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODNameSpaceManager_somDefaultAssign SOMObject_somDefaultAssign
#define ODNameSpaceManager_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODNameSpaceManager_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODNameSpaceManager_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODNameSpaceManager_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODNameSpaceManager_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODNameSpaceManager_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODNameSpaceManager_somFree SOMObject_somFree
#define ODNameSpaceManager_somGetClass SOMObject_somGetClass
#define ODNameSpaceManager_somGetClassName SOMObject_somGetClassName
#define ODNameSpaceManager_somGetSize SOMObject_somGetSize
#define ODNameSpaceManager_somIsA SOMObject_somIsA
#define ODNameSpaceManager_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODNameSpaceManager_somRespondsTo SOMObject_somRespondsTo
#define ODNameSpaceManager_somDispatch SOMObject_somDispatch
#define ODNameSpaceManager_somClassDispatch SOMObject_somClassDispatch
#define ODNameSpaceManager_somCastObj SOMObject_somCastObj
#define ODNameSpaceManager_somResetObj SOMObject_somResetObj
#define ODNameSpaceManager_somDispatchV SOMObject_somDispatchV
#define ODNameSpaceManager_somDispatchL SOMObject_somDispatchL
#define ODNameSpaceManager_somDispatchA SOMObject_somDispatchA
#define ODNameSpaceManager_somDispatchD SOMObject_somDispatchD
#define ODNameSpaceManager_somPrintSelf SOMObject_somPrintSelf
#define ODNameSpaceManager_somDumpSelf SOMObject_somDumpSelf
#define ODNameSpaceManager_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODNameSpaceManager_h */
