#define WOKernel_IsPackage(aunit) (aunit->TypeCode() == 'p')
#define WOKernel_IsSchema(aunit) (aunit->TypeCode() == 's')
#define WOKernel_IsInterface(aunit) (aunit->TypeCode() == 'i')
-#define WOKernel_IsClient(aunit) (aunit->TypeCode() == 'C')
+#define WOKernel_IsClient(aunit) (aunit->TypeCode() == 'C'||aunit->TypeCode()=='j')
#define WOKernel_IsEngine(aunit) (aunit->TypeCode() == 'e')
#define WOKernel_IsExecutable(aunit) (aunit->TypeCode() == 'x')
#define WOKernel_IsNocdlpack(aunit) (aunit->TypeCode() == 'n')
WOKernel_DevUnit::WOKernel_DevUnit(const Handle(WOKernel_UnitTypeDescr)& atype,
const Handle(TCollection_HAsciiString)& aname,
const Handle(WOKernel_UnitNesting)& anesting)
- : mytype(atype), WOKernel_Entity(aname, anesting)
+ : WOKernel_Entity(aname, anesting), mytype(atype)
{
}
{
Handle(TColStd_HSequenceOfHAsciiString) result = new TColStd_HSequenceOfHAsciiString;
Handle(TColStd_HSequenceOfHAsciiString) NULLRESULT;
- Standard_Boolean IsCyclic = Standard_False;
+ Standard_Boolean IsCyclic;
WOKernel_SortedImpldepFromIterator algo;
Standard_Integer i;
try {
+ IsCyclic = Standard_False;
+
agraph->Add(name,alist);
algo.FromVertex(name);
ErrorMsg << "WOKernel_DevUnit::ImplementationDep" << "Exception was raised : " << astream.str() << endm;
return NULLRESULT ;
}
-#ifdef WNT
- return NULLRESULT;
-#endif // WNT
+ return NULLRESULT;
}
try {
+ IsCyclic = Standard_False;
+
algo.FromVertex(Name());
algo.Perform(aclientgraph);
ErrorMsg << "WOKernel_DevUnit::ImplClients" << "Exception was raised : " << astream.str() << endm;
return NULLRESULT ;
}
-#ifdef WNT
- return NULLRESULT ;
-#endif // WNT
+ return NULLRESULT ;
}
alen = Value->Length();
while(i < alen) {
- for (count = 0,pos = i;count < sizeof(int); count++) {
+ for (count = 0,pos = i;count < ( Standard_Integer )sizeof(int); count++) {
if (pos + count >= alen) tabchar[count] = '\0';
else tabchar[count] = charPtr[pos + count];
i++;
if(ahost.Failed()) ahost.Perror();
- WOKernel_StationID thestation;
+ WOKernel_StationID thestation = WOKernel_SUN;
switch(ahosttype)
{
case OSD_SUN:
- thestation = WOKernel_SUN;
break;
case OSD_DEC:
thestation = WOKernel_DECOSF;