View Issue Details

IDProjectCategoryView StatusLast Update
0016782Open CASCADEOCCT:Application Frameworkpublic2012-01-12 11:55
Reportervro Assigned Toszy 
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.2.1 
Summary0016782: New OCAF attributes
DescriptionA list of new OCAF attributes has been created:
Tick - a boolean flag attached to a label.
AsciiString - an ASCII string.
IntPackedMap - a map of integers packed so that it occupies minimum space in memory.
Lists:
IntegerList - a list of integer values.
RealList - a list of double values.
ExtStringList - a list of extended strings.
BooleanList - a list of boolean flags.
ReferenceList - a list of references to labels.
Arrays:
BooleanArray - an array of boolean flags.
ReferenceArray - an array of references to labels.
ByteArray - an array of unsigned chars.
A special attribute of named data: NamedData - it keeps the data in named maps.
Additional information
and documentation updates
Documentation remark, added by SZY 2007-09-20 12:40:55:

New features:
Group of new data attributes is added to package of standard attributes.

Tick - defines a boolean flag attached to a label.
AsciiString - defines a pure ASCII string.
IntPackedMap - defines a map of integers packed so that it occupies minimum
space in memory.

Lists:
IntegerList - defines a list of integer values.
RealList - defines a list of double values.
ExtStringList - defines a list of extended strings.
BooleanList - defines a list of boolean flags.
ReferenceList - defines a list of references to labels.

Arrays:
BooleanArray - defines an array of boolean flags.
ReferenceArray - defines an array of references to labels.
ByteArray - defines an array of unsigned chars.

A special attribute of named data: NamedData - it keeps a named data in internal
maps, i.e. it keeps pairs Key - Value, where a Key - ExtendedString and a Value
can be one of the next types: Integer, Real,ExtendedString, Byte,
ArrayOfIntegers, ArrayOfReals.
Modified entities:
Package TDataStd - new classes.
    class Tick;
    class AsciiString;
    class IntPackedMap;
    -- Lists:
    class IntegerList;
    class RealList;
    class ExtStringList;
    class BooleanList;
    class ReferenceList;

    -- Arrays:
    class BooleanArray;
    class ReferenceArray;
    class ByteArray;

    class NamedData;

---Category: tools
   class ListOfByte instantiates List from TCollection(Byte from Standard);
   class Array1OfByte instantiates Array1 from TCollection (Byte from Standard);
   class HArray1OfByte instantiates HArray1 from TCollection (Byte from
Standard, Array1OfByte from TDataStd);

   class LabelArray1 instantiates Array1 from TCollection(Label from TDF);
   class HLabelArray1 instantiates HArray1 from TCollection(Label from TDF,
LabelArray1 from TDataStd);

   class DataMapOfStringInteger instantiates DataMap from
TCollection(ExtendedString from TCollection,
                                                                      Integer
from Standard,
                                                                     
ExtendedString from TCollection);
   class DataMapOfStringReal instantiates DataMap from
TCollection(ExtendedString from TCollection,
                                                                   Real from
Standard,
                                                                  
ExtendedString from TCollection);
   class DataMapOfStringString instantiates DataMap from
TCollection(ExtendedString from TCollection,
                                                                    
ExtendedString from TCollection,
                                                                    
ExtendedString from TCollection);
   class DataMapOfStringByte instantiates DataMap from
TCollection(ExtendedString from TCollection,
                                                                   Byte from
Standard,
                                                                  
ExtendedString from TCollection);
   class DataMapOfStringHArray1OfInteger instantiates DataMap from
TCollection(ExtendedString from TCollection,
                                                                              
HArray1OfInteger from TColStd,
                                                                              
ExtendedString from TCollection);
   class DataMapOfStringHArray1OfReal instantiates DataMap from
TCollection(ExtendedString from TCollection,
                                                                           
HArray1OfReal from TColStd,
                                                                           
ExtendedString from TCollection);

   class HDataMapOfStringInteger;
   class HDataMapOfStringReal;
   class HDataMapOfStringString;
   class HDataMapOfStringByte;
   class HDataMapOfStringHArray1OfInteger;
   class HDataMapOfStringHArray1OfReal;
TagsNo tags attached.
Test case number

Attached Files

  • vro-occ16782-v1.rar (139,685 bytes)
  • OCC16782-v2.tar.gz (72,787 bytes)
  • MDataStd_NamedDataStorageDriver.cxx (7,069 bytes)
  • OCC16782-mkv-v1.tar.gz (28,134 bytes)

Relationships

related to 0016965 closedagv OCAF attributes should return strings by reference rather than by value 

Activities

2007-08-27 13:45

 

vro-occ16782-v1.rar (139,685 bytes)

2007-09-18 12:58

 

OCC16782-v2.tar.gz (72,787 bytes)

2007-09-18 15:02

 

MDataStd_NamedDataStorageDriver.cxx (7,069 bytes)

2007-09-21 14:08

 

OCC16782-mkv-v1.tar.gz (28,134 bytes)

Issue History

Date Modified Username Field Change
2007-09-10 17:58 bugmaster Assigned To bugmaster => vro
2007-09-10 17:58 bugmaster Status new => assigned
2007-09-14 17:30 agv BugsThisDependsOn => 16965
2007-09-20 12:47 bugmaster Assigned To vro => szy
2007-09-20 12:48 bugmaster Status assigned => tested
2007-09-25 12:16 bugmaster Status tested => verified
2009-06-23 19:08 bugmaster Status verified => closed
2009-06-23 19:08 bugmaster Resolution @0@ => fixed
2011-08-02 10:32 bugmaster Category OCCT:OCAF => OCCT:Application Framework
2012-01-12 11:55 atp Description Updated
2012-01-12 11:55 atp Additional Information Updated