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 4]
Fix various typos Fixed via `codespell v2.1.dev
This commit is contained in:
@@ -40,7 +40,7 @@ class Interface_InterfaceModel;
|
||||
//!
|
||||
//! Basically, the system provides the following categories :
|
||||
//! Shape (Geometry, BRep, CSG, Features, etc...)
|
||||
//! Drawing (Drawing, Views, Annotations, Pictures, Scketches ...)
|
||||
//! Drawing (Drawing, Views, Annotations, Pictures, Sketches ...)
|
||||
//! Structure (Component & Part, Groups & Patterns ...)
|
||||
//! Description (Meta-Data : Relations, Properties, Product ...)
|
||||
//! Auxiliary (those which do not enter in the above list)
|
||||
|
@@ -84,7 +84,7 @@ public:
|
||||
//! Checks if any Error has been detected (CheckList not empty)
|
||||
//! Returns normally if none, raises exception if some exists.
|
||||
//! It reuses the last computations from other checking methods,
|
||||
//! unless the argument <resest> is given True
|
||||
//! unless the argument <reset> is given True
|
||||
Standard_EXPORT void CheckSuccess (const Standard_Boolean reset = Standard_False);
|
||||
|
||||
//! Returns list of all "remarkable" information, which include :
|
||||
@@ -102,7 +102,7 @@ public:
|
||||
//! AnalyseCheckList + VerifyCheckList
|
||||
Standard_EXPORT Interface_CheckIterator CheckList();
|
||||
|
||||
//! Returns list of errors dectected at Analyse time (syntactic)
|
||||
//! Returns list of errors detected at Analyse time (syntactic)
|
||||
//! (note that GlobalCheck is not in this list)
|
||||
Standard_EXPORT Interface_CheckIterator AnalyseCheckList();
|
||||
|
||||
|
@@ -55,7 +55,7 @@ public:
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Creates a List as beeing empty
|
||||
//! Creates a List as being empty
|
||||
Standard_EXPORT Interface_EntityList();
|
||||
|
||||
//! Clears the List
|
||||
|
@@ -140,7 +140,7 @@ public:
|
||||
Standard_EXPORT const Handle(Standard_Transient)& ParamEntity (const Standard_Integer num, const Standard_Integer nump) const;
|
||||
|
||||
//! Returns the absolute rank of the beginning of a record
|
||||
//! (its lsit is from ParamFirstRank+1 to ParamFirstRank+NbParams)
|
||||
//! (its list is from ParamFirstRank+1 to ParamFirstRank+NbParams)
|
||||
Standard_EXPORT Standard_Integer ParamFirstRank (const Standard_Integer num) const;
|
||||
|
||||
//! Returns the entity bound to a record, set by SetEntities
|
||||
@@ -190,7 +190,7 @@ protected:
|
||||
//! <nbr> must be the maximum number of records to get (no way to
|
||||
//! extend it at run-time) : count entities and sub-entities ...
|
||||
//! <npar> is the total count of parameters (if it is not exact,
|
||||
//! it will be extented as necessary)
|
||||
//! it will be extended as necessary)
|
||||
//!
|
||||
//! Hence, to each record can be bound an Entity and a list of
|
||||
//! Parameters. Each kind of FileReaderData can add other data, by
|
||||
|
@@ -181,7 +181,7 @@ public:
|
||||
//! default is doing nothing; redefinable as necessary
|
||||
Standard_EXPORT virtual void EndRead (const Handle(Interface_InterfaceModel)& amodel);
|
||||
|
||||
//! Clear filelds
|
||||
//! Clear fields
|
||||
Standard_EXPORT void Clear();
|
||||
|
||||
|
||||
|
@@ -28,11 +28,11 @@
|
||||
#include <Standard_CString.hxx>
|
||||
|
||||
|
||||
//! This class converts a floting number (Real) to a string
|
||||
//! This class converts a floating number (Real) to a string
|
||||
//! It can be used if the standard C-C++ output functions
|
||||
//! (sprintf or std::cout<<) are not convenient. That is to say :
|
||||
//! - to suppress trailing '0' and 'E+00' (if desired)
|
||||
//! - to control exponant output and floating point output
|
||||
//! - to control exponent output and floating point output
|
||||
//!
|
||||
//! Formats are given in the form used by printf-sprintf
|
||||
class Interface_FloatWriter
|
||||
@@ -66,7 +66,7 @@ public:
|
||||
Standard_EXPORT void SetFormatForRange (const Standard_CString form, const Standard_Real R1, const Standard_Real R2);
|
||||
|
||||
//! Sets Sending Real Parameters to suppress trailing Zeros and
|
||||
//! Null Exponant ("E+00"), if <mode> is given True, Resets this
|
||||
//! Null Exponent ("E+00"), if <mode> is given True, Resets this
|
||||
//! mode if <mode> is False (in addition to Real Forms)
|
||||
//! A call to SetRealFrom resets this mode to False ig <reset> is
|
||||
//! given True (Default from Creation is True)
|
||||
@@ -97,7 +97,7 @@ public:
|
||||
Standard_EXPORT Standard_Integer Write (const Standard_Real val, const Standard_CString text) const;
|
||||
|
||||
//! This class method converts a Real Value to a string, given
|
||||
//! options given as arguments. It can be called independantly.
|
||||
//! options given as arguments. It can be called independently.
|
||||
//! Warning : even if declared in, content of <text> will be modified
|
||||
Standard_EXPORT static Standard_Integer Convert (const Standard_Real val, const Standard_CString text, const Standard_Boolean zerosup, const Standard_Real Range1, const Standard_Real Range2, const Standard_CString mainform, const Standard_CString rangeform);
|
||||
|
||||
|
@@ -161,7 +161,7 @@ public:
|
||||
//! coherence with Dispatch
|
||||
//! Dispatch can either copy or not.
|
||||
//! If it copies the entity, this one should be deleted
|
||||
//! If it doesnt (i.e. duplicates the handle) nothing to do
|
||||
//! If it doesn't (i.e. duplicates the handle) nothing to do
|
||||
//!
|
||||
//! If <dispatch> is False, normal deletion is to be performed
|
||||
Standard_EXPORT virtual void WhenDeleteCase (const Standard_Integer CN, const Handle(Standard_Transient)& ent, const Standard_Boolean dispatched) const;
|
||||
|
@@ -44,7 +44,7 @@ public:
|
||||
//! Adds a Module bound with a Protocol to the list : does
|
||||
//! nothing if already in the list, THAT IS, Same Type (exact
|
||||
//! match) and Same State (that is, IsEqual is not required)
|
||||
//! Once added, stores its attached Protocol in correspondance
|
||||
//! Once added, stores its attached Protocol in correspondence
|
||||
Standard_EXPORT void Add (const Handle(Interface_GeneralModule)& amodule, const Handle(Interface_Protocol)& aprotocol);
|
||||
|
||||
//! Returns the Module stored in a given GlobalNode
|
||||
|
@@ -44,7 +44,7 @@ public:
|
||||
//! Adds a Module bound with a Protocol to the list : does
|
||||
//! nothing if already in the list, THAT IS, Same Type (exact
|
||||
//! match) and Same State (that is, IsEqual is not required)
|
||||
//! Once added, stores its attached Protocol in correspondance
|
||||
//! Once added, stores its attached Protocol in correspondence
|
||||
Standard_EXPORT void Add (const Handle(Interface_ReaderModule)& amodule, const Handle(Interface_Protocol)& aprotocol);
|
||||
|
||||
//! Returns the Module stored in a given GlobalNode
|
||||
|
@@ -230,7 +230,7 @@ public:
|
||||
//! another Graph from <me>
|
||||
Standard_EXPORT const Handle(TColStd_HArray1OfListOfInteger)& SharingTable() const;
|
||||
|
||||
//! Returns mode resposible for computation of statuses;
|
||||
//! Returns mode responsible for computation of statuses;
|
||||
Standard_EXPORT Standard_Boolean ModeStat() const;
|
||||
|
||||
|
||||
|
@@ -63,7 +63,7 @@ public:
|
||||
|
||||
//! Returns Result under the exact form of an EntityIterator :
|
||||
//! Can be used when EntityIterator itself is required (as a
|
||||
//! returned value for instance), whitout way for a sub-class
|
||||
//! returned value for instance), without way for a sub-class
|
||||
Standard_EXPORT Interface_EntityIterator Result();
|
||||
|
||||
//! Does the Evaluation before starting the iteration itself
|
||||
|
@@ -35,7 +35,7 @@ class Interface_HGraph;
|
||||
DEFINE_STANDARD_HANDLE(Interface_HGraph, Standard_Transient)
|
||||
|
||||
//! This class allows to store a redefinable Graph, via a Handle
|
||||
//! (usefull for an Object which can work on several successive
|
||||
//! (useful for an Object which can work on several successive
|
||||
//! Models, with the same general conditions)
|
||||
class Interface_HGraph : public Standard_Transient
|
||||
{
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
//! Returns the Graph contained in <me>, for Read Only Operations
|
||||
//! Remark that it is returns as "const &"
|
||||
//! Getting it in a new variable instead of a reference would be
|
||||
//! a pitty, because all the graph's content would be duplicated
|
||||
//! a pity, because all the graph's content would be duplicated
|
||||
Standard_EXPORT const Interface_Graph& Graph() const;
|
||||
|
||||
//! Same as above, but for Read-Write Operations
|
||||
|
@@ -25,7 +25,6 @@
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
|
||||
|
||||
//! This class detains the data which describe a Graph. A Graph
|
||||
//! has two lists, one for shared refs, one for sharing refs
|
||||
//! (the reverses). Each list comprises, for each Entity of the
|
||||
@@ -111,11 +110,11 @@ public:
|
||||
|
||||
//! Returns the count of refs attached to current entity number
|
||||
Standard_EXPORT Standard_Integer Length() const;
|
||||
|
||||
//! Returns True if the list for a number (default is taken as
|
||||
//! current) is "redefined" (usefull for empty list)
|
||||
|
||||
//! Returns True if the list for a number
|
||||
//! (default is taken as current) is "redefined" (useful for empty list)
|
||||
Standard_EXPORT Standard_Boolean IsRedefined (const Standard_Integer num = 0) const;
|
||||
|
||||
|
||||
//! Returns a reference number in the list for current number,
|
||||
//! according to its rank
|
||||
Standard_EXPORT Standard_Integer Value (const Standard_Integer num) const;
|
||||
@@ -131,19 +130,8 @@ public:
|
||||
//! margin can be added.
|
||||
Standard_EXPORT void AdjustSize (const Standard_Integer margin = 0);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
Standard_Integer thenbe;
|
||||
Standard_Integer thenbr;
|
||||
Standard_Integer thenum;
|
||||
@@ -152,13 +140,6 @@ private:
|
||||
Handle(TColStd_HArray1OfInteger) theents;
|
||||
Handle(TColStd_HArray1OfInteger) therefs;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _Interface_IntList_HeaderFile
|
||||
|
@@ -199,12 +199,12 @@ public:
|
||||
|
||||
//! Removes the ReportEntity attached to Entity <num>. Returns
|
||||
//! True if done, False if no ReportEntity was attached to <num>.
|
||||
//! Warning : the caller must assume that this clearing is meaningfull
|
||||
//! Warning : the caller must assume that this clearing is meaningful
|
||||
Standard_EXPORT Standard_Boolean ClearReportEntity (const Standard_Integer num);
|
||||
|
||||
//! Sets or Replaces a ReportEntity for the Entity <num>. Returns
|
||||
//! True if Report is replaced, False if it has been replaced
|
||||
//! Warning : the caller must assume that this setting is meaningfull
|
||||
//! Warning : the caller must assume that this setting is meaningful
|
||||
Standard_EXPORT Standard_Boolean SetReportEntity (const Standard_Integer num, const Handle(Interface_ReportEntity)& rep);
|
||||
|
||||
//! Adds a ReportEntity as such. Returns False if the concerned
|
||||
@@ -319,7 +319,7 @@ public:
|
||||
//! (each item has to be casted to Report Entity then it can be
|
||||
//! queried for Concerned Entity, Content, Check ...)
|
||||
//! By default, returns the main reports, is <semantic> is True it
|
||||
//! returns the list for sematic checks
|
||||
//! returns the list for semantic checks
|
||||
Standard_EXPORT Interface_EntityIterator Reports (const Standard_Boolean semantic = Standard_False) const;
|
||||
|
||||
//! Returns the list of ReportEntities which redefine data
|
||||
|
@@ -184,7 +184,7 @@ operator Standard_CString() const;
|
||||
//! Codes a date as a text, from its numeric value (-> seconds) :
|
||||
//! YYYY-MM-DD:HH-MN-SS fixed format, completed by leading zeros
|
||||
//! Another format can be provided, as follows :
|
||||
//! C:%d ... C like format, preceeded by C:
|
||||
//! C:%d ... C like format, preceded by C:
|
||||
//! S:... format to call system (not yet implemented)
|
||||
Standard_EXPORT static void TDate (const Standard_CString text, const Standard_Integer yy, const Standard_Integer mm, const Standard_Integer dd, const Standard_Integer hh, const Standard_Integer mn, const Standard_Integer ss, const Standard_CString format = "");
|
||||
|
||||
@@ -214,7 +214,7 @@ operator Standard_CString() const;
|
||||
Standard_EXPORT static Standard_CString Blanks (const Standard_Integer count);
|
||||
|
||||
//! Prints a String on an Output Stream, as follows :
|
||||
//! Accompagned with blanks, to give up to <max> charis at all,
|
||||
//! Accompanied with blanks, to give up to <max> charis at all,
|
||||
//! justified according just :
|
||||
//! -1 (D) : left 0 : center 1 : right
|
||||
//! Maximum 76 characters
|
||||
|
@@ -38,7 +38,7 @@ class Interface_ParamList : public Standard_Transient
|
||||
public:
|
||||
|
||||
|
||||
//! Creates an vector with size of memmory blok equal to theIncrement
|
||||
//! Creates an vector with size of memory block equal to theIncrement
|
||||
Standard_EXPORT Interface_ParamList(const Standard_Integer theIncrement = 256);
|
||||
|
||||
//! Returns the number of elements of <me>.
|
||||
|
@@ -48,11 +48,11 @@ public:
|
||||
Standard_EXPORT Interface_ParamSet(const Standard_Integer nres, const Standard_Integer nst = 1);
|
||||
|
||||
//! Adds a parameter defined as its Value (CString and length) and
|
||||
//! Type. Optionnal EntityNumber (for FileReaderData) can be given
|
||||
//! Type. Optional EntityNumber (for FileReaderData) can be given
|
||||
//! Allows a better memory management than Appending a
|
||||
//! complete FileParameter
|
||||
//! If <lnval> < 0, <val> is assumed to be managed elsewhere : its
|
||||
//! adress is stored as such. Else, <val> is copied in a locally
|
||||
//! address is stored as such. Else, <val> is copied in a locally
|
||||
//! (quickly) managed Page of Characters
|
||||
//! Returns new count of recorded Parameters
|
||||
Standard_EXPORT Standard_Integer Append (const Standard_CString val, const Standard_Integer lnval, const Interface_ParamType typ, const Standard_Integer nument);
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
//! Changes a parameter identified by its number
|
||||
Standard_EXPORT void SetParam (const Standard_Integer num, const Interface_FileParameter& FP);
|
||||
|
||||
//! Builds and returns the sub-list correspinding to parameters,
|
||||
//! Builds and returns the sub-list corresponding to parameters,
|
||||
//! from "num" included, with count "nb"
|
||||
//! If <num> and <nb> are zero, returns the whole list
|
||||
Standard_EXPORT Handle(Interface_ParamList) Params (const Standard_Integer num, const Standard_Integer nb) const;
|
||||
|
@@ -45,7 +45,7 @@ DEFINE_STANDARD_HANDLE(Interface_ReportEntity, Standard_Transient)
|
||||
//! the ReportEntity is an "Error Entity", the Concerned Entity is
|
||||
//! an "Erroneous Entity". Else it is a "Correction Entity", the
|
||||
//! Concerned Entity is a "Corrected Entity". With no Check
|
||||
//! message and if Concerened and Content are equal, it reports
|
||||
//! message and if Concerned and Content are equal, it reports
|
||||
//! for an "Unknown Entity".
|
||||
//!
|
||||
//! Each norm must produce its own type of Unknown Entity, but can
|
||||
|
@@ -147,7 +147,7 @@ public:
|
||||
//! Hence, NextItem is available to directly count
|
||||
Standard_EXPORT static void StartCount (const Standard_Integer items, const Standard_CString title = "");
|
||||
|
||||
//! Commands to resume the preceeding phase and start a new one
|
||||
//! Commands to resume the preceding phase and start a new one
|
||||
//! <items> and <cycles> as for Start, but for this new phase
|
||||
//! Ignored if count of phases is already passed
|
||||
//! If <cycles> is more than one, the first Cycle must then be
|
||||
@@ -160,7 +160,7 @@ public:
|
||||
//! Can be used by an operator which has to reajust counts on run
|
||||
Standard_EXPORT static void SetPhase (const Standard_Integer items, const Standard_Integer cycles = 1);
|
||||
|
||||
//! Commands to resume the preceeding cycle and start a new one,
|
||||
//! Commands to resume the preceding cycle and start a new one,
|
||||
//! with a count of items
|
||||
//! Ignored if count of cycles is already passed
|
||||
//! Then, first step is started (or default one)
|
||||
@@ -168,7 +168,7 @@ public:
|
||||
//! to the next one
|
||||
Standard_EXPORT static void NextCycle (const Standard_Integer items);
|
||||
|
||||
//! Commands to resume the preceeding step of the cycle
|
||||
//! Commands to resume the preceding step of the cycle
|
||||
//! Ignored if count of steps is already passed
|
||||
//! NextItem can be called for this step, NextStep passes to next
|
||||
Standard_EXPORT static void NextStep();
|
||||
|
@@ -29,12 +29,12 @@ class Interface_Protocol;
|
||||
class Interface_Graph;
|
||||
class Interface_EntityIterator;
|
||||
|
||||
//! Builds the Graph of Dependancies, from the General Service
|
||||
//! Builds the Graph of Dependencies, from the General Service
|
||||
//! "Shared" -> builds for each Entity of a Model, the Shared and
|
||||
//! Sharing Lists, and gives access to them.
|
||||
//! Allows to complete with Implied References (which are not
|
||||
//! regarded as Shared Entities, but are nevertheless Referenced),
|
||||
//! this can be usefull for Reference Checking
|
||||
//! this can be useful for Reference Checking
|
||||
class Interface_ShareTool
|
||||
{
|
||||
public:
|
||||
|
@@ -39,7 +39,7 @@ class Interface_InterfaceError;
|
||||
class Interface_Static;
|
||||
DEFINE_STANDARD_HANDLE(Interface_Static, Interface_TypedValue)
|
||||
|
||||
//! This class gives a way to manage meaningfull static variables,
|
||||
//! This class gives a way to manage meaningful static variables,
|
||||
//! used as "global" parameters in various procedures.
|
||||
//!
|
||||
//! A Static brings a specification (its type, constraints if any)
|
||||
|
@@ -17,7 +17,7 @@
|
||||
// Only the pointer is declared static, and initialized to NULL : then,
|
||||
// there is no routine to call for static construction
|
||||
|
||||
// Remember that the objet designated by a static Handle should not be created
|
||||
// Remember that the object designated by a static Handle should not be created
|
||||
// in the static declaration, but must anyway be created, during main run,
|
||||
// once before its first use : this is the initialization step.
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
// ***************************************************
|
||||
// Old statement (in a routine, not static) :
|
||||
// if (object.IsNull()) object = new pk_class (..args if any..);
|
||||
// can be maintained, but preceeded by an initialization :
|
||||
// can be maintained, but preceded by an initialization :
|
||||
// InitHandle(pk_class,object); // -> Null Handle
|
||||
|
||||
// ***************************************************
|
||||
|
@@ -68,17 +68,15 @@ public:
|
||||
Standard_EXPORT Interface_TypedValue(const Standard_CString name, const Interface_ParamType type = Interface_ParamText, const Standard_CString init = "");
|
||||
|
||||
//! Returns the type
|
||||
//! I.E. calls ValueType then makes correspondance between
|
||||
//! I.E. calls ValueType then makes correspondence between
|
||||
//! ParamType from Interface (which remains for compatibility
|
||||
//! reasons) and ValueType from MoniTool
|
||||
Standard_EXPORT Interface_ParamType Type() const;
|
||||
|
||||
//! Correspondance ParamType from Interface to
|
||||
//! ValueType from MoniTool
|
||||
//! Correspondence ParamType from Interface to ValueType from MoniTool
|
||||
Standard_EXPORT static MoniTool_ValueType ParamTypeToValueType (const Interface_ParamType typ);
|
||||
|
||||
//! Correspondance ParamType from Interface to
|
||||
//! ValueType from MoniTool
|
||||
//! Correspondence ParamType from Interface to ValueType from MoniTool
|
||||
Standard_EXPORT static Interface_ParamType ValueTypeToParamType (const MoniTool_ValueType typ);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user