1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0031939: Coding - correction of spelling errors in comments [part 10]

Fix various typos via codespell.
This commit is contained in:
luz paz
2021-04-19 11:42:46 +03:00
committed by bugmaster
parent b69e576af0
commit 316ea29318
339 changed files with 1743 additions and 1972 deletions

View File

@@ -123,7 +123,7 @@ void StdLPersistent_Collection::mapBase<Base>::import
//=======================================================================
//function : ImportAttribute
//purpose : Import transient attribuite from the persistent data
//purpose : Import transient attribute from the persistent data
//=======================================================================
template <template<class> class BaseT,
class HArrayClass,
@@ -156,7 +156,7 @@ void StdLPersistent_Collection::instance_1<Instance>::Read
//=======================================================================
//function : ImportAttribute
//purpose : Import transient attribuite from the persistent data
//purpose : Import transient attribute from the persistent data
//=======================================================================
template <class Instance>
void StdLPersistent_Collection::instance_1<Instance>::ImportAttribute()

View File

@@ -115,7 +115,7 @@ class StdLPersistent_Collection
: public BaseT <typename StdObjMgt_Attribute<AttribClass>::SingleRef>
{
public:
//! Import transient attribuite from the persistent data.
//! Import transient attribute from the persistent data.
Standard_EXPORT virtual void ImportAttribute();
};
@@ -132,7 +132,7 @@ class StdLPersistent_Collection
//! Read persistent data from a file.
Standard_EXPORT virtual void Read (StdObjMgt_ReadData& theReadData);
//! Import transient attribuite from the persistent data.
//! Import transient attribute from the persistent data.
Standard_EXPORT virtual void ImportAttribute();
private:

View File

@@ -104,7 +104,7 @@ Handle(TDF_Data) StdLPersistent_Data::Import() const
Handle(TDF_Data) aData = new TDF_Data;
Parser (*myLabels->Array(), *myAttributes->Array()).FillLabel (aData->Root());
// Import transient attribuites from persistent data
// Import transient attributes from persistent data
StdLPersistent_HArray1OfPersistent::Iterator anAttribIter (*myAttributes->Array());
for (; anAttribIter.More(); anAttribIter.Next())
{

View File

@@ -25,7 +25,7 @@ static void ImportName (const Handle(TDataStd_Relation)& theAttribute,
//=======================================================================
//function : Import
//purpose : Import transient attribuite from the persistent data
//purpose : Import transient attribute from the persistent data
//=======================================================================
template <class AttribClass>
void StdLPersistent_Dependency::instance<AttribClass>::Import

View File

@@ -44,7 +44,7 @@ class StdLPersistent_Dependency
//! Returns persistent type name
Standard_CString PName() const;
//! Import transient attribuite from the persistent data.
//! Import transient attribute from the persistent data.
void Import (const Handle(AttribClass)& theAttribute) const;
private:

View File

@@ -40,7 +40,7 @@ public:
//! Returns persistent type name
inline Standard_CString PName() const { return "PFunction_Function"; }
//! Import transient attribuite from the persistent data.
//! Import transient attribute from the persistent data.
void Import (const Handle(TFunction_Function)& theAttribute) const
{
theAttribute->SetDriverGUID (myDriverGUID);

View File

@@ -41,7 +41,7 @@ static typename HArray::ArrayHandle
//=======================================================================
//function : Import
//purpose : Import transient attribuite from the persistent data
//purpose : Import transient attribute from the persistent data
//=======================================================================
void StdLPersistent_NamedData::Import
(const Handle(TDataStd_NamedData)& theAttribute) const

View File

@@ -80,7 +80,7 @@ public:
//! Returns persistent type name
Standard_CString PName() const { return "PDataStd_NamedData"; }
//! Import transient attribuite from the persistent data.
//! Import transient attribute from the persistent data.
void Import (const Handle(TDataStd_NamedData)& theAttribute) const;
private:

View File

@@ -40,7 +40,7 @@ public:
//! Returns persistent type name
Standard_CString PName() const { return "PDataStd_Real"; }
//! Import transient attribuite from the persistent data.
//! Import transient attribute from the persistent data.
void Import (const Handle(TDataStd_Real)& theAttribute) const
{
theAttribute->Set (myValue);

View File

@@ -47,7 +47,7 @@ void StdLPersistent_TreeNode::PChildren
//=======================================================================
//function : CreateAttribute
//purpose : Create an empty transient attribuite
//purpose : Create an empty transient attribute
//=======================================================================
Handle(TDF_Attribute) StdLPersistent_TreeNode::CreateAttribute()
{
@@ -58,7 +58,7 @@ Handle(TDF_Attribute) StdLPersistent_TreeNode::CreateAttribute()
//=======================================================================
//function : ImportAttribute
//purpose : Import transient attribuite from the persistent data
//purpose : Import transient attribute from the persistent data
//=======================================================================
void StdLPersistent_TreeNode::ImportAttribute()
{

View File

@@ -38,10 +38,10 @@ public:
virtual Standard_CString PName() const
{ return "PDataStd_TreeNode"; }
//! Create an empty transient attribuite
//! Create an empty transient attribute
Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
//! Import transient attribuite from the persistent data.
//! Import transient attribute from the persistent data.
Standard_EXPORT virtual void ImportAttribute();
private:

View File

@@ -19,7 +19,7 @@
//=======================================================================
//function : ImportAttribute
//purpose : Import transient attribuite from the persistent data
//purpose : Import transient attribute from the persistent data
//=======================================================================
template <class AttribClass>
void StdLPersistent_Value::integer<AttribClass>::ImportAttribute()
@@ -29,7 +29,7 @@ void StdLPersistent_Value::integer<AttribClass>::ImportAttribute()
//=======================================================================
//function : ImportAttribute
//purpose : Import transient attribuite from the persistent data
//purpose : Import transient attribute from the persistent data
//=======================================================================
template <class AttribClass, class HStringClass>
void StdLPersistent_Value::string<AttribClass, HStringClass>::ImportAttribute()
@@ -45,7 +45,7 @@ void StdLPersistent_Value::string<AttribClass, HStringClass>::ImportAttribute()
//=======================================================================
//function : ImportAttribute
//purpose : Import transient attribuite from the persistent data
//purpose : Import transient attribute from the persistent data
//=======================================================================
template<>
void StdLPersistent_Value::string<TDF_Reference>::ImportAttribute()
@@ -61,7 +61,7 @@ void StdLPersistent_Value::string<TDF_Reference>::ImportAttribute()
//=======================================================================
//function : ImportAttribute
//purpose : Import transient attribuite from the persistent data
//purpose : Import transient attribute from the persistent data
//=======================================================================
template<>
void StdLPersistent_Value::string<TDataStd_UAttribute>::ImportAttribute()
@@ -69,7 +69,7 @@ void StdLPersistent_Value::string<TDataStd_UAttribute>::ImportAttribute()
//=======================================================================
//function : CreateAttribute
//purpose : Create an empty transient attribuite
//purpose : Create an empty transient attribute
//=======================================================================
Handle(TDF_Attribute) StdLPersistent_Value::UAttribute::CreateAttribute()
{

View File

@@ -33,7 +33,7 @@ class StdLPersistent_Value
class integer : public StdObjMgt_Attribute<AttribClass>::SingleInt
{
public:
//! Import transient attribuite from the persistent data.
//! Import transient attribute from the persistent data.
Standard_EXPORT virtual void ImportAttribute();
};
@@ -42,7 +42,7 @@ class StdLPersistent_Value
class string : public StdObjMgt_Attribute<AttribClass>::SingleRef
{
public:
//! Import transient attribuite from the persistent data.
//! Import transient attribute from the persistent data.
Standard_EXPORT virtual void ImportAttribute();
};
@@ -66,7 +66,7 @@ public:
class UAttribute : public string <TDataStd_UAttribute>
{
public:
//! Create an empty transient attribuite
//! Create an empty transient attribute
Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
Standard_CString PName() const { return "PDataStd_UAttribute"; }
};
@@ -74,7 +74,7 @@ public:
class Integer : public integer <TDataStd_Integer>
{
public:
//! Create an empty transient attribuite
//! Create an empty transient attribute
Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
Standard_CString PName() const { return "PDataStd_Integer"; }
};
@@ -82,7 +82,7 @@ public:
class Name : public string <TDataStd_Name>
{
public:
//! Create an empty transient attribuite
//! Create an empty transient attribute
Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
Standard_CString PName() const { return "PDataStd_Name"; }
};
@@ -90,7 +90,7 @@ public:
class AsciiString : public string <TDataStd_AsciiString, StdLPersistent_HString::Ascii>
{
public:
//! Create an empty transient attribuite
//! Create an empty transient attribute
Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
Standard_CString PName() const { return "PDataStd_AsciiString"; }
};

View File

@@ -41,7 +41,7 @@ public:
//! Returns persistent type name
inline Standard_CString PName() const { return "PDataStd_Variable"; }
//! Import transient attribuite from the persistent data.
//! Import transient attribute from the persistent data.
void Import (const Handle(TDataStd_Variable)& theAttribute) const
{
theAttribute->Constant (myIsConstant);

View File

@@ -38,7 +38,7 @@ protected:
//! Returns persistent type name
Standard_CString PName() const;
//! Import transient attribuite from the persistent data
//! Import transient attribute from the persistent data
virtual void ImportAttribute() {}
};

View File

@@ -39,7 +39,7 @@ public:
//! Returns persistent type name
inline Standard_CString PName() const { return "PDocStd_XLink"; }
//! Import transient attribuite from the persistent data.
//! Import transient attribute from the persistent data.
void Import (const Handle(TDocStd_XLink)& theAttribute) const
{
if (myDocEntry)