-
// File Aspect_MarkMapEntry.cxx
// Created Janvier 1995
// Author GG
Aspect_TypeOfMarker type = MyStyle.Type() ;
Standard_Integer i,length = MyStyle.Length() ;
Standard_Boolean draw = Standard_False ;
- Standard_Real X,Y;
+ Standard_Real X(0),Y(0);
cout << " Aspect_MarkMapEntry::Dump ()\n";
- cout << " MyStyleIsDef : " << (MyStyleIsDef) ? "True\n" : "False\n";
- cout << " MyIndexIsDef : " << (MyIndexIsDef) ? "True\n" : "False\n";
+ cout << " MyStyleIsDef : " << (MyStyleIsDef ? "True\n" : "False\n");
+ cout << " MyIndexIsDef : " << (MyIndexIsDef ? "True\n" : "False\n");
cout << " MarkerStyle : " << (Standard_Integer) type << " Length : " << length << "\n";//WNT
if( length ) {
for( i=1 ; i<=length ; i++ )
-
// File Aspect_TypeMapEntry.cxx
// Created Septembre 1993
// Author GG
Standard_Integer i,length = MyType.Length() ;
cout << " Aspect_TypeMapEntry::Dump ()\n";
- cout << " MyTypeIsDef : " << (MyTypeIsDef) ? "True\n" : "False\n";
- cout << " MyIndexIsDef : " << (MyIndexIsDef) ? "True\n" : "False\n";
+ cout << " MyTypeIsDef : " << (MyTypeIsDef ? "True\n" : "False\n");
+ cout << " MyIndexIsDef : " << (MyIndexIsDef ? "True\n" : "False\n");
cout << " LineStyle : " << (Standard_Integer) style << " Length : " << length << "\n";//WNT
if( length ) {
for( i=(MyType.Values()).Lower() ; i<=(MyType.Values()).Upper() ; i++ )
void Aspect_WidthMapEntry::Dump () const {
cout << " Aspect_WidthMapEntry::Dump ()\n";
- cout << " MyTypeIsDef : " << (MyTypeIsDef) ? "True\n" : "False\n";
- cout << " MyIndexIsDef : " << (MyIndexIsDef) ? "True\n" : "False\n";
+ cout << " MyTypeIsDef : " << (MyTypeIsDef ? "True\n" : "False\n");
+ cout << " MyIndexIsDef : " << (MyIndexIsDef ? "True\n" : "False\n");
cout << " TypeOfWidth : " << (Standard_Integer) MyType << "\n";//WNT
cout << " LineWidth : " << MyWidth << "\n";
cout << flush;
for(i = lower; i<=upper; i++)
anOS << "\t" <<myValue->Value(i)<<endl;
}
- anOS << " Delta is " << myIsDelta ? "ON":"OFF";
+ anOS << " Delta is " << (myIsDelta ? "ON":"OFF");
anOS << endl;
return anOS;
}
{
Standard_OStream& anOS = TDF_Attribute::Dump( theOS );
anOS << "IntPackedMap size = " << Extent();
- anOS << " Delta is " << myIsDelta ? "ON":"OFF";
+ anOS << " Delta is " << (myIsDelta ? "ON":"OFF");
anOS << endl;
return anOS;
}
for(i = lower; i<=upper; i++)
anOS << " " <<myValue->Value(i);
}
- anOS << " Delta is " << myIsDelta ? "ON":"OFF";
+ anOS << " Delta is " << (myIsDelta ? "ON":"OFF");
anOS << endl;
// anOS <<"\nAttribute fields: ";
for(i = lower; i<=upper; i++)
anOS << " " <<myValue->Value(i);
}
- anOS << " Delta is " << myIsDelta ? "ON":"OFF";
+ anOS << " Delta is " << (myIsDelta ? "ON":"OFF");
anOS << endl;
return anOS;
}