inline StdObjMgt_ReadData& operator >>
- (StdObjMgt_ReadData::Object theReadData, gp_Mat2d& theMat)
+ (StdObjMgt_ReadData& theReadData, gp_Mat2d& theMat)
{
+ StdObjMgt_ReadData::ObjectSentry aSentry (theReadData);
theReadData
>> theMat(1, 1) >> theMat(1, 2)
>> theMat(2, 1) >> theMat(2, 2);
}
inline StdObjMgt_WriteData& operator <<
- (StdObjMgt_WriteData::Object theWriteData, const gp_Mat2d& theMat)
+ (StdObjMgt_WriteData& theWriteData, const gp_Mat2d& theMat)
{
+ StdObjMgt_WriteData::ObjectSentry aSentry (theWriteData);
+
theWriteData
<< theMat(1, 1) << theMat(1, 2)
<< theMat(2, 1) << theMat(2, 2);
}
inline StdObjMgt_ReadData& operator >>
- (StdObjMgt_ReadData::Object theReadData, gp_Mat& theMat)
+ (StdObjMgt_ReadData& theReadData, gp_Mat& theMat)
{
+ StdObjMgt_ReadData::ObjectSentry aSentry (theReadData);
theReadData
>> theMat(1, 1) >> theMat(1, 2) >> theMat(1, 3)
>> theMat(2, 1) >> theMat(2, 2) >> theMat(2, 3)
}
inline StdObjMgt_WriteData& operator <<
- (StdObjMgt_WriteData::Object theWriteData, const gp_Mat& theMat)
+ (StdObjMgt_WriteData& theWriteData, const gp_Mat& theMat)
{
+ StdObjMgt_WriteData::ObjectSentry aSentry (theWriteData);
+
theWriteData
<< theMat(1, 1) << theMat(1, 2) << theMat(1, 3)
<< theMat(2, 1) << theMat(2, 2) << theMat(2, 3)
}
inline StdObjMgt_ReadData& operator >>
- (StdObjMgt_ReadData::Object theReadData, gp_Trsf2d& theTrsf)
+ (StdObjMgt_ReadData& theReadData, gp_Trsf2d& theTrsf)
{
+ StdObjMgt_ReadData::ObjectSentry aSentry (theReadData);
+
Standard_Real aScale;
Standard_Integer aForm;
gp_Mat2d aMat;
}
inline StdObjMgt_WriteData& operator <<
-(StdObjMgt_WriteData::Object theWriteData, const gp_Trsf2d& theTrsf)
+ (StdObjMgt_WriteData& theWriteData, const gp_Trsf2d& theTrsf)
{
+ StdObjMgt_WriteData::ObjectSentry aSentry (theWriteData);
+
Standard_Real aScale = theTrsf.ScaleFactor();
Standard_Integer aForm = theTrsf.Form();
const gp_Mat2d& aMat = theTrsf.HVectorialPart();
}
inline StdObjMgt_ReadData& operator >>
- (StdObjMgt_ReadData::Object theReadData, gp_Trsf& theTrsf)
+ (StdObjMgt_ReadData& theReadData, gp_Trsf& theTrsf)
{
+ StdObjMgt_ReadData::ObjectSentry aSentry (theReadData);
+
Standard_Real aScale;
Standard_Integer aForm;
gp_Mat aMat;
}
inline StdObjMgt_WriteData& operator <<
- (StdObjMgt_WriteData::Object theWriteData, const gp_Trsf& theTrsf)
+ (StdObjMgt_WriteData& theWriteData, const gp_Trsf& theTrsf)
{
+ StdObjMgt_WriteData::ObjectSentry aSentry (theWriteData);
+
Standard_Real aScale = theTrsf.ScaleFactor();
Standard_Integer aForm = theTrsf.Form();
const gp_Mat& aMat = theTrsf.HVectorialPart();