0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / Interface / Interface_UndefinedContent.cdl
index ef571dc..983bf46 100644 (file)
@@ -48,7 +48,7 @@ raises OutOfRange, NoSuchObject, InterfaceMismatch, InterfaceError
 
 is
 
-    Create returns mutable UndefinedContent;
+    Create returns UndefinedContent;
     ---Purpose : Defines an empty UndefinedContent
 
        -- --    Access to Parameters    -- --
@@ -60,7 +60,7 @@ is
     ---Purpose : Gives count of Literal Parameters
 
     ParamData (me; num : Integer; ptype : out ParamType;
-                  ent : out mutable Transient;
+                  ent : out Transient;
                   val : out HAsciiString from TCollection)
                       returns Boolean  is static;
     ---Purpose : Returns data of a Parameter : its type, and the entity if it
@@ -77,7 +77,7 @@ is
     ---Purpose : Returns True if a Parameter is recorded as an entity
     --           Error if num is not between 1 and NbParams
 
-    ParamEntity (me; num : Integer) returns mutable Transient
+    ParamEntity (me; num : Integer) returns Transient
     ---Purpose : Returns Entity corresponding to a Param, given its rank
         raises InterfaceError, OutOfRange  is static;
     --           Error if out of range or if Param num does not designate
@@ -97,7 +97,7 @@ is
        val : HAsciiString from TCollection)  is static;
     ---Purpose : Adds a literal Parameter to the list
 
-    AddEntity  (me : mutable; ptype : ParamType; ent : mutable Transient)
+    AddEntity  (me : mutable; ptype : ParamType; ent : Transient)
        is static;
     ---Purpose : Adds a Parameter which references an Entity
 
@@ -114,13 +114,13 @@ is
     --           Error if num is out of range
 
     SetEntity  (me : mutable; num : Integer; ptype : ParamType;
-               ent : mutable Transient)
+               ent : Transient)
     ---Purpose : Sets a new value for the Parameter <num>, to reference an
     --           Entity. To simply change the Entity, see the variant below
        raises OutOfRange  is static;
     --           Error if num is out of range
 
-    SetEntity  (me : mutable; num : Integer; ent : mutable Transient)
+    SetEntity  (me : mutable; num : Integer; ent : Transient)
     ---Purpose : Changes the Entity referenced by the Parameter <num>
     --           (with same ParamType)
        raises InterfaceError, OutOfRange  is static;