From: eap Date: Tue, 1 Mar 2011 11:53:23 +0000 (+0000) Subject: 0021196: [CEA 456] Integration and merge modification for debian packages X-Git-Tag: V5_1_main_FINAL~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a2483a9dd556731932d4ef4f9e9185280b679d0e;p=modules%2Fkernel.git 0021196: [CEA 456] Integration and merge modification for debian packages Remove obsolete files --- diff --git a/doc/salome/tui/KERNEL/HTML/Logger.html b/doc/salome/tui/KERNEL/HTML/Logger.html deleted file mode 100644 index 1a73901c0..000000000 --- a/doc/salome/tui/KERNEL/HTML/Logger.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - -
interface Logger
IDL file
Python
void putMessage ( in string message )
putMessage ( message )
void ping ( )
ping ( )

-
diff --git a/doc/salome/tui/KERNEL/HTML/SALOMEDS.html b/doc/salome/tui/KERNEL/HTML/SALOMEDS.html deleted file mode 100644 index f9d2b559d..000000000 --- a/doc/salome/tui/KERNEL/HTML/SALOMEDS.html +++ /dev/null @@ -1,674 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface Study
IDL file
Python
PersistentReference GetPersistentReference ( )
return_value = GetPersistentReference ( )
SalomeReference GetTransientReference ( )
return_value = GetTransientReference ( )
boolean IsEmpty ( )
return_value = IsEmpty ( )
SComponent FindComponent ( in string aComponentName )
return_value = FindComponent ( aComponentName )
SComponent FindComponentID ( in ID aComponentID )
return_value = FindComponentID ( aComponentID )
SObject FindObject ( in string anObjectName )
return_value = FindObject ( anObjectName )
SObject FindObjectID ( in ID aObjectID )
return_value = FindObjectID ( aObjectID )
SObject CreateObjectID ( in ID aObjectID )
return_value = CreateObjectID ( aObjectID )
SObject FindObjectIOR ( in ID aObjectIOR )
return_value = FindObjectIOR ( aObjectIOR )
ListOfSObject FindObjectByName ( in string anObjectName, in string aComponentName )
return_value = FindObjectByName ( anObjectName, aComponentName )
SObject FindObjectByPath ( in string thePath )
return_value = FindObjectByPath ( thePath )
string GetObjectPath ( in Object theObject )
return_value = GetObjectPath ( theObject )
void SetContext ( in string thePath )
SetContext ( thePath )
string GetContext ( )
return_value = GetContext ( )
ListOfStrings GetObjectNames ( in string theContext )
return_value = GetObjectNames ( theContext )
ListOfStrings GetDirectoryNames ( in string theContext )
return_value = GetDirectoryNames ( theContext )
ListOfStrings GetFileNames ( in string theContext )
return_value = GetFileNames ( theContext )
ListOfStrings GetComponentNames ( in string theContext )
return_value = GetComponentNames ( theContext )
ChildIterator NewChildIterator ( in SObject aSO )
return_value = NewChildIterator ( aSO )
SComponentIterator NewComponentIterator ( )
return_value = NewComponentIterator ( )
StudyBuilder NewBuilder ( )
return_value = NewBuilder ( )
void UpdateIORLabelMap ( in string anIOR, in string anEntry )
UpdateIORLabelMap ( anIOR, anEntry )
AttributeStudyProperties GetProperties ( )
return_value = GetProperties ( )
boolean IsModified ( )
return_value = IsModified ( )
ListOfSObject FindDependances ( in SObject anObject )
return_value = FindDependances ( anObject )
string GetLastModificationDate ( )
return_value = GetLastModificationDate ( )
ListOfDates GetModificationsDate ( )
return_value = GetModificationsDate ( )
string ConvertObjectToIOR ( in Object theObject )
return_value = ConvertObjectToIOR ( theObject )
Object ConvertIORToObject ( in string theIOR )
return_value = ConvertIORToObject ( theIOR )
UseCaseBuilder GetUseCaseBuilder ( )
return_value = GetUseCaseBuilder ( )
void Close ( )
Close ( )
void EnableUseCaseAutoFilling ( in boolean isEnabled )
EnableUseCaseAutoFilling ( isEnabled )
void AddPostponed ( in string theIOR )
AddPostponed ( theIOR )
void AddCreatedPostponed ( in string theIOR )
AddCreatedPostponed ( theIOR )
void RemovePostponed ( in long theUndoLimit )
RemovePostponed ( theUndoLimit )
void UndoPostponed ( in long theWay )
UndoPostponed ( theWay )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface StudyBuilder
IDL file
Python
SComponent NewComponent ( in string ComponentDataType )
return_value = NewComponent ( ComponentDataType )
void DefineComponentInstance ( in SComponent aComponent, in Object ComponentIOR )
DefineComponentInstance ( aComponent, ComponentIOR )
void RemoveComponent ( in SComponent aComponent )
RemoveComponent ( aComponent )
SObject NewObject ( in SObject theFatherObject )
return_value = NewObject ( theFatherObject )
SObject NewObjectToTag ( in SObject theFatherObject, in long atag )
return_value = NewObjectToTag ( theFatherObject, atag )
void RemoveObject ( in SObject anObject )
RemoveObject ( anObject )
void RemoveObjectWithChildren ( in SObject anObject )
RemoveObjectWithChildren ( anObject )
void LoadWith ( in SComponent sco, in Driver Engine )
LoadWith ( sco, Engine )
void Load ( in SObject sco )
Load ( sco )
GenericAttribute FindOrCreateAttribute ( in SObject anObject, in string aTypeOfAttribute )
return_value = FindOrCreateAttribute ( anObject, aTypeOfAttribute )
boolean FindAttribute ( in SObject anObject, out GenericAttribute anAttribute, in string aTypeOfAttribute )
[ return_value, anAttribute ] = FindAttribute ( anObject, aTypeOfAttribute )
void RemoveAttribute ( in SObject anObject, in string aTypeOfAttribute )
RemoveAttribute ( anObject, aTypeOfAttribute )
void Addreference ( in SObject anObject, in SObject theReferencedObject )
Addreference ( anObject, theReferencedObject )
void RemoveReference ( in SObject anObject )
RemoveReference ( anObject )
void AddDirectory ( in string theName )
AddDirectory ( theName )
void SetGUID ( in SObject anObject, in string theGUID )
SetGUID ( anObject, theGUID )
boolean IsGUID ( in SObject anObject, in string theGUID )
return_value = IsGUID ( anObject, theGUID )
void NewCommand ( )
NewCommand ( )
void CommitCommand ( )
CommitCommand ( )
boolean HasOpenCommand ( )
return_value = HasOpenCommand ( )
void AbortCommand ( )
AbortCommand ( )
void Undo ( )
Undo ( )
void Redo ( )
Redo ( )
boolean GetAvailableUndos ( )
return_value = GetAvailableUndos ( )
boolean GetAvailableRedos ( )
return_value = GetAvailableRedos ( )
Callback SetOnAddSObject ( in Callback theCallback )
return_value = SetOnAddSObject ( theCallback )
Callback SetOnRemoveSObject ( in Callback theCallback )
return_value = SetOnRemoveSObject ( theCallback )
void SetName ( in SObject theSO, in string theValue )
SetName ( theSO, theValue )
void SetComment ( in SObject theSO, in string theValue )
SetComment ( theSO, theValue )
void SetIOR ( in SObject theSO, in string theValue )
SetIOR ( theSO, theValue )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface StudyManager
IDL file
Python
void ping ( )
ping ( )
Study NewStudy ( in string study_name )
return_value = NewStudy ( study_name )
Study Open ( in URL aStudyUrl )
return_value = Open ( aStudyUrl )
void Close ( in Study aStudy )
Close ( aStudy )
void Save ( in Study aStudy, in boolean theMultiFile )
Save ( aStudy, theMultiFile )
void SaveASCII ( in Study aStudy, in boolean theMultiFile )
SaveASCII ( aStudy, theMultiFile )
void SaveAs ( in URL aUrl, in Study aStudy, in boolean theMultiFile )
SaveAs ( aUrl, aStudy, theMultiFile )
void SaveAsASCII ( in URL aUrl, in Study aStudy, in boolean theMultiFile )
SaveAsASCII ( aUrl, aStudy, theMultiFile )
ListOfOpenStudies GetOpenStudies ( )
return_value = GetOpenStudies ( )
Study GetStudyByName ( in string aStudyName )
return_value = GetStudyByName ( aStudyName )
Study GetStudyByID ( in short aStudyID )
return_value = GetStudyByID ( aStudyID )
boolean CanCopy ( in SObject theObject )
return_value = CanCopy ( theObject )
boolean Copy ( in SObject theObject )
return_value = Copy ( theObject )
boolean CanPaste ( in SObject theObject )
return_value = CanPaste ( theObject )
SObject Paste ( in SObject theObject )
return_value = Paste ( theObject )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface SObject
IDL file
Python
ID GetID ( )
return_value = GetID ( )
SComponent GetFatherComponent ( )
return_value = GetFatherComponent ( )
SObject GetFather ( )
return_value = GetFather ( )
short Tag ( )
return_value = Tag ( )
short Depth ( )
return_value = Depth ( )
boolean FindSubObject ( in long atag, out SObject obj )
[ return_value, obj ] = FindSubObject ( atag )
boolean FindAttribute ( out GenericAttribute anAttribute, in string aTypeOfAttribute )
[ return_value, anAttribute ] = FindAttribute ( aTypeOfAttribute )
boolean ReferencedObject ( out SObject obj )
[ return_value, obj ] = ReferencedObject ( )
ListOfAttributes GetAllAttributes ( )
return_value = GetAllAttributes ( )
Study GetStudy ( )
return_value = GetStudy ( )
Object GetObject ( )
return_value = GetObject ( )
string GetName ( )
return_value = GetName ( )
string GetComment ( )
return_value = GetComment ( )
string GetIOR ( )
return_value = GetIOR ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface GenericAttribute
IDL file
Python
void CheckLocked ( )
CheckLocked ( )
string Store ( )
return_value = Store ( )
void Restore ( in string theData )
Restore ( theData )
string Type ( )
return_value = Type ( )
SObject GetSObject ( )
return_value = GetSObject ( )

- - - - - - - - - - - - - - - -
interface SComponent
IDL file
Python
string ComponentDataType ( )
return_value = ComponentDataType ( )
boolean ComponentIOR ( out ID theID )
[ return_value, theID ] = ComponentIOR ( )

- - - - - - - - - - - - - - - - - - - - - - - -
interface SComponentIterator
IDL file
Python
void Init ( )
Init ( )
boolean More ( )
return_value = More ( )
void Next ( )
Next ( )
SComponent Value ( )
return_value = Value ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface ChildIterator
IDL file
Python
void Init ( )
Init ( )
void InitEx ( in boolean allLevels )
InitEx ( allLevels )
boolean More ( )
return_value = More ( )
void Next ( )
Next ( )
SObject Value ( )
return_value = Value ( )

- - - - - - - - - - - - - - - - - - - - - - - -
interface UseCaseIterator
IDL file
Python
void Init ( in boolean allLevels )
Init ( allLevels )
boolean More ( )
return_value = More ( )
void Next ( )
Next ( )
SObject Value ( )
return_value = Value ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface UseCaseBuilder
IDL file
Python
boolean Append ( in SObject theObject )
return_value = Append ( theObject )
boolean Remove ( in SObject theObject )
return_value = Remove ( theObject )
boolean AppendTo ( in SObject theFather, in SObject theObject )
return_value = AppendTo ( theFather, theObject )
boolean InsertBefore ( in SObject theFirst, in SObject theNext )
return_value = InsertBefore ( theFirst, theNext )
boolean SetCurrentObject ( in SObject theObject )
return_value = SetCurrentObject ( theObject )
boolean SetRootCurrent ( )
return_value = SetRootCurrent ( )
boolean HasChildren ( in SObject theObject )
return_value = HasChildren ( theObject )
boolean SetName ( in string theName )
return_value = SetName ( theName )
string GetName ( )
return_value = GetName ( )
boolean IsUseCase ( in SObject theObject )
return_value = IsUseCase ( theObject )
SObject GetCurrentObject ( )
return_value = GetCurrentObject ( )
SObject AddUseCase ( in string theName )
return_value = AddUseCase ( theName )
UseCaseIterator GetUseCaseIterator ( in SObject theObject )
return_value = GetUseCaseIterator ( theObject )

- - - - - - - - - - - - - - - -
interface Callback
IDL file
Python
void OnAddSObject ( in SObject theObject )
OnAddSObject ( theObject )
void OnRemoveSObject ( in SObject theObject )
OnRemoveSObject ( theObject )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface Driver
IDL file
Python
TMPFile Save ( in SComponent theComponent, in string theURL, in boolean isMultiFile )
return_value = Save ( theComponent, theURL, isMultiFile )
TMPFile SaveASCII ( in SComponent theComponent, in string theURL, in boolean isMultiFile )
return_value = SaveASCII ( theComponent, theURL, isMultiFile )
boolean Load ( in SComponent theComponent, in TMPFile theStream, in string theURL, in boolean isMultiFile )
return_value = Load ( theComponent, theStream, theURL, isMultiFile )
boolean LoadASCII ( in SComponent theComponent, in TMPFile theStream, in string theURL, in boolean isMultiFile )
return_value = LoadASCII ( theComponent, theStream, theURL, isMultiFile )
void Close ( in SComponent aSComponent )
Close ( aSComponent )
string ComponentDataType ( )
return_value = ComponentDataType ( )
string IORToLocalPersistentID ( in SObject theSObject, in string IORString, in boolean isMultiFile, in boolean isASCII )
return_value = IORToLocalPersistentID ( theSObject, IORString, isMultiFile, isASCII )
string LocalPersistentIDToIOR ( in SObject theSObject, in string aLocalPersistentID, in boolean isMultiFile, in boolean isASCII )
return_value = LocalPersistentIDToIOR ( theSObject, aLocalPersistentID, isMultiFile, isASCII )
boolean CanPublishInStudy ( in Object theIOR )
return_value = CanPublishInStudy ( theIOR )
SObject PublishInStudy ( in Study theStudy, in SObject theSObject, in Object theObject, in string theName )
return_value = PublishInStudy ( theStudy, theSObject, theObject, theName )
boolean CanCopy ( in SObject theObject )
return_value = CanCopy ( theObject )
TMPFile CopyFrom ( in SObject theObject, out long theObjectID )
[ return_value, theObjectID ] = CopyFrom ( theObject )
boolean CanPaste ( in string theComponentName, in long theObjectID )
return_value = CanPaste ( theComponentName, theObjectID )
SObject PasteInto ( in TMPFile theStream, in long theObjectID, in SObject theObject )
return_value = PasteInto ( theStream, theObjectID, theObject )

-
diff --git a/doc/salome/tui/KERNEL/HTML/SALOMEDS_Attributes.html b/doc/salome/tui/KERNEL/HTML/SALOMEDS_Attributes.html deleted file mode 100644 index 49f848f73..000000000 --- a/doc/salome/tui/KERNEL/HTML/SALOMEDS_Attributes.html +++ /dev/null @@ -1,894 +0,0 @@ - - - - - - - - - - - - - - - - -
interface AttributeReal
IDL file
Python
double Value ( )
return_value = Value ( )
void SetValue ( in double value )
SetValue ( value )

- - - - - - - - - - - - - - - -
interface AttributeInteger
IDL file
Python
long Value ( )
return_value = Value ( )
void SetValue ( in long value )
SetValue ( value )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface AttributeSequenceOfReal
IDL file
Python
void Assign ( in DoubleSeq other )
Assign ( other )
DoubleSeq CorbaSequence ( )
return_value = CorbaSequence ( )
void Add ( in double value )
Add ( value )
void Remove ( in long index )
Remove ( index )
void ChangeValue ( in long index, in double value )
ChangeValue ( index, value )
double Value ( in short index )
return_value = Value ( index )
long Length ( )
return_value = Length ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface AttributeSequenceOfInteger
IDL file
Python
void Assign ( in LongSeq other )
Assign ( other )
LongSeq CorbaSequence ( )
return_value = CorbaSequence ( )
void Add ( in long value )
Add ( value )
void Remove ( in long index )
Remove ( index )
void ChangeValue ( in long index, in long value )
ChangeValue ( index, value )
long Value ( in short index )
return_value = Value ( index )
long Length ( )
return_value = Length ( )

- - - - - - - - - - - - - - - -
interface AttributeName
IDL file
Python
string Value ( )
return_value = Value ( )
void SetValue ( in string value )
SetValue ( value )

- - - - - - - - - - - - - - - -
interface AttributeComment
IDL file
Python
string Value ( )
return_value = Value ( )
void SetValue ( in string value )
SetValue ( value )

- - - - - - - - - - - - - - - -
interface AttributeIOR
IDL file
Python
string Value ( )
return_value = Value ( )
void SetValue ( in string value )
SetValue ( value )

- - - - - - - - - - - - - - - -
interface AttributePersistentRef
IDL file
Python
string Value ( )
return_value = Value ( )
void SetValue ( in string value )
SetValue ( value )

- - - - - - - - - - - - - - - -
interface AttributeExternalFileDef
IDL file
Python
string Value ( )
return_value = Value ( )
void SetValue ( in string value )
SetValue ( value )

- - - - - - - - - - - - - - - -
interface AttributeFileType
IDL file
Python
string Value ( )
return_value = Value ( )
void SetValue ( in string value )
SetValue ( value )

- - - - - - - - - - - - - - - -
interface AttributeDrawable
IDL file
Python
boolean IsDrawable ( )
return_value = IsDrawable ( )
void SetDrawable ( in boolean value )
SetDrawable ( value )

- - - - - - - - - - - - - - - -
interface AttributeSelectable
IDL file
Python
boolean IsSelectable ( )
return_value = IsSelectable ( )
void SetSelectable ( in boolean value )
SetSelectable ( value )

- - - - - - - - - - - - - - - -
interface AttributeExpandable
IDL file
Python
boolean IsExpandable ( )
return_value = IsExpandable ( )
void SetExpandable ( in boolean value )
SetExpandable ( value )

- - - - - - - - - - - - - - - -
interface AttributeOpened
IDL file
Python
boolean IsOpened ( )
return_value = IsOpened ( )
void SetOpened ( in boolean value )
SetOpened ( value )

- - - - - - - - - - - - - - - -
interface AttributeTextColor
IDL file
Python
Color TextColor ( )
return_value = TextColor ( )
void SetTextColor ( in Color value )
SetTextColor ( value )

- - - - - - - - - - - - - - - -
interface AttributeTextHighlightColor
IDL file
Python
Color TextHighlightColor ( )
return_value = TextHighlightColor ( )
void SetTextHighlightColor ( in Color value )
SetTextHighlightColor ( value )

- - - - - - - - - - - - - - - - - - - -
interface AttributePixMap
IDL file
Python
boolean HasPixMap ( )
return_value = HasPixMap ( )
string GetPixMap ( )
return_value = GetPixMap ( )
void SetPixMap ( in string value )
SetPixMap ( value )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface AttributeTreeNode
IDL file
Python
void SetFather ( in AttributeTreeNode value )
SetFather ( value )
boolean HasFather ( )
return_value = HasFather ( )
AttributeTreeNode GetFather ( )
return_value = GetFather ( )
void SetPrevious ( in AttributeTreeNode value )
SetPrevious ( value )
boolean HasPrevious ( )
return_value = HasPrevious ( )
AttributeTreeNode GetPrevious ( )
return_value = GetPrevious ( )
void SetNext ( in AttributeTreeNode value )
SetNext ( value )
boolean HasNext ( )
return_value = HasNext ( )
AttributeTreeNode GetNext ( )
return_value = GetNext ( )
void SetFirst ( in AttributeTreeNode value )
SetFirst ( value )
boolean HasFirst ( )
return_value = HasFirst ( )
AttributeTreeNode GetFirst ( )
return_value = GetFirst ( )
void SetTreeID ( in string value )
SetTreeID ( value )
string GetTreeID ( )
return_value = GetTreeID ( )
void Append ( in AttributeTreeNode value )
Append ( value )
void Prepend ( in AttributeTreeNode value )
Prepend ( value )
void InsertBefore ( in AttributeTreeNode value )
InsertBefore ( value )
void InsertAfter ( in AttributeTreeNode value )
InsertAfter ( value )
void Remove ( )
Remove ( )
long Depth ( )
return_value = Depth ( )
boolean IsRoot ( )
return_value = IsRoot ( )
boolean IsDescendant ( in AttributeTreeNode value )
return_value = IsDescendant ( value )
boolean IsFather ( in AttributeTreeNode value )
return_value = IsFather ( value )
boolean IsChild ( in AttributeTreeNode value )
return_value = IsChild ( value )
string Label ( )
return_value = Label ( )

- - - - - - - - - - - - - - - -
interface AttributeLocalID
IDL file
Python
long Value ( )
return_value = Value ( )
void SetValue ( in long value )
SetValue ( value )

- - - - - - - - - - - - - - - -
interface AttributeUserID
IDL file
Python
string Value ( )
return_value = Value ( )
void SetValue ( in string value )
SetValue ( value )

- - - - - - - - - - - - - - - - - - - -
interface AttributeTarget
IDL file
Python
void Add ( in SObject anObject )
Add ( anObject )
ListOfSObject Get ( )
return_value = Get ( )
void Remove ( in SObject anObject )
Remove ( anObject )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface AttributeTableOfInteger
IDL file
Python
void SetTitle ( in string theTitle )
SetTitle ( theTitle )
string GetTitle ( )
return_value = GetTitle ( )
void SetRowTitle ( in long theIndex, in string theTitle )
SetRowTitle ( theIndex, theTitle )
void SetRowTitles ( in StringSeq theTitles )
SetRowTitles ( theTitles )
StringSeq GetRowTitles ( )
return_value = GetRowTitles ( )
void SetColumnTitle ( in long theIndex, in string theTitle )
SetColumnTitle ( theIndex, theTitle )
void SetColumnTitles ( in StringSeq theTitles )
SetColumnTitles ( theTitles )
StringSeq GetColumnTitles ( )
return_value = GetColumnTitles ( )
void SetRowUnit ( in long theIndex, in string theUnit )
SetRowUnit ( theIndex, theUnit )
void SetRowUnits ( in StringSeq theUnits )
SetRowUnits ( theUnits )
StringSeq GetRowUnits ( )
return_value = GetRowUnits ( )
long GetNbRows ( )
return_value = GetNbRows ( )
long GetNbColumns ( )
return_value = GetNbColumns ( )
void AddRow ( in LongSeq theData )
AddRow ( theData )
void SetRow ( in long theRow, in LongSeq theData )
SetRow ( theRow, theData )
LongSeq GetRow ( in long theRow )
return_value = GetRow ( theRow )
void AddColumn ( in LongSeq theData )
AddColumn ( theData )
void SetColumn ( in long theColumn, in LongSeq theData )
SetColumn ( theColumn, theData )
LongSeq GetColumn ( in long theColumn )
return_value = GetColumn ( theColumn )
void PutValue ( in long theValue, in long theRow, in long theColumn )
PutValue ( theValue, theRow, theColumn )
boolean HasValue ( in long theRow, in long theColumn )
return_value = HasValue ( theRow, theColumn )
long GetValue ( in long theRow, in long theColumn )
return_value = GetValue ( theRow, theColumn )
void SetNbColumns ( in long theNbColumns )
SetNbColumns ( theNbColumns )
LongSeq GetRowSetIndices ( in long theRow )
return_value = GetRowSetIndices ( theRow )
boolean ReadFromFile ( in TMPFile theStream )
return_value = ReadFromFile ( theStream )
TMPFile SaveToFile ( )
return_value = SaveToFile ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface AttributeTableOfReal
IDL file
Python
void SetTitle ( in string theTitle )
SetTitle ( theTitle )
string GetTitle ( )
return_value = GetTitle ( )
void SetRowTitle ( in long theIndex, in string theTitle )
SetRowTitle ( theIndex, theTitle )
void SetRowTitles ( in StringSeq theTitles )
SetRowTitles ( theTitles )
StringSeq GetRowTitles ( )
return_value = GetRowTitles ( )
void SetColumnTitle ( in long theIndex, in string theTitle )
SetColumnTitle ( theIndex, theTitle )
void SetColumnTitles ( in StringSeq theTitles )
SetColumnTitles ( theTitles )
StringSeq GetColumnTitles ( )
return_value = GetColumnTitles ( )
void SetRowUnit ( in long theIndex, in string theUnit )
SetRowUnit ( theIndex, theUnit )
void SetRowUnits ( in StringSeq theUnits )
SetRowUnits ( theUnits )
StringSeq GetRowUnits ( )
return_value = GetRowUnits ( )
long GetNbRows ( )
return_value = GetNbRows ( )
long GetNbColumns ( )
return_value = GetNbColumns ( )
void AddRow ( in DoubleSeq theData )
AddRow ( theData )
void SetRow ( in long theRow, in DoubleSeq theData )
SetRow ( theRow, theData )
DoubleSeq GetRow ( in long theRow )
return_value = GetRow ( theRow )
void AddColumn ( in DoubleSeq theData )
AddColumn ( theData )
void SetColumn ( in long theColumn, in DoubleSeq theData )
SetColumn ( theColumn, theData )
DoubleSeq GetColumn ( in long theColumn )
return_value = GetColumn ( theColumn )
void PutValue ( in double theValue, in long theRow, in long theColumn )
PutValue ( theValue, theRow, theColumn )
boolean HasValue ( in long theRow, in long theColumn )
return_value = HasValue ( theRow, theColumn )
double GetValue ( in long theRow, in long theColumn )
return_value = GetValue ( theRow, theColumn )
void SetNbColumns ( in long theNbColumns )
SetNbColumns ( theNbColumns )
LongSeq GetRowSetIndices ( in long theRow )
return_value = GetRowSetIndices ( theRow )
boolean ReadFromFile ( in TMPFile theStream )
return_value = ReadFromFile ( theStream )
TMPFile SaveToFile ( )
return_value = SaveToFile ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface AttributeTableOfString
IDL file
Python
void SetTitle ( in string theTitle )
SetTitle ( theTitle )
string GetTitle ( )
return_value = GetTitle ( )
void SetRowTitle ( in long theIndex, in string theTitle )
SetRowTitle ( theIndex, theTitle )
void SetRowTitles ( in StringSeq theTitles )
SetRowTitles ( theTitles )
StringSeq GetRowTitles ( )
return_value = GetRowTitles ( )
void SetColumnTitle ( in long theIndex, in string theTitle )
SetColumnTitle ( theIndex, theTitle )
void SetColumnTitles ( in StringSeq theTitles )
SetColumnTitles ( theTitles )
StringSeq GetColumnTitles ( )
return_value = GetColumnTitles ( )
void SetRowUnit ( in long theIndex, in string theUnit )
SetRowUnit ( theIndex, theUnit )
void SetRowUnits ( in StringSeq theUnits )
SetRowUnits ( theUnits )
StringSeq GetRowUnits ( )
return_value = GetRowUnits ( )
long GetNbRows ( )
return_value = GetNbRows ( )
long GetNbColumns ( )
return_value = GetNbColumns ( )
void AddRow ( in StringSeq theData )
AddRow ( theData )
void SetRow ( in long theRow, in StringSeq theData )
SetRow ( theRow, theData )
StringSeq GetRow ( in long theRow )
return_value = GetRow ( theRow )
void AddColumn ( in StringSeq theData )
AddColumn ( theData )
void SetColumn ( in long theColumn, in StringSeq theData )
SetColumn ( theColumn, theData )
StringSeq GetColumn ( in long theColumn )
return_value = GetColumn ( theColumn )
void PutValue ( in string theValue, in long theRow, in long theColumn )
PutValue ( theValue, theRow, theColumn )
boolean HasValue ( in long theRow, in long theColumn )
return_value = HasValue ( theRow, theColumn )
string GetValue ( in long theRow, in long theColumn )
return_value = GetValue ( theRow, theColumn )
void SetNbColumns ( in long theNbColumns )
SetNbColumns ( theNbColumns )
LongSeq GetRowSetIndices ( in long theRow )
return_value = GetRowSetIndices ( theRow )
boolean ReadFromFile ( in TMPFile theStream )
return_value = ReadFromFile ( theStream )
TMPFile SaveToFile ( )
return_value = SaveToFile ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface AttributeStudyProperties
IDL file
Python
void SetUserName ( in string theName )
SetUserName ( theName )
string GetUserName ( )
return_value = GetUserName ( )
void SetCreationDate ( in long theMinute, in long theHour, in long theDay, in long theMonth, in long theYear )
SetCreationDate ( theMinute, theHour, theDay, theMonth, theYear )
boolean GetCreationDate ( out long theMinute, out long theHour, out long theDay, out long theMonth, out long theYear )
[ return_value, theMinute, theHour, theDay, theMonth, theYear ] = GetCreationDate ( )
void SetCreationMode ( in string theMode )
SetCreationMode ( theMode )
string GetCreationMode ( )
return_value = GetCreationMode ( )
void SetModified ( in long theModified )
SetModified ( theModified )
boolean IsModified ( )
return_value = IsModified ( )
long GetModified ( )
return_value = GetModified ( )
void SetLocked ( in boolean theLocked )
SetLocked ( theLocked )
boolean IsLocked ( )
return_value = IsLocked ( )
void SetModification ( in string theName, in long theMinute, in long theHour, in long theDay, in long theMonth, in long theYear )
SetModification ( theName, theMinute, theHour, theDay, theMonth, theYear )
void GetModificationsList ( out StringSeq theNames, out LongSeq theMinutes, out LongSeq theHours, out LongSeq theDays, out LongSeq theMonths, out LongSeq theYears, in boolean theWithCreator )
[ theNames, theMinutes, theHours, theDays, theMonths, theYears ] = GetModificationsList ( theWithCreator )

- - - - - - - - - - - - - - - - - - - -
interface AttributePythonObject
IDL file
Python
void SetObject ( in string theSequence, in boolean IsScript )
SetObject ( theSequence, IsScript )
string GetObject ( )
return_value = GetObject ( )
boolean IsScript ( )
return_value = IsScript ( )

-
diff --git a/doc/salome/tui/KERNEL/HTML/SALOME_Component.html b/doc/salome/tui/KERNEL/HTML/SALOME_Component.html deleted file mode 100644 index 2d802860c..000000000 --- a/doc/salome/tui/KERNEL/HTML/SALOME_Component.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface Container
IDL file
Python
Container start_impl ( in string ContainerName )
return_value = start_impl ( ContainerName )
Component load_impl ( in string nameToRegister, in string componentName )
return_value = load_impl ( nameToRegister, componentName )
void remove_impl ( in Component component_i )
remove_impl ( component_i )
void finalize_removal ( )
finalize_removal ( )
void ping ( )
ping ( )
boolean Kill_impl ( )
return_value = Kill_impl ( )
string getHostName ( )
return_value = getHostName ( )
long getPID ( )
return_value = getPID ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface Component
IDL file
Python
void ping ( )
ping ( )
void destroy ( )
destroy ( )
Container GetContainerRef ( )
return_value = GetContainerRef ( )
void setProperties ( in FieldsDict dico )
setProperties ( dico )
FieldsDict getProperties ( )
return_value = getProperties ( )
void Names ( in string aGraphName, in string aNodeName )
Names ( aGraphName, aNodeName )
boolean Kill_impl ( )
return_value = Kill_impl ( )
boolean Stop_impl ( )
return_value = Stop_impl ( )
boolean Suspend_impl ( )
return_value = Suspend_impl ( )
boolean Resume_impl ( )
return_value = Resume_impl ( )
long CpuUsed_impl ( )
return_value = CpuUsed_impl ( )

-
diff --git a/doc/salome/tui/KERNEL/HTML/SALOME_DataTypeCatalog.html b/doc/salome/tui/KERNEL/HTML/SALOME_DataTypeCatalog.html deleted file mode 100644 index c73173ffd..000000000 --- a/doc/salome/tui/KERNEL/HTML/SALOME_DataTypeCatalog.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface DataCatalog
IDL file
Python
ListOfDataTypeName GetDataTypeList ( )
return_value = GetDataTypeList ( )
boolean isDerivedFrom ( in string type_in, in string type_out )
return_value = isDerivedFrom ( type_in, type_out )
string GetDataInterfaceRead ( in string type )
return_value = GetDataInterfaceRead ( type )
string GetDataInterfaceWrite ( in string type )
return_value = GetDataInterfaceWrite ( type )
ListOfDataTypeName GetDataTypeParents ( in string type )
return_value = GetDataTypeParents ( type )

-
diff --git a/doc/salome/tui/KERNEL/HTML/SALOME_Exception.html b/doc/salome/tui/KERNEL/HTML/SALOME_Exception.html deleted file mode 100644 index 37c3107c9..000000000 --- a/doc/salome/tui/KERNEL/HTML/SALOME_Exception.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/doc/salome/tui/KERNEL/HTML/SALOME_ModuleCatalog.html b/doc/salome/tui/KERNEL/HTML/SALOME_ModuleCatalog.html deleted file mode 100644 index 5f618eb1a..000000000 --- a/doc/salome/tui/KERNEL/HTML/SALOME_ModuleCatalog.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface Acomponent
IDL file
Python
ListOfInterfaces GetInterfaceList ( )
return_value = GetInterfaceList ( )
DefinitionInterface GetInterface ( in string interfacename )
return_value = GetInterface ( interfacename )
ListOfServices GetServiceList ( in string interfacename )
return_value = GetServiceList ( interfacename )
Service GetService ( in string interfacename, in string servicename )
return_value = GetService ( interfacename, servicename )
Service GetDefaultService ( in string interfacename )
return_value = GetDefaultService ( interfacename )
string GetPathPrefix ( in string machinename )
return_value = GetPathPrefix ( machinename )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface ModuleCatalog
IDL file
Python
void ping ( )
ping ( )
ListOfComputers GetComputerList ( )
return_value = GetComputerList ( )
string GetPathPrefix ( in string machinename )
return_value = GetPathPrefix ( machinename )
ListOfComponents GetComponentList ( )
return_value = GetComponentList ( )
ListOfIAPP_Affich GetComponentIconeList ( )
return_value = GetComponentIconeList ( )
ListOfComponents GetTypedComponentList ( in ComponentType component_type )
return_value = GetTypedComponentList ( component_type )
Acomponent GetComponent ( in string componentname )
return_value = GetComponent ( componentname )
Component GetComponentInfo ( in string componentName )
return_value = GetComponentInfo ( componentName )
void ImportXmlCatalogFile ( in string filename )
ImportXmlCatalogFile ( filename )
void shutdown ( )
shutdown ( )

-
diff --git a/doc/salome/tui/KERNEL/HTML/SALOME_Registry.html b/doc/salome/tui/KERNEL/HTML/SALOME_Registry.html deleted file mode 100644 index fd319e119..000000000 --- a/doc/salome/tui/KERNEL/HTML/SALOME_Registry.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface Components
IDL file
Python
void ping ( )
ping ( )
unsigned long add ( in Infos lesInfos )
return_value = add ( lesInfos )
void remove ( in unsigned long id )
remove ( id )
unsigned long size ( )
return_value = size ( )
AllInfos getall ( )
return_value = getall ( )
AllInfos history ( )
return_value = history ( )
void end ( )
end ( )
void hello ( in unsigned long id )
hello ( id )

-
diff --git a/doc/salome/tui/KERNEL/HTML/SALOME_RessourcesCatalog.html b/doc/salome/tui/KERNEL/HTML/SALOME_RessourcesCatalog.html deleted file mode 100644 index 787a6283e..000000000 --- a/doc/salome/tui/KERNEL/HTML/SALOME_RessourcesCatalog.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -
interface RessourcesCatalog
IDL file
Python
ListOfComputer GetComputerList ( )
return_value = GetComputerList ( )
ListOfContainerType GetContainerTypeList ( in string computer )
return_value = GetContainerTypeList ( computer )
computer_info GetComputerInfo ( in string computer )
return_value = GetComputerInfo ( computer )

-
diff --git a/doc/salome/tui/KERNEL/HTML/SALOME_Session.html b/doc/salome/tui/KERNEL/HTML/SALOME_Session.html deleted file mode 100644 index 37b46747d..000000000 --- a/doc/salome/tui/KERNEL/HTML/SALOME_Session.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface Session
IDL file
Python
void GetInterface ( )
GetInterface ( )
Component GetVisuComponent ( )
return_value = GetVisuComponent ( )
void StopSession ( )
StopSession ( )
StatSession GetStatSession ( )
return_value = GetStatSession ( )
void ping ( )
ping ( )
long GetActiveStudyId ( )
return_value = GetActiveStudyId ( )

-
diff --git a/doc/salome/tui/KERNEL/HTML/SALOME_TestComponent.html b/doc/salome/tui/KERNEL/HTML/SALOME_TestComponent.html deleted file mode 100644 index 56348f8a1..000000000 --- a/doc/salome/tui/KERNEL/HTML/SALOME_TestComponent.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - -
interface TestComponent
IDL file
Python
string Coucou ( in long L )
return_value = Coucou ( L )
void Setenv ( )
Setenv ( )

-
diff --git a/doc/salome/tui/KERNEL/HTML/TestNotif.html b/doc/salome/tui/KERNEL/HTML/TestNotif.html deleted file mode 100644 index a181974d2..000000000 --- a/doc/salome/tui/KERNEL/HTML/TestNotif.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -
interface Solver
IDL file
Python
boolean Connect ( )
return_value = Connect ( )
void Start ( )
Start ( )
void ReStart ( )
ReStart ( )

-
diff --git a/doc/salome/tui/KERNEL/HTML/TypeData.html b/doc/salome/tui/KERNEL/HTML/TypeData.html deleted file mode 100644 index 37c3107c9..000000000 --- a/doc/salome/tui/KERNEL/HTML/TypeData.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/doc/salome/tui/KERNEL/doxydev.in b/doc/salome/tui/KERNEL/doxydev.in deleted file mode 100644 index 168d1c5ee..000000000 --- a/doc/salome/tui/KERNEL/doxydev.in +++ /dev/null @@ -1,241 +0,0 @@ -# Doxyfile 1.4.6 - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- -PROJECT_NAME = "SALOME v.@VERSION@" -PROJECT_NUMBER = -OUTPUT_DIRECTORY = ../ -CREATE_SUBDIRS = NO -OUTPUT_LANGUAGE = English -USE_WINDOWS_ENCODING = NO -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = NO -ABBREVIATE_BRIEF = -ALWAYS_DETAILED_SEC = YES -INLINE_INHERITED_MEMB = YES -FULL_PATH_NAMES = YES -STRIP_FROM_PATH = @top_builddir@ \ - @top_srcdir@ -STRIP_FROM_INC_PATH = -SHORT_NAMES = NO -JAVADOC_AUTOBRIEF = YES -MULTILINE_CPP_IS_BRIEF = NO -DETAILS_AT_TOP = NO -INHERIT_DOCS = YES -SEPARATE_MEMBER_PAGES = NO -TAB_SIZE = 5 -ALIASES = -OPTIMIZE_OUTPUT_FOR_C = YES -OPTIMIZE_OUTPUT_JAVA = NO -BUILTIN_STL_SUPPORT = NO -DISTRIBUTE_GROUP_DOC = NO -SUBGROUPING = YES - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- -EXTRACT_ALL = YES -EXTRACT_PRIVATE = YES -EXTRACT_STATIC = YES -EXTRACT_LOCAL_CLASSES = YES -EXTRACT_LOCAL_METHODS = YES -HIDE_UNDOC_MEMBERS = NO -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -INTERNAL_DOCS = YES -CASE_SENSE_NAMES = YES -HIDE_SCOPE_NAMES = NO -SHOW_INCLUDE_FILES = YES -INLINE_INFO = YES -SORT_MEMBER_DOCS = NO -SORT_BRIEF_DOCS = NO -SORT_BY_SCOPE_NAME = YES -GENERATE_TODOLIST = NO -GENERATE_TESTLIST = NO -GENERATE_BUGLIST = NO -GENERATE_DEPRECATEDLIST= NO -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 25 -SHOW_USED_FILES = NO -SHOW_DIRECTORIES = NO -FILE_VERSION_FILTER = - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = NO -WARNINGS = YES -WARN_IF_UNDOCUMENTED = YES -WARN_IF_DOC_ERROR = YES -WARN_NO_PARAMDOC = NO -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = log.txt - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = \ - @top_srcdir@ -FILE_PATTERNS = *.idl *.?xx *.h *.hh *.i *c *.cc python_extension_must_be_here -RECURSIVE = YES -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXAMPLE_PATH = -EXAMPLE_PATTERNS = -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = sources/ -INPUT_FILTER = -FILTER_PATTERNS = -FILTER_SOURCE_FILES = YES - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = NO -REFERENCES_RELATION = YES -USE_HTAGS = NO -VERBATIM_HEADERS = YES - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = YES -COLS_IN_ALPHA_INDEX = 3 -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = KERNEL -HTML_FILE_EXTENSION = .html -HTML_HEADER = sources/myheader.html -HTML_FOOTER = sources/footer.html -HTML_STYLESHEET = sources/doxygen.css -HTML_ALIGN_MEMBERS = YES -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -BINARY_TOC = YES -TOC_EXPAND = YES -DISABLE_INDEX = NO -ENUM_VALUES_PER_LINE = 4 -GENERATE_TREEVIEW = NO -TREEVIEW_WIDTH = 250 - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = NO -LATEX_OUTPUT = latex -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO -LATEX_BATCHMODE = NO -LATEX_HIDE_INDICES = NO - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = NO -XML_OUTPUT = xml -XML_SCHEMA = -XML_DTD = -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = YES -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = NO - -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = YES -HIDE_UNDOC_RELATIONS = NO -HAVE_DOT = YES -CLASS_GRAPH = YES -COLLABORATION_GRAPH = YES -GROUP_GRAPHS = NO -UML_LOOK = YES -TEMPLATE_RELATIONS = YES -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = NO -CALL_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DIRECTORY_GRAPH = YES -DOT_IMAGE_FORMAT = jpg -DOT_PATH = -DOTFILE_DIRS = -MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1200 -MAX_DOT_GRAPH_DEPTH = 0 -DOT_TRANSPARENT = NO -DOT_MULTI_TARGETS = NO -GENERATE_LEGEND = NO -DOT_CLEANUP = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to the search engine -#--------------------------------------------------------------------------- -SEARCHENGINE = NO diff --git a/doc/salome/tui/KERNEL/doxyfile.in b/doc/salome/tui/KERNEL/doxyfile.in deleted file mode 100755 index a4f54eba4..000000000 --- a/doc/salome/tui/KERNEL/doxyfile.in +++ /dev/null @@ -1,214 +0,0 @@ -# Doxyfile 1.3-rc1 - -#--------------------------------------------------------------------------- -# General configuration options -#--------------------------------------------------------------------------- -PROJECT_NAME = "SALOME v.@VERSION@" -PROJECT_NUMBER = id#1.1 -OUTPUT_DIRECTORY = ../ -OUTPUT_LANGUAGE = English -EXTRACT_ALL = YES -EXTRACT_PRIVATE = YES -EXTRACT_STATIC = YES -EXTRACT_LOCAL_CLASSES = YES -HIDE_UNDOC_MEMBERS = NO -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = NO -ALWAYS_DETAILED_SEC = YES -INLINE_INHERITED_MEMB = YES -FULL_PATH_NAMES = NO -STRIP_FROM_PATH = -INTERNAL_DOCS = YES -CASE_SENSE_NAMES = YES -SHORT_NAMES = NO -HIDE_SCOPE_NAMES = NO -VERBATIM_HEADERS = YES -SHOW_INCLUDE_FILES = YES -JAVADOC_AUTOBRIEF = YES -MULTILINE_CPP_IS_BRIEF = NO -DETAILS_AT_TOP = NO -INHERIT_DOCS = YES -INLINE_INFO = YES -SORT_MEMBER_DOCS = NO -DISTRIBUTE_GROUP_DOC = NO -TAB_SIZE = 5 -GENERATE_TODOLIST = YES -GENERATE_TESTLIST = YES -GENERATE_BUGLIST = YES -GENERATE_DEPRECATEDLIST= YES -ALIASES = -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 25 -OPTIMIZE_OUTPUT_FOR_C = YES -OPTIMIZE_OUTPUT_JAVA = YES -SHOW_USED_FILES = NO -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = NO -WARNINGS = YES -WARN_IF_UNDOCUMENTED = YES -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = log.txt -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = ../../../../share/salome/idl/SALOME_ModuleCatalog.idl \ - ../../../../share/salome/idl/SALOMEDS.idl \ - ../../../../share/salome/idl/SALOME_Exception.idl \ - ../../../../share/salome/idl/SALOMEDS_Attributes.idl \ - ../../../../share/salome/idl/SALOME_Component.idl \ - ../../../../share/salome/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.hxx \ - ../../../../share/salome/src/NamingService/SALOME_NamingService.hxx \ - ../../../../share/salome/src/NamingService/SALOME_NamingService.cxx \ - ../../../../share/salome/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx \ - ../../../../build/salome/bin/salome \ - ../../../../build/salome/src/Batch_SWIG \ - ../../../../build/salome/src/Communication_SWIG \ - ../../../../build/salome/src/LifeCycleCORBA_SWIG \ - ../../../../build/salome/src/LifeCycleCORBA_SWIG \ - ../../../../build/salome/src/NOTIFICATION_SWIG -FILE_PATTERNS = *.idl *.hxx *.cxx python_extension_must_be_here -RECURSIVE = YES -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXAMPLE_PATH = -EXAMPLE_PATTERNS = -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = sources/ -INPUT_FILTER = -FILTER_SOURCE_FILES = YES -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = NO -REFERENCES_RELATION = YES -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = NO -COLS_IN_ALPHA_INDEX = 5 -IGNORE_PREFIX = -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = KERNEL -HTML_FILE_EXTENSION = .html -HTML_HEADER = sources/myheader.html -HTML_FOOTER = -HTML_STYLESHEET = -HTML_ALIGN_MEMBERS = YES -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -BINARY_TOC = YES -TOC_EXPAND = YES -DISABLE_INDEX = YES -ENUM_VALUES_PER_LINE = 4 -GENERATE_TREEVIEW = YES -TREEVIEW_WIDTH = 250 -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = NO -LATEX_OUTPUT = latex -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO -LATEX_BATCHMODE = NO -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = NO -XML_SCHEMA = -XML_DTD = -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = YES -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = NO -#--------------------------------------------------------------------------- -# Configuration::addtions related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/bin/perl -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = YES -HIDE_UNDOC_RELATIONS = NO -HAVE_DOT = YES -CLASS_GRAPH = YES -COLLABORATION_GRAPH = NO -TEMPLATE_RELATIONS = YES -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DOT_IMAGE_FORMAT = jpg -DOT_PATH = -DOTFILE_DIRS = -MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1200 -GENERATE_LEGEND = NO -DOT_CLEANUP = YES -#--------------------------------------------------------------------------- -# Configuration::addtions related to the search engine -#--------------------------------------------------------------------------- -SEARCHENGINE = NO -CGI_NAME = search.cgi -CGI_URL = -DOC_URL = -DOC_ABSPATH = -BIN_ABSPATH = /usr/local/bin/ -EXT_DOC_PATHS = diff --git a/doc/salome/tui/KERNEL/doxyuser.in b/doc/salome/tui/KERNEL/doxyuser.in deleted file mode 100644 index d3387500b..000000000 --- a/doc/salome/tui/KERNEL/doxyuser.in +++ /dev/null @@ -1,249 +0,0 @@ -# Doxyfile 1.4.6 - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- -PROJECT_NAME = "SALOME v.@VERSION@" -PROJECT_NUMBER = -OUTPUT_DIRECTORY = ../ -CREATE_SUBDIRS = NO -OUTPUT_LANGUAGE = English -USE_WINDOWS_ENCODING = NO -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = NO -ABBREVIATE_BRIEF = -ALWAYS_DETAILED_SEC = YES -INLINE_INHERITED_MEMB = YES -FULL_PATH_NAMES = YES -STRIP_FROM_PATH = @top_builddir@ \ - @top_srcdir@ -STRIP_FROM_INC_PATH = -SHORT_NAMES = NO -JAVADOC_AUTOBRIEF = YES -MULTILINE_CPP_IS_BRIEF = NO -DETAILS_AT_TOP = NO -INHERIT_DOCS = YES -SEPARATE_MEMBER_PAGES = NO -TAB_SIZE = 5 -ALIASES = -OPTIMIZE_OUTPUT_FOR_C = YES -OPTIMIZE_OUTPUT_JAVA = NO -BUILTIN_STL_SUPPORT = NO -DISTRIBUTE_GROUP_DOC = NO -SUBGROUPING = YES - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- -EXTRACT_ALL = YES -EXTRACT_PRIVATE = NO -EXTRACT_STATIC = YES -EXTRACT_LOCAL_CLASSES = YES -EXTRACT_LOCAL_METHODS = NO -HIDE_UNDOC_MEMBERS = NO -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -INTERNAL_DOCS = YES -CASE_SENSE_NAMES = YES -HIDE_SCOPE_NAMES = NO -SHOW_INCLUDE_FILES = YES -INLINE_INFO = YES -SORT_MEMBER_DOCS = NO -SORT_BRIEF_DOCS = NO -SORT_BY_SCOPE_NAME = YES -GENERATE_TODOLIST = NO -GENERATE_TESTLIST = NO -GENERATE_BUGLIST = NO -GENERATE_DEPRECATEDLIST= NO -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 25 -SHOW_USED_FILES = YES -SHOW_DIRECTORIES = YES -FILE_VERSION_FILTER = - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = NO -WARNINGS = YES -WARN_IF_UNDOCUMENTED = YES -WARN_IF_DOC_ERROR = YES -WARN_NO_PARAMDOC = NO -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = log.txt - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = \ - @top_srcdir@/doc/salome \ - @top_srcdir@/bin \ - @top_srcdir@/idl \ - @top_srcdir@/src/Container \ - @top_srcdir@/src/LifeCycleCORBA \ - @top_srcdir@/src/NamingService \ - @top_srcdir@/src/Notification \ - @top_srcdir@/src/Utils \ - @top_srcdir@/src/DSC -FILE_PATTERNS = *.dox *.idl *.hxx *.cxx python_extension_must_be_here -RECURSIVE = YES -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXAMPLE_PATH = -EXAMPLE_PATTERNS = -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = sources/ -INPUT_FILTER = -FILTER_PATTERNS = -FILTER_SOURCE_FILES = NO - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = YES -INLINE_SOURCES = YES -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = YES -REFERENCES_RELATION = YES -USE_HTAGS = NO -VERBATIM_HEADERS = YES - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = NO -COLS_IN_ALPHA_INDEX = 3 -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = KERNEL -HTML_FILE_EXTENSION = .html -HTML_HEADER = sources/myheader.html -HTML_FOOTER = sources/footer.html -HTML_STYLESHEET = -HTML_ALIGN_MEMBERS = YES -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -BINARY_TOC = YES -TOC_EXPAND = YES -DISABLE_INDEX = NO -ENUM_VALUES_PER_LINE = 4 -GENERATE_TREEVIEW = YES -TREEVIEW_WIDTH = 250 - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = NO -LATEX_OUTPUT = latex -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO -LATEX_BATCHMODE = NO -LATEX_HIDE_INDICES = NO - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = NO -XML_OUTPUT = xml -XML_SCHEMA = -XML_DTD = -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = YES -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = NO - -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = NO -HIDE_UNDOC_RELATIONS = NO -HAVE_DOT = YES -CLASS_GRAPH = YES -COLLABORATION_GRAPH = NO -GROUP_GRAPHS = NO -UML_LOOK = NO -TEMPLATE_RELATIONS = YES -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = NO -CALL_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DIRECTORY_GRAPH = YES -DOT_IMAGE_FORMAT = jpg -DOT_PATH = -DOTFILE_DIRS = -MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1200 -MAX_DOT_GRAPH_DEPTH = 0 -DOT_TRANSPARENT = NO -DOT_MULTI_TARGETS = NO -GENERATE_LEGEND = NO -DOT_CLEANUP = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to the search engine -#--------------------------------------------------------------------------- -SEARCHENGINE = NO diff --git a/doc/salome/tui/KERNEL/exemple/Example1.html b/doc/salome/tui/KERNEL/exemple/Example1.html deleted file mode 100755 index 1ec12baf9..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example1.html +++ /dev/null @@ -1,54 +0,0 @@ - - - -Exemple - -
#%AttributeReal interface (creations/saving/restoring)%
-#%Methods : FindOrCreateAttribute, Value, SaveAs, SetValue, FindComponent, FindAttribute, Open%
-
-
-#       create AttributeReal      
-#=================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeReal")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeReal attribute"
-A = A._narrow(SALOMEDS.AttributeReal)
-A.SetValue(0.0001)
-if A.Value() != 0.0001:
-        raise  RuntimeError, "Error : wrong value of  AttributeReal"
-
-#      save / restore study      
-#=================================
-
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-#file = "/tmp/ggg.hdf"
-
-print " -------  We will save to", file, "-----------"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy=batchmode_geompy.myStudyManager.Open(file)
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find AttributeReal
-#=================================
-
-res,A=father.FindAttribute("AttributeReal")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeReal"
-
-A = A._narrow(SALOMEDS.AttributeReal)
-if A.Value() != 0.0001:
-        raise  RuntimeError, "Error : wrong value of  AttributeReal"
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example10.html b/doc/salome/tui/KERNEL/exemple/Example10.html deleted file mode 100755 index fde0125ea..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example10.html +++ /dev/null @@ -1,59 +0,0 @@ - - - -Example - -
#%AttributeExpandable interface(creations/saving/restoring)%
-#%SALOMEDS methods : SaveAs FindComponent  FindAttribute Open%
-#%Attribute methods : SetExpandable IsExpandable%
-
-#              create    AttributeExpandable
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute( batchmode_geompy.father, "AttributeExpandable")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeExpandable attribute"
-A = A._narrow(SALOMEDS.AttributeExpandable)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeExpandable attribute"
-
-A.SetExpandable(1)
-
-if A.IsExpandable() == 0:
-        "Error: wrong value of AttributeExpandable"
-
-
-#      save / restore study      
-#============================================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file,  batchmode_geompy.myStudy)
-openedStudy = batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find   AttributeExpandable
-#============================================================
-
-res,A=father.FindAttribute("AttributeExpandable")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeExpandable"
-
-A = A._narrow(SALOMEDS.AttributeExpandable)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeExpandable attribute"
-
-if A.IsExpandable() == 0:
-        "Error: wrong value of AttributeExpandable"
-
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example11.html b/doc/salome/tui/KERNEL/exemple/Example11.html deleted file mode 100755 index 38218bddc..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example11.html +++ /dev/null @@ -1,59 +0,0 @@ - - - -Example - -
#%Test AttributeOpened (creations/saving/restoring)%
-#%SALOMEDS methods : FindOrCreateAttribute SaveAs, FindComponent, FindAttribute, Open%
-#%Attribute methods : SetOpened, IsOpened%
-
-#              create    AttributeOpened
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeOpened")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeOpened attribute"
-A = A._narrow(SALOMEDS.AttributeOpened)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeOpened attribute"
-
-A.SetOpened(1)
-
-if A.IsOpened() == 0:
-        "Error: wrong value of AttributeOpened"
-
-
-#      save / restore study      
-#============================================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy=batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find   AttributeOpened
-#============================================================
-
-res,A=father.FindAttribute("AttributeOpened")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeOpened"
-
-A = A._narrow(SALOMEDS.AttributeOpened)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeOpened attribute"
-
-if A.IsOpened() == 0:
-        "Error: wrong value of AttributeOpened"
-
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example12.html b/doc/salome/tui/KERNEL/exemple/Example12.html deleted file mode 100755 index 57c5d4531..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example12.html +++ /dev/null @@ -1,67 +0,0 @@ - - - -Example - -
#%AttributeTextColor interface (creations/saving/restoring)%
-#%SALOMEDS methods : FindOrCreateAttribute, SaveAs, FindComponent, FindAttribute, Open%
-#%Attribute methods : SetTextColor  TextColor%
-
-
-#--------------------------------------------------------------------------
-#              create    AttributeTextColor
-#===========================================================
-import SALOMEDS_Attributes_idl
-color = SALOMEDS_Attributes_idl._0_SALOMEDS.Color(234,345,231)
-
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeTextColor")
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeTextColor attribute"
-A = A._narrow(SALOMEDS.AttributeTextColor)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeTextColor attribute"
-
-A.SetTextColor(color)
-
-c = A.TextColor();
-
-if c.R != 234 or c.G != 345 or c.B != 231:
-        print "Error: wrong value of AttributeTextColor"
-
-#      save / restore study      
-#============================================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy = batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#       find   AttributeTextColor
-#============================================================
-
-res,A=father.FindAttribute("AttributeTextColor")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeTextColor"
-
-A = A._narrow(SALOMEDS.AttributeTextColor)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeTextColor attribute"
-
-c = A.TextColor();
-if c.R != 234 or c.G != 345 or c.B != 231:
-        print "Error: wrong value of AttributeTextColor"
-
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example13.html b/doc/salome/tui/KERNEL/exemple/Example13.html deleted file mode 100755 index 9ecf9964b..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example13.html +++ /dev/null @@ -1,68 +0,0 @@ - - - -Example - -
#%Test AttributeTextHighlightColor interface(creations/saving/restoring)%
-#%SALOMEDS methods : FindOrCreateAttribute, SaveAs, FindComponent, FindAttribute, Open%
-#%Attribute methods :  SetTextHighlightColor TextHighlightColor%
-
-#--------------------------------------------------------------------------
-#              create    AttributeTextHighlightColor
-#===========================================================
-
-import SALOMEDS_Attributes_idl
-highlightcolor=SALOMEDS_Attributes_idl._0_SALOMEDS.Color(256,256,256)
-
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeTextHighlightColor")
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeTextHighlightColor attribute"
-A = A._narrow(SALOMEDS.AttributeTextHighlightColor)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeTextHighlightColor attribute"
-
-A.SetTextHighlightColor(highlightcolor)
-
-c = A.TextHighlightColor();
-if c.R != 256 or c.G != 256 or c.B != 256:
-        print "Error: wrong value of AttributeTextHighlightColor"
-
-
-#      save / restore study      
-#============================================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy=batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#       find   AttributeTextHighlightColor
-#============================================================
-
-res, A = father.FindAttribute("AttributeTextHighlightColor")
-print res, A
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeTextHighlightColor"
-
-A = A._narrow(SALOMEDS.AttributeTextHighlightColor)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeTextHighlightColor attribute"
-
-c = A.TextHighlightColor();
-
-if c.R != 256 or c.G != 256 or c.B != 256:
-        print "Error: wrong value of AttributeTextTextHighlightColor"
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example14.html b/doc/salome/tui/KERNEL/exemple/Example14.html deleted file mode 100755 index a4e0ada09..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example14.html +++ /dev/null @@ -1,57 +0,0 @@ - - - -Example - -
#%AttributePixMap interface (creations/saving/restoring)%
-#%SALOMEDS methods  : FindOrCreateAttribute, SaveAs, FindComponent, FindAttribute, Open%
-#%Attribute methods : SetPixMap, GetPixMap%
-
-#--------------------------------------------------------------------------
-
-#--------------------------------------------------------------------------
-#   create  AttributePixMap
-#===============================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributePixMap")
-if A == None :
-        raise  RuntimeError, "Can't create AttributePixMap attribute"
-aPixmap = A._narrow(SALOMEDS.AttributePixMap);
-aPixmap.SetPixMap( "ICON_OBJBROWSER_Geometry" );
-
-if aPixmap.GetPixMap() != "ICON_OBJBROWSER_Geometry":
-        print "Error: wrong value of AttributePixMap"
-
-
-#      save / restore study      
-#============================================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy = batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#       find   AttributePixMap
-#============================================================
-
-res,A=father.FindAttribute("AttributePixMap")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error: AttributePixMap not found "
-
-A = A._narrow(SALOMEDS.AttributePixMap)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributePixMap attribute"
-
-if A.GetPixMap() != "ICON_OBJBROWSER_Geometry":
-        print "Error: wrong value of AttributePixMap"
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example15.html b/doc/salome/tui/KERNEL/exemple/Example15.html deleted file mode 100755 index f6cddac5a..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example15.html +++ /dev/null @@ -1,51 +0,0 @@ - - - -Example - -
#%AttributeLocalID interface(creations/saving/restoring)%
-#%SALOMEDS methods : FindOrCreateAttribute, SaveAs, FindComponent, FindAttribute, Open%    
-#%Attribute methods : Value,  SetValue%
-
-#       create AttributeLocalID
-#=================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeLocalID")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeLocalID attribute"
-A = A._narrow(SALOMEDS.AttributeLocalID)
-
-A.SetValue(763242882)
-
-if A.Value() != 763242882:
-        print "Error: wrong value of AttributeLocalID"
-
-#      save / restore study      
-#=================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy = batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find  AttributeLocalID
-#=================================
-
-res,A=father.FindAttribute("AttributeLocalID")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeLocalID"
-
-A = A._narrow(SALOMEDS.AttributeLocalID)
-
-if A.Value() != 763242882:
-        print "Error: wrong value of AttributeLocalID"
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example16.html b/doc/salome/tui/KERNEL/exemple/Example16.html deleted file mode 100755 index ec8bfd5e3..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example16.html +++ /dev/null @@ -1,158 +0,0 @@ - - - -Example - -
Methods : GetAvailableUndos, ChangeValue, FindOrCreateAttribute, SaveAs, GetAvailableRedos, Undo, FindComponent, Redo, FindAttribute, Open, CommitCommand, NewCommand
-
-
-dir= os.getenv("TmpDir")
-if dir == None:
-        dir = "/tmp"
-
-batchmode_geompy.myBuilder._set_UndoLimit(20)
-
-# 1st transaction -----------------------------------------
-batchmode_geompy.myBuilder.NewCommand()
-#       create AttributeSequenceOfInteger      
-#=========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeSequenceOfInteger")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeSequenceOfInteger attribute"
-A = A._narrow(SALOMEDS.AttributeSequenceOfInteger)
-if A == None :
-        raise  RuntimeError, "Can't create AttributeSequenceOfInteger attribute"
-
-A.Add(100)
-A.Add(300)
-A.Add(500)
-A.Add(400)
-A.Add(700)
-print "First transaction goes on :  HasOpenCommand() = ", batchmode_geompy.myBuilder.HasOpenCommand()
-batchmode_geompy.myBuilder.CommitCommand() #--------------
-
-# 2nd transaction ------------------------------------------
-batchmode_geompy.myBuilder.NewCommand() 
-A.Remove(3)
-A.ChangeValue(4,500)
-batchmode_geompy.myBuilder.CommitCommand() #--------------
-
-if batchmode_geompy.myBuilder.GetAvailableUndos() == 0:
-        raise RuntimeError, "GetAvailableUndos() = 0 but must not !"
-
-if A.Length() != 4:
-        print "Wrong length of SequenceOfInteger"
-if A.Value(1) != 100 or A.Value(2) != 300 or A.Value(3) != 400 or A.Value(4) != 500:
-        raise  RuntimeError, "Wrong  value of  AttributeSequenceOfInteger"
-
-file1 = dir + "/test1.hdf"
-batchmode_geompy.myStudyManager.SaveAs(file1, batchmode_geompy.myStudy)
-
-# 1st Undo ---------------------------------------
-batchmode_geompy.myBuilder.Undo()
-res, A = batchmode_geompy.myBuilder.FindAttribute(batchmode_geompy.father, "AttributeSequenceOfInteger")
-if A is None:
-        raise  RuntimeError, "After first 'undo' can't find AttributeSequenceOfInteger"
-if A.Length() != 5:
-        print "Wrong length of SequenceOfInteger"
-if A.Value(1) != 100 or A.Value(2) != 300 or A.Value(3) != 500 or A.Value(4) != 400 or  A.Value(5) != 700:
-        print  A.Value(1), A.Value(2), A.Value(3), A.Value(4), A.Value(5)
-        raise  RuntimeError, "Wrong  value of  AttributeSequenceOfInteger after the first 'undo'!"
-# save 
-file2 = dir + "/test2.hdf"
-batchmode_geompy.myStudyManager.SaveAs(file2, batchmode_geompy.myStudy)
-#-------------------------------------------------
-# 2nd Undo ---------------------------------------
-batchmode_geompy.myBuilder.Undo()
-res, attr = batchmode_geompy.myBuilder.FindAttribute(batchmode_geompy.father, "AttributeSequenceOfInteger")
-if res !=0 or attr != None :
-        raise  RuntimeError, "After the second 'undo' AttributeSequenceOfInteger exists but must not!"
-file3 = dir + "/test3.hdf"
-batchmode_geompy.myStudyManager.SaveAs(file3, batchmode_geompy.myStudy)
-#-------------------------------------------------
-
-#make redo twice ---------------------------------
-if batchmode_geompy.myBuilder.GetAvailableRedos() == 0:
-        raise RuntimeError, "GetAvailableRedos() = 0 but must not !"
-batchmode_geompy.myBuilder.Redo()
-batchmode_geompy.myBuilder.Redo()
-res, A = batchmode_geompy.myBuilder.FindAttribute(batchmode_geompy.father, "AttributeSequenceOfInteger")
-if res ==0 or A== None :
-        raise  RuntimeError, "AttributeSequenceOfInteger is not found but must be!"
-if A.Length() != 4:
-        print "Wrong length of SequenceOfInteger"
-if A.Value(1) != 100 or A.Value(2) != 300 or A.Value(3) != 400 or A.Value(4) != 500:
-        raise  RuntimeError, "Wrong  value of  AttributeSequenceOfInteger"
-
-
-#----------------------------------------------------------------------
-openedStudy=batchmode_geompy.myStudyManager.Open(file1);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find AttributeSequenceOfInteger
-#======================================
-
-res,A=father.FindAttribute("AttributeSequenceOfInteger")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeSequenceOfInteger"
-
-A = A._narrow(SALOMEDS.AttributeSequenceOfInteger)
-
-if A.Length() != 4:
-        print "Wrong length of SequenceOfInteger"
-if A.Value(1) != 100 or A.Value(2) != 300 or A.Value(3) != 400 or A.Value(4) != 500:
-        print "Wrong  value of  AttributeSequenceOfInteger"
-#----------------------------------------------------------------------
-openedStudy=batchmode_geompy.myStudyManager.Open(file2);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find AttributeSequenceOfInteger
-#======================================
-
-res,A=father.FindAttribute("AttributeSequenceOfInteger")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeSequenceOfInteger"
-
-A = A._narrow(SALOMEDS.AttributeSequenceOfInteger)
-
-if A.Length() != 5:
-        print "Wrong length of SequenceOfInteger"
-if A.Value(1) != 100 or A.Value(2) != 300 or A.Value(3) != 500 or A.Value(4) != 400 or  A.Value(5) != 700:
-        raise  RuntimeError, "Wrong  value of  AttributeSequenceOfInteger after the first 'undo'!"
-
-#----------------------------------------------------------------------
-openedStudy=batchmode_geompy.myStudyManager.Open(file3);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find AttributeSequenceOfInteger
-#======================================
-
-res,A=father.FindAttribute("AttributeSequenceOfInteger")
-
-if res!=0 or A != None:
-        raise RuntimeError, " AttributeSequenceOfInteger is found but must not!"
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example17.html b/doc/salome/tui/KERNEL/exemple/Example17.html deleted file mode 100755 index 458ba1e08..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example17.html +++ /dev/null @@ -1,162 +0,0 @@ - - - -Example - -
#% Check  methods : %
-SALOMEDS methods : RemoveAttribute, FindOrCreateAttribute, NewStudy, GetAllAttributes, NewCommand, CommitCommand, AbortCommand, NewComponent%
-
-batchmode_geompy.myBuilder._set_UndoLimit(20)
-
-batchmode_geompy.myBuilder.NewCommand() 
-child = batchmode_geompy.myBuilder.NewObject(batchmode_geompy.father)
-batchmode_geompy.myBuilder.CommitCommand()
-
-batchmode_geompy.myBuilder.NewCommand() 
-#==========================================================
-#       create AttributeSequenceOfReal      
-#==========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child, "AttributeSequenceOfReal")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeSequenceOfReal attribute"
-A = A._narrow(SALOMEDS.AttributeSequenceOfReal)
-if A == None :
-        raise  RuntimeError, "_narrow returns None instead of AttributeSequenceOfReal pointer"
-
-A.Add(0.0293)
-A.Add(522)
-A.Add(98234)
-A.Add(83.287)
-batchmode_geompy.myBuilder.CommitCommand()
-
-
-batchmode_geompy.myBuilder.NewCommand() 
-#==========================================================
-#      create  AttributeInteger      
-#==========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child, "AttributeInteger")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeInteger attribute"
-A = A._narrow(SALOMEDS.AttributeInteger)
-A.SetValue(1000000)
-
-if A.Value() != 1000000:
-        raise  RuntimeError, "Error : wrong value of  AttributeInteger"
-
-batchmode_geompy.myBuilder.CommitCommand()
-
-batchmode_geompy.myBuilder.NewCommand() #===================
-#              create AttributeName     
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child, "AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A.SetValue("AttributesTesting")
-
-if A.Value() != "AttributesTesting":
-        print "Wrong  value of AttributeName"        
-
-batchmode_geompy.myBuilder.CommitCommand()
-
-batchmode_geompy.myBuilder.NewCommand() #===================
-#              create     AttributeComment 
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child, "AttributeComment")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeComment attribute"
-A = A._narrow(SALOMEDS.AttributeComment)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeComment attribute"
-
-A.SetValue("GEOM")
-
-batchmode_geompy.myBuilder.AbortCommand()
-
-batchmode_geompy.myBuilder.NewCommand() #===================
-#             create   AttributePersistentRef   
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child, "AttributePersistentRef")
-if A == None :
-        raise  RuntimeError, "Can't create AttributePersistentRef attribute"
-A = A._narrow(SALOMEDS.AttributePersistentRef)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributePersistentRef attribute"
-
-A.SetValue("/tmp/test;1")
-batchmode_geompy.myBuilder.CommitCommand()
-
-batchmode_geompy.myBuilder.NewCommand()  #===================================
-#              create    AttributeDrawable  
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child, "AttributeDrawable")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeDrawable attribute"
-A = A._narrow(SALOMEDS.AttributeDrawable)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeDrawable attribute"
-
-A.SetDrawable(1)
-
-if A.IsDrawable() == 0:
-        "Error: wrong value of AttributeDrawable"
-batchmode_geompy.myBuilder.CommitCommand()
-
-
-
-batchmode_geompy.myBuilder.NewCommand() #===================
-#              create    AttributeSelectable  
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child, "AttributeSelectable")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeSelectable attribute"
-A = A._narrow(SALOMEDS.AttributeSelectable)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeSelectable attribute"
-
-A.SetSelectable(1)
-
-if A.IsSelectable() == 0:
-        "Error: wrong value of AttributeSelectable"
-batchmode_geompy.myBuilder.CommitCommand()
-
-
-batchmode_geompy.myBuilder.NewCommand() #===================
-#===========================================================
-batchmode_geompy.myBuilder.RemoveAttribute(child,"AttributeSelectable")
-batchmode_geompy.myBuilder.CommitCommand()
-
-# Control the attributes 
-#===========================================================
-
-res, A = batchmode_geompy.myBuilder.FindAttribute(child, "AttributeComment")
-print "res = ", res
-if A != None :
-        print " AttributeComment was found"
-else:
-        print " AttributeComment is not found. It's correct"
-
-attributes=[]
- 
-attributes = child.GetAllAttributes()
-
-length = len(attributes)
-
-print "Attributes number = ", length
-print attributes
-for i in range(0, length) :
-        attr = attributes[i]
-        if attr is None :
-                print i,"None item of object attributes list"
-
-if length != 5 :
-        raise RuntimeError, "Wrong number of attributes"
-
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example18.html b/doc/salome/tui/KERNEL/exemple/Example18.html deleted file mode 100755 index a6c00d67d..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example18.html +++ /dev/null @@ -1,171 +0,0 @@ - - - -Example - -
#%AttributeTreeNode interface(creations/saving/restoring)%
-#%SALOMEDS methods : FindOrCreateAttribute, NewObject%
-#%Attribute methods : HasFirst, HasFather, SetPrevious, Next, InsertAfter, GetFather, HasNext, SetValue, Append, NewStudy, Label, IsRoot, Prepend, SetFather, Depth, HasPrevious%
-
-child1 = batchmode_geompy.myBuilder.NewObject(batchmode_geompy.father)
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child1,"AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-A.SetValue("N1")
-N1 = batchmode_geompy.myBuilder.FindOrCreateAttribute(child1, "AttributeTreeNode")
-if N1 == None :
-        raise  RuntimeError, "Can't create AttributeTreeNode attribute"
-
-child2 = batchmode_geompy.myBuilder.NewObject(batchmode_geompy.father)
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child2,"AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-A.SetValue("N2")
-N2 = batchmode_geompy.myBuilder.FindOrCreateAttribute(child2, "AttributeTreeNode")
-if N2 == None :
-        raise  RuntimeError, "Can't create AttributeTreeNode attribute"
-
-child3 = batchmode_geompy.myBuilder.NewObject(batchmode_geompy.father)
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child3,"AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-A.SetValue("N3")
-N3 = batchmode_geompy.myBuilder.FindOrCreateAttribute(child3, "AttributeTreeNode")
-if N3 == None :
-        raise  RuntimeError, "Can't create AttributeTreeNode attribute"
-
-
-child11 = batchmode_geompy.myBuilder.NewObject(child1)
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child11,"AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-A.SetValue("N11")
-
-N11 = batchmode_geompy.myBuilder.FindOrCreateAttribute(child11, "AttributeTreeNode")
-
-if N11 == None :
-        raise  RuntimeError, "Can't create AttributeTreeNode attribute"
-
-child111 = batchmode_geompy.myBuilder.NewObject(child11)
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child111, "AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-A.SetValue("N111")
-
-N111 = batchmode_geompy.myBuilder.FindOrCreateAttribute(child111, "AttributeTreeNode")
-
-if N111 == None :
-        raise  RuntimeError, "Can't create AttributeTreeNode attribute"
- 
-
-child31 = batchmode_geompy.myBuilder.NewObject(child3)
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child31,"AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-A.SetValue("N31")
-
-N31 = batchmode_geompy.myBuilder.FindOrCreateAttribute(child31, "AttributeTreeNode")
-if N31 == None :
-        raise  RuntimeError, "Can't create AttributeTreeNode attribute"
-
-child32 = batchmode_geompy.myBuilder.NewObject(child3)
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child32,"AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-A.SetValue("N32")
-
-N32 = batchmode_geompy.myBuilder.FindOrCreateAttribute(child32, "AttributeTreeNode")
-if N32 == None :
-        raise  RuntimeError, "Can't create AttributeTreeNode attribute"
-
-child321 = batchmode_geompy.myBuilder.NewObject(child32)
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child321,"AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-A.SetValue("N321")
-
-N321 = batchmode_geompy.myBuilder.FindOrCreateAttribute(child321, "AttributeTreeNode")
-if N321 == None :
-        raise  RuntimeError, "Can't create AttributeTreeNode attribute"
-
-child33 = batchmode_geompy.myBuilder.NewObject(child3)
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child33,"AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-A.SetValue("N33")
-
-N33 = batchmode_geompy.myBuilder.FindOrCreateAttribute(child33, "AttributeTreeNode")
-if N33 == None :
-        raise  RuntimeError, "Can't create AttributeTreeNode attribute"
-
-child34 = batchmode_geompy.myBuilder.NewObject(child3)
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(child34,"AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-A.SetValue("N34")
-
-N34 = batchmode_geompy.myBuilder.FindOrCreateAttribute(child34, "AttributeTreeNode")
-if N34 == None :
-        raise  RuntimeError, "Can't create AttributeTreeNode attribute"
-
-
-
-#Create links between tree nodes.
-#  -| root
-#   --N1 __
-#   |     N11__
-#   |           N111
-#   --N2           
-#   |   
-#   --N3__
-#         N31
-#         N32__
-#              N321
-#         N33
-#         N34
-        
-N11.SetFather(N1)
-N11.Append(N111)
-N3.SetPrevious(N1)
-N3.Prepend(N2)
-
-N32.SetFather(N3)
-N32.Prepend(N31)
-N33.InsertAfter(N32)
-N33.Append(N34)
-print "-------------  ", N1, "  -------------  "
-print "N1.Label() = ", N1.Label() , "IsRoot() = ", N1.IsRoot(), "Depth() = ", N1.Depth()
-print "N11.Label() = ", N11.Label() , "IsRoot() = ", N11.IsRoot(), "Depth() = ", N11.Depth()
-print "N111.Label() = ", N111.Label() , "IsRoot() = ", N111.IsRoot(), "Depth() = ", N111.Depth()
-print "N2.Label() = ", N2.Label() , "IsRoot() = ",  N2.IsRoot(), "Depth() = ", N2.Depth()
-print "N3.Label() = ", N3.Label() , "IsRoot() = ", N3.IsRoot(), "Depth() = ", N3.Depth()
-print "N31.Label() = ", N31.Label() , "IsRoot() = ", N31.IsRoot(), "Depth() = ", N31.Depth()
-print "N32.Label() = ", N32.Label() , "IsRoot() = ", N32.IsRoot(), "Depth() = ", N32.Depth()
-print "N321.Label() = ", N321.Label() , "IsRoot() = ", N321.IsRoot(), "Depth() = ", N321.Depth()
-print "N33.Label() = ", N33.Label() , "IsRoot() = ", N33.IsRoot(), "Depth() = ", N33.Depth()
-print "N34.Label() = ", N34.Label() , "IsRoot() = ", N34.IsRoot(), "Depth() = ", N34.Depth()
-print "N1.IsRoot()=", N1.IsRoot()
-
-print "N1.HasNext() = ",N1.HasNext()
-if  N1.HasNext():
-        print N1.Next().Label()
-
-print "N32.HasPrevious() = ",N32.HasPrevious()
-if  N32.HasPrevious():
-        print N32.GetPrevious().Label()
-
-print "N111.HasFirst()=",N111.HasFirst()
-print "N111.HasFather()=",N111.HasFather()
-if N111.HasFather() :
-        print "N111.GetFather().Label()=",N111.GetFather().Label()
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example19.html b/doc/salome/tui/KERNEL/exemple/Example19.html deleted file mode 100755 index 4c5c2902b..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example19.html +++ /dev/null @@ -1,547 +0,0 @@ - - - -Exemple - -
-#^ SALOMEDS methods :  FindOrCreateAttribute, Save, SaveAs, Close, Open, FindComponent, FindAttribute, FindObject, LoadWith^
-#^ Attribute methods : Value, SetValue^
-#======================================================================
-#1. Create Study and add some components to it
-#======================================================================
-
-#=================================
-#       create AttributeReal      
-#=================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeReal")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeReal attribute"
-A = A._narrow(SALOMEDS.AttributeReal)
-A.SetValue(0.0001)
-if A.Value() != 0.0001:
-        raise  RuntimeError, "Error : wrong value of  AttributeReal"
-
-# ===  Geometry  ==================================================
-
-import batchmode_geompy
- 
-#===================================
-#     define a box
-#===================================
-
-box = batchmode_geompy.MakeBox(0., 0., 0., 100., 200., 300.)
-idbox = batchmode_geompy.addToStudy(box,"box")
-
-
-geom = batchmode_geompy.geom
-import SMESH
-import batchmode_smesh
-ShapeType = batchmode_smesh.ShapeType
-
-# ---- add first face of box in study
-
-subShapeList = batchmode_geompy.SubShapeAll(box,ShapeType["Face"])
-face=subShapeList[0]
-name = "box_face"
-print name
-idface= batchmode_geompy.addToStudyInFather(box,face,name)
-
-# ---- add shell from box  in study
-
-subShellList= batchmode_geompy.SubShapeAll(box,ShapeType["Shell"])
-shell = subShellList[0]
-name = "box_shell"
-print name
-idshell= batchmode_geompy.addToStudyInFather(box,shell,name)
-
-# ---- add first edge of face in study
-
-edgeList =  batchmode_geompy.SubShapeAll(face,ShapeType["Edge"])
-edge=edgeList[0];
-name = "face_edge"
-print name
-idedge= batchmode_geompy.addToStudyInFather(face,edge,name)
-
-# ---- launch SMESH, init a Mesh with the box
-
-smesh =  batchmode_smesh.smesh
-#  --  Init  --
-shape = batchmode_geompy.IDToObject(idbox)
-mesh=smesh.Init(geom, batchmode_geompy.myStudyId, shape)
-
-orb = batchmode_geompy.orb
-
-idmesh = batchmode_smesh.AddNewMesh( orb.object_to_string(mesh) )
-batchmode_smesh.SetName(idmesh, "Meshbox");
-batchmode_smesh.SetShape(idbox, idmesh);
-
-# ---- create Hypothesis
-
-print "-------------------------- create Hypothesis ----------------------"
-print "-------------------------- LocalLength"
-hyp1 = smesh.CreateHypothesis("LocalLength", batchmode_geompy.myStudyId )
-hypLen1 = hyp1._narrow(SMESH.SMESH_LocalLength)
-hypLen1.SetLength(100)
-print hypLen1.GetName()
-print hypLen1.GetId()
-print hypLen1.GetLength()
-
-idlength = batchmode_smesh.AddNewHypothesis( orb.object_to_string(hypLen1) );
-batchmode_smesh.SetName(idlength, "Local_Length_100");
-
-print "-------------------------- NumberOfSegments"
-hyp2 =  smesh.CreateHypothesis("NumberOfSegments", batchmode_geompy.myStudyId )
-hypNbSeg1=hyp2._narrow(SMESH.SMESH_NumberOfSegments)
-hypNbSeg1.SetNumberOfSegments(7)
-print hypNbSeg1.GetName()
-print hypNbSeg1.GetId()
-print hypNbSeg1.GetNumberOfSegments()
-
-idseg =  batchmode_smesh.AddNewHypothesis( orb.object_to_string(hypNbSeg1) );
-batchmode_smesh.SetName(idseg, "NumberOfSegments_7");
-
-print "-------------------------- MaxElementArea"
-hyp3 = smesh.CreateHypothesis("MaxElementArea",  batchmode_geompy.myStudyId)
-hypArea1=hyp3._narrow(SMESH.SMESH_MaxElementArea)
-hypArea1.SetMaxElementArea(2500)
-print hypArea1.GetName()
-print hypArea1.GetId()
-print hypArea1.GetMaxElementArea()
-
-idarea1 = batchmode_smesh.AddNewHypothesis( orb.object_to_string(hypArea1) );
-batchmode_smesh.SetName(idarea1, "MaxElementArea_2500");
-
-print "-------------------------- MaxElementArea"
-hyp3 = smesh.CreateHypothesis("MaxElementArea",  batchmode_geompy.myStudyId)
-hypArea2 = hyp3._narrow(SMESH.SMESH_MaxElementArea)
-hypArea2.SetMaxElementArea(500)
-print hypArea2.GetName()
-print hypArea2.GetId()
-print hypArea2.GetMaxElementArea()
-
-idarea2 = batchmode_smesh.AddNewHypothesis( orb.object_to_string(hypArea2) );
-batchmode_smesh.SetName(idarea2, "MaxElementArea_500");
-
-print "-------------------------- Regular_1D"
-alg1 = smesh.CreateHypothesis("Regular_1D",  batchmode_geompy.myStudyId)
-algo1 = alg1._narrow(SMESH.SMESH_Algo)
-listHyp = algo1.GetCompatibleHypothesis()
-for hyp in listHyp:
-    print hyp
-algoReg=alg1._narrow(SMESH.SMESH_Regular_1D)
-print algoReg.GetName()
-print algoReg.GetId()
-
-idreg = batchmode_smesh.AddNewAlgorithms( orb.object_to_string(algoReg) );
-batchmode_smesh.SetName(idreg, "Regular_1D");
-
-print "-------------------------- MEFISTO_2D"
-alg2 = smesh.CreateHypothesis("MEFISTO_2D",  batchmode_geompy.myStudyId)
-algo2 = alg2._narrow(SMESH.SMESH_Algo)
-listHyp=algo2.GetCompatibleHypothesis()
-for hyp in listHyp:
-    print hyp
-algoMef=alg2._narrow(SMESH.SMESH_MEFISTO_2D)
-print algoMef.GetName()
-print algoMef.GetId()
-
-idmef = batchmode_smesh.AddNewAlgorithms( orb.object_to_string(algoMef) );
-batchmode_smesh.SetName(idmef, "MEFISTO_2D");
-
-
-# ---- add hypothesis to edge
-
-print "-------------------------- add hypothesis to edge"
-edge = batchmode_geompy.IDToObject(idedge)
-submesh = mesh.GetElementsOnShape(edge)
-ret = mesh.AddHypothesis(edge,algoReg)
-print ret
-ret=mesh.AddHypothesis(edge,hypLen1)
-print ret
-
-idsm1 = batchmode_smesh.AddSubMeshOnShape( idmesh,
-                                           idedge,
-                                           orb.object_to_string(submesh),
-                                           ShapeType["Edge"] )
-batchmode_smesh.SetName(idsm1, "SubMeshEdge")
-batchmode_smesh.SetAlgorithms( idsm1, idreg );
-batchmode_smesh.SetHypothesis( idsm1, idlength );
-
-print "-------------------------- add hypothesis to face"
-face=batchmode_geompy.IDToObject(idface)
-submesh=mesh.GetElementsOnShape(face)
-ret=mesh.AddHypothesis(face,hypArea2)
-print ret
-
-idsm2 = batchmode_smesh.AddSubMeshOnShape( idmesh,
-                                    idface,
-                                    orb.object_to_string(submesh),
-                                    ShapeType["Face"] )
-batchmode_smesh.SetName(idsm2, "SubMeshFace")
-batchmode_smesh.SetHypothesis( idsm2, idarea2 );
-
-# ---- add hypothesis to box
-
-print "-------------------------- add hypothesis to box"
-box=batchmode_geompy.IDToObject(idbox)
-submesh=mesh.GetElementsOnShape(box)
-ret=mesh.AddHypothesis(box,algoReg)
-print ret
-ret=mesh.AddHypothesis(box,hypNbSeg1)
-print ret
-ret=mesh.AddHypothesis(box,algoMef)
-print ret
-ret=mesh.AddHypothesis(box,hypArea1)
-print ret
-
-batchmode_smesh.SetAlgorithms( idmesh, idreg );
-batchmode_smesh.SetHypothesis( idmesh, idseg );
-batchmode_smesh.SetAlgorithms( idmesh, idmef );
-batchmode_smesh.SetHypothesis( idmesh, idarea1 );
-
-# ---- compute box
-
-print "-------------------------- compute box"
-ret=smesh.Compute(mesh,box)
-print ret
-log=mesh.GetLog(0); # no erase trace
-for linelog in log:
-    print linelog
-
-
-#=======================================================
-#    add  SuperVision component
-#=======================================================
-
-from batchmode_SuperV import *
-import os
-dir= os.getenv("SUPERV_ROOT_DIR")
-if dir == None:
-        raise RuntimeError, "SUPERV_ROOT_DIR is not defined"
-xmlfile = dir +"/examples/GraphEssai.xml"
-print "--------------\n"+xmlfile+"\n--------------\n"
-
-myGraph = Graph ( xmlfile )
-
-# This DataFlow is "valid" : no loop, correct links between Nodes etc...
-print myGraph.IsValid()
-
-# Get Nodes
-myGraph.PrintNodes()
-Add,Sub,Mul,Div = myGraph.Nodes()
-
-# Load Datas
-Addx = Add.Input("x",3.)
-Addy = Add.Input("y",4.5)
-Subx = Sub.Input("x",1.5)
-
-# Get Output Port
-Addz = Add.Port('z')
-Subz = Sub.Port('z')
-Mulz = Mul.Port('z')
-Divz = Div.Port('z')
-
-# This DataFlow is "executable" : all pending Ports are defined with Datas
-print myGraph.IsExecutable()
-
-# Starts only execution of that DataFlow and gets control immediatly
-print myGraph.Run()
-
-# That DataFlow is running ==> 0 (false)
-print myGraph.IsDone()
-
-# Events of execution :
-aStatus,aNode,anEvent,aState = myGraph.Event()
-while aStatus :
-    print aNode.Thread(),aNode.SubGraph(),aNode.Name(),anEvent,aState
-    aStatus,aNode,anEvent,aState = myGraph.Event()
-print myGraph.IsDone()
-
-# Wait for Completion (but it is already done after event loop ...)
-print "Done : ",myGraph.DoneW()
-
-# Get result
-print "Result : ",Divz.ToString()
-
-# Intermediate results :
-print "Intermediate Result Add\z : ",Addz.ToString()
-print "Intermediate Result Sub\z : ",Subz.ToString()
-print "Intermediate Result Mul\z : ",Mulz.ToString()
-
-print " "
-#print "Type : print myGraph.IsDone()"
-#print "       If execution is finished ==> 1 (true)"
-res=myGraph.IsDone()
-if res != 1:
-        raise RuntimeError, "myGraph.Run() is not done"
-
-print " "
-print "Type : print Divz.ToString()"
-print "       You will get the result"
-Divz.ToString()
-
-print " "
-print "Type : myGraph.PrintPorts()"
-print "       to see input and output values of the graph"
-myGraph.PrintPorts()
-
-print " "
-print "Type : Add.PrintPorts()"
-Add.PrintPorts()
-
-print "Type : Sub.PrintPorts()"
-Sub.PrintPorts()
-
-print "Type : Mul.PrintPorts()"
-Mul.PrintPorts()
-
-print "Type : Div.PrintPorts()"
-print "       to see input and output values of nodes"
-Div.PrintPorts()
-
-# Export will create newsupervisionexample.xml and the corresponding .py file
-tmpdir=os.getenv("TmpDir")
-if tmpdir is None:
-        tmpdir="/tmp"
-file = tmpdir + "/newsupervisionexample"
-print "--------------\n"+file+"\n--------------\n"
-myGraph.Export(file)
-
-ior = batchmode_geompy.orb.object_to_string(myGraph.G)
-addStudy(ior)
-
-GraphName = myGraph.Name()
-print "Befor save ",
-nodes = myGraph.Nodes()
-length_bs = len(nodes)
-print "ListOfNodes length = ", length_bs
-names=[]
-for node in nodes:
-        names.append(node.Name())
-print names
-
-
-#=================================
-#      save / restore study      
-#=================================
-str= os.getenv("TmpDir")
-if str == None:  
-        str = "/tmp"
-file = str+"/test.hdf"
-
-
-#==================================================
-#1. SaveAs
-#==================================================
-print " -------  We will save to", file, "-----------"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-batchmode_geompy.myStudyManager.Close(batchmode_geompy.myStudy)
-
-#rename the file and try to reread it again
-
-os.mkdir(str + "/test_dir")
-
-#2.==================================================
-print " ------- We rename the file as " + str + "/test_dir/test_new.hdf"
-os.rename(file, str+"/test_dir/test_new.hdf")
-
-#==================================================
-#3. Open
-#==================================================
-print " ------- We try to open " + str + "/test_dir/test_new.hdf"
-
-try:
-        openedStudy=batchmode_geompy.myStudyManager.Open(str+"/test_dir/test_new.hdf")
-except Exception:
-        raise  RuntimeError, "Can't open saved study!"
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "GEOM component is not found!  Wrong study is opened." 
-
-
-#=================================
-#     find AttributeReal
-#=================================
-
-res,A=father.FindAttribute("AttributeReal")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeReal"
-
-A = A._narrow(SALOMEDS.AttributeReal)
-if A.Value() != 0.0001:
-        raise  RuntimeError, "Error : wrong value of  AttributeReal"
-
-#==================================================
-#     find  box
-#==================================================
-box = openedStudy.FindObject("box")
-if box is None :
-        raise  RuntimeError, "box was not found! Wrong study is opened."
-
-edge=openedStudy.FindObject("face_edge")
-if edge is None :
-        raise  RuntimeError, "face_edge was not found! Wrong study is opened."
-
-
-father = openedStudy.FindComponent("MESH")
-if father is None:
-         raise  RuntimeError, "MESH component is not found!  Wrong study is opened." 
-
-hp=openedStudy.FindObject("Meshbox")
-if hp is None:
-        raise  RuntimeError, "Meshbox object was not found! Wrong study is opened."
-
-hp = openedStudy.FindObject("Algorithms Definition")
-if hp is None:
-        raise  RuntimeError, "Algorithms Definition object was not found! Wrong study is opened."
-
-hp = openedStudy.FindObject("MEFISTO_2D")
-if hp is None:
-        raise  RuntimeError, "MEFISTO_2D object was not found! Wrong study is opened."
-
-hp = openedStudy.FindObject("Hypothesis Definition")
-if hp is None:
-        raise  RuntimeError, "Algoriths Definition was not found! Wrong study is opened."
-
-#==================================================
-# Find Supervisor
-#==================================================
-father = openedStudy.FindComponent("SUPERV")
-if father is None: 
-         raise  RuntimeError, "SUPERV component is not found!  Wrong study is opened." 
-
-SuperV = lcc.FindOrLoadComponent("SuperVisionContainer","Supervision")
-Builder = openedStudy.NewBuilder()
-Builder.LoadWith(father, SuperV)
-import SALOMEDS
-
-aChildIterator = openedStudy.NewChildIterator(father)
-
-#while aChildIterator.More():
-anSObject = aChildIterator.Value()
-#print "iterate: ", anSObject.GetID()
-res, anAttr=anSObject.FindAttribute("AttributeIOR")
-if res :
-        anAttr=anAttr._narrow(SALOMEDS.AttributeIOR)
-        ior = anAttr.Value()
-        Graph=SuperV.getGraph(ior)
-        ListOfNodes=Graph.Nodes()
-        length_as= len(ListOfNodes)
-        print "ListOfNodes length = ", length_as
-        if length_as != length_bs:
-                raise RuntimeErrror, "defferent length of nodes after study open"
-#aChildIterator.Next()
-
-Names = []
-for node in ListOfNodes:
-        Names.append(node.Name())
-names.sort()
-Names.sort()
-if names != Names :
-        raise RuntimeError, "List of dataflow nodes after save differs from one befor save operation"
-
-#==================================================
-#4. Save
-#==================================================
-batchmode_geompy.myStudyManager.Save(openedStudy)
-batchmode_geompy.myStudyManager.Close(openedStudy)
-#==================================================
-#5. Open
-#==================================================
-try:
-        openedStudy = batchmode_geompy.myStudyManager.Open(str+"/test_dir/test_new.hdf")
-except Exception:
-        raise  RuntimeError, "Can't open saved study!"
-
-
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#find AttributeReal
-res,A=father.FindAttribute("AttributeReal")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeReal"
-
-A = A._narrow(SALOMEDS.AttributeReal)
-if A.Value() != 0.0001:
-        raise  RuntimeError, "Error : wrong value of  AttributeReal"
-#==================================================
-#     find  box
-#==================================================
-box = openedStudy.FindObject("box")
-if box is None :
-        raise  RuntimeError, "box was not found! Wrong study is opened."
-
-edge=openedStudy.FindObject("face_edge")
-if edge is None :
-        raise  RuntimeError, "face_edge was not found! Wrong study is opened."
-
-
-father = openedStudy.FindComponent("MESH")
-if father is None:
-         raise  RuntimeError, "MESH component is not found!  Wrong study is opened." 
-
-hp=openedStudy.FindObject("Meshbox")
-if hp is None:
-        raise  RuntimeError, "Meshbox object was not found! Wrong study is opened."
-
-hp = openedStudy.FindObject("Algorithms Definition")
-if hp is None:
-        raise  RuntimeError, "Algorithms Definition object was not found! Wrong study is opened."
-
-hp = openedStudy.FindObject("MEFISTO_2D")
-if hp is None:
-        raise  RuntimeError, "MEFISTO_2D object was not found! Wrong study is opened."
-
-hp = openedStudy.FindObject("Hypothesis Definition")
-if hp is None:
-        raise  RuntimeError, "Algoriths Definition was not found! Wrong study is opened."
-
-#==================================================
-# Find Supervisor
-#==================================================
-father = openedStudy.FindComponent("SUPERV")
-if father is None:
-         raise  RuntimeError, "SUPERV component is not found!  Wrong study is opened." 
-
-SuperV = lcc.FindOrLoadComponent("SuperVisionContainer","Supervision")
-Builder = openedStudy.NewBuilder()
-Builder.LoadWith(father, SuperV)
-import SALOMEDS
-
-aChildIterator = openedStudy.NewChildIterator(father)
-
-#while aChildIterator.More():
-anSObject = aChildIterator.Value()
-
-res, anAttr=anSObject.FindAttribute("AttributeIOR")
-if res :
-        anAttr=anAttr._narrow(SALOMEDS.AttributeIOR)
-        ior = anAttr.Value()
-        Graph=SuperV.getGraph(ior)
-        ListOfNodes=Graph.Nodes()
-        length_as= len(ListOfNodes)
-        print "ListOfNodes length = ", length_as
-        if length_as != length_bs:
-                raise RuntimeErrror, "defferent length of nodes after study open"
-#aChildIterator.Next()
-
-Names = []
-for node in ListOfNodes:
-        Names.append(node.Name())
-names.sort()
-Names.sort()
-if names != Names :
-        raise RuntimeError, "List of dataflow nodes after save differs from one befor save operation"
-
diff --git a/doc/salome/tui/KERNEL/exemple/Example2.html b/doc/salome/tui/KERNEL/exemple/Example2.html deleted file mode 100755 index 16361364f..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example2.html +++ /dev/null @@ -1,46 +0,0 @@ - - - -Example - -
#%AttributeInteger interface(creation/saving/restoring)%
-#%Methods : FindOrCreateAttribute , Value, SaveAs, SetValue, FindComponent, FindAttribute, Open%
-
-#      create  AttributeInteger      
-#=================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeInteger")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeInteger attribute"
-A = A._narrow(SALOMEDS.AttributeInteger)
-A.SetValue(1000000)
-
-if A.Value() != 1000000:
-        raise  RuntimeError, "Error : wrong value of  AttributeInteger"
-
-#   save and restore the study
-#=================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-# ... save ...
-batchmode_geompy.myStudyManager.SaveAs(str+"/test.hdf", batchmode_geompy.myStudy)
-# ... open ...
-openedStudy= batchmode_geompy.myStudyManager.Open(str+"/test.hdf");
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-#     find AttributeInteger
-#================================
-res,A=father.FindAttribute("AttributeInteger")
-if res == 0  or A == None:
-        raise  RuntimeError, "Error:  not found AttributeInteger"
-A = A._narrow(SALOMEDS.AttributeInteger)
-if A.Value() != 1000000:
-        raise  RuntimeError, "Error : wrong value of  AttributeInteger after study restoring"
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example20.html b/doc/salome/tui/KERNEL/exemple/Example20.html deleted file mode 100755 index 3019ad80e..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example20.html +++ /dev/null @@ -1,160 +0,0 @@ - - - -Exemple - -
-#^SALOMEDS methods : FindOrCreateAttribute, SaveAs, FindComponent, FindAttribute, NewCommand, GetProperties, Open, CommitCommand, NewBuilder^
-#^Attribute methods : SetLocked, IsLocked, GetCreationMode, SetCreationDate, IsModified, GetUserName, Value, SetUserName, SetValue, GetCreationDate^
-
-batchmode_geompy.myBuilder._set_UndoLimit(20)
-
-#--------------------------------------------------------------------------
-#       create AttributeReal      
-#===============================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeReal")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeReal attribute"
-A = A._narrow(SALOMEDS.AttributeReal)
-A.SetValue(0.0001)
-if A.Value() != 0.0001:
-        raise  RuntimeError, "Error : wrong value of  AttributeReal"
-
-#      create AttributeStudyProperties
-#================================================
-A = batchmode_geompy.myStudy.GetProperties()
-if A == None :
-        raise  RuntimeError, "Can't create AttributeStudyProperties attribute"
-A = A._narrow(SALOMEDS.AttributeStudyProperties)
-
-batchmode_geompy.myBuilder.NewCommand();
-print "A.GetUserName()= ", A.GetUserName()
-res,mm,hh,dd,mnth,yy=A.GetCreationDate()
-print "A.GetCreationDate() = ", mm,hh,dd,mnth,yy
-print "A.GetCreationMode() = ", A.GetCreationMode()
-print "A.IsModified() = ", A.IsModified()
-print "A.IsLocked() = ", A.IsLocked()
-if A.IsLocked() == 0 :
-        A.SetUserName("tester"); print 'A.SetUserName("tester"), A.GetUserName() = ', A.GetUserName()
-        A.SetCreationDate(11,11,11,11,2002); print 'A.SetCreationDate(11,11,11,11,2002), A.GetCreationDate() =', A.GetCreationDate()
-        print "A.IsModified() = ", A.IsModified()
-A.SetLocked(1)
-
-#check the transaction result 
-batchmode_geompy.myBuilder.CommitCommand()
-if A.GetUserName() != "tester":
-        print 'Control after transaction close : A.GetUserName() = ', A.GetUserName()
-        raise RuntimeError, "Field 'UserName' was not modified but had to!"
-
-# try to make some changes wrapped by transaction 
-#================================================
-batchmode_geompy.myBuilder.NewCommand()
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeInteger")
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeInteger attribute"
-A = A._narrow(SALOMEDS.AttributeInteger)
-A.SetValue(1000000)
-
-exception_was = None
-try : batchmode_geompy.myBuilder.CommitCommand()
-except Exception: exception_was = 1
-
-if exception_was is None:
-        raise RuntimeError, "Study was locked for changes but CommitCommand did not generate an exception !"
-
-#      save / restore study      
-
-#================================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-print " -------  We will save to", file, "-----------"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-
-
-#--------------------------------------------------------------------------#
-#--------------------------- Open file ------------------------------------# 
-#--------------------------------------------------------------------------#
-
-print" -------------- Open  " + file + "-------------- " 
-
-openedStudy = batchmode_geompy.myStudyManager.Open(file)
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#1.     find AttributeReal
-#================================================
-
-res,A=father.FindAttribute("AttributeReal")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeReal"
-
-A = A._narrow(SALOMEDS.AttributeReal)
-if A.Value() != 0.0001:
-        raise  RuntimeError, "Error : wrong value of  AttributeReal"
- 
-
-#2.     find AttributeStudyProperties
-#=================================================
-A=openedStudy.GetProperties()
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeStudyProperties"
-
-A = A._narrow(SALOMEDS.AttributeStudyProperties)
-if A.IsLocked() == 0 :
-        raise  RuntimeError, "Error : AttributeStudyProperties must have Locked flag but have no!"
-
-#get the builder
-myBuilder = openedStudy.NewBuilder()
-
-#3. try to make some changes wrapped by transaction 
-#==================================================
-exception_was = None
-try : 
-        myBuilder.NewCommand()
-        A = myBuilder.FindOrCreateAttribute(father, "AttributeInteger")
-
-        if A == None :
-                raise  RuntimeError, "Can't create AttributeInteger attribute"
-        A = A._narrow(SALOMEDS.AttributeInteger)
-        A.SetValue(1000000)
-        myBuilder.CommitCommand()
-except Exception: exception_was = 1
-
-if exception_was is None:
-        raise RuntimeError, "Study was locked for changes but CommitCommand did not generate an exception !"
-
-
-myBuilder.NewCommand()
-A=openedStudy.GetProperties()
-A = A._narrow(SALOMEDS.AttributeStudyProperties)
-A.SetLocked(0)
-myBuilder.CommitCommand()
-
-#4.
-myBuilder.NewCommand()
-A.SetLocked(0);
-print "A.GetUserName()= ", A.GetUserName()
-print "A.GetCreationDate() = ", A.GetCreationDate()
-print "A.GetCreationMode() = ", A.GetCreationMode()
-print "A.IsModified() = ", A.IsModified()
-myBuilder.CommitCommand()
-
-#5.
-myBuilder.NewCommand()
-A.SetUserName("tester1")
-myBuilder.CommitCommand()
-print "A.GetUserName()= ", A.GetUserName()
-
-#remove the document file
-os.remove(file)
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example21.html b/doc/salome/tui/KERNEL/exemple/Example21.html deleted file mode 100755 index 981e9d7ff..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example21.html +++ /dev/null @@ -1,136 +0,0 @@ - - - -Exemple - -
-#^SALOMEDS methods : FindOrCreateAttribute, SaveAs, FindComponent, FindAttribute, Open^
-#^Attribute methods: GetValue, GetNbColumns, AddColumn, SetRowTitles, PutValue, GetColumn, GetColumnTitles, GetTitle, SetRow, GetRowTitles, SetColumnTitles, SetColumn, GetRow, GetNbRows, SetColumnTitle, AddRow, SetTitle, SetRowTitle^
-
-#       create AttributeReal      
-#=======================================================================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeTableOfInteger")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeTableOfInteger attribute"
-A = A._narrow(SALOMEDS.AttributeTableOfInteger)
-a=[1,2]
-
-b=[3,4]
-
-#    2x2
-# --- rows ---
-A.AddRow(a)
-A.AddRow(b)
-a=[34,14]
-A.SetRow(1,a)
-
-#    3x3
-#
-b=[54,56]
-A.AddRow(b)
-
-# --- columns ---
-a=[76,25,12]
-
-A.AddColumn(a)
-a=[836,3425,342]
-A.SetColumn(3,a)
-
-# change attribute values
-print "A.GetValue(2,2) = ", A.GetValue(2,2)
-print "A.PutValue(2,2,625323)"
-A.PutValue(625323,2,2)
-print "A.GetValue(2,2) = ", A.GetValue(2,2)
-
-#set Titles
-
-A.SetTitle("TEST")
-
-A.SetRowTitle(1,"FR")
-A.SetRowTitle(2,"SR")
-A.SetRowTitle(3,"TR")
-
-A.SetColumnTitle(1,"FC")
-A.SetColumnTitle(2,"SC")
-A.SetColumnTitle(3,"TC")
-
-
-#check the table
-print "Common title : ",A.GetTitle()
-print "Rows titles : ",  A.GetRowTitles()
-rnb = A.GetNbRows()
-for i in range(1, rnb):
-        b=A.GetRow(i)
-        print b
-
-cnb = A.GetNbColumns()
-print "Columns title : ", A.GetColumnTitles()
-for i in range(1, cnb):
-        b=A.GetColumn(i)
-        print b
-
-# set titles
-#titles=["11","12","13"]
-#A.SetRowTitles(titles)
-#titles=["21","22","23"]
-#A.SetRowTitles(2,titles)
-#titles=["31","32","33"]
-#A.SetRowTitles(3,titles)
-
-#--------------------------------------------------------------------------#
-# ----------------------- save the study ----------------------------------#
-#--------------------------------------------------------------------------#
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-print " -------  We will save to", file, "-----------"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-
-#--------------------------------------------------------------------------#
-#---------------------------- Open file -----------------------------------# 
-#--------------------------------------------------------------------------#
-
-print" -------------- Open  " + file + "-------------- " 
-
-openedStudy=batchmode_geompy.myStudyManager.Open(file)
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-# --- check attribute ---
-
-res,A=father.FindAttribute("AttributeTableOfInteger")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeTableOfInteger"
-
-A = A._narrow(SALOMEDS.AttributeTableOfInteger)
-
-#check the table
-print "Common title : ",A.GetTitle()
-print "Rows titles : ",  A.GetRowTitles()
-rnb = A.GetNbRows()
-for i in range(1, rnb):
-        b=A.GetRow(i)
-        print b
-
-cnb = A.GetNbColumns()
-print "Columns title : ", A.GetColumnTitles()
-for i in range(1, cnb):
-        b=A.GetColumn(i)
-        print b
-
-titles=["ff","ss","tt"]
-A.SetRowTitles(titles)
-print "Rows titles : ",  A.GetRowTitles()
-
-titles=["ww","zz","cc"]
-A.SetColumnTitles(titles)
-print "Column titles : ",  A.GetColumnTitles()
-
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example22.html b/doc/salome/tui/KERNEL/exemple/Example22.html deleted file mode 100755 index f6a3f6e3b..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example22.html +++ /dev/null @@ -1,137 +0,0 @@ - - - -Exemple - -
-#^ SALOMEDS methods  : FindOrCreateAttribute, SaveAs, FindComponent, FindAttribute, Open^
-#^ Attribute methods : GetValue, GetNbColumns, AddColumn, SetRowTitles, PutValue,  GetColumn,  GetColumnTitles, GetTitle, SetRow, GetRowTitles, SetColumnTitles,  SetColumn,  GetRow,  GetNbRows, SetColumnTitle, AddRow, SetTitle, SetRowTitle^
-
-#       create AttributeReal      
-#===============================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeTableOfReal")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeTableOfReal attribute"
-A = A._narrow(SALOMEDS.AttributeTableOfReal)
-a=[1,2]
-
-b=[3,4]
-
-#    2x2
-# --- rows ---
-A.AddRow(a)
-A.AddRow(b)
-a=[34,14]
-A.SetRow(1,a)
-
-#    3x3
-#
-b=[54,56]
-A.AddRow(b)
-
-# --- columns ---
-a=[76,25,12]
-
-A.AddColumn(a)
-a=[836,3425,342]
-A.SetColumn(3,a)
-
-# change attribute values
-print "A.GetValue(2,2) = ", A.GetValue(2,2)
-print "A.PutValue(2,2,625323)"
-A.PutValue(625323,2,2)
-print "A.GetValue(2,2) = ", A.GetValue(2,2)
-
-#set Titles
-
-A.SetTitle("TEST")
-
-A.SetRowTitle(1,"FR")
-A.SetRowTitle(2,"SR")
-A.SetRowTitle(3,"TR")
-
-A.SetColumnTitle(1,"FC")
-A.SetColumnTitle(2,"SC")
-A.SetColumnTitle(3,"TC")
-
-
-#check the table
-print "Common title : ",A.GetTitle()
-print "Rows titles : ",  A.GetRowTitles()
-rnb = A.GetNbRows() + 1
-for i in range(1, rnb):
-        b=A.GetRow(i)
-        print b
-
-cnb = A.GetNbColumns() + 1
-print "Columns title : ", A.GetColumnTitles()
-for i in range(1, cnb):
-        b=A.GetColumn(i)
-        print b
-
-# set titles
-#titles=["11","12","13"]
-#A.SetRowTitles(titles)
-#titles=["21","22","23"]
-#A.SetRowTitles(2,titles)
-#titles=["31","32","33"]
-#A.SetRowTitles(3,titles)
-
-#--------------------------------------------------------------------------#
-#------------------------ save the study ----------------------------------#
-#--------------------------------------------------------------------------#
-import os
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-print " -------  We will save to", file, "-----------"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-
-#--------------------------------------------------------------------------#
-#---------------------------- Open file -----------------------------------# 
-#--------------------------------------------------------------------------#
-
-print" -------------- Open  " + file + "-------------- " 
-
-openedStudy = batchmode_geompy.myStudyManager.Open(file)
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-# --- check attribute ---
-
-res,A=father.FindAttribute("AttributeTableOfReal")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeTableOfReal"
-
-A = A._narrow(SALOMEDS.AttributeTableOfReal)
-
-#check the table
-print "Common title : ",A.GetTitle()
-print "Rows titles : ",  A.GetRowTitles()
-rnb = A.GetNbRows() + 1
-for i in range(1, rnb):
-        b=A.GetRow(i)
-        print b
-
-cnb = A.GetNbColumns() + 1
-print "Columns title : ", A.GetColumnTitles()
-for i in range(1, cnb):
-        b=A.GetColumn(i)
-        print b
-
-titles=["ff","ss","tt"]
-A.SetRowTitles(titles)
-print "Rows titles : ",  A.GetRowTitles()
-
-titles=["ww","zz","cc"]
-A.SetColumnTitles(titles)
-print "Column titles : ",  A.GetColumnTitles()
-
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example23.html b/doc/salome/tui/KERNEL/exemple/Example23.html deleted file mode 100755 index 623170417..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example23.html +++ /dev/null @@ -1,35 +0,0 @@ - - - -Exemple - -
-import batchmode_salome
-#import SALOMEDS
-
-aStudy = batchmode_salome.myStudy    
-
-#Add new component 'User data'
-aBuilder = aStudy.NewBuilder()
-aComponent = aBuilder.NewComponent("User data")
-anAttr = aBuilder.FindOrCreateAttribute(aComponent, "AttributeName")
-anAttrName = anAttr._narrow(SALOMEDS.AttributeName) 
-anAttrName.SetValue("User data")
-
-
-#Add a new case 'Case1' to the component 'User data'
-aBuilder.AddDirectory("/User data/Case1")
-
-#Set a study context to '/User data/Case1'
-aStudy.SetContext("/User data/Case1")
-
-#Print the current study context
-print aStudy.GetContext()
-
-#Add a sub directory 'aSubCase' to 'Case1' (under the current context)
-aBuilder.AddDirectory("aSubCase")
-
-
-#Add a new case 'Case2' to component 'User data'
-aBuilder.AddDirectory("/User data/Case2")
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example3.html b/doc/salome/tui/KERNEL/exemple/Example3.html deleted file mode 100755 index 477d80cda..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example3.html +++ /dev/null @@ -1,68 +0,0 @@ - - - -Example - -
#%AttributeSequenceOfReal interface(creations/saving/restoring)%
-#% AttributeSequenceOfReal  : ChangeValue, Add,  Value,  Remove,  Length%
-#% SALOMEDS methods : FindOrCreateAttribute, SaveAs, FindComponent, FindAttribute, Open%
-
-#       create AttributeSequenceOfReal      
-#=================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeSequenceOfReal")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeSequenceOfReal attribute"
-A = A._narrow(SALOMEDS.AttributeSequenceOfReal)
-if A == None :
-        raise  RuntimeError, "_narrow returns None instead of AttributeSequenceOfReal pointer"
-
-A.Add(0.0293)
-A.Add(625.1e+2)
-A.Add(0.928e+100)
-A.Add(83.287)
-
-print "initial values ",A.Value(1), A.Value(2), A.Value(3), A.Value(4)
-A.Remove(3)
-print "after remove ", A.Value(1), A.Value(2), A.Value(3)
-A.ChangeValue(2,76.265)
-print "after second item change", A.Value(1), A.Value(2), A.Value(3)
-
-if A.Length() != 3:
-        print "Error : wrong length of SequenceOfReal"
-if A.Value(1) != 0.0293 or A.Value(2) != 76.265 or A.Value(3) != 83.287:
-        print "Error : wrong value of  AttributeSequenceOfReal"
-
-#      save / restore study      
-#=================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy=batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find AttributeSequenceOfReal
-#=================================
-
-res,A=father.FindAttribute("AttributeSequenceOfReal")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeSequenceOfReal"
-
-A = A._narrow(SALOMEDS.AttributeSequenceOfReal)
-
-if A.Length() != 3:
-        print "Error : wrong length of SequenceOfReal"
-if A.Value(1) != 0.0293 or A.Value(2) != 76.265 or A.Value(3) != 83.287:
-        print "Error : wrong value of  AttributeSequenceOfReal"
-print "after restoring ", A.Value(1), A.Value(2), A.Value(3)
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example4.html b/doc/salome/tui/KERNEL/exemple/Example4.html deleted file mode 100755 index 4539170b6..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example4.html +++ /dev/null @@ -1,66 +0,0 @@ - - - -Example - -
#%AttributeSequenceOfInteger interface(creations/saving/restoring)%
-#%SALOMEDS methods : FindOrCreateAttribute FindComponent FindAttribute Open Add SaveAs%
-#%AttributeSequenceOfInteger methods :  Value, Remove, Length%
-
-#       create AttributeSequenceOfInteger      
-#==========================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeSequenceOfInteger")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeSequenceOfInteger attribute"
-A = A._narrow(SALOMEDS.AttributeSequenceOfInteger)
-if A == None :
-        raise  RuntimeError, "Can't create AttributeSequenceOfInteger attribute"
-
-A.Add(100)
-A.Add(300)
-A.Add(500)
-A.Add(400)
-A.Add(700)
-
-A.Remove(3)
-A.ChangeValue(4,500)
-
-
-if A.Length() != 4:
-        print "Wrong length of SequenceOfInteger"
-if A.Value(1) != 100 or A.Value(2) != 300 or A.Value(3) != 400 or A.Value(4) != 700:
-        print "Wrong  value of  AttributeSequenceOfInteger"
-
-
-#      save / restore study      
-#=================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy=batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find AttributeSequenceOfInteger
-#======================================
-
-res,A=father.FindAttribute("AttributeSequenceOfInteger")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeSequenceOfInteger"
-
-A = A._narrow(SALOMEDS.AttributeSequenceOfInteger)
-
-if A.Length() != 4:
-        print "Wrong length of SequenceOfInteger"
-if A.Value(1) != 100 or A.Value(2) != 300 or A.Value(3) != 400 or A.Value(4) != 700:
-        print "Wrong  value of  AttributeSequenceOfInteger"
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example5.html b/doc/salome/tui/KERNEL/exemple/Example5.html deleted file mode 100755 index 79be2e442..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example5.html +++ /dev/null @@ -1,58 +0,0 @@ - - - -Example - -
#%AttributeName interface(creations/saving/restoring)%
-#%SALOMEDS methods : FindOrCreateAttribute,  SaveAs, FindComponent FindAttribute Open%
-#%Attribute methods : SetValue, Value%
-
-#              create AttributeName     
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeName")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A = A._narrow(SALOMEDS.AttributeName)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-A.SetValue("AttributesTesting")
-
-if A.Value() != "AttributesTesting":
-        print "Wrong  value of AttributeName"
-
-
-#      save / restore study      
-#=================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy = batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find AttributeName
-#======================================
-
-res,A=father.FindAttribute("AttributeName")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeName"
-
-A = A._narrow(SALOMEDS.AttributeName)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeName attribute"
-
-if A.Value() != "AttributesTesting":
-        print "Wrong  value of AttributeName"
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example6.html b/doc/salome/tui/KERNEL/exemple/Example6.html deleted file mode 100755 index 197c6b3b1..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example6.html +++ /dev/null @@ -1,56 +0,0 @@ - - - -Example - -
#%AttributeComment interface(creations/saving/restoring)%
-#%SALOMEDS methods : FindOrCreateAttribute, SaveAs FindComponent FindAttribute  Open%
-#%Attribute methods : Value, SetValue%
-
-#              create     AttributeComment 
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeComment")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeComment attribute"
-A = A._narrow(SALOMEDS.AttributeComment)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeComment attribute"
-
-A.SetValue("GEOM")
-
-
-#      save / restore study      
-#============================================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy = batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#      find    AttributeComment
-#============================================================
-
-res,A=father.FindAttribute("AttributeComment")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeComment"
-
-A = A._narrow(SALOMEDS.AttributeComment)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeComment attribute"
-
-if A.Value() != "GEOM":
-        "Error: wrong value of AttributeComment"
-
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example7.html b/doc/salome/tui/KERNEL/exemple/Example7.html deleted file mode 100755 index 9bf85152b..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example7.html +++ /dev/null @@ -1,55 +0,0 @@ - - - -Example - -
#%AttributePersistentRef interface(creations/saving/restoring)%
-#%SALOMEDS methods : FindOrCreateAttribute,  SaveAs, FindComponent FindAttribute Open%
-#%Attribute methods : SetValue, Value%
-
-#              create   AttributePersistentRef   
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributePersistentRef")
-if A == None :
-        raise  RuntimeError, "Can't create AttributePersistentRef attribute"
-A = A._narrow(SALOMEDS.AttributePersistentRef)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributePersistentRef attribute"
-
-A.SetValue("/tmp/test;1")
-
-#      save / restore study      
-#============================================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy = batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find AttributePersistentRef
-#============================================================
-
-res,A=father.FindAttribute("AttributePersistentRef")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributePersistentRef"
-
-A = A._narrow(SALOMEDS.AttributePersistentRef)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributePersistentRef attribute"
-
-if A.Value() != "/tmp/test;1":
-        "Error: wrong value of AttributePersistentRef"
-
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example8.html b/doc/salome/tui/KERNEL/exemple/Example8.html deleted file mode 100755 index db962290a..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example8.html +++ /dev/null @@ -1,64 +0,0 @@ - - - -Example - -
#%AttributeDrawable interface(creations/saving/restoring)%
-#%SALOMEDS methods : FindOrCreateAttribute, SaveAs, FindComponent, FindAttribute, Open%
-#%Attribute methods : SetDrawable, IsDrawable% 
-#--------------------------------------------------------------------------
-
-from batchmode_geompy import *
-import os
-
-#--------------------------------------------------------------------------
-#              create    AttributeDrawable  
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeDrawable")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeDrawable attribute"
-A = A._narrow(SALOMEDS.AttributeDrawable)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeDrawable attribute"
-
-A.SetDrawable(1)
-
-if A.IsDrawable() == 0:
-        "Error: wrong value of AttributeDrawable"
-
-
-#      save / restore study      
-#============================================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy=batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find   AttributeDrawable
-#============================================================
-
-res,A=father.FindAttribute("AttributeDrawable")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeDrawable"
-
-A = A._narrow(SALOMEDS.AttributeDrawable)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeDrawable attribute"
-
-if A.IsDrawable() == 0:
-        "Error: wrong value of AttributeDrawable"
-
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/exemple/Example9.html b/doc/salome/tui/KERNEL/exemple/Example9.html deleted file mode 100755 index 6809dab3c..000000000 --- a/doc/salome/tui/KERNEL/exemple/Example9.html +++ /dev/null @@ -1,59 +0,0 @@ - - - -Example - -
#%AttributeSelectable interface(creations/saving/restoring)%
-#%SALOMEDS methods: FindOrCreateAttribute, SaveAs, FindComponent, FindAttribute, Open%
-#%Attribute methods: SetSelectable, IsSelectable%
-
-#              create    AttributeSelectable  
-#===========================================================
-A = batchmode_geompy.myBuilder.FindOrCreateAttribute(batchmode_geompy.father, "AttributeSelectable")
-if A == None :
-        raise  RuntimeError, "Can't create AttributeSelectable attribute"
-A = A._narrow(SALOMEDS.AttributeSelectable)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeSelectable attribute"
-
-A.SetSelectable(1)
-
-if A.IsSelectable() == 0:
-        "Error: wrong value of AttributeSelectable"
-
-
-#      save / restore study      
-#============================================================
-str= os.getenv("TmpDir")
-if str == None:
-        str = "/tmp"
-file = str+"/test.hdf"
-
-batchmode_geompy.myStudyManager.SaveAs(file, batchmode_geompy.myStudy)
-openedStudy = batchmode_geompy.myStudyManager.Open(file);
-
-if openedStudy == None:
-        raise  RuntimeError, "Can't open saved study!"
-
-father = openedStudy.FindComponent("GEOM")
-if father is None:
-         raise  RuntimeError, "Geom component is not found!  Wrong study is opened." 
-
-
-#     find   AttributeSelectable
-#============================================================
-
-res,A=father.FindAttribute("AttributeSelectable")
-if res == 0 or A == None:
-        raise  RuntimeError, "Error:  not found AttributeSelectable"
-
-A = A._narrow(SALOMEDS.AttributeSelectable)
-
-if A == None :
-        raise  RuntimeError, "Can't create AttributeSelectable attribute"
-
-if A.IsSelectable() == 0:
-        "Error: wrong value of AttributeSelectable"
-
-
\ No newline at end of file diff --git a/doc/salome/tui/KERNEL/sources/Application-About1.jpg b/doc/salome/tui/KERNEL/sources/Application-About1.jpg deleted file mode 100755 index cf7ab8ba0..000000000 Binary files a/doc/salome/tui/KERNEL/sources/Application-About1.jpg and /dev/null differ diff --git a/doc/salome/tui/KERNEL/sources/application.gif b/doc/salome/tui/KERNEL/sources/application.gif deleted file mode 100644 index 0b05d5c18..000000000 Binary files a/doc/salome/tui/KERNEL/sources/application.gif and /dev/null differ diff --git a/doc/salome/tui/KERNEL/sources/application.jpg b/doc/salome/tui/KERNEL/sources/application.jpg deleted file mode 100755 index a6979ab99..000000000 Binary files a/doc/salome/tui/KERNEL/sources/application.jpg and /dev/null differ diff --git a/doc/salome/tui/KERNEL/sources/doxygen.css b/doc/salome/tui/KERNEL/sources/doxygen.css deleted file mode 100755 index 88e613d23..000000000 --- a/doc/salome/tui/KERNEL/sources/doxygen.css +++ /dev/null @@ -1,170 +0,0 @@ -H1 { - text-align: center; -} - -CAPTION { - font-weight: bold -} - -/* Link in the top navbar */ -A.qindex {} - -A.qindexRef {} - -/* Link to any cross-referenced Doxygen element */ -A.el { - text-decoration: none; - font-weight: bold -} - -A.elRef { - font-weight: bold -} - -/* Link to any cross-referenced Doxygen element inside a code section - (ex: header) -*/ -A.code { - text-decoration: none; - font-weight: normal; - color: #4444ee -} - -A.codeRef { - font-weight: normal; - color: #4444ee -} - -A:hover { - text-decoration: none; - background-color: lightblue -} - -DL.el { - margin-left: -1cm -} - -/* A code fragment (ex: header) */ -DIV.fragment { - width: 100%; - border: none; - background-color: #CCCCCC -} - -/* In the alpha list (coumpound index), style of an alphabetical index letter */ -DIV.ah { - background-color: #CCCCCC; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px -} - -/* Method name (+ type) */ -TD.md { - background-color: lightblue; - font-weight: bold; -} - -/* Method parameter (some of them) */ -TD.mdname1 { - background-color: lightblue; - font-weight: bold; color: #602020; -} - -/* Method parameter (some of them) */ -TD.mdname { - background-color: lightblue; - font-weight: bold; - color: #602020; - width: 600px; -} - -/* Separator between methods group (usually empty, seems not supported by IE) */ -DIV.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold -} - -DIV.groupText { - margin-left: 16px; - font-style: italic; - font-size: smaller -} - -BODY { - background: #FFFFFF; -} - -/*div.div-page { - background-color: #FFFFFF; - margin-left: 1em; - margin-right: 1em; - margin-top: 1em; - margin-bottom: 0.1em; - - padding-left: 1em; - padding-right: 1em; - padding-top: 0.5em; - padding-bottom: 0.5em; - - border: 2px solid #0D299A; - border-width: 2px; - border-color: #0D299A; -}*/ - -div.tabs { - text-align: justify; - margin-left : 2px; - margin-right : 2px; - margin-top : 2px; - margin-bottom : 2px - font-weight: bold; - color: #FFFFFF; -} - -DIV.div-footer { - margin-left: 1em; - margin-right: 1em; - margin-bottom: 0.2em; - text-align: right; - font-size: 9pt; -} - -/* In File List, Coumpound List, etc, 1st column of the index */ -TD.indexkey { - background-color: #CCCCCC; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} - -/* In File List, Coumpound List, etc, 2nd column of the index */ -TD.indexvalue { - background-color: #CCCCCC; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} - -span.keyword { color: #008000 } -span.keywordtype { color: #604020 } -span.keywordflow { color: #e08000 } -span.comment { color: #800000 } -span.preprocessor { color: #806020 } -span.stringliteral { color: #002080 } -span.charliteral { color: #008080 } diff --git a/doc/salome/tui/KERNEL/sources/footer.html b/doc/salome/tui/KERNEL/sources/footer.html deleted file mode 100755 index 56d52a61a..000000000 --- a/doc/salome/tui/KERNEL/sources/footer.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - -
-
Copyright © 2003-2007 CEA, EDF
-
- - diff --git a/doc/salome/tui/KERNEL/sources/html_comments.gif b/doc/salome/tui/KERNEL/sources/html_comments.gif deleted file mode 100755 index f0c0f0b47..000000000 Binary files a/doc/salome/tui/KERNEL/sources/html_comments.gif and /dev/null differ diff --git a/doc/salome/tui/KERNEL/sources/kernel_about_4.png b/doc/salome/tui/KERNEL/sources/kernel_about_4.png deleted file mode 100644 index 5c9c09a79..000000000 Binary files a/doc/salome/tui/KERNEL/sources/kernel_about_4.png and /dev/null differ diff --git a/doc/salome/tui/KERNEL/sources/logocorp.gif b/doc/salome/tui/KERNEL/sources/logocorp.gif deleted file mode 100755 index 7697e0837..000000000 Binary files a/doc/salome/tui/KERNEL/sources/logocorp.gif and /dev/null differ diff --git a/doc/salome/tui/KERNEL/sources/myheader.html b/doc/salome/tui/KERNEL/sources/myheader.html deleted file mode 100755 index bddc997ec..000000000 --- a/doc/salome/tui/KERNEL/sources/myheader.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - $title - - - -
-
-SALOME documentation central -
-
diff --git a/doc/salome/tui/KERNEL/sources/occ.gif b/doc/salome/tui/KERNEL/sources/occ.gif deleted file mode 100755 index ce017c8ae..000000000 Binary files a/doc/salome/tui/KERNEL/sources/occ.gif and /dev/null differ diff --git a/doc/salome/tui/KERNEL/sources/static/Link.gif b/doc/salome/tui/KERNEL/sources/static/Link.gif deleted file mode 100755 index 75330d0c8..000000000 Binary files a/doc/salome/tui/KERNEL/sources/static/Link.gif and /dev/null differ diff --git a/doc/salome/tui/KERNEL/sources/static/SObject.gif b/doc/salome/tui/KERNEL/sources/static/SObject.gif deleted file mode 100755 index 1d4e9cb24..000000000 Binary files a/doc/salome/tui/KERNEL/sources/static/SObject.gif and /dev/null differ diff --git a/doc/salome/tui/KERNEL/sources/static/Study_Struct.gif b/doc/salome/tui/KERNEL/sources/static/Study_Struct.gif deleted file mode 100755 index bc0ce35be..000000000 Binary files a/doc/salome/tui/KERNEL/sources/static/Study_Struct.gif and /dev/null differ diff --git a/doc/salome/tui/KERNEL/sources/static/doxygen.css b/doc/salome/tui/KERNEL/sources/static/doxygen.css deleted file mode 100755 index 88e613d23..000000000 --- a/doc/salome/tui/KERNEL/sources/static/doxygen.css +++ /dev/null @@ -1,170 +0,0 @@ -H1 { - text-align: center; -} - -CAPTION { - font-weight: bold -} - -/* Link in the top navbar */ -A.qindex {} - -A.qindexRef {} - -/* Link to any cross-referenced Doxygen element */ -A.el { - text-decoration: none; - font-weight: bold -} - -A.elRef { - font-weight: bold -} - -/* Link to any cross-referenced Doxygen element inside a code section - (ex: header) -*/ -A.code { - text-decoration: none; - font-weight: normal; - color: #4444ee -} - -A.codeRef { - font-weight: normal; - color: #4444ee -} - -A:hover { - text-decoration: none; - background-color: lightblue -} - -DL.el { - margin-left: -1cm -} - -/* A code fragment (ex: header) */ -DIV.fragment { - width: 100%; - border: none; - background-color: #CCCCCC -} - -/* In the alpha list (coumpound index), style of an alphabetical index letter */ -DIV.ah { - background-color: #CCCCCC; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px -} - -/* Method name (+ type) */ -TD.md { - background-color: lightblue; - font-weight: bold; -} - -/* Method parameter (some of them) */ -TD.mdname1 { - background-color: lightblue; - font-weight: bold; color: #602020; -} - -/* Method parameter (some of them) */ -TD.mdname { - background-color: lightblue; - font-weight: bold; - color: #602020; - width: 600px; -} - -/* Separator between methods group (usually empty, seems not supported by IE) */ -DIV.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold -} - -DIV.groupText { - margin-left: 16px; - font-style: italic; - font-size: smaller -} - -BODY { - background: #FFFFFF; -} - -/*div.div-page { - background-color: #FFFFFF; - margin-left: 1em; - margin-right: 1em; - margin-top: 1em; - margin-bottom: 0.1em; - - padding-left: 1em; - padding-right: 1em; - padding-top: 0.5em; - padding-bottom: 0.5em; - - border: 2px solid #0D299A; - border-width: 2px; - border-color: #0D299A; -}*/ - -div.tabs { - text-align: justify; - margin-left : 2px; - margin-right : 2px; - margin-top : 2px; - margin-bottom : 2px - font-weight: bold; - color: #FFFFFF; -} - -DIV.div-footer { - margin-left: 1em; - margin-right: 1em; - margin-bottom: 0.2em; - text-align: right; - font-size: 9pt; -} - -/* In File List, Coumpound List, etc, 1st column of the index */ -TD.indexkey { - background-color: #CCCCCC; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} - -/* In File List, Coumpound List, etc, 2nd column of the index */ -TD.indexvalue { - background-color: #CCCCCC; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} - -span.keyword { color: #008000 } -span.keywordtype { color: #604020 } -span.keywordflow { color: #e08000 } -span.comment { color: #800000 } -span.preprocessor { color: #806020 } -span.stringliteral { color: #002080 } -span.charliteral { color: #008080 } diff --git a/doc/salome/tui/KERNEL/sources/static/examples_Kernel.html b/doc/salome/tui/KERNEL/sources/static/examples_Kernel.html deleted file mode 100755 index beb74ae4f..000000000 --- a/doc/salome/tui/KERNEL/sources/static/examples_Kernel.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - Main Page - - - - -   -
- - - - - - - - -
- - -
-
- -

Examples

- Package SALOME_ModuleCatalog
-
-      interface SALOME_ModuleCatalog::ModuleCatalog
-
-Package SALOME
-
-   
interface SALOME::Session
-
-Package Engines
-   

-    interface Engines::Container
-

-   
-   

-
-
    SALOME_ModuleCatalog::ModuleCatalog interface -
-
-
-

-
-

-Acomponent -GetComponent (in string componentname)
-
-See the example below
-
-
-
-
SALOME::Session interface

-

-
-GetInterface (), StopSession () raises (GUIActive, RunningStudies)
-
-Stop session and restart GUI application:
-
-mySession.StopSession()
-
-mySession.GetInterface()
-
-
-
Engines::Container -interface
-
-
-
Component -load_impl (in string nameToRegister, in string componentName)
-
-Load component with defined component name:
-
-compinfo = module_catalog.GetComponent(componentName)
-
- try:
-    machineName = theComputer # name of machine
-    path = compoinfo.GetPathPrefix(machineName) + "/"
- except SALOME_ModuleCatalog.NotFound, ex:
-    MESSAGE( "machine " + machineName + " not found in Module -Catalog" )
-    MESSAGE( "trying localhost" )
-    try:
-    path = compoinfo.GetPathPrefix("localhost") + "/"
-    except SALOME_ModuleCatalog.NotFound, ex:
-    path = ""
-
-implementation = path + "lib" + componentName + "Engine.so"
-MESSAGE( "Trying to load " + implementation )
-
- try:
-
    component = container.load_impl(componentName, -implementation) # Loads into the container a new component, registers -it and starts it's CORBA servant.
-
-    MESSAGE( "component " + component._get_instanceName() -+ " launched !" )
-    return component
-except:
-    MESSAGE( "component " + componentName + " NOT launched -!" )
-
-
-
-
-
-
-
-
-
- -
-
-
- - diff --git a/doc/salome/tui/KERNEL/sources/static/examples_Life_cycle.html b/doc/salome/tui/KERNEL/sources/static/examples_Life_cycle.html deleted file mode 100755 index 080112eb4..000000000 --- a/doc/salome/tui/KERNEL/sources/static/examples_Life_cycle.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - Main Page - - - - -   -
- - - - - - - - -
- - -
-
- -

Examples

- //There is a CXX example of LifeCycleCORBA using
-

-#include CORBA_CLIENT_HEADER(TestComponent)
-#include "SALOME_NamingService.hxx"
-#include "SALOME_LifeCycleCORBA.hxx"
-
-int main (int argc, char * argv[]){
-  try {
-      // Initializing omniORB
-
      CORBA::ORB_var orb = CORBA::ORB_init(argc, -argv);
-   
-      // Obtain a reference -to the root POA
-
      CORBA::Object_var obj = orb->resolve_initial_references("RootPOA") -;
-      PortableServer::POA_var poa = PortableServer::POA::_narrow(obj) -;
-   
-      SALOME_NamingService _NS(orb) ;
-
-      SALOME_LifeCycleCORBA _LCC(&_NS) ;
-
-      Engines::Component_var myComponent = _LCC.FindOrLoad_Component("FactoryServerPy","TestComponentPy");
-       if(!CORBA::is_nil(myComponent)){
-          Engines::TestComponent_var -myConcreateComponent = TestComponent::_narrow(myComponent);
-          //do something -what you like with the interface
-          ...
-
          return 0;
-       }
-    }
-  catch(CORBA::COMM_FAILURE& ex){
-      cout<<"Caught system exception COMM_FAILURE --- unable to contact the object.\n";
-  }catch(CORBA::SystemException&){
-      cout<<"Caught a CORBA::SystemException.\n";
-  }catch(CORBA::Exception&){
-      cout<<"Caught CORBA::Exception.\n";
-  }catch(...){
-      cout<<"Caught unknown exception.\n";
-  }
-  return 1;
-}
-
-#The example may be rewritten on Python like this:
-

-from omniORB import CORBA
-from SALOME_TestComponent import *
-from SALOME_NamingServicePy import *
-from LifeCycleCORBA import *
-
-try:
-    orb = CORBA.ORB_init(sys.argv,CORBA.ORB_ID)
-    _NS = SALOME_NamingService(orb)
-    _LCC = SALOME_LifeCycleCORBA(orb)
-
-     myComponent = _LCC.FindOrLoadComponent("FactoryServerPy","TestComponentPy");
-     myConcreatComponent = myComponent._narrow(TestComponent)
-    if myConcreatComponent is not None :
-        //do something what you like with the -interface
-         ...
-
        return 0
-    }
-except CosNaming.NamingContext.NotFound, e :
-    print "Caught exception: Naming Service can't found Logger"
-except CORBA.COMM_FAILURE, e:
-    print "Caught CORBA::SystemException CommFailure"
-except CORBA.SystemException, e:
-    print "Caught CORBA::SystemException."
-except CORBA.Exception, e:
-    print "Caught CORBA::Exception."
-except Exception, e:
-    print "Caught unknown exception."
-  
-
-
- - diff --git a/doc/salome/tui/KERNEL/sources/static/examples_Naming.html b/doc/salome/tui/KERNEL/sources/static/examples_Naming.html deleted file mode 100755 index ac08a6753..000000000 --- a/doc/salome/tui/KERNEL/sources/static/examples_Naming.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - Main Page - - - - -   -
- - - - - - - - -
- - -
-
- -

Examples

- #There is a python example of using SALOME_NamingService
-

-from omniORB import CORBA
-from time import sleep
-from LifeCycleCORBA import *
-from SALOME_NamingServicePy import *
-
-# initialise the ORB
-
orb = CORBA.ORB_init([''], CORBA.ORB_ID)
-
-# create an LifeCycleCORBA instance
-
myLifeCycleCORBA = LifeCycleCORBA(orb)
-
-#create a naming service instance
-
naming_service = SALOME_NamingServicePy_i(orb)
-
-mySession = myNamingService.Resolve("/Kernel/Session")
-mySession.GetInterface()
-sleep(10)
-myLocalVisu = myLifeCycleCORBA.FindOrLoadComponent("FactoryServer", "Visu")
-
-
-//There is some part of a code written by C++
-

-SALOME_NamingService aNamingService(orb);
-CORBA::Object_ptr anObject = aNamingService.Resolve("/Kernel/Session");
-SALOME::Session_var aSession = SALOME::Session::_narrow(anObject);
-Engines::Component_var aComponent = aSession->GetVisuGen();
-myVisuGen = VISU::VISU_Gen::_narrow(aComponent);
-
- - diff --git a/doc/salome/tui/KERNEL/sources/static/examples_Study.html b/doc/salome/tui/KERNEL/sources/static/examples_Study.html deleted file mode 100755 index 859f6297f..000000000 --- a/doc/salome/tui/KERNEL/sources/static/examples_Study.html +++ /dev/null @@ -1,790 +0,0 @@ - - - - - - - - Main Page - - - - -   -
- - - - - - - - -
- - -
-
- -

Examples

-
-
- -
      Interfaces:
-
-       SALOMEDS::Study
-       SALOMEDS::StudyBuilder
-       SALOMEDS::StudyManager
-       SALOMEDS::SObject
-      SALOMEDS::SComponent
-       SALOMEDS::SComponentIterator
-       SALOMEDS::ChildIterator
-
      SALOMEDS::AttributeComment
-      
-
-
-
-
- -
      SALOMEDS::Study interface
-
- -

-
-
-
-
SComponent FindComponent( -in string aComponentName )
-
- Find GEOMETRY component in the opened study by its name:

-
-     str= os.getenv("TmpDir")
-     if str == None:
-         str = "/tmp"
-     file = str+"/test.hdf"
-
-     openedStudy=batchmode_geompy.myStudyManager.Open(file)
-
-     father = openedStudy.FindComponent("GEOM")
-     if father is None:
-          raise  RuntimeError, "Geom - component is not found!  Wrong study is opened."
-
-
-
- -
SObject FindObject ( in string -anObjectName )
-
- Find the SObject of the box by its NameAttribute "box":
-
- -

-
- -
box = openedStudy.FindObject("box")
- if box is None :
-     raise  RuntimeError, "box was not found! Wrong -study is opened."
-
-
- SObject FindObjectID - ( in ID aObjectID -)
- #result: "/User data/Case1".
-
Find - the SObject of the box by its ID "0:1:1:2":
-
-
- -
box =openedStudy.FindObjectID("0:1:1:2")
-
- -
if box is None :
-     raise  RuntimeError, "box was not found! Wrong -ID is used."
-
-
- SObject FindObjectIOR - ( in ID  aObjectIOR -)
-
- Find the SObject of the result on imported MED file -by it's IOR:
-
- theResult = myVisu.ImportFile(medFile)
- aSObj = myStudy.FindObjectIOR(theResult.GetID())
-
-
- SObject - FindObjectByPath ( in string thePath )
-
- Find SObject by path to it:
-
- # create new auxiliary componen
t
- aComponent = myStudyBuilder.NewComponent("Virtual Component")
-
- # create auxiliary subtree
- aPath = "/Virtual Component/Case1"
- myStudyBuilder.AddDirectory(aPath)
-
- aSObj = myStudy.FindObjectByPath(aPath)
-
-
- void SetContext ( in string thePath) / - string GetContext ()
-
- Set context of the study to the created case and get it for printing:
-
- aComponent = myStudyBuilder.NewComponent("User data")
- anAttr = aBuilder.FindOrCreateAttribute(aComponent, "AttributeName")
- anAttrName = anAttr._narrow(SALOMEDS.AttributeName)
- anAttrName.SetValue("User data")
-
- #Add a new case 'Case1' to the component 'User data'
- aBuilder.AddDirectory("/User data/Case1")
-
- #Set a study context to '/User data/Case1'
- aStudy.SetContext("/User data/Case1")
-
- #Print the current study context
- print aStudy.GetContext()
-
-
#result: "/User data/Case1".

-
-
- ChildIterator - NewChildIterator ( in SObject aSO )
-
- Import med file and print all mesh names that this file includes -(mesh is a child of the result of imported file):
-
- # define file name
- aFileName = datadir + "fra.med"
-
- # import file in visu module and get result
- theVisu = batchmode_visu.myVisu
- aResult = theVisu.ImportFile(aFileName)
- if aResult is None : raise RuntimeError, "Error"
- else : print "OK"
-  
- # get current study and its' SObject        -
- myLocalStudy = theVisu.GetCurrentStudy()
- aSObj = myLocalStudy.FindObjectIOR(aResult.GetID())
- if aSObj is None : raise RuntimeError, "Error"
- else : print "OK"
-
- # create iterator by SObject of the current study
- aMeshIter = myLocalStudy.NewChildIterator(aSObj);
-
- # iterating in the current study (with the help of created iterator) -to find all mesh names  
- while aMeshIter.More() :
-         aMeshSObj = aMeshIter.Value()
-         aMeshIter.Next()
-         anAttr = aMeshSObj.FindAttribute("AttributeName")[1]
-         if anAttr is None :
-             aMeshSObj - = aMeshIter.Value()
-             aMeshIter.Next()
-             anAttr - = aMeshSObj.FindAttribute("AttributeName")[1]
-         anAttr = anAttr._narrow(SALOMEDS.AttributeName);
-         aMeshName = anAttr.Value()
-         print "  ", aMeshName
-
-
- SComponentIterator -NewComponentIterator ()
-
- Find the number an names of all components in the study:
-
- aCompItr = myStudy.NewComponentIterator()
-
- compNb = 0
- while aCompItr.More():
-     aComp = aCompItr.Value()
-     aName = aComp.ComponentDataType()
-     print "Component name = ", aName
-     compNb += 1
-     aCompItr.Next()
-
-
- StudyBuilder -NewBuilder ()
-
-
-
- Create a new StudyBuilder (uses to add or modify an object in the -study ):
-
- myBuilder = myStudy.NewBuilder()
-
-
- AttributeStudyProperties -GetProperties ()
-
- Get the attribute, which contains the properties of the study, and -change properties of the study by changing it:
-
- aProperties = myStudy.GetProperties()
- if aProperties == None :
-     raise  RuntimeError, "Can't create AttributeStudyProperties -attribute"
- aProperties = aProperties._narrow(SALOMEDS.AttributeStudyProperties)
-
- A = aProperties
-
- # print stydy properties
- print "A.GetUserName()= ", A.GetUserName()
- res,mm,hh,dd,mnth,yy=A.GetCreationDate()
- print "A.GetCreationDate() = ", mm,hh,dd,mnth,yy
- print "A.GetCreationMode() = ", A.GetCreationMode()
- print "A.IsModified() = ", A.IsModified()
- print "A.IsLocked() = ", A.IsLocked()
-
- # change the properties of the study
- if A.IsLocked() == 0 :
-     A.SetUserName("tester"); print 'A.SetUserName("tester"), -A.GetUserName() = ', A.GetUserName()
-     A.SetCreationDate(11,11,11,11,2002); print 'A.SetCreationDate(11,11,11,11,2002), -A.GetCreationDate() =', A.GetCreationDate()
-     print "A.IsModified() = ", A.IsModified()
- A.SetLocked(1)
-
-
- boolean IsModified ()
-
- Find if study is modified:
-
- IsModified = myStudy.IsModified()
-
- if IsModified == 1:
-     print "The study is modified and not saved"
-
-
- boolean IsEmpty ()
-
- Find if study is empty:
-
- IsEmpty = myStudy.IsEmpty()
-
- if IsEmpty == 1:
-     print "The study is empty"
-
-
-
-
- -
SALOMEDS::StudyBuilder -interface
-
-
-
-
- SComponent -NewComponent ( in string ComponentDataType )
-
- Create Geometry SComponent:
-
- myBuilder = myStudy.NewBuilder()
- father = myBuilder.NewComponent("GEOM")
-
-
- void DefineComponentInstance ( in SComponent aComponent, -in Object ComponentIOR )

-
- Define the instance to the created geometry component:
-
- # find geom component
- myLCC = batchmode_salome.lcc
- geom = myLCC.FindOrLoadComponent("FactoryServer", "Geometry")
- geom = geom._narrow(GEOM.GEOM_Gen)
- geom.GetCurrentStudy(myStudyId)
-
- myBuilder = myStudy.NewBuilder()
-
- father = myBuilder.NewComponent("GEOM")
- myBuilder.DefineComponentInstance(father,geom)
-
-
- SObject -NewObject ( in SObject theFatherObject -)
-
- Create box and add it to study:
-
- from batchmode_geompy import *
-
- # create a box
- box = geom.MakeBox(0,0,0,100,100,150)
-
- ior = orb.object_to_string(box)
- box._set_Name(ior)     
-
- # create Geometry SComponent
- father = myBuilder.NewComponent("GEOM")
- A1 = myBuilder.FindOrCreateAttribute(father, "AttributeName");
- FName = A1._narrow(SALOMEDS.AttributeName)
- FName.SetValue("Geometry")
- myBuilder.DefineComponentInstance(father,geom)
-
- # add box to Study
- myBuilder.NewCommand()
- newObj = myBuilder.NewObject(father)
- A1 = myBuilder.FindOrCreateAttribute(newObj, "AttributeIOR");
- ObjIOR = A1._narrow(SALOMEDS.AttributeIOR)
- ObjIOR.SetValue(ior)
- A2 = myBuilder.FindOrCreateAttribute(newObj, "AttributeName");
- ObjName = A2._narrow(SALOMEDS.AttributeName)
- ObjName.SetValue("Common_operation")
- id = newObj.GetID()
- box._set_StudyShapeId(id)
- myBuilder.CommitCommand()
-
-
- void RemoveObject ( in SObject anObject )
-
- # Remove CutPlanes SObject from the StudyBuilder (delete cutplanes):
-
- SObj=myStudy.FindObjectIOR(cutplanes.GetID())
- myBuilder = newStudy.NewBuilder()
- myBuilder.RemoveObject(SObj)
-
-
- void LoadWith ( in SComponent sco, in -Driver Engine -) raises (SALOME::SALOME_Exception)

-
- # Load Visu component:
-
- myBuilder = openedStudy.NewBuilder()
- SCom=openedStudy.FindComponent("VISU")
- myBuilder.LoadWith(SCom ,myVisu)
-
-
- GenericAttribute -FindOrCreateAttribute ( in SObject anObject,  -in string aTypeOfAttribute)
-
- Create AttributeName attribute for created component an set value -to it:
-
- myBuilder = myStudy.NewBuilder()
- aComponent = myBuilder.NewComponent("User data")
-
- anAttr = myBuilder.FindOrCreateAttribute(aComponent, "AttributeName")
-
- anAttrName = anAttr._narrow(SALOMEDS.AttributeName)
- anAttrName.SetValue("User data")
-
-
- boolean FindAttribute ( in SObject anObject, out GenericAttribute -anAttribute, in string aTypeOfAttribute )
-
-
Find AttributeName attribute of the field and print the -field name:
-
- aFieldSObj  = myStudy.FindObject("Head, -")
-
- myStudyBuilder.FindAttribute( aFieldSObj, anAttr, "AttributeName")
- if res == 0:
-     raise  RuntimeError, "Error:  Attribute not -found"
-
- anAttr = anAttr._narrow(SALOMEDS.AttributeName);
- aFieldName = anAttr.Value()
- print "      ", aFieldName
-
-
- void RemoveAttribute ( in SObject anObject, in -string aTypeOfAttribute )
-
-
Remove AttributeSelectable attribute of the field SObject:
-
-
aFieldSObj  = myStudy.FindObject("Head, -")
-
- myStudyBuilder.RemoveAttribute( aFieldSObj, "AttributeSelectable")
-
-
-
void Addreference ( in  SObject -anObject, in  SObject theReferencedObject -)

-
- Create a reference between created SObject and the existing field:
-
- aFieldSObj  = myStudy.FindObject("Head, -")
- aNewSObj = myBuilder.NewObject(myVisu)
-
- myBuilder.Addreference(aFieldSObj, aNewSObj)
-
-
-
void -NewCommand ()
-
-
Create new command wich containes actions for changing the -properties of the study:
-
-
A = myStudy.GetProperties()
- A = aProperties._narrow(SALOMEDS.AttributeStudyProperties)
-
- myBuilder = myStudy.NewBuilder()
-
- myBuilder.NewCommand() # creates a new command
-
- # change the properties of the study
- if A.IsLocked() == 0 :
-     A.SetUserName("tester"); print 'A.SetUserName("tester"), -A.GetUserName() = ', A.GetUserName()
-     A.SetCreationDate(11,11,11,11,2002); print 'A.SetCreationDate(11,11,11,11,2002), -A.GetCreationDate() =', A.GetCreationDate()
-     print "A.IsModified() = ", A.IsModified()
- A.SetLocked(1)
-
-
myBuilder.CommitCommand() # commits all actions declared -within the created command
-
-
- void CommitCommand()
-

-
See the end of the previous example
-
-
- void AbortCommand ()

-
- Create new command wich containes actions for changing -the properties of the study, cancel all declared actions:
-
- A = myStudy.GetProperties()
- A = aProperties._narrow(SALOMEDS.AttributeStudyProperties)
-
- myBuilder = myStudy.NewBuilder()
-
- myBuilder.NewCommand() # creates a new command
-
- # change the properties of the study
- if A.IsLocked() == 0 :
-     A.SetUserName("tester"); print 'A.SetUserName("tester"), -A.GetUserName() = ', A.GetUserName()
-     A.SetCreationDate(11,11,11,11,2002); print 'A.SetCreationDate(11,11,11,11,2002), -A.GetCreationDate() =', A.GetCreationDate()
-     print "A.IsModified() = ", A.IsModified()
- A.SetLocked(1)
-
-
myBuilder.AbortCommand() # abort all actions declared -within the created command
-
-
- void Undo () raises (LockProtection) -,
- void Redo () raises (LockProtection)
-
- Create new command wich containes actions for changing -the properties of the study,
- cancel all declared actions and then redo it with the help of undo/redo -mechanism:

-
- A = myStudy.GetProperties()
- A = aProperties._narrow(SALOMEDS.AttributeStudyProperties)
-
- myBuilder = myStudy.NewBuilder()
-
- myBuilder.NewCommand() # creates a new command
-
- # change the properties of the study
- if A.IsLocked() == 0 :
-     A.SetUserName("tester"); print 'A.SetUserName("tester"), -A.GetUserName() = ', A.GetUserName()
-     A.SetCreationDate(11,11,11,11,2002); print 'A.SetCreationDate(11,11,11,11,2002), -A.GetCreationDate() =', A.GetCreationDate()
-     print "A.IsModified() = ", A.IsModified()
- A.SetLocked(1)
-
-
myBuilder.CommitCommand() # commits all actions declared -within the created command
-
-
myBuilder.Undo() # cancels all actions of the command
-
-
myBuilder.Redo() # redoes all actions of the command
-
-
-
-
-
SALOMEDS::StudyManager -interface
-
-
-
-
-
Study -NewStudy ( in string study_name )
-
- Create the study with the name "Test_Study":

-
- myNewStudy = myStudyManager.NewStudy("Test_Study")
-
-
- Study Open -( in URL -aStudyUrl ) raises (SALOME::SALOME_Exception)
-
- Open the study saved in the HDF file:
-
- file = 'saved_study.hdf'
-
- openedStudy=myStudyManager.Open(file)
-
- if openedStudy == None:
-     raise  RuntimeError, "Can't open saved study!"
-
-
- void Save (in Study aStudy, in boolean -theMultifile )
-
-
Open study, import med file into it and save with the old -path and filename:
-
-
file = "saved_study.hdf"
- myMedFile ="medfile.med"
-
- openedStudy=myStudyManager.Open(file)
-
- myVisu.SetCurrentStudy(openedStudy)
- myResult = myVisu.ImportFile(myMedFile)
-
- myStudyManager.Save(openedStudy, 0)
-
-
- void SaveAs ( in URL -aUrl, in  Study aStudy, - 
in boolean theMultifile -)
-
- Open study from the file and resave it in several files (using -Multifile option while saving)
-
-
file = "saved_study.hdf"
- newfile = "resaved_study.hdf"
-
- openedStudy=myStudyManager.Open(file)
- myStudyManager.SaveAs(newfile, openedStudy, 1)
-
-
- void Close ( in  Study aStudy )

-
- Close just opened study:
-
- file = "saved_study.hdf"
-
- openedStudy=myStudyManager.Open(file)
- myStudyManager.Close(openedStudy)
-
-
-
- -
SALOMEDS::SObject interface
-
-
-
-
- ID GetID ()
-
- Create new SObject and get its ID:
-
- mySObj = myBuilder.NewObject(myFather)
-
- myID =  mySObj.GetID()
-
-
- SComponent -GetFatherComponent ()
-
- Get father component of the SObject:
-
- myFather = mySObj.GetFatherComponent();
-
-
- boolean FindAttribute ( out GenericAttribute anAttribute, -in string aTypeOfAttribute )
-
- Find the AttributeName attribute of the field:
-
- aFieldSObj  = myStudy.FindObject("Head, -")
-
- res = aFieldSObj.FindAttribute( anAttr, "AttributeName")
- if res == 0:
-     raise  RuntimeError, "Error:  Attribute not -found"
-
-
- ListOfAttributes -GetAllAttributes ()
-
- Get list of all attributes of the SObject, find the number of attributes:
-
- attrs = mySObj.GetAllAttributes()
- aLen = len(attrs) # number of attributes
-
-
-
-
- -
SALOMEDS::SComponent interface
-
-
-
-
- string ComponentDataType ()
-
- Print names of all components wich -the study contains:
-
- aCompItr = myStudy.NewComponentIterator()
-
- while aCompItr.More():
-     aComp = aCompItr.Value()
-     aName = aComp.ComponentDataType()
-     print "Component name = ", aName
-     aCompItr.Next()
-
-
- Other methods are inherited.
-
-
-
-
- -
SALOMEDS::SComponentIterator - interface
-
-
-
-
- boolean More (), void Next (), SComponent Value -()
-
- See another -example
-
-   
-
- -
SALOMEDS::ChildIterator - interface
-
-
-
-
- boolean More () , void Next (), SObject Value ()
-
- Print all mesh names of imported MED file with the help of ChildIterator:
-
- aResult = myVisu.ImportFile("MedFile.med")
-        
- myStudy = theVisu.GetCurrentStudy()
- aSObj = myLocalStudy.FindObjectIOR(aResult.GetID())
-
- aMeshIter = myLocalStudy.NewChildIterator(aSObj);  # creating new -child iterator
-
- while aMeshIter.More() :               -                      -           # check if one more -child level exists.
-         aMeshSObj = aMeshIter.Value() -                  -         # returns the SObject corresponding -to the current object found by the iterator.  
-         aMeshIter.Next()     -                      -                      -   # passes the iterator to the next level.
-         anAttr = aMeshSObj.FindAttribute("AttributeName")[1]
-         if anAttr is None :
-                 -aMeshSObj = aMeshIter.Value()
-               -  aMeshIter.Next()
-                 -anAttr = aMeshSObj.FindAttribute("AttributeName")[1]
-         anAttr = anAttr._narrow(SALOMEDS.AttributeName);
-         aMeshName = anAttr.Value()
-         print "  ", aMeshName
-
-
-
- -
SALOMEDS::AttributeComment - interface
-
-
-
- string Value (),  void SetValue ( in string value )
-
- Find the AttributeComment attribute of the "Head" field in the study, -print it, then change it to "My Comment" string:
-
- aFieldSObj  = myStudy.FindObject("Head, -")
- anAttr = aFieldSObj.FindAttribute("AttributeComment")[1]
-                     -anAttr = anAttr._narrow(SALOMEDS.AttributeComment);
-                     -aFieldComment = anAttr.Value()
-
- print "AttributeComment", anAttr
-
- anAttr.SetValue ("My Comment")
- -

- 
- - diff --git a/doc/salome/tui/KERNEL/sources/static/mapping.html b/doc/salome/tui/KERNEL/sources/static/mapping.html deleted file mode 100755 index f3f0a3f53..000000000 --- a/doc/salome/tui/KERNEL/sources/static/mapping.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - - Main Page - - - -  -
- - - - - -
-
-
- -

-Mapping of IDL definitions to Python language.

- -

-Introduction

-SALOME is a distributed client/server application using the Common -Object Request Broker Architecture (CORBA). CORBA architecture uses the -Interface Definition Language (IDL), which specifies interfaces between -CORBA objects. So with help of IDL CORBA's language independence is ensured -. Because interfaces described in IDL can be mapped to the most of currently -used programming languages, CORBA applications and components are thus -independent of the language(s) used to implement them. In other words, -a client written in C++ can communicate with a server written in Java, -which in turn can communicate with another server written in COBOL, and -so forth. -

One important thing to remember about IDL is that it is not an implementation -language. That is, applications can't be written in IDL. The sole purpose -of IDL is to define interfaces; providing implementations for these interfaces -is performed using some other language. -

This page contains an abridged reference manual for mapping of IDL definitions -to Python language. It will be useful for Python programmers who are not -familiar with IDL language. All examples are taken from SALOME source -files. The complete version of Python Language Mapping Specification can -be found here. -
  -

CONTENTS: -

-
- -

-Using Scoped Names

-Python implements a module concept that is similar to the IDL scoping mechanisms, -except that it does not allow for nested modules. In addition, Python requires -each object to be implemented in a module; globally visible objects are -not supported. -

Because of these constraints, scoped names are translated into Python -using the following rules: -

• An IDL module mapped into a Python module. Modules containing modules -are mapped to packages (i.e., directories with an __init__ module -containing all definitions excluding the nested modules). An implementation -can chose to map toplevel definitions (including the module CORBA) to modules -in an implementationdefined package, to allow concurrent installations -of different CORBA runtime libraries. In that case, the implementation -must provide additional modules so that toplevel modules can be used without -importing them from a package. -

• For all other scopes, a Python class is introduced that contains all -the definitions inside this scope. -

• Other global definitions (except modules) appear in a module whose -name is implementation dependent. Implementations are encouraged to use -the name of the IDL file when defining the name of that module. -

For instance, -

-
module SALOMEDS {
- interface StudyManager {
-  void  Close(in Study aStudy);
- };
-};
-
-would introduce a module SALOMEDS.py, which contains the following definitions: -
-
# module SALOMEDS.py
-class StudyManager:
-  def _Close(self,aStudy):
-   pass #interfaces are discussed later
-
-To avoid conflicts, IDL names that are also Python identifiers are prefixed -with an underscore (‘_’). -

Back to the contents -

-

-Mapping for Template and Array Types

-Both the bounded and the unbounded string type of IDL are mapped to the -Python string type. Wide strings are represented by an implementation-defined -type with the following properties: -

• For the wide string X and the integer n, X[n] returns the nth character, -which is a wide string of length 1. -

• len(X) returns the number of characters of wide string X. -

• CORBA.wstr(c) returns a wide character with the code point c in an -implementation-defined encoding. -

• X+Y returns the concatenation of wide strings X and Y. -

• CORBA.word(CORBA.wstr(c)) == c -

The sequence template is mapped to sequence objects (e.g., tuples or -lists). Applications should not assume that values of a sequence type are -mutable. Sequences and arrays of octets and characters are mapped to the -string type for efficiency reasons. -

For example, given the IDL definitions -

-
module SALOMEDS {
-  typedef sequence <string> StringSeq;
-   
-   interface AttributeTableOfInteger : GenericAttribute {
-
-    void SetRowTitles(in StringSeq theTitles) raises(IncorrectArgumentLength);
- };
-};
-
-a client could invoke the operation -
-
print My_AttributeTableOfInteger.SetRowTitles(["X","F"])
-
-Array types are mapped like sequence templates. The application in this -example also expects an IncorrectArgumentLength exception if it passes -sequences that violate the bounds constraint or arrays of wrong size. -

Another example with arrays. The following IDL definition -

-
module SALOMEDS {
- typedef sequence<GenericAttribute> ListOfAttributes;
- interface SObject {
-  ListOfAttributes     GetAllAttributes();
- };
-};
-
-is equal to -
-
import SALOMEDS
-
-attributes=[]
- 
-attributes = My_SObject.GetAllAttributes()
-
-length = len(attributes)
-
-print "Attributes number = ", length
-print attributes
-
-Back to the contents -

-

-Mapping for Objects and Operations

-A CORBA object reference is represented as a Python object at run-time. -This object provides all the operations that are available on the interface -of the object. Although this specification does not mandate the use of -classes for stub objects, the following discussion uses classes to indicate -the interface. -

The nil object is represented by None. -

If an operation expects parameters of the IDL Object type, any Python -object representing an object reference might be passed as actual argument. -

If an operation expects a parameter of an abstract interface, either -an object implementing that interface, or a value supporting this interface -may be passed as actual argument. The semantics of abstract values then -define whether the argument is passed by value or by reference. -

Operations of an interface map to methods available on the object references. -Parameters with a parameter attribute of in or inout are -passed from left to right tothe method, skipping out parameters. -The return value of a method depends on the number of out parameters -and the return type. If the operation returns a value, this value forms -the first result value. All inout or out parameters -form consecutive result values. The method result depends then on -the number of result values: -

• If there is no result value, the method returns None. -

• If there is exactly one result value, it is returned as a single -value. -

• If there is more than one result value, all of them are packed -into a tuple, and this tuple is returned. -

Assuming the IDL definition -

-
module SALOMEDS{
- interface StudyBuilder{
-  boolean FindAttribute  ( in SObject anObject, 
-                           out GenericAttribute anAttribute, 
-                           in string aTypeOfAttribute );
- };
-};
-
-a client could write -
-
from SALOMEDS import StudyBuilder;
-my_StudyBuilder=...
-  
-  res,A=my_StudyBuilder.FindAttribute(Sobj, "AttributeSequenceOfReal")
-
-In this example A corresponds to the return value anAttribute -and res to the boolean return value. -

If an interface defines an attribute name, for example, the attribute -is mapped into an operation _get_name. If the attribute is not readonly, -there is an additional operation _set_name. -

The IDL definition -

-
module SALOMEDS{
- interface Study{
-  attribute string Name;
- };
-};
-
-is equal to the following -
-
from SALOMEDS import Study
-My_Study=...
-  Name=My_Study._get_name();
-  Name=My_Study._set_name();
-
-Back to the contents -

-

-Narrowing Object References

-Python objects returned from CORBA operations or pseudo-operations (such -as string_to_object) might have a dynamic type, which is more specific -than the static type as defined in the operation signature. -

Since there is no efficient and reliable way of automatically creating -the most specific type, explicit narrowing is necessary. To narrow an object -reference A to an interface class AttributeSequenceOfReal, -the client can use the following operation -

-
A = A._narrow(SALOMEDS.AttributeSequenceOfReal)
-
-Back to the contents -

-

-Mapping for Exceptions

-An IDL exception is translated into a Python class derived from CORBA.UserException. -System exceptions are derived from CORBA.SystemException. Both base classes -are derived from CORBA.Exception. The parameters of the exception are mapped -in the same way as the fields of a struct definition. When raising an exception, -a new instance of the class is created; the constructor expects the exception -parameters. For example, the definition -
-
module SALOMEDS{
- interface StudyBuilder{
-  exception LockProtection {};
-  void CommitCommand() raises(LockProtection);
- };
-};
-
-could be used caught as -
-
from SALOMEDS import StudyBuilder;
-my_StudyBuilder=...
-try:
-  my_StudyBuilder.CommitCommand();
-except StudyBuilder.LockProtection,value:
-  print "Error! Study is locked for modifications"
-
- -


Back to the contents -

-

-Mapping for Enumeration Types

-An enumeration is mapped into a number of constant objects in the name -space where the enumeration is defined. An application may only test for -equivalence of two enumeration values, and not assume that they behave -like numbers. For example, the definition -
-
module VISU {
- interface PrsObject{
- 
-  enum PrsObjType{ TCURVE, TTABLE, TMESH, TCONTAINER,
-                   TSCALARMAP, TISOSURFACE, TDEFORMEDSHAPE,
-                   TCUTPLANES, TVECTORS };
- };
-};
-
-introduces the objects -
-
from VISU import PrsObject
-VISU.PrsObjType.TCURVE,VISU.PrsObjType.TTABLE,VISU.PrsObjType.TMESH,VISU.PrsObjType.TCONTAINER,
-VISU.PrsObjType.TSCALARMAP,VISU.PrsObjType.TISOSURFACE,VISU.PrsObjType.TDEFORMEDSHAPE,VISU.PrsObjType.TCUTPLANES,
-VISU.PrsObjType.TVECTORS
-
-Back to the contents -

-

-Mapping for Structured Types

-An IDL struct definition is mapped into a Python class or type. For each -field in the struct, there is a corresponding attribute in the class with -the same name as the field. The constructor of the class expects the field -values, from left to right. For example, the IDL definition -
-
struct SDate {
-               short Second;
-               short Minute;
-               short Hour;
-               short Day;
-               short Month;
-               short Year;
-             };
-
-could be used in the Python statements -
-
Date=SDate(30, 12, 15, 26, 1, 79)
-print Date.Second,Date.Minute,Date.Hour,Date.Day,Date.Month,Date.Year
-
- -
-Back to the contents
- - - - diff --git a/doc/salome/tui/KERNEL/sources/static/ns_f3-1.jpg b/doc/salome/tui/KERNEL/sources/static/ns_f3-1.jpg deleted file mode 100755 index fd4f45602..000000000 Binary files a/doc/salome/tui/KERNEL/sources/static/ns_f3-1.jpg and /dev/null differ diff --git a/doc/salome/tui/KERNEL/sources/static/overview_Kernel.html b/doc/salome/tui/KERNEL/sources/static/overview_Kernel.html deleted file mode 100755 index 7f64f4369..000000000 --- a/doc/salome/tui/KERNEL/sources/static/overview_Kernel.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - Main Page - - - -  -
- - - - - - -
-
-
- - -

General overview -

-

Table of contents

- - -
-

1. Introduction

-

The kernel corresponds to the minimal set of services required for the use of SALOME components (Supervisor, IAPP). -The kernel is also used by application software components (solver) and their container. -The kernel is associated to a unique user who can launch only one kernel at once. -The kernel is launched and destroyed by voluntary actions of the user. These functions are realized via the -use of scripts.

-

The list of the kernel services related to communication issues is:

- -

This list is enlarged with CORBA independent services :

- - -

SALOME kernel module also encapsulates the Engine -Back to the contents -

2. Basic principles

-

The SALOME user's desktop is a process on a machine. This process includes:

- -

SALOME Modules decompose into an interface (widgets GUI, text mode TUI, 3D visualization V3D) and -an engine.

-

The description of a module and its components is obtained by consulting the module catalog.

-

The interface is dynamically loaded in the process of the SALOME user's desktop. The engine is a CORBA -server launched either on the local machine or on the distant machine.

-

The engine (CORBA server) is created by a factory (or container). -This factory is also a CORBA server. Several containers can be present on a machine. -Some containers are specialized for types of components requiring a specific management. -For example, a specific container is required for components performing parallel calculations. -The engine includes at least a dynamically linked library in the container process. -This library is the implementation of the CORBA server associated to the engine. -If the engine is built from a pre-existent executable code, the library is simply a wrapper of the encapsulated code. -It launches the code in a separate process. Wherever possible, the code is included into the dynamic library. -

The container is one of the kernel services. If one needs to create a container on a distant machine, one creates a process resuming a part of the kernel services. The kernel can create other containers on distant machines via the trader (rsh). All the containers and the kernel share the same CORBA naming service with which they register.

-

The user reaches the functions of various SALOME'S components, either in graphic interactive mode (GUI) or in command mode ( TUI), via a Python interpreter.

-Back to the contents - -

3. Services and features of the SALOME kernel module

-

This section gives a brief overview of the services composing the kernel module. - The Life Cycle and Naming - services are described in separate chapters of this reference manual.

- -

3.1 Session service

-

SALOME session describes the period starting from the kernel creation and - ending with its destruction. During this period the user can connect the session - and disconnect from it without ending this session. One connection log could - be written. A priori, no information resulting from another (past) session can - be used by the current session.

-

Implementation of this service in SALOME application is provided by the class -Session encapsulated in the package -SALOME.

- -

3.2 Registry service

-

The active component registry should contain:

- - -

It should allow the state of a session. It also should allow to know if session can be stopped.

-

The API reference for this service is not included in the current version of the reference manual.

- -

3.3 Notification service

-

The notification service is a kernel function which allows exchanging of events between CORBA objects.

-

In comparison with traditional CORBA event service, SALOME notification service allows to:

- -

The API reference for this service is not included in the current version of the reference - manual.

- -

3.4 Module catalog service

-

There are two module catalogs in SALOME application:

- -

The objective of these two module catalogs is to:

- -

Implementation of this service in SALOME application is provided by two classes -ModuleCatalogand AComponent encapsulated in the package -SALOME_ModuleCatalog.

- -

3.5 Data type catalog

- -

The data exchanged between components services have definite types. During description of input, output, and -configuration parameters of components in the module catalog, the -definition of the parameters types is taken from data type catalog. During the editing of execution of -graphs, it is necessary to check that the connections output-input parameters are of compatible -types.

-

The data types correspond to CORBA object classes, including attributes and access methods (defined by their IDL). -These types can be created by specialization of generic data types.

-

The purpose of the data type catalog is to:

- -

The API reference for this service is not included in the current version of the reference - manual.

-

3.6 Resource catalog

- -

This catalog describes machines, possible types of container on a machine, resources of machines... This catalog is used by the SALOME LifeCycle service.

-

The API reference for this service is not included in the current version of the reference - manual.

- -

3.7 Engine

-

The engine represents a shared library which can be dynamically loaded by a container. The container can load this library, -given an interface name and an implementation -name. The container dynamically resolves an extern_C function in the library, -which constructs the CORBA Engine servant object.

-

The SALOME engine in - the current version of the application is implemented - as Engines package of interfaces. It encapsulates two classes: Component, Container.

-

The API refernce for Engines package can be found here. -

-

3.7.1 Component class

-

This class is used for interaction between the container and the component and between the components inside the container. -

-

The API reference for this class can be found here.

- -

3.7.2 Container class

-

This class provides a set of methods which are necessary for definition of the process of loading and registration of new components in SALOME application.

-

The API reference for this class can be found here.

- -Back to the contents - - diff --git a/doc/salome/tui/KERNEL/sources/static/overview_Life_Cycle.html b/doc/salome/tui/KERNEL/sources/static/overview_Life_Cycle.html deleted file mode 100755 index f1a1fb8af..000000000 --- a/doc/salome/tui/KERNEL/sources/static/overview_Life_Cycle.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - Life Cycle service Description - - - - - - -  -
- - - - - - -
-
-
- - -

Life Cycle service Description

-

Introduction

-

The objective of this document is to give the users of SALOME - application a brief overview of the Life Cycle service implemented in SALOME. - A complete version of the LifeCycle service specification edited by the Object Management Group, Inc.(OMG) can be found here. -

-

Table of contents

- -
- -

1. Overview

- -

Life Cycle service defines services and conventions for creating, deleting, copying and moving objects. -Because CORBA-based environments support distributed objects, the Life Cycle service defines conventions that allow clients to perform -life cycle operations on objects in different locations. This overview describes the life cycle problem for distributed object systems.

-
- - -

2. SALOME Life Cycle service description

-

The SALOME Life Cycle service represents a partial implementation of the CORBA LifeCycle service.

-

From general point of view, the SALOME Life Cycle service allows to find or load with the help of a given container a definte SALOME component with its further -initialization and registration in the Naming service.

-

Container - it's a certain engine realizing the mechanism of loading a SALOME module.

-

Component - it's a certain abstract shell wrapping SALOME modules, performing all operations concerned with their initialization and registration.

-

From the point of view of the service user, the Life Cycle provides a set of functions allowing to :

- - - - -

The SALOME Life Cycle is a CORBA server. This server at its initialization is registered with the naming service.

-

The Life Cycle service is invoked to find a container and use it to load a -component. It supplies, as parameters, the type of container and the machine features required for loading -a given component. -

-

The Life Cycle service then returns a CORBA reference of a launched container.

-

Containers are launched on demand depending on components to be loaded. The Life Cycle service manages loading of containers.

-

When there is no launched container matching the request the Life Cycle service invokes loading of the correct type of container on a correct machine via a rsh type command.

-

The Life Cycle service interrogates containers to have information about the dynamic state of the machine (load). It contains (and update) the state of the active containers.

-

The Life Cycle service can implement a loading strategy for new containers on new machines, depending on the state of the already launched containers.

-

The Life Cycle service can stop containers at the end of session on -demand.

- -

In SALOME platform the Life Cycle service is implemented in SALOME_Life CycleCORBA class. The API refernce for the methods of this class -can be found here.

-Back to the contents -
- - -
- - - diff --git a/doc/salome/tui/KERNEL/sources/static/overview_Naming.html b/doc/salome/tui/KERNEL/sources/static/overview_Naming.html deleted file mode 100755 index 8af6b10ec..000000000 --- a/doc/salome/tui/KERNEL/sources/static/overview_Naming.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - Naming Service Description - - - -  -
- - - - - - -
-
-
- - -

Naming Service Description

-
-

Introduction

-

This page contains an abridged version of the Naming Service specification - edited by the Object Management Group, Inc.(OMG). The objective of this document is to give the users of SALOME - application a brief overview of the Naming Service implemented in SALOME. - A complete version of this document can be found here. -

-
-

Table of contents

- - -
- -

1. Overview

-

This chapter presents the OMG Naming Service and explains how the Naming Service can be used to decouple clients and servers by -providing an external reference exchange mechanism. The chapter also covers how to solve the bootstrapping problem for clients and -servers by controlling their configuration. -

- -

In practice, copying stringified references from a server to all its clients is clumsy and does not scale. The Naming Service provides a way -for servers to advertise references under a name, and for clients to retrieve them. The advantages are: -

- -

The Naming Service is much like a white pages phone book. Given a name, it - returns an object reference.

- -

The terminology used in description of NamigService is the following:

- - - - -
-

Figure 1-1 A Naming Graph

- Back to the contents -
- -

2. SALOME Naming Service

- -

2.1 Introduction

-

The SALOME Naming Service is a kernel function which supplies a name directory - hierarchy for pointing out CORBA objects. This name directory hierarchy allows, - from symbolic names, to dynamically find the references of distributed SALOME - objects, without information about their location. SALOME objects which can - be reached via the naming service are:

- - -

The name directory hierarchy in SALOME represents a graph of directories containing - symbolic associations name-reference on objects. (It has been described in the - previous section)

- -

2.2 Definitions

-
-
Directory
-
Context of names containing symbolic associations name-reference on objects.


-
"/"
-
Character used in SALOME to separate two names of a directory


-
Access path
-
List of names (separated by "/" character representing the path to be followed - in the graph to reach an association name-reference (the last name in the sequence).
-
-
Note:An object can be referenced by several symbolic names - in one or several directories.
- -

2.3 Partition of SALOME name directory hierarchy

-

The hierarchical organization of the SALOME name directory is not completely frozen . -Because the framework allows the simultaneous opening of several studies, the following levels are determined:

-
 
- /Kernel
- /Container/
-	       /Component	
-
- -

2.4 SALOME name directory persistence

-

During a SALOME session, stopping a server in charge of the Naming Service - doesn't imply the loss of the contents of the SALOME name directory hierarchy. - A backup file is produced and can be used to restart the Naming Service. So, - one can recover the state of the SALOME name directory hierarchy at restart - time. During such breakdown, every call to any function of the Naming Service - invokes an exception of type Unreachable service.

- -

2.5 SALOME Naming Service features

-

Usage and administration of the name directory hierarchy is realized by means of the following functions:

- -

The access path used in these functions can be defined, either from the root, or from any -directory of SALOME name directory hierarchy.

- -

In SALOME there is s standard interface of Naming Service, and any user can - use it for binding and finding objects. How to use it, it's possible to find - in any CORBA documentation. However in SALOME there is an additional layer which - hides calls to standard interface.

-

The precise API reference for these functions you can find here.

-

Here is a short list of public methods which are used for working with the SALOME Naming Service:

-
-

Register

-
Method which register object reference in the naming service with given name. It makes assignment between IOR and stringified name. -Then it's possible to get object reference from name using "Resolve" method.
-

-

Resolve

-
Try to obtain object reference from name. It's necessary before publishing - IOR in the Naming Service by Register method.
-

-

Find

-
The purpose of this method is to research a name from the current directory - of the naming service. Then if there is occurrence the naming service changes - directory to go to the directory where last occurrence is found.
-

-

CreateDirectory

-
This method allows to create one or several directories in the current directory
-

-

ChangeDirectory

-
Moves the current directory. The current directory is moved to the root directory if the input parameter Name is "/".
-

-

CurrentDirectory

-
Method allowing to get the current directory.
-

-

list

-
Method allowing to list and print the whole context beginning from the current context.
-

-

list_directory

-
Method to get all contexts contained in the current directory.
-

-

DestroyName

-
Destroys a symbolic name-object reference association.
-

-

DestroyDirectory

-
Destroys an empty directory.
-
- -Back to the contents -
- - diff --git a/doc/salome/tui/KERNEL/sources/static/overview_Study.html b/doc/salome/tui/KERNEL/sources/static/overview_Study.html deleted file mode 100755 index 0526536e9..000000000 --- a/doc/salome/tui/KERNEL/sources/static/overview_Study.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - Main Page - - - -  -
- - - - - - -
-
-
- - -

General overview -

-
-

Table of contents

- -

1. Introduction

-

In SALOME application the Study module is used for management (creation, saving - etc.) of studies. In the framework of the platform, a study represents a working - document allowing to manage the data produced by various components which are - integarted into SALOME.
-

-

2. Representation of the study

-

The study represents a set of objects that we will call Study Objects or SObjects. - The study can be represented as a tree, every node of that tree containing a - SObject. SObjects in the study can be values or references towards data of calculation, - graphs of calculation, trees of construction of detail(room), results. Every - SOject of the study is characterised by a unique identifier in the study.

-

The study allows to describe the following relations:

- - -

Every SObject in the study contains a set of attributes. These attributes represent - a set of definitions associated to that object, they can contain values or corba - references towards the data contained in the internal data structure of a component.

-

As the structure of the study is tree-like it is possible to associate sub-objects - to objects.

-

As particular object, the study contains Component Data which are labels associated to the component -which produce data in the study. It is to this object that we can associate attributes containing ID which -we shall allow to identify the type of the component and also its instance. Objects produced by a -component will be sub-objects of the coresponding Data Component.

-

For example Component Data GEOM will contain the data produced by the component - Geom.

- - - - - -
GEOM contains the data produced by the component GEOM. The component MESH - contains a SObject Mesh_1 wich refers to the SObject identified - by ID4 corresponding to Geometrie_1.
-

We distinguish two forms of the study, the study opened in a session SALOME and the study in the -persistent format. These two formats are described in the following sections

-

2.1 Study in transient format

-

The representation of the study in memory will be based on the document OCAF (supplied by OCC). -The document OCAF can be seen as a tree, every node of that tree is identified by a tag representing an integer value.

-

The exploration of the tree from the root to a node supplies a sequence of tags which establishes a -unique identifier ID. ID represents a character string containing the sequence of tags separated by -one ':'.

-

For example 0:1:12:4

-

To every node we can associate a set of attributes.

-

The attributes which the study can contain can be of the following types:

- -

Remark: it is the study which takes care to build the attributes from the values which are passed to it, so -an attribute is always in a study, and it knows the study object to which it is attached.

-

Example of a Study Object as a set of various attributes.

- -

2.2 Study in persistent format

-

To store a study HDF format is used, this tool allows to represent persistent data in the form of a tree.

-

Under the root of the persistent document, you can find a set of nodes:

- -

2.3 Link between transient and persistent formats

-

It will be possible to complete the definition of one object in the study by associating to it an attribute -HDFPath which will contain the path to the persistent data.

- -

Back to the contents

-

3. Services and features of the study

-

The Study in SALOME application possess a wide functionality. This functionality is provided by a set of classes which are described -below. -

3.1 Study class

-

The purpose of the Study class is to manage the data produced by various components - of SALOME platform. Most of the Study operations are handled by the StudyManager - and the StudyBuilder. What - is left in the Study class are elementary inquiries. A Study is explored by - a set of tools, mainly iterators , which are described further.

-

Nevertheless, the Study class contains a set of methods providing:

- - -

The API reference for this class can be found here.

-

3.2 StudyBuilder class

-

StudyBuilder supplies basic services to edit the study. The edition of the study is made by the -component. Every component will use the basic services of the StudyBuilder allowing to write and publish objects.

-

StudyBulder provides the following functionality:

- -

The API reference for this class can be found here.

-

3.3 StudyManager class

-

The purpose of the Manager is to manipulate Studies. Since SALOME is a multi-document - application during a working session you can operate as many stadies as you - wishes to create.

-

For that purpose StudyManager provides the following functionality:

- -

The API reference for this class can be found here.

-

3.4 SObject class

-

The objects in the study are built by the StudyBuilder. -The SObject class provides methods for elementary inquiries, like getting an object ID or its attribuites.

-

The API reference for this class can be found here.

-

3.5 SComponent class

-

The SComponent class establishes in the study a permanent assocition to the components -integrated into SALOME platform. The SComponent interface is a specialization of the SObject - class. It inherits the most of its methods from the SObject class which are used for management of the SComponents.

-

The API reference for this class can be found here.

-

3.6 ChildIterator class

-

It is one of the tools destined for exploration of the study. This class contains a set of methods allowing to get -the access to all identified objects which are sons of another identifiedobject.

-

The API reference for this class can be found here.

-

3.7 SComponentIterator

-

This is the second tool destined for exploration of the study. This interface contains the methods allowing to iterate over all SComponents in the list. - The search is started from the first SComponent in the list.

-

The API reference for this class can be found here.

- -

3.8 GenericAttribute class

-

GenericAttribute represents a base class for all attributes which can be assigned to the SObjects created in the study. All attribute classes - derive from this classe and inherit its methods.

-

The API reference for this class can be found here.

- -

In SALOME application a SObject can possess the following attributes:

- - - - - -
- -
-

3.9 UseCaseBuilder class

-

UseCase in the study represents a user-defined subtree, containing all or some of the objects which currently exist -in the study. The UseCaseBuilder class contains a set of methods used for management (creation, deletion etc) of this sub-tree in the study.

-

The API reference for this class can be found here.

- -

3.10 UseCaseIterator

-

This class represents an exploration tool for the UseCase. It contains a set of methods used for iteration over the objects in the UseCase.

-

The API reference for this class can be found here.

- -

3.11 Callback class

-

The StudyBuilder can be created with the method NewBuilder. While invocation of this method a new object of the class - Callback is created and this object is assigned to the newly created Builder as callback which should be called - when adding and removing the objects.

-

The API reference for this class can be found here.

- -

3.12 Driver class

- -

This class represents a common tool for all components integrated into SALOME - application, that allows them to communicate with the study. It contains a set - of methods which can be called by any component and which provide the following - functionality: -

-

The API reference for this class can be found here.

-

Back to the contents

- - diff --git a/doc/salome/tui/KERNEL/sources/static/page2.html b/doc/salome/tui/KERNEL/sources/static/page2.html deleted file mode 100755 index 40eed1f98..000000000 --- a/doc/salome/tui/KERNEL/sources/static/page2.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - Main Page - - - -  -
- - - - - - -
-
-
- - - - - -

Mapping of SALOME IDL definitions to Python language. -

- - diff --git a/doc/salome/tui/KERNEL/sources/static/tree.js.in b/doc/salome/tui/KERNEL/sources/static/tree.js.in deleted file mode 100755 index b7422d7b8..000000000 --- a/doc/salome/tui/KERNEL/sources/static/tree.js.in +++ /dev/null @@ -1,200 +0,0 @@ -foldersTree = gFld("SALOME v.@VERSION@ ", "", "") - insDoc(foldersTree, gLnk("Main Page", "", "main.html")) - -aux1 = insFld(foldersTree, gFld("TUI Reference Guide", "")) - aux2 = insFld(aux1, gFld("Modules", "")) - aux3 = insFld(aux2, gFld("SALOME STUDY module", "")) - insDoc(aux3, gLnk("Overview", "", "overview_Study.html")) - aux4 = insFld(aux3, gFld("Packages", "")) - insDoc(aux4, gLnk("SALOMEDS", "", "namespaceSALOMEDS.html")) - insDoc(aux3, gLnk("Examples", "", "examples_Study.html")) - aux3 = insFld(aux2, gFld("SALOME KERNEL module", "")) - insDoc(aux3, gLnk("Overview", "", "overview_Kernel.html")) - aux4 = insFld(aux3, gFld("Packages", "")) - insDoc(aux4, gLnk("SALOME_ModuleCatalog", "", "namespaceSALOME__ModuleCatalog.html")) - insDoc(aux4, gLnk("SALOME", "", "namespaceSALOME.html")) - insDoc(aux4, gLnk("Engines", "", "namespaceEngines.html")) - insDoc(aux3, gLnk("Examples", "", "examples_Kernel.html")) - - -/*! Data structures -*/ - insDoc(aux1, gLnk("Data Structures", "", "annotated.html")) - -/*! insDoc(aux1, gLnk("SALOME_ModuleCatalog::Acomponent", "", "interfaceSALOME__ModuleCatalog_1_1Acomponent.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeComment", "", "interfaceSALOMEDS_1_1AttributeComment.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeDrawable", "", "interfaceSALOMEDS_1_1AttributeDrawable.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeExpandable", "", "interfaceSALOMEDS_1_1AttributeExpandable.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeInteger", "", "interfaceSALOMEDS_1_1AttributeInteger.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeIOR", "", "interfaceSALOMEDS_1_1AttributeIOR.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeLocalID", "", "interfaceSALOMEDS_1_1AttributeLocalID.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeName", "", "interfaceSALOMEDS_1_1AttributeName.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeOpened", "", "interfaceSALOMEDS_1_1AttributeOpened.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributePersistentRef", "", "interfaceSALOMEDS_1_1AttributePersistentRef.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributePixMap", "", "interfaceSALOMEDS_1_1AttributePixMap.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributePythonObject", "", "interfaceSALOMEDS_1_1AttributePythonObject.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeReal", "", "interfaceSALOMEDS_1_1AttributeReal.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeSelectable", "", "interfaceSALOMEDS_1_1AttributeSelectable.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeSequenceOfInteger", "", "interfaceSALOMEDS_1_1AttributeSequenceOfInteger.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeSequenceOfReal", "", "interfaceSALOMEDS_1_1AttributeSequenceOfReal.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeStudyProperties", "", "interfaceSALOMEDS_1_1AttributeStudyProperties.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfInteger", "", "interfaceSALOMEDS_1_1AttributeTableOfInteger.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfInteger::IncorrectArgumentLength", "", "exceptionSALOMEDS_1_1AttributeTableOfInteger_1_1IncorrectArgumentLength.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfInteger::IncorrectIndex", "", "exceptionSALOMEDS_1_1AttributeTableOfInteger_1_1IncorrectIndex.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfReal", "", "interfaceSALOMEDS_1_1AttributeTableOfReal.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfReal::IncorrectArgumentLength", "", "exceptionSALOMEDS_1_1AttributeTableOfReal_1_1IncorrectArgumentLength.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfReal::IncorrectIndex", "", "exceptionSALOMEDS_1_1AttributeTableOfReal_1_1IncorrectIndex.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfString", "", "interfaceSALOMEDS_1_1AttributeTableOfString.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfString::IncorrectArgumentLength", "", "exceptionSALOMEDS_1_1AttributeTableOfString_1_1IncorrectArgumentLength.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfString::IncorrectIndex", "", "exceptionSALOMEDS_1_1AttributeTableOfString_1_1IncorrectIndex.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTarget", "", "interfaceSALOMEDS_1_1AttributeTarget.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTextColor", "", "interfaceSALOMEDS_1_1AttributeTextColor.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTextHighlightColor", "", "interfaceSALOMEDS_1_1AttributeTextHighlightColor.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTreeNode", "", "interfaceSALOMEDS_1_1AttributeTreeNode.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeUserID", "", "interfaceSALOMEDS_1_1AttributeUserID.html")) - insDoc(aux1, gLnk("SALOMEDS::Callback", "", "interfaceSALOMEDS_1_1Callback.html")) - insDoc(aux1, gLnk("SALOMEDS::ChildIterator", "", "interfaceSALOMEDS_1_1ChildIterator.html")) - insDoc(aux1, gLnk("SALOMEDS::Color", "", "structSALOMEDS_1_1Color.html")) - insDoc(aux1, gLnk("Engines::Component", "", "interfaceEngines_1_1Component.html")) - insDoc(aux1, gLnk("Engines::Container", "", "interfaceEngines_1_1Container.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::DefinitionInterface", "", "structSALOME__ModuleCatalog_1_1DefinitionInterface.html")) - insDoc(aux1, gLnk("SALOMEDS::Driver", "", "interfaceSALOMEDS_1_1Driver.html")) - insDoc(aux1, gLnk("SALOME::ExceptionStruct", "", "structSALOME_1_1ExceptionStruct.html")) - insDoc(aux1, gLnk("SALOMEDS::GenericAttribute", "", "interfaceSALOMEDS_1_1GenericAttribute.html")) - insDoc(aux1, gLnk("SALOMEDS::GenericAttribute::LockProtection", "", "exceptionSALOMEDS_1_1GenericAttribute_1_1LockProtection.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::IAPP_Affich", "", "structSALOME__ModuleCatalog_1_1IAPP__Affich.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::ModuleCatalog", "", "interfaceSALOME__ModuleCatalog_1_1ModuleCatalog.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::NotFound", "", "exceptionSALOME__ModuleCatalog_1_1NotFound.html")) - insDoc(aux1, gLnk("SALOMEDS::NotImplemented", "", "exceptionSALOMEDS_1_1NotImplemented.html")) - insDoc(aux1, gLnk("SALOME::SALOME_Exception", "", "exceptionSALOME_1_1SALOME__Exception.html")) - insDoc(aux1, gLnk("SALOMEDS::SComponent", "", "interfaceSALOMEDS_1_1SComponent.html")) - insDoc(aux1, gLnk("SALOMEDS::SComponentIterator", "", "interfaceSALOMEDS_1_1SComponentIterator.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::Service", "", "structSALOME__ModuleCatalog_1_1Service.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::ServicesParameter", "", "structSALOME__ModuleCatalog_1_1ServicesParameter.html")) - insDoc(aux1, gLnk("SALOME::Session", "", "interfaceSALOME_1_1Session.html")) - insDoc(aux1, gLnk("SALOME::Session::GUIActive", "", "exceptionSALOME_1_1Session_1_1GUIActive.html")) - insDoc(aux1, gLnk("SALOME::Session::RunningStudies", "", "exceptionSALOME_1_1Session_1_1RunningStudies.html")) - insDoc(aux1, gLnk("SALOMEDS::SObject", "", "interfaceSALOMEDS_1_1SObject.html")) - insDoc(aux1, gLnk("SALOME::StatSession", "", "structSALOME_1_1StatSession.html")) - insDoc(aux1, gLnk("SALOMEDS::Study", "", "interfaceSALOMEDS_1_1Study.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyCommentError", "", "exceptionSALOMEDS_1_1Study_1_1StudyCommentError.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyInvalidComponent", "", "exceptionSALOMEDS_1_1Study_1_1StudyInvalidComponent.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyInvalidContext", "", "exceptionSALOMEDS_1_1Study_1_1StudyInvalidContext.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyInvalidDirectory", "", "exceptionSALOMEDS_1_1Study_1_1StudyInvalidDirectory.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyNameAlreadyUsed", "", "exceptionSALOMEDS_1_1Study_1_1StudyNameAlreadyUsed.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyNameError", "", "exceptionSALOMEDS_1_1Study_1_1StudyNameError.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyObjectAlreadyExists", "", "exceptionSALOMEDS_1_1Study_1_1StudyObjectAlreadyExists.html")) - insDoc(aux1, gLnk("SALOMEDS::StudyBuilder", "", "interfaceSALOMEDS_1_1StudyBuilder.html")) - insDoc(aux1, gLnk("SALOMEDS::StudyBuilder::LockProtection", "", "exceptionSALOMEDS_1_1StudyBuilder_1_1LockProtection.html")) - insDoc(aux1, gLnk("SALOMEDS::StudyManager", "", "interfaceSALOMEDS_1_1StudyManager.html")) - insDoc(aux1, gLnk("SALOMEDS::UseCaseBuilder", "", "interfaceSALOMEDS_1_1UseCaseBuilder.html")) - insDoc(aux1, gLnk("SALOMEDS::UseCaseIterator", "", "interfaceSALOMEDS_1_1UseCaseIterator.html")) -*/ - insDoc(aux1, gLnk("Class Hierarchy", "", "hierarchy.html")) - -/*! insDoc(aux1, gLnk("SALOME_ModuleCatalog::Acomponent", "", "interfaceSALOME__ModuleCatalog_1_1Acomponent.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfInteger::IncorrectArgumentLength", "", "exceptionSALOMEDS_1_1AttributeTableOfInteger_1_1IncorrectArgumentLength.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfInteger::IncorrectIndex", "", "exceptionSALOMEDS_1_1AttributeTableOfInteger_1_1IncorrectIndex.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfReal::IncorrectArgumentLength", "", "exceptionSALOMEDS_1_1AttributeTableOfReal_1_1IncorrectArgumentLength.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfReal::IncorrectIndex", "", "exceptionSALOMEDS_1_1AttributeTableOfReal_1_1IncorrectIndex.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfString::IncorrectArgumentLength", "", "exceptionSALOMEDS_1_1AttributeTableOfString_1_1IncorrectArgumentLength.html")) - insDoc(aux1, gLnk("SALOMEDS::AttributeTableOfString::IncorrectIndex", "", "exceptionSALOMEDS_1_1AttributeTableOfString_1_1IncorrectIndex.html")) - insDoc(aux1, gLnk("SALOMEDS::Callback", "", "interfaceSALOMEDS_1_1Callback.html")) - insDoc(aux1, gLnk("SALOMEDS::ChildIterator", "", "interfaceSALOMEDS_1_1ChildIterator.html")) - insDoc(aux1, gLnk("SALOMEDS::Color", "", "structSALOMEDS_1_1Color.html")) - aux2 = insFld(aux1, gFld("Engines::Component", "", "interfaceEngines_1_1Component.html")) - insDoc(aux1, gLnk("Engines::Container", "", "interfaceEngines_1_1Container.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::DefinitionInterface", "", "structSALOME__ModuleCatalog_1_1DefinitionInterface.html")) - aux2 = insFld(aux1, gFld("SALOMEDS::Driver", "", "interfaceSALOMEDS_1_1Driver.html")) - insDoc(aux1, gLnk("SALOME::ExceptionStruct", "", "structSALOME_1_1ExceptionStruct.html")) - aux2 = insFld(aux1, gFld("SALOMEDS::GenericAttribute", "", "interfaceSALOMEDS_1_1GenericAttribute.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeComment", "", "interfaceSALOMEDS_1_1AttributeComment.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeDrawable", "", "interfaceSALOMEDS_1_1AttributeDrawable.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeExpandable", "", "interfaceSALOMEDS_1_1AttributeExpandable.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeInteger", "", "interfaceSALOMEDS_1_1AttributeInteger.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeIOR", "", "interfaceSALOMEDS_1_1AttributeIOR.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeLocalID", "", "interfaceSALOMEDS_1_1AttributeLocalID.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeName", "", "interfaceSALOMEDS_1_1AttributeName.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeOpened", "", "interfaceSALOMEDS_1_1AttributeOpened.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributePersistentRef", "", "interfaceSALOMEDS_1_1AttributePersistentRef.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributePixMap", "", "interfaceSALOMEDS_1_1AttributePixMap.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributePythonObject", "", "interfaceSALOMEDS_1_1AttributePythonObject.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeReal", "", "interfaceSALOMEDS_1_1AttributeReal.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeSelectable", "", "interfaceSALOMEDS_1_1AttributeSelectable.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeSequenceOfInteger", "", "interfaceSALOMEDS_1_1AttributeSequenceOfInteger.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeSequenceOfReal", "", "interfaceSALOMEDS_1_1AttributeSequenceOfReal.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeStudyProperties", "", "interfaceSALOMEDS_1_1AttributeStudyProperties.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeTableOfInteger", "", "interfaceSALOMEDS_1_1AttributeTableOfInteger.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeTableOfReal", "", "interfaceSALOMEDS_1_1AttributeTableOfReal.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeTableOfString", "", "interfaceSALOMEDS_1_1AttributeTableOfString.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeTarget", "", "interfaceSALOMEDS_1_1AttributeTarget.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeTextColor", "", "interfaceSALOMEDS_1_1AttributeTextColor.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeTextHighlightColor", "", "interfaceSALOMEDS_1_1AttributeTextHighlightColor.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeTreeNode", "", "interfaceSALOMEDS_1_1AttributeTreeNode.html")) - insDoc(aux2, gLnk("SALOMEDS::AttributeUserID", "", "interfaceSALOMEDS_1_1AttributeUserID.html")) - insDoc(aux1, gLnk("SALOMEDS::GenericAttribute::LockProtection", "", "exceptionSALOMEDS_1_1GenericAttribute_1_1LockProtection.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::IAPP_Affich", "", "structSALOME__ModuleCatalog_1_1IAPP__Affich.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::ModuleCatalog", "", "interfaceSALOME__ModuleCatalog_1_1ModuleCatalog.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::NotFound", "", "exceptionSALOME__ModuleCatalog_1_1NotFound.html")) - insDoc(aux1, gLnk("SALOMEDS::NotImplemented", "", "exceptionSALOMEDS_1_1NotImplemented.html")) - insDoc(aux1, gLnk("SALOME::SALOME_Exception", "", "exceptionSALOME_1_1SALOME__Exception.html")) - insDoc(aux1, gLnk("SALOMEDS::SComponentIterator", "", "interfaceSALOMEDS_1_1SComponentIterator.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::Service", "", "structSALOME__ModuleCatalog_1_1Service.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog::ServicesParameter", "", "structSALOME__ModuleCatalog_1_1ServicesParameter.html")) - insDoc(aux1, gLnk("SALOME::Session", "", "interfaceSALOME_1_1Session.html")) - insDoc(aux1, gLnk("SALOME::Session::GUIActive", "", "exceptionSALOME_1_1Session_1_1GUIActive.html")) - insDoc(aux1, gLnk("SALOME::Session::RunningStudies", "", "exceptionSALOME_1_1Session_1_1RunningStudies.html")) - aux2 = insFld(aux1, gFld("SALOMEDS::SObject", "", "interfaceSALOMEDS_1_1SObject.html")) - insDoc(aux2, gLnk("SALOMEDS::SComponent", "", "interfaceSALOMEDS_1_1SComponent.html")) - insDoc(aux1, gLnk("SALOME::StatSession", "", "structSALOME_1_1StatSession.html")) - insDoc(aux1, gLnk("SALOMEDS::Study", "", "interfaceSALOMEDS_1_1Study.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyCommentError", "", "exceptionSALOMEDS_1_1Study_1_1StudyCommentError.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyInvalidComponent", "", "exceptionSALOMEDS_1_1Study_1_1StudyInvalidComponent.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyInvalidContext", "", "exceptionSALOMEDS_1_1Study_1_1StudyInvalidContext.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyInvalidDirectory", "", "exceptionSALOMEDS_1_1Study_1_1StudyInvalidDirectory.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyNameAlreadyUsed", "", "exceptionSALOMEDS_1_1Study_1_1StudyNameAlreadyUsed.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyNameError", "", "exceptionSALOMEDS_1_1Study_1_1StudyNameError.html")) - insDoc(aux1, gLnk("SALOMEDS::Study::StudyObjectAlreadyExists", "", "exceptionSALOMEDS_1_1Study_1_1StudyObjectAlreadyExists.html")) - insDoc(aux1, gLnk("SALOMEDS::StudyBuilder", "", "interfaceSALOMEDS_1_1StudyBuilder.html")) - insDoc(aux1, gLnk("SALOMEDS::StudyBuilder::LockProtection", "", "exceptionSALOMEDS_1_1StudyBuilder_1_1LockProtection.html")) - insDoc(aux1, gLnk("SALOMEDS::StudyManager", "", "interfaceSALOMEDS_1_1StudyManager.html")) - insDoc(aux1, gLnk("SALOMEDS::UseCaseBuilder", "", "interfaceSALOMEDS_1_1UseCaseBuilder.html")) - insDoc(aux1, gLnk("SALOMEDS::UseCaseIterator", "", "interfaceSALOMEDS_1_1UseCaseIterator.html")) -*/ - insDoc(aux1, gLnk("Class methods list", "", "functions.html")) -/*! -aux1 = insFld(foldersTree, gFld("Namespace List", "", "namespaces.html")) - insDoc(aux1, gLnk("Engines", "", "namespaceEngines.html")) - insDoc(aux1, gLnk("SALOME", "", "namespaceSALOME.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog", "", "namespaceSALOME__ModuleCatalog.html")) - insDoc(aux1, gLnk("SALOMEDS", "", "namespaceSALOMEDS.html")) -*/ - insDoc(aux1, gLnk("Namespace Members", "", "namespacemembers.html")) - - insDoc(aux1, gLnk("File List", "", "files.html")) - -/*! - insDoc(aux1, gLnk("SALOME_Component.idl", "", "SALOME__Component_8idl.html")) - insDoc(aux1, gLnk("SALOME_Exception.idl", "", "SALOME__Exception_8idl.html")) - insDoc(aux1, gLnk("SALOME_ModuleCatalog.idl", "", "SALOME__ModuleCatalog_8idl.html")) - insDoc(aux1, gLnk("SALOME_Session.idl", "", "SALOME__Session_8idl.html")) - insDoc(aux1, gLnk("SALOMEDS.idl", "", "SALOMEDS_8idl.html")) - insDoc(aux1, gLnk("SALOMEDS_Attributes.idl", "", "SALOMEDS__Attributes_8idl.html")) -*/ - -aux1 = insFld(foldersTree, gFld("IDL/Python mapping", "")) - insDoc(aux1, gLnk("Mapping of IDL definitions to Python language", "", "mapping.html")) - insDoc(aux1, gLnk("Mapping of SALOME IDL definitions to Python language", "", "page2.html")) - -/*! insDoc(foldersTree, gLnk("Graphical Class Hierarchy", "", "inherits.html")) -*/ -aux1 = insFld(foldersTree, gFld("Naming service", "")) - insDoc(aux1, gLnk("Naming Service Description ", "", "overview_Naming.html")) - insDoc(aux1, gLnk("Salome_NamingService Class Reference", "", "classSALOME__NamingService.html")) - insDoc(aux1, gLnk("Examples", "", "examples_Naming.html")) -aux1 = insFld(foldersTree, gFld("Life Cycle", "")) - insDoc(aux1, gLnk("Life Cycle Service Description ", "", "overview_Life_Cycle.html")) - insDoc(aux1, gLnk("Salome_LifeCycleCorba Class Reference", "", "classSALOME__LifeCycleCORBA.html")) - insDoc(aux1, gLnk("Examples", "", "examples_Life_cycle.html")) - - diff --git a/doc/salome/tui/KERNEL/sources/static/treeview.js b/doc/salome/tui/KERNEL/sources/static/treeview.js deleted file mode 100644 index 55eb43d07..000000000 --- a/doc/salome/tui/KERNEL/sources/static/treeview.js +++ /dev/null @@ -1,505 +0,0 @@ -//**************************************************************** -// You are free to copy the "Folder-Tree" script as long as you -// keep this copyright notice: -// Script found in: http://www.geocities.com/Paris/LeftBank/2178/ -// Author: Marcelino Alves Martins (martins@hks.com) December '97. -//**************************************************************** - -//Log of changes: -// 17 Feb 98 - Fix initialization flashing problem with Netscape -// -// 27 Jan 98 - Root folder starts open; support for USETEXTLINKS; -// make the ftien4 a js file -// -// DvH: Dec 2000 - Made some minor changes to support external -// references - -// Definition of class Folder -// ***************************************************************** - -function Folder(folderDescription, tagName, hreference) //constructor -{ - //constant data - this.desc = folderDescription - this.tagName = tagName - this.hreference = hreference - this.id = -1 - this.navObj = 0 - this.iconImg = 0 - this.nodeImg = 0 - this.isLastNode = 0 - - //dynamic data - this.isOpen = true - this.iconSrc = "ftv2folderopen.png" - this.children = new Array - this.nChildren = 0 - - //methods - this.initialize = initializeFolder - this.setState = setStateFolder - this.addChild = addChild - this.createIndex = createEntryIndex - this.hide = hideFolder - this.display = display - this.renderOb = drawFolder - this.totalHeight = totalHeight - this.subEntries = folderSubEntries - this.outputLink = outputFolderLink -} - -function setStateFolder(isOpen) -{ - var subEntries - var totalHeight - var fIt = 0 - var i=0 - - if (isOpen == this.isOpen) - return - - if (browserVersion == 2) - { - totalHeight = 0 - for (i=0; i < this.nChildren; i++) - totalHeight = totalHeight + this.children[i].navObj.clip.height - subEntries = this.subEntries() - if (this.isOpen) - totalHeight = 0 - totalHeight - for (fIt = this.id + subEntries + 1; fIt < nEntries; fIt++) - indexOfEntries[fIt].navObj.moveBy(0, totalHeight) - } - this.isOpen = isOpen - propagateChangesInState(this) -} - -function propagateChangesInState(folder) -{ - var i=0 - - if (folder.isOpen) - { - if (folder.nodeImg) - if (folder.isLastNode) - folder.nodeImg.src = "ftv2mlastnode.png" - else - folder.nodeImg.src = "ftv2mnode.png" - folder.iconImg.src = "ftv2folderopen.png" - for (i=0; i 0) - auxEv = "" - else - auxEv = "" - - if (level>0) - if (lastNode) //the last 'brother' in the children array - { - this.renderOb(leftSide + auxEv + "") -// leftSide = leftSide + "" - this.isLastNode = 1 - } - else - { - this.renderOb(leftSide + auxEv + "") - leftSide = leftSide + "" - this.isLastNode = 0 - } - else - this.renderOb("") - - if (nc > 0) - { - level = level + 1 - for (i=0 ; i < this.nChildren; i++) - { - if (i == this.nChildren-1) - this.children[i].initialize(level, 1, leftSide) - else - this.children[i].initialize(level, 0, leftSide) - } - } -} - -function drawFolder(leftSide) -{ - if (browserVersion == 2) { - if (!doc.yPos) - doc.yPos=8 - doc.write("") - } - if (browserVersion == 3) - { - doc.write("
") - } - - doc.write("\n") - doc.write("\n\n") - doc.write("\n
") - doc.write(leftSide) - this.outputLink() - doc.write("") - doc.write("") - if (USETEXTLINKS) - { - this.outputLink() - doc.write(this.desc + "") - } - else - doc.write(this.desc) - -/*! - if (this.tagName!="") - { - doc.write(" [external]") - } -*/ - doc.write("
\n") - - if (browserVersion == 2) { - doc.write("") - } - if (browserVersion == 3) { - doc.write("
") - } - - if (browserVersion == 1) { - this.navObj = doc.all["folder"+this.id] - this.iconImg = doc.all["folderIcon"+this.id] - this.nodeImg = doc.all["nodeIcon"+this.id] - } else if (browserVersion == 2) { - this.navObj = doc.layers["folder"+this.id] - this.iconImg = this.navObj.document.images["folderIcon"+this.id] - this.nodeImg = this.navObj.document.images["nodeIcon"+this.id] - doc.yPos=doc.yPos+this.navObj.clip.height - } else if (browserVersion == 3) { - this.navObj = doc.getElementById("folder"+this.id) - this.iconImg = doc.images.namedItem("folderIcon"+this.id) - this.nodeImg = doc.images.namedItem("nodeIcon"+this.id) - } -} - -function outputFolderLink() -{ - if (this.hreference) - { - doc.write(" 0) - doc.write("onClick='javascript:clickOnFolder("+this.id+")'") - doc.write(">") - } - else - doc.write("") -} - -function addChild(childNode) -{ - this.children[this.nChildren] = childNode - this.nChildren++ - return childNode -} - -function folderSubEntries() -{ - var i = 0 - var se = this.nChildren - - for (i=0; i < this.nChildren; i++){ - if (this.children[i].children) //is a folder - se = se + this.children[i].subEntries() - } - - return se -} - - -// Definition of class Item (a document or link inside a Folder) -// ************************************************************* - -function Item(itemDescription, tagName, itemLink) // Constructor -{ - // constant data - this.desc = itemDescription - this.tagName = tagName - this.link = itemLink - this.id = -1 //initialized in initalize() - this.navObj = 0 //initialized in render() - this.iconImg = 0 //initialized in render() - this.iconSrc = "ftv2doc.png" - - // methods - this.initialize = initializeItem - this.createIndex = createEntryIndex - this.hide = hideItem - this.display = display - this.renderOb = drawItem - this.totalHeight = totalHeight -} - -function hideItem() -{ - if (browserVersion == 1 || browserVersion == 3) { - if (this.navObj.style.display == "none") - return - this.navObj.style.display = "none" - } else { - if (this.navObj.visibility == "hidden") - return - this.navObj.visibility = "hidden" - } -} - -function initializeItem(level, lastNode, leftSide) -{ - this.createIndex() - - if (level>0) - if (lastNode) //the last 'brother' in the children array - { - this.renderOb(leftSide + "") - leftSide = leftSide + "" - } - else - { - this.renderOb(leftSide + "") - leftSide = leftSide + "" - } - else - this.renderOb("") -} - -function drawItem(leftSide) -{ - if (browserVersion == 2) - doc.write("") - if (browserVersion == 3) - doc.write("
") - - doc.write("\n\n") - doc.write("\n
") - doc.write(leftSide) - if (this.link!="") - { - doc.write("") - } - doc.write("") - if (this.link!="") - { - doc.write("") - } - doc.write("") - if (USETEXTLINKS && this.link!="") - doc.write("" + this.desc + "") - else - doc.write(this.desc) -/*! - if (this.tagName!="") - { - doc.write(" [external]"); - } -*/ - doc.write("\n
\n") - - if (browserVersion == 2) - doc.write("") - if (browserVersion == 3) - doc.write("
") - - if (browserVersion == 1) { - this.navObj = doc.all["item"+this.id] - this.iconImg = doc.all["itemIcon"+this.id] - } else if (browserVersion == 2) { - this.navObj = doc.layers["item"+this.id] - this.iconImg = this.navObj.document.images["itemIcon"+this.id] - doc.yPos=doc.yPos+this.navObj.clip.height - } else if (browserVersion == 3) { - this.navObj = doc.getElementById("item"+this.id) - this.iconImg = doc.images.namedItem("itemIcon"+this.id) - } -} - - -// Methods common to both objects (pseudo-inheritance) -// ******************************************************** - -function display() -{ - if (browserVersion == 1 || browserVersion == 3) - this.navObj.style.display = "block" - else - this.navObj.visibility = "show" -} - -function createEntryIndex() -{ - this.id = nEntries - indexOfEntries[nEntries] = this - nEntries++ -} - -// total height of subEntries open -function totalHeight() //used with browserVersion == 2 -{ - var h = this.navObj.clip.height - var i = 0 - - if (this.isOpen) //is a folder and _is_ open - for (i=0 ; i < this.nChildren; i++) - h = h + this.children[i].totalHeight() - - return h -} - - -// Events -// ********************************************************* - -function clickOnFolder(folderId) -{ - var clicked = indexOfEntries[folderId] - - if (!clicked.isOpen) - clickOnNode(folderId) - - return - - if (clicked.isSelected) - return -} - -function clickOnNode(folderId) -{ - var clickedFolder = 0 - var state = 0 - - clickedFolder = indexOfEntries[folderId] - state = clickedFolder.isOpen - - clickedFolder.setState(!state) //open<->close -} - -function initializeDocument() -{ - doc = document; - if (doc.all) - browserVersion = 1 //IE4 - else - if (doc.layers) - browserVersion = 2 //NS4 - else if(navigator.userAgent.toLowerCase().indexOf('gecko') != -1) - browserVersion = 3 //mozilla - else - browserVersion = 0 //other - - foldersTree.initialize(0, 1, "") - foldersTree.display() - - if (browserVersion > 0) - { - if(browserVersion != 3) - doc.write(" ") - - // close the whole tree - clickOnNode(0) - // open the root folder - clickOnNode(0) - } -} - -// Auxiliary Functions for Folder-Treee backward compatibility -// ********************************************************* - -function gFld(description, tagName, hreference) -{ - folder = new Folder(description, tagName, hreference) - return folder -} - -function gLnk(description, tagName, linkData) -{ - fullLink = "" - - if (linkData!="") - { - fullLink = "'"+linkData+"' target=\"basefrm\"" - } - - linkItem = new Item(description, tagName, fullLink) - return linkItem -} - -function insFld(parentFolder, childFolder) -{ - return parentFolder.addChild(childFolder) -} - -function insDoc(parentFolder, document) -{ - parentFolder.addChild(document) -} - -// Global variables -// **************** - -USETEXTLINKS = 1 -indexOfEntries = new Array -nEntries = 0 -doc = document -browserVersion = 0 -selectedFolder=0