mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-28 02:10:36 +05:00
Use the prefix std:: instead of the directive using namespace std;
This commit is contained in:
parent
a45dff2ade
commit
d6bfd123a2
@ -80,7 +80,7 @@ GEOMImpl_ICurvesOperations::~GEOMImpl_ICurvesOperations()
|
||||
* MakePolyline
|
||||
*/
|
||||
//=============================================================================
|
||||
Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakePolyline (list<Handle(GEOM_Object)> thePoints)
|
||||
Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakePolyline (std::list<Handle(GEOM_Object)> thePoints)
|
||||
{
|
||||
SetErrorCode(KO);
|
||||
|
||||
@ -101,7 +101,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakePolyline (list<Handle(GEOM_O
|
||||
aCI.SetLength(aLen);
|
||||
|
||||
int ind = 1;
|
||||
list<Handle(GEOM_Object)>::iterator it = thePoints.begin();
|
||||
std::list<Handle(GEOM_Object)>::iterator it = thePoints.begin();
|
||||
for (; it != thePoints.end(); it++, ind++) {
|
||||
Handle(GEOM_Function) aRefPnt = (*it)->GetLastFunction();
|
||||
if (aRefPnt.IsNull()) {
|
||||
@ -597,7 +597,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeArcOfEllipse (Handle(GEOM_Ob
|
||||
*/
|
||||
//=============================================================================
|
||||
Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSplineBezier
|
||||
(list<Handle(GEOM_Object)> thePoints)
|
||||
(std::list<Handle(GEOM_Object)> thePoints)
|
||||
{
|
||||
SetErrorCode(KO);
|
||||
|
||||
@ -618,7 +618,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSplineBezier
|
||||
aCI.SetLength(aLen);
|
||||
|
||||
int ind = 1;
|
||||
list<Handle(GEOM_Object)>::iterator it = thePoints.begin();
|
||||
std::list<Handle(GEOM_Object)>::iterator it = thePoints.begin();
|
||||
for (; it != thePoints.end(); it++, ind++) {
|
||||
Handle(GEOM_Function) aRefPnt = (*it)->GetLastFunction();
|
||||
|
||||
@ -664,7 +664,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSplineBezier
|
||||
*/
|
||||
//=============================================================================
|
||||
Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSplineInterpolation
|
||||
(list<Handle(GEOM_Object)> thePoints,
|
||||
(std::list<Handle(GEOM_Object)> thePoints,
|
||||
bool theIsClosed)
|
||||
{
|
||||
SetErrorCode(KO);
|
||||
@ -686,7 +686,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSplineInterpolation
|
||||
aCI.SetLength(aLen);
|
||||
|
||||
int ind = 1;
|
||||
list<Handle(GEOM_Object)>::iterator it = thePoints.begin();
|
||||
std::list<Handle(GEOM_Object)>::iterator it = thePoints.begin();
|
||||
for (; it != thePoints.end(); it++, ind++) {
|
||||
Handle(GEOM_Function) aRefPnt = (*it)->GetLastFunction();
|
||||
|
||||
@ -734,7 +734,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSplineInterpolation
|
||||
*/
|
||||
//=============================================================================
|
||||
Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSketcher (const char* theCommand,
|
||||
list<double> theWorkingPlane)
|
||||
std::list<double> theWorkingPlane)
|
||||
{
|
||||
SetErrorCode(KO);
|
||||
|
||||
@ -757,7 +757,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSketcher (const char* theCom
|
||||
aCI.SetCommand(aCommand);
|
||||
|
||||
int ind = 1;
|
||||
list<double>::iterator it = theWorkingPlane.begin();
|
||||
std::list<double>::iterator it = theWorkingPlane.begin();
|
||||
for (; it != theWorkingPlane.end(); it++, ind++)
|
||||
aCI.SetWorkingPlane(ind, *it);
|
||||
|
||||
@ -797,7 +797,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSketcher (const char* theCom
|
||||
* Make3DSketcher
|
||||
*/
|
||||
//=============================================================================
|
||||
Handle(GEOM_Object) GEOMImpl_ICurvesOperations::Make3DSketcher (list<double> theCoordinates)
|
||||
Handle(GEOM_Object) GEOMImpl_ICurvesOperations::Make3DSketcher (std::list<double> theCoordinates)
|
||||
{
|
||||
SetErrorCode(KO);
|
||||
|
||||
@ -815,7 +815,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::Make3DSketcher (list<double> the
|
||||
GEOMImpl_I3DSketcher aCI (aFunction);
|
||||
|
||||
int nbOfCoords = 0;
|
||||
list<double>::iterator it = theCoordinates.begin();
|
||||
std::list<double>::iterator it = theCoordinates.begin();
|
||||
for (; it != theCoordinates.end(); it++)
|
||||
nbOfCoords++;
|
||||
|
||||
|
@ -37,7 +37,7 @@ class GEOMImpl_ICurvesOperations : public GEOM_IOperations {
|
||||
Standard_EXPORT GEOMImpl_ICurvesOperations(GEOM_Engine* theEngine, int theDocID);
|
||||
Standard_EXPORT ~GEOMImpl_ICurvesOperations();
|
||||
|
||||
Standard_EXPORT Handle(GEOM_Object) MakePolyline (list<Handle(GEOM_Object)> thePoints);
|
||||
Standard_EXPORT Handle(GEOM_Object) MakePolyline (std::list<Handle(GEOM_Object)> thePoints);
|
||||
|
||||
Standard_EXPORT Handle(GEOM_Object) MakeCircleThreePnt (Handle(GEOM_Object) thePnt1,
|
||||
Handle(GEOM_Object) thePnt2,
|
||||
|
@ -199,7 +199,7 @@ static bool inUse( _PTR(Study) study, const QString& component, const QMap<QStri
|
||||
// collect all GEOM objects being deleted
|
||||
QMap<QString, GEOM::GEOM_Object_var> gobjects;
|
||||
QMap<QString, QString>::ConstIterator oit;
|
||||
list<_PTR(SObject)> aSelectedSO;
|
||||
std::list<_PTR(SObject)> aSelectedSO;
|
||||
for ( oit = objects.begin(); oit != objects.end(); ++oit ) {
|
||||
_PTR(SObject) so = study->FindObjectID( oit.key().toLatin1().data() );
|
||||
if ( !so )
|
||||
@ -213,7 +213,7 @@ static bool inUse( _PTR(Study) study, const QString& component, const QMap<QStri
|
||||
}
|
||||
|
||||
// Search References with other Modules
|
||||
list< _PTR(SObject) >::iterator itSO = aSelectedSO.begin();
|
||||
std::list< _PTR(SObject) >::iterator itSO = aSelectedSO.begin();
|
||||
for ( ; itSO != aSelectedSO.end(); ++itSO ) {
|
||||
std::vector<_PTR(SObject)> aReferences = study->FindDependances( *itSO );
|
||||
int aRefLength = aReferences.size();
|
||||
|
@ -85,7 +85,7 @@ Engines::TMPFile* GEOM_Gen_i::DumpPython(CORBA::Object_ptr theStudy,
|
||||
}
|
||||
aStates->AddState(aState);
|
||||
}
|
||||
aVariableMap.insert(pair<TCollection_AsciiString,ObjectStates*>(TCollection_AsciiString(anEntry),aStates));
|
||||
aVariableMap.insert(std::pair<TCollection_AsciiString,ObjectStates*>(TCollection_AsciiString(anEntry),aStates));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -678,7 +678,7 @@ SALOMEDS::SObject_ptr GEOM_Gen_i::PasteInto(const SALOMEDS::TMPFile& theStream,
|
||||
|
||||
// Retrieve a TopoDS_Shape from byte stream
|
||||
TopoDS_Shape aTopology;
|
||||
istrstream aStreamedBrep((char*) &theStream[0], theStream.length());
|
||||
std::istrstream aStreamedBrep((char*) &theStream[0], theStream.length());
|
||||
BRep_Builder aBuilder;
|
||||
try {
|
||||
BRepTools::Read(aTopology, aStreamedBrep, aBuilder);
|
||||
@ -1067,7 +1067,7 @@ GEOM::ListOfGO* GEOM_Gen_i::RestoreSubShapes(SALOMEDS::Study_ptr theStudy,
|
||||
}
|
||||
} // process arguments
|
||||
}
|
||||
set<string> anObjEntryMap;
|
||||
std::set<std::string> anObjEntryMap;
|
||||
GEOM::ListOfGO_var aResParts = new GEOM::ListOfGO;
|
||||
int nbRes = 0;
|
||||
int nb = aParts->length();
|
||||
|
@ -566,7 +566,7 @@ CORBA::Boolean GEOM_IBlocksOperations_i::CheckCompoundOfBlocks
|
||||
if (aCompound.IsNull()) return isComp;
|
||||
|
||||
//Check
|
||||
list<GEOMImpl_IBlocksOperations::BCError> errList;
|
||||
std::list<GEOMImpl_IBlocksOperations::BCError> errList;
|
||||
isComp = GetOperations()->CheckCompoundOfBlocks(aCompound, errList);
|
||||
if (!GetOperations()->IsDone())
|
||||
return isComp;
|
||||
@ -577,7 +577,7 @@ CORBA::Boolean GEOM_IBlocksOperations_i::CheckCompoundOfBlocks
|
||||
anErrArray->length(nbErr);
|
||||
|
||||
// fill the local CORBA array with values from lists
|
||||
list<GEOMImpl_IBlocksOperations::BCError>::iterator errIt = errList.begin();
|
||||
std::list<GEOMImpl_IBlocksOperations::BCError>::iterator errIt = errList.begin();
|
||||
int i = 0;
|
||||
for (; errIt != errList.end(); i++, errIt++) {
|
||||
GEOM::GEOM_IBlocksOperations::BCError_var anError =
|
||||
@ -605,11 +605,11 @@ CORBA::Boolean GEOM_IBlocksOperations_i::CheckCompoundOfBlocks
|
||||
break;
|
||||
}
|
||||
|
||||
list<int> sshList = errStruct.incriminated;
|
||||
std::list<int> sshList = errStruct.incriminated;
|
||||
GEOM::ListOfLong_var anIncrims = new GEOM::ListOfLong();
|
||||
anIncrims->length(sshList.size());
|
||||
|
||||
list<int>::iterator sshIt = sshList.begin();
|
||||
std::list<int>::iterator sshIt = sshList.begin();
|
||||
int jj = 0;
|
||||
for (; sshIt != sshList.end(); jj++, sshIt++) {
|
||||
anIncrims[jj] = *sshIt;
|
||||
@ -640,7 +640,7 @@ char* GEOM_IBlocksOperations_i::PrintBCErrors
|
||||
if (aCompound.IsNull()) return NULL;
|
||||
|
||||
// Convert the errors sequence
|
||||
list<GEOMImpl_IBlocksOperations::BCError> anErrors;
|
||||
std::list<GEOMImpl_IBlocksOperations::BCError> anErrors;
|
||||
int nbErr = theErrors.length();
|
||||
int ie = 0;
|
||||
for (; ie < nbErr; ie++) {
|
||||
|
@ -343,7 +343,7 @@ GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakePolyline
|
||||
//Get the reference point
|
||||
int ind = 0;
|
||||
int aLen = thePoints.length();
|
||||
list<Handle(GEOM_Object)> aPoints;
|
||||
std::list<Handle(GEOM_Object)> aPoints;
|
||||
for (; ind < aLen; ind++) {
|
||||
Handle(GEOM_Object) aPnt = GetObjectImpl(thePoints[ind]);
|
||||
if (aPnt.IsNull()) return aGEOMObject._retn();
|
||||
@ -375,7 +375,7 @@ GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeSplineBezier
|
||||
//Get the reference point
|
||||
int ind = 0;
|
||||
int aLen = thePoints.length();
|
||||
list<Handle(GEOM_Object)> aPoints;
|
||||
std::list<Handle(GEOM_Object)> aPoints;
|
||||
for (; ind < aLen; ind++) {
|
||||
Handle(GEOM_Object) aPnt = GetObjectImpl(thePoints[ind]);
|
||||
if (aPnt.IsNull()) return aGEOMObject._retn();
|
||||
@ -408,7 +408,7 @@ GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeSplineInterpolation
|
||||
//Get the reference point
|
||||
int ind = 0;
|
||||
int aLen = thePoints.length();
|
||||
list<Handle(GEOM_Object)> aPoints;
|
||||
std::list<Handle(GEOM_Object)> aPoints;
|
||||
for (; ind < aLen; ind++) {
|
||||
Handle(GEOM_Object) aPnt = GetObjectImpl(thePoints[ind]);
|
||||
if (aPnt.IsNull()) return aGEOMObject._retn();
|
||||
@ -437,7 +437,7 @@ GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeSketcher
|
||||
|
||||
int ind = 0;
|
||||
int aLen = theWorkingPlane.length();
|
||||
list<double> aWorkingPlane;
|
||||
std::list<double> aWorkingPlane;
|
||||
for (; ind < aLen; ind++)
|
||||
aWorkingPlane.push_back(theWorkingPlane[ind]);
|
||||
|
||||
@ -463,7 +463,7 @@ GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::Make3DSketcher
|
||||
|
||||
int ind = 0;
|
||||
int aLen = theCoordinates.length();
|
||||
list<double> aCoords;
|
||||
std::list<double> aCoords;
|
||||
for (; ind < aLen; ind++)
|
||||
aCoords.push_back(theCoordinates[ind]);
|
||||
|
||||
|
@ -145,7 +145,7 @@ void GEOM_IHealingOperations_i::GetShapeProcessParameters(GEOM::string_array_out
|
||||
GEOM::string_array_var aValArray = new GEOM::string_array();
|
||||
|
||||
// retrieve the values as stl-lists
|
||||
list<string> operationsList, paramsList, valuesList;
|
||||
std::list<std::string> operationsList, paramsList, valuesList;
|
||||
GetOperations()->GetShapeProcessParameters( operationsList, paramsList, valuesList );
|
||||
const int opSize = operationsList.size(),
|
||||
parSize = paramsList.size(),
|
||||
@ -158,7 +158,7 @@ void GEOM_IHealingOperations_i::GetShapeProcessParameters(GEOM::string_array_out
|
||||
aValArray->length(valSize);
|
||||
|
||||
// fill the local CORBA arrays with values from lists
|
||||
list<string>::iterator opIt, parIt, valIt;
|
||||
std::list<std::string>::iterator opIt, parIt, valIt;
|
||||
int i = 0;
|
||||
for ( opIt = operationsList.begin(); opIt != operationsList.end(); i++,++opIt )
|
||||
anOpArray[i] = CORBA::string_dup( (*opIt).c_str() );
|
||||
@ -189,7 +189,7 @@ void GEOM_IHealingOperations_i::GetOperatorParameters (const char* theOperator,
|
||||
GEOM::string_array_var aValArray = new GEOM::string_array();
|
||||
|
||||
// retrieve the values as stl-lists
|
||||
list<string> paramsList, valuesList;
|
||||
std::list<std::string> paramsList, valuesList;
|
||||
if ( GetOperations()->GetOperatorParameters( theOperator, paramsList, valuesList ) ) {
|
||||
const int parSize = paramsList.size(), valSize = valuesList.size();
|
||||
|
||||
@ -198,7 +198,7 @@ void GEOM_IHealingOperations_i::GetOperatorParameters (const char* theOperator,
|
||||
aValArray->length(valSize);
|
||||
|
||||
// fill the local CORBA arrays with values from lists
|
||||
list<string>::iterator parIt, valIt;
|
||||
std::list<std::string>::iterator parIt, valIt;
|
||||
int i;
|
||||
for ( i = 0, parIt = paramsList.begin(), valIt = valuesList.begin();
|
||||
parIt != paramsList.end(); i++, ++parIt,++valIt ) {
|
||||
|
@ -95,7 +95,7 @@ GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeFilletEdges
|
||||
//Get the reference edges
|
||||
int ind = 0;
|
||||
int aLen = theEdges.length();
|
||||
list<int> anEdges;
|
||||
std::list<int> anEdges;
|
||||
for (; ind < aLen; ind++) {
|
||||
anEdges.push_back(theEdges[ind]);
|
||||
}
|
||||
@ -127,7 +127,7 @@ GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeFilletEdgesR1R2
|
||||
//Get the reference edges
|
||||
int ind = 0;
|
||||
int aLen = theEdges.length();
|
||||
list<int> anEdges;
|
||||
std::list<int> anEdges;
|
||||
for (; ind < aLen; ind++) {
|
||||
anEdges.push_back(theEdges[ind]);
|
||||
}
|
||||
@ -159,7 +159,7 @@ GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeFilletFaces
|
||||
//Get the reference faces
|
||||
int ind = 0;
|
||||
int aLen = theFaces.length();
|
||||
list<int> aFaces;
|
||||
std::list<int> aFaces;
|
||||
for (; ind < aLen; ind++) {
|
||||
aFaces.push_back(theFaces[ind]);
|
||||
}
|
||||
@ -191,7 +191,7 @@ GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeFilletFacesR1R2
|
||||
//Get the reference faces
|
||||
int ind = 0;
|
||||
int aLen = theFaces.length();
|
||||
list<int> aFaces;
|
||||
std::list<int> aFaces;
|
||||
for (; ind < aLen; ind++) {
|
||||
aFaces.push_back(theFaces[ind]);
|
||||
}
|
||||
@ -223,7 +223,7 @@ GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeFillet2D
|
||||
//Get the reference vertex
|
||||
int ind = 0;
|
||||
int aLen = theVertexes.length();
|
||||
list<int> aVertexes;
|
||||
std::list<int> aVertexes;
|
||||
for (; ind < aLen; ind++) {
|
||||
aVertexes.push_back(theVertexes[ind]);
|
||||
}
|
||||
@ -255,7 +255,7 @@ GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeFillet1D
|
||||
//Get the reference vertex
|
||||
int ind = 0;
|
||||
int aLen = theVertexes.length();
|
||||
list<int> aVertexes;
|
||||
std::list<int> aVertexes;
|
||||
for (; ind < aLen; ind++) {
|
||||
aVertexes.push_back(theVertexes[ind]);
|
||||
}
|
||||
@ -360,7 +360,7 @@ GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeChamferFaces
|
||||
//Get the reference faces
|
||||
int ind = 0;
|
||||
int aLen = theFaces.length();
|
||||
list<int> aFaces;
|
||||
std::list<int> aFaces;
|
||||
for (; ind < aLen; ind++) {
|
||||
aFaces.push_back(theFaces[ind]);
|
||||
}
|
||||
@ -392,7 +392,7 @@ GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeChamferFacesAD
|
||||
//Get the reference faces
|
||||
int ind = 0;
|
||||
int aLen = theFaces.length();
|
||||
list<int> aFaces;
|
||||
std::list<int> aFaces;
|
||||
for (; ind < aLen; ind++) {
|
||||
aFaces.push_back(theFaces[ind]);
|
||||
}
|
||||
@ -425,7 +425,7 @@ GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeChamferEdges
|
||||
//Get the reference edges
|
||||
int ind = 0;
|
||||
int aLen = theEdges.length();
|
||||
list<int> aEdges;
|
||||
std::list<int> aEdges;
|
||||
for (; ind < aLen; ind++) {
|
||||
aEdges.push_back(theEdges[ind]);
|
||||
}
|
||||
@ -458,7 +458,7 @@ GEOM::GEOM_Object_ptr GEOM_ILocalOperations_i::MakeChamferEdgesAD
|
||||
//Get the reference edges
|
||||
int ind = 0;
|
||||
int aLen = theEdges.length();
|
||||
list<int> aEdges;
|
||||
std::list<int> aEdges;
|
||||
for (; ind < aLen; ind++) {
|
||||
aEdges.push_back(theEdges[ind]);
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeWire
|
||||
GetOperations()->SetNotDone();
|
||||
|
||||
int ind, aLen;
|
||||
list<Handle(GEOM_Object)> aShapes;
|
||||
std::list<Handle(GEOM_Object)> aShapes;
|
||||
|
||||
//Get the shapes
|
||||
aLen = theEdgesAndWires.length();
|
||||
@ -160,7 +160,7 @@ GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeFaceWires
|
||||
GetOperations()->SetNotDone();
|
||||
|
||||
int ind, aLen;
|
||||
list<Handle(GEOM_Object)> aShapes;
|
||||
std::list<Handle(GEOM_Object)> aShapes;
|
||||
|
||||
//Get the shapes
|
||||
aLen = theWires.length();
|
||||
@ -193,7 +193,7 @@ GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeShell
|
||||
GetOperations()->SetNotDone();
|
||||
|
||||
int ind, aLen;
|
||||
list<Handle(GEOM_Object)> aShapes;
|
||||
std::list<Handle(GEOM_Object)> aShapes;
|
||||
|
||||
//Get the shapes
|
||||
aLen = theFacesAndShells.length();
|
||||
@ -251,7 +251,7 @@ GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeSolidShells
|
||||
GetOperations()->SetNotDone();
|
||||
|
||||
int ind, aLen;
|
||||
list<Handle(GEOM_Object)> aShapes;
|
||||
std::list<Handle(GEOM_Object)> aShapes;
|
||||
|
||||
//Get the shapes
|
||||
aLen = theShells.length();
|
||||
@ -284,7 +284,7 @@ GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeCompound
|
||||
GetOperations()->SetNotDone();
|
||||
|
||||
int ind, aLen;
|
||||
list<Handle(GEOM_Object)> aShapes;
|
||||
std::list<Handle(GEOM_Object)> aShapes;
|
||||
|
||||
//Get the shapes
|
||||
aLen = theShapes.length();
|
||||
@ -390,7 +390,7 @@ GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeGlueFacesByList
|
||||
if (aShape.IsNull()) return aGEOMObject._retn();
|
||||
|
||||
int ind, aLen;
|
||||
list<Handle(GEOM_Object)> aFaces;
|
||||
std::list<Handle(GEOM_Object)> aFaces;
|
||||
//Get the shapes
|
||||
aLen = theFaces.length();
|
||||
for (ind = 0; ind < aLen; ind++) {
|
||||
|
@ -342,7 +342,7 @@ SALOMEDS::TMPFile* GEOM_Object_i::GetShapeStream()
|
||||
|
||||
if(aShape.IsNull()) return NULL;
|
||||
|
||||
ostrstream streamShape;
|
||||
std::ostrstream streamShape;
|
||||
//Write TopoDS_Shape in ASCII format to the stream
|
||||
BRepTools::Write(aShape, streamShape);
|
||||
//Returns the number of bytes that have been stored in the stream's buffer.
|
||||
|
@ -133,7 +133,7 @@ void GEOM_Superv_i::SetStudyID( CORBA::Long theId )
|
||||
|
||||
if ( isNewStudy(myLastStudyID,myStudyID) ) {
|
||||
if (CORBA::is_nil(myGeomEngine)) setGeomEngine();
|
||||
string anEngine = _orb->object_to_string( myGeomEngine );
|
||||
std::string anEngine = _orb->object_to_string( myGeomEngine );
|
||||
|
||||
CORBA::Object_var anObj = name_service->Resolve("/myStudyManager");
|
||||
if ( !CORBA::is_nil(anObj) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user