View Issue Details

IDProjectCategoryView StatusLast Update
0003427Open CASCADEOCCT:Application Frameworkpublic2012-01-17 18:09
Reporterszy Assigned Toszy  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
OSAll 
Fixed in Version5.1.1 
Summary0003427: New ExtStringArray attribute - improvement
DescriptionIntroduces the new standard attribute - TDataStd_ExtStringArray.
Very usefull for most interactive applications.
Additional information
and documentation updates
Documentation remark, added by SZY 2003-10-07 11:09:35:

New features:
A new ExtStringArray class has been added to the TDataStd package. This class is
intended to provide the implementation of the new standard attribute to keep
ExtString array in Data Framework at predefined label. Please, consult the
Reference Documentation (chapter Standard Attributes) for a more advanced
user information.
Modified entities:
TDataStd_ExtStringArray class has been created and added to the TDataStd package
of the OCAF component.

Main methods:
    GetID (myclass)returns GUID from Standard;

    Set (myclass; label : Label from TDF; lower, upper : Integer from Standard)
    returns ExtStringArray from TDataStd;
    ---Purpose: Find, or create, an ExtStringArray attribute with <lower> and
<upper> bounds the ExtStringArray attribute is returned.

    Init(me : mutable; lower, upper : Integer from Standard);
    ---Purpose: Initialize the inner array with bounds from <lower> to <upper>

    SetValue (me : mutable; Index : Integer from Standard; Value :
ExtendedString from TCollection);
    ---Purpose: Sets the <Index>th element of the array to <Value>

    Value (me; Index : Integer from Standard) returns ExtendedString from
TCollection;
    ---Purpose: Return the value of the <Index>th element of the array
  
    Lower (me) returns Integer from Standard;
    ---Purpose: Return the lower bound.

    Upper (me) returns Integer from Standard;
    ---Purpose: Return the upper bound

    Length (me) returns Integer from Standard;
    ---Purpose: Return the number of elements of <me>.

    ChangeArray(me : mutable; newArray : HArray1OfExtendedString from TColStd);
    ---Purpose: Set the inner array of the ExtStringArray attribute to
<newArray>

    Array(me) returns HArray1OfExtendedString from TColStd;
    ---Purpose: Return the inner array of the ExtStringArray attribute


CDL file:
TDataStd_ExtStringArray.cdl
TagsNo tags attached.
Test case number

Attached Files

  • ExtStringArrayAttribute.tar.gz (8,351 bytes)

Activities

2003-08-06 13:56

 

ExtStringArrayAttribute.tar.gz (8,351 bytes)

Issue History

Date Modified Username Field Change
2003-08-15 11:35 bugmaster Assigned To bugmaster => szy
2003-08-15 11:35 bugmaster Status new => assigned
2003-08-15 11:35 bugmaster Status assigned => resolved
2003-08-19 14:16 apv CC => apv
2003-08-19 15:28 apv CC => aki
2003-08-25 18:00 aki Status resolved => tested
2003-09-29 12:20 bugmaster Status tested => verified
2003-10-17 19:35 bugmaster Status verified => closed
2003-10-17 19:35 bugmaster Fixed in Version => 5.1.1
2003-10-17 19:35 bugmaster Resolution @0@ => fixed
2011-08-02 10:32 bugmaster Category OCCT:OCAF => OCCT:Application Framework
2012-01-17 18:09 atp Description Updated
2012-01-17 18:09 atp Additional Information Updated