Magne Sjaastad
d2b5d7ae92
System : Added iterators and at() to ChildArrayField
2015-10-23 09:45:32 +02:00
Jacob Storen
10046eed4a
Linux fixes
2015-10-14 07:13:45 -07:00
Magne Sjaastad
8e03c38901
Return root if reference is empty
2015-10-06 16:12:17 +02:00
Magne Sjaastad
bbc6fb1511
Minor refactor of ReferenceHelper
...
Removed some asserts
Added more unit tests
2015-10-06 15:03:55 +02:00
Jacob Støren
49ab79219e
Fixed crashes regarding general handling of NULL pointers in Child Arrays
2015-09-25 15:24:21 +02:00
Magne Sjaastad
53f1765fd7
Fixed wrong index guarding
2015-09-18 19:39:17 +02:00
Magne Sjaastad
dcf9ac9b50
Check if index is valid when resolving child objects
2015-09-18 18:49:53 +02:00
Magne Sjaastad
492bf96598
Moved Xml related functions from PdmDocument to XmlObjectHandle
...
Moved and renamed initAfterReadRecursively, setupBeforeSaveRecursively
and resolveReferencesRecursively to XmlObjectHandle. Updated unit tests.
Removed resolveReferences() from PdmPtrField.
2015-08-27 11:43:27 +02:00
Magne Sjaastad
4f5f50fb4f
Fixed up unit tests
2015-08-27 11:00:49 +02:00
Magne Sjaastad
90b6dd44ee
Created infrastructure used to resolve references for ptrFields
2015-08-26 14:48:20 +02:00
Jacob Støren
0ac86aeff3
Fwk: Added convenience methods to access the ui/xml capabilities in objects
2015-08-20 15:22:43 +02:00
Jacob Støren
d3b1af3724
firstAnchestorOrThisOfType : Initialize returnvalue to NULL
2015-08-14 15:17:03 +02:00
Jacob Støren
f5d15c19e1
firstAnchestorOfType now considers the object itself as well.
...
It is thus renamed to firstAnchestorOrThisOfType
2015-08-14 14:04:47 +02:00
Jacob Storen
47819812bf
Fix of Linux compile errors and warnings
2015-08-13 06:23:51 -07:00
Jacob Støren
8ad3f9b8c3
Fixed missing parent = NULL, if parentField() is NULL
2015-08-13 11:47:04 +02:00
Jacob Støren
f8518037fe
cafPdm: Re-Added PdmObjectHandle::firstAncestorOfType()
2015-08-13 11:38:29 +02:00
Magne Sjaastad
711cc16da1
Added firstAncestorOfType
2015-08-12 11:10:20 +02:00
Pål Hagen
319d9a1aa7
Added new method index()
2015-08-10 16:57:16 +02:00
Magne Sjaastad
28aee8ef0d
Reintroduced asserts
2015-08-07 12:41:03 +02:00
Magne Sjaastad
ac45fb111b
Added missing childObjects() for PtrField and fixed legend tree view visibility for PtrFields
2015-08-06 08:08:15 +02:00
Magne Sjaastad
57e363896f
Replaced uiField() and xmlField() with uiCapability() and xmlCapability()
2015-08-05 12:34:07 +02:00
Magne Sjaastad
392876dcaa
Intermediate fix for fields with multiple parents. Asserts must be reintroduced later.
2015-08-04 14:32:18 +02:00
Magne Sjaastad
58149cbdb9
Copied in RPM/Fwk/AppFwk
...
Commented out use of stipple line, as VizFwk is not update yet
2015-07-29 14:19:43 +02:00