]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Proxy classe's headers for SALOMEDS
authorsrn <srn@opencascade.com>
Mon, 4 Apr 2005 06:59:18 +0000 (06:59 +0000)
committersrn <srn@opencascade.com>
Mon, 4 Apr 2005 06:59:18 +0000 (06:59 +0000)
39 files changed:
src/SALOMEDSClient/Makefile.in
src/SALOMEDSClient/SALOMEDSClient_AttributeComment.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeDrawable.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeExpandable.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeExternalFileDef.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeFileType.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeFlags.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeGraphic.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeIOR.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeInteger.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeLocalID.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeName.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeOpened.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributePersistentRef.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributePixMap.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributePythonObject.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeReal.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeSelectable.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeSequenceOfInteger.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeSequenceOfReal.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeStudyProperties.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeTableOfInteger.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeTableOfReal.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeTableOfString.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeTarget.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeTextColor.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeTextHighlightColor.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeTreeNode.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_AttributeUserID.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_ChildIterator.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_GenericAttribute.hxx
src/SALOMEDSClient/SALOMEDSClient_SComponent.hxx
src/SALOMEDSClient/SALOMEDSClient_SComponentIterator.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_SObject.hxx
src/SALOMEDSClient/SALOMEDSClient_Study.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_StudyBuilder.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_StudyManager.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_UseCaseBuilder.hxx [new file with mode: 0644]
src/SALOMEDSClient/SALOMEDSClient_UseCaseIterator.hxx [new file with mode: 0644]

index b4cb3897e565f149f252c4d6023129a63f48ef4d..c016bdbfa9412d13ccebe992f04ed51c140684fa 100644 (file)
@@ -1,28 +1,5 @@
-#  SALOME SALOMEDS : data structure of SALOME and sources of Salome data server 
-#
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  This library is free software; you can redistribute it and/or 
-#  modify it under the terms of the GNU Lesser General Public 
-#  License as published by the Free Software Foundation; either 
-#  version 2.1 of the License. 
-# 
-#  This library is distributed in the hope that it will be useful, 
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of 
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-#  Lesser General Public License for more details. 
-# 
-#  You should have received a copy of the GNU Lesser General Public 
-#  License along with this library; if not, write to the Free Software 
-#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
-# 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-#
-#
-#
 #  File   : Makefile.in
-#  Author : Marc Tajchman
+#  Author : Sergey RUIN
 #  Module : SALOME
 
 top_srcdir=@top_srcdir@
@@ -31,13 +8,46 @@ srcdir=@srcdir@
 VPATH=.:@srcdir@:@top_srcdir@/idl:$(top_srcdir)/idl
 
 
-@COMMENCE@
-
-EXPORT_HEADERS= SALOMEDSClient_SObject.hxx \
-               SALOMEDSClient_SComponent.hxx \
-               SALOMEDSClient_GenericAttribute.hxx
-
+@COMMENCE@ 
+
+EXPORT_HEADERS= SALOMEDSClient_AttributeComment.hxx \
+               SALOMEDSClient_AttributeDrawable.hxx \
+                SALOMEDSClient_AttributeExpandable.hxx \
+                SALOMEDSClient_AttributeExternalFileDef.hxx \
+                SALOMEDSClient_AttributeFileType.hxx \
+                SALOMEDSClient_AttributeFlags.hxx \
+                SALOMEDSClient_AttributeGraphic.hxx \
+                SALOMEDSClient_AttributeIOR.hxx \
+                SALOMEDSClient_AttributeInteger.hxx \
+                SALOMEDSClient_AttributeLocalID.hxx \
+                SALOMEDSClient_AttributeName.hxx \
+                SALOMEDSClient_AttributeOpened.hxx \
+                SALOMEDSClient_AttributePersistentRef.hxx \
+                SALOMEDSClient_AttributePixMap.hxx \
+                SALOMEDSClient_AttributePythonObject.hxx \
+                SALOMEDSClient_AttributeReal.hxx \
+                SALOMEDSClient_AttributeSelectable.hxx \
+                SALOMEDSClient_AttributeSequenceOfInteger.hxx \
+                SALOMEDSClient_AttributeSequenceOfReal.hxx \
+                SALOMEDSClient_AttributeStudyProperties.hxx \
+                SALOMEDSClient_AttributeTableOfInteger.hxx \
+                SALOMEDSClient_AttributeTableOfReal.hxx \
+                SALOMEDSClient_AttributeTableOfString.hxx \
+                SALOMEDSClient_AttributeTarget.hxx \
+                SALOMEDSClient_AttributeTextColor.hxx \
+                SALOMEDSClient_AttributeTextHighlightColor.hxx \
+                SALOMEDSClient_AttributeTreeNode.hxx \
+                SALOMEDSClient_AttributeUserID.hxx \
+                SALOMEDSClient_ChildIterator.hxx \
+                SALOMEDSClient_GenericAttribute.hxx \
+                SALOMEDSClient_SComponent.hxx \
+                SALOMEDSClient_SComponentIterator.hxx \
+                SALOMEDSClient_SObject.hxx \
+                SALOMEDSClient_Study.hxx \
+                SALOMEDSClient_StudyBuilder.hxx \
+                SALOMEDSClient_StudyManager.hxx \
+                SALOMEDSClient_UseCaseBuilder.hxx \
+                SALOMEDSClient_UseCaseIterator.hxx
 
 @CONCLUDE@
 
-
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeComment.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeComment.hxx
new file mode 100644 (file)
index 0000000..54a3e7c
--- /dev/null
@@ -0,0 +1,17 @@
+//  File   : SALOMEDSClient_AttributeComment.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeComment_HeaderFile
+#define SALOMEDSClient_AttributeComment_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeComment: public virtual SALOMEDSClient_GenericAttribute
+{
+public:  
+  virtual char* Value() = 0;
+  virtual void SetValue(const char* value) = 0;
+};
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeDrawable.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeDrawable.hxx
new file mode 100644 (file)
index 0000000..c00cb0c
--- /dev/null
@@ -0,0 +1,17 @@
+//  File   : SALOMEDSClient_AttributeDrawable.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeDrawable_HeaderFile
+#define SALOMEDSClient_AttributeDrawable_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeDrawable: public virtual SALOMEDSClient_GenericAttribute
+{
+public: 
+  virtual bool IsDrawable() = 0;
+  virtual void SetDrawable(bool value) = 0;
+};
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeExpandable.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeExpandable.hxx
new file mode 100644 (file)
index 0000000..0da2e37
--- /dev/null
@@ -0,0 +1,20 @@
+//  File   : SALOMEDSClient_AttributeExpandable.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+//  $Header:
+
+#ifndef SALOMEDSClient_AttributeExpandable_HeaderFile
+#define SALOMEDSClient_AttributeExpandable_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeExpandable: public virtual SALOMEDSClient_GenericAttribute
+{
+public:  
+  virtual bool IsExpandable() = 0;
+  virtual void SetExpandable(bool value) = 0;
+};
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeExternalFileDef.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeExternalFileDef.hxx
new file mode 100644 (file)
index 0000000..fb4fff2
--- /dev/null
@@ -0,0 +1,19 @@
+//  File   : SALOMEDSClient_AttributeExternalFileDef.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeExternalFileDef_HeaderFile
+#define SALOMEDSClient_AttributeExternalFileDef_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeExternalFileDef: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  virtual char* Value() = 0;
+  virtual void SetValue(const char* value) = 0;
+};
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeFileType.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeFileType.hxx
new file mode 100644 (file)
index 0000000..0b534d8
--- /dev/null
@@ -0,0 +1,20 @@
+//  File   : SALOMEDSClient_AttributeFileType.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeFileType_HeaderFile
+#define SALOMEDSClient_AttributeFileType_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeFileType: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  virtual char* Value() = 0;
+  virtual void SetValue(const char* value) = 0;
+  
+};
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeFlags.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeFlags.hxx
new file mode 100644 (file)
index 0000000..99f314d
--- /dev/null
@@ -0,0 +1,23 @@
+//  File   : SALOMEDSClient_AttributeFlags.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+//  $Header:
+
+#ifndef SALOMEDSClient_AttributeFlags_HeaderFile
+#define SALOMEDSClient_AttributeFlags_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeFlags: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+
+  virtual int   GetFlags() = 0;
+  virtual void  SetFlags(int theFlags) = 0;
+
+  virtual bool  Get(int theFlag) = 0;
+  virtual void  Set(int theFlag, bool theValue) = 0;
+  
+};
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeGraphic.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeGraphic.hxx
new file mode 100644 (file)
index 0000000..0a494c7
--- /dev/null
@@ -0,0 +1,20 @@
+//  File   : SALOMEDSClient_AttributeFlags.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+//  $Header:
+
+#ifndef SALOMEDSClient_AttributeGraphic_HeaderFile
+#define SALOMEDSClient_AttributeGraphic_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeGraphic: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  
+  virtual void  SetVisibility(int theViewId, bool theValue) = 0;
+  virtual bool GetVisibility(int theViewId) = 0;
+
+};
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeIOR.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeIOR.hxx
new file mode 100644 (file)
index 0000000..93fa61b
--- /dev/null
@@ -0,0 +1,20 @@
+//  File   : SALOMEDSClient_AttributeIOR.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeIOR_HeaderFile
+#define SALOMEDSClient_AttributeIOR_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeIOR: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  
+  virtual char* Value() = 0;
+  virtual void SetValue(const char* value) = 0;
+  
+};
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeInteger.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeInteger.hxx
new file mode 100644 (file)
index 0000000..25c7a20
--- /dev/null
@@ -0,0 +1,20 @@
+//  File   : SALOMEDSClient_AttributeInteger.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeInteger_HeaderFile
+#define SALOMEDSClient_AttributeInteger_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeInteger: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  
+  virtual int Value() = 0;
+  virtual void SetValue(int value) = 0;
+};
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeLocalID.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeLocalID.hxx
new file mode 100644 (file)
index 0000000..51c1a2a
--- /dev/null
@@ -0,0 +1,21 @@
+//  File   : SALOMEDSClient_AttributeLocalID.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+//  $Header:
+
+#ifndef SALOMEDSClient_AttributeLocalID_HeaderFile
+#define SALOMEDSClient_AttributeLocalID_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeLocalID: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  virtual int Value() = 0;
+  virtual void SetValue(int value) = 0;
+
+};
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeName.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeName.hxx
new file mode 100644 (file)
index 0000000..63fa390
--- /dev/null
@@ -0,0 +1,23 @@
+//  File   : SALOMEDSClient_AttributeName.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+//  $Header:
+
+#ifndef SALOMEDSClient_AttributeName_HeaderFile
+#define SALOMEDSClient_AttributeName_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeName: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+
+  virtual char* Value() = 0;
+  virtual void SetValue(const char* value) = 0;
+
+};
+
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeOpened.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeOpened.hxx
new file mode 100644 (file)
index 0000000..76d641a
--- /dev/null
@@ -0,0 +1,21 @@
+//  File   : SALOMEDSClient_AttributeOpened.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+//  $Header:
+
+#ifndef SALOMEDSClient_AttributeOpened_HeaderFile
+#define SALOMEDSClient_AttributeOpened_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeOpened: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  
+  virtual bool IsOpened() = 0;
+  virtual void SetOpened(bool value) = 0;
+};
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributePersistentRef.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributePersistentRef.hxx
new file mode 100644 (file)
index 0000000..931f0d9
--- /dev/null
@@ -0,0 +1,21 @@
+//  File   : SALOMEDSClient_AttributePersistentRef.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributePersistentRef_HeaderFile
+#define SALOMEDSClient_AttributePersistentRef_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributePersistentRef: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  
+  virtual char* Value() = 0;
+  virtual void SetValue(const char* value) = 0;
+
+};
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributePixMap.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributePixMap.hxx
new file mode 100644 (file)
index 0000000..de9b3b4
--- /dev/null
@@ -0,0 +1,21 @@
+//  File   : SALOMEDSClient_AttributePixMap.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributePixMap_HeaderFile
+#define SALOMEDSClient_AttributePixMap_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributePixMap: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+
+  virtual bool HasPixMap() = 0;
+  virtual char* GetPixMap() = 0;
+  virtual void SetPixMap(const char* value) = 0;
+
+};
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributePythonObject.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributePythonObject.hxx
new file mode 100644 (file)
index 0000000..d1b3700
--- /dev/null
@@ -0,0 +1,23 @@
+//  File   : SALOMEDSClient_AttributePythonObject.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributePythonObject_HeaderFile
+#define SALOMEDSClient_AttributePythonObject_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributePythonObject: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+
+  virtual void SetObject(const char* theSequence, bool IsScript) = 0;
+  virtual char* GetObject() = 0;
+  virtual bool IsScript() = 0;
+
+};
+
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeReal.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeReal.hxx
new file mode 100644 (file)
index 0000000..ec5007b
--- /dev/null
@@ -0,0 +1,19 @@
+//  File   : SALOMEDSClient_AttributeReal.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeReal_HeaderFile
+#define SALOMEDSClient_AttributeReal_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeReal: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  
+  virtual double Value() = 0;
+  virtual void SetValue(double value) = 0;
+};
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeSelectable.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeSelectable.hxx
new file mode 100644 (file)
index 0000000..39eb766
--- /dev/null
@@ -0,0 +1,21 @@
+//  File   : SALOMEDSClient_AttributeSelectable.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeSelectable_HeaderFile
+#define SALOMEDSClient_AttributeSelectable_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeSelectable: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  
+  virtual bool IsSelectable() = 0;
+  virtual void SetSelectable(bool value) = 0;
+
+};
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeSequenceOfInteger.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeSequenceOfInteger.hxx
new file mode 100644 (file)
index 0000000..a0f065a
--- /dev/null
@@ -0,0 +1,25 @@
+//  File   : SALOMEDSClient_AttributeSequenceOfInteger.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeSequenceOfInteger_HeaderFile
+#define SALOMEDSClient_AttributeSequenceOfInteger_HeaderFile
+
+#include <vector>
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeSequenceOfInteger: public virtual SALOMEDSClient_GenericAttribute
+{    
+public:
+  
+  virtual void Assign(const std::vector<int>& other) = 0;
+  virtual std::vector<int> CorbaSequence() = 0;
+  virtual void Add(int value) = 0;
+  virtual void Remove(int index) = 0;
+  virtual void ChangeValue(int index, int value) = 0;
+  virtual int Value(int index) = 0;
+  virtual int Length() = 0;
+
+};
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeSequenceOfReal.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeSequenceOfReal.hxx
new file mode 100644 (file)
index 0000000..d4578d2
--- /dev/null
@@ -0,0 +1,27 @@
+//  File   : SALOMEDSClient_AttributeSequenceOfSequenceOfReal.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeSequenceOfSequenceOfReal_HeaderFile
+#define SALOMEDSClient_AttributeSequenceOfSequenceOfReal_HeaderFile
+
+#include <vector>
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeSequenceOfReal: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+
+  virtual void Assign(const std::vector<double>& other) = 0;
+  virtual std::vector<double> CorbaSequence() = 0;
+  virtual void Add(double value) = 0;
+  virtual void Remove(int index) = 0;
+  virtual void ChangeValue(int index, double value) = 0;
+  virtual double Value(int index) = 0;
+  virtual int Length() = 0;
+
+};
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeStudyProperties.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeStudyProperties.hxx
new file mode 100644 (file)
index 0000000..8e40821
--- /dev/null
@@ -0,0 +1,45 @@
+//  File   : SALOMEDSClient_AttributeStudyProperties.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeStudyProperties_HeaderFile
+#define SALOMEDSClient_AttributeStudyProperties_HeaderFile
+
+#include <vector>
+#include <string>
+
+#include "SALOMEDSClient_GenericAttribute.hxx"
+
+class SALOMEDSClient_AttributeStudyProperties: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  
+  virtual void SetUserName(const char* theName) = 0;
+  virtual char* GetUserName() = 0;
+  virtual void SetCreationDate(int theMinute, int theHour, int theDay, int theMonth, int theYear) = 0;
+  virtual bool GetCreationDate(int& theMinute, int& theHour, int& theDay, int& theMonth, int& theYear) = 0;
+  virtual void SetCreationMode(const char* theMode) = 0;
+  virtual char* GetCreationMode() = 0;
+  virtual void SetModified(int theModified) = 0;
+  virtual bool IsModified() = 0;
+  virtual int GetModified() = 0;
+  virtual void SetLocked(bool theLocked) = 0;
+  virtual bool IsLocked() = 0;
+  virtual void SetModification(const char* theName,
+                              int theMinute,
+                              int theHour,
+                              int theDay,
+                              int theMonth,
+                              int theYear) = 0;
+  virtual void GetModificationsList(std::vector<std::string>& theNames,
+                                   std::vector<int>& theMinutes,
+                                   std::vector<int>& theHours,
+                                   std::vector<int>& theDays,
+                                   std::vector<int>& theMonths,
+                                   std::vector<int>& theYears,
+                                   bool theWithCreator) = 0;
+
+};
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeTableOfInteger.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeTableOfInteger.hxx
new file mode 100644 (file)
index 0000000..8a46b29
--- /dev/null
@@ -0,0 +1,47 @@
+//  File   : SALOMEDSClient_AttributeTableOfInteger.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeTableOfInteger_HeaderFile
+#define SALOMEDSClient_AttributeTableOfInteger_HeaderFile
+
+#include <vector>
+#include <string>
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeTableOfInteger: public virtual SALOMEDSClient_GenericAttribute
+{
+    
+public:
+  
+  virtual void SetTitle(const char* theTitle) = 0;
+  virtual char* GetTitle() = 0;
+  virtual void SetRowTitle(int theIndex, const char* theTitle) = 0;
+  virtual void SetRowTitles(const std::vector<std::string>& theTitles) = 0;
+  virtual std::vector<std::string> GetRowTitles() = 0;
+  virtual void SetColumnTitle(int theIndex, const char* theTitle) = 0;
+  virtual void SetColumnTitles(const std::vector<std::string>& theTitles) = 0;
+  virtual std::vector<std::string> GetColumnTitles() = 0;
+
+  virtual void SetRowUnit(int theIndex, const char* theUnit) = 0;
+  virtual void SetRowUnits(const std::vector<std::string>& theUnits) = 0;
+  virtual std::vector<std::string> GetRowUnits() = 0;
+
+  virtual int GetNbRows() = 0;
+  virtual int GetNbColumns() = 0;
+  virtual void AddRow(const std::vector<int>& theData) = 0;
+  virtual void SetRow(int theRow, const std::vector<int>& theData) = 0;
+  virtual std::vector<int> GetRow(int theRow) = 0;
+  virtual void AddColumn(const std::vector<int>& theData) = 0;
+  virtual void SetColumn(int theColumn, const std::vector<int>& theData) = 0;
+  virtual std::vector<int> GetColumn(int theColumn) = 0;
+  virtual void PutValue(int theValue, int theRow, int theColumn) = 0;
+  virtual bool HasValue(int theRow, int theColumn) = 0;
+  virtual int GetValue(int theRow, int theColumn) = 0;
+
+  virtual std::vector<int> GetRowSetIndices(int theRow) = 0;
+  virtual void SetNbColumns(int theNbColumns) = 0;
+
+};
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeTableOfReal.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeTableOfReal.hxx
new file mode 100644 (file)
index 0000000..3da7e8a
--- /dev/null
@@ -0,0 +1,46 @@
+//  File   : SALOMEDSClient_AttributeTableOfReal.hxx
+//  Author : Michael Ponikarov
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeTableOfReal_HeaderFile
+#define SALOMEDSClient_AttributeTableOfReal_HeaderFile
+
+#include <vector>
+#include <string>
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeTableOfReal: public virtual SALOMEDSClient_GenericAttribute
+{
+    
+public:
+  
+  virtual void SetTitle(const char* theTitle) = 0;
+  virtual char* GetTitle() = 0;
+  virtual void SetRowTitle(int theIndex, const char* theTitle) = 0;
+  virtual void SetRowTitles(const std::vector<std::string>& theTitles) = 0;
+  virtual std::vector<std::string> GetRowTitles() = 0;
+  virtual void SetColumnTitle(int theIndex, const char* theTitle) = 0;
+  virtual void SetColumnTitles(const std::vector<std::string>& theTitles) = 0;
+  virtual std::vector<std::string> GetColumnTitles() = 0;
+  virtual void SetRowUnit(int theIndex, const char* theUnit) = 0;
+  virtual void SetRowUnits(const std::vector<std::string>& theUnits) = 0;
+  virtual std::vector<std::string> GetRowUnits() = 0;
+
+  virtual int GetNbRows() = 0;
+  virtual int GetNbColumns() = 0;
+  virtual void AddRow(const std::vector<double>& theData) = 0;
+  virtual void SetRow(int theRow, const std::vector<double>& theData) = 0;
+  virtual std::vector<double> GetRow(int theRow) = 0; 
+  virtual void AddColumn(const std::vector<double>& theData) = 0;
+  virtual void SetColumn(int theColumn, const std::vector<double>& theData) = 0;
+  virtual std::vector<double> GetColumn(int theColumn) = 0;
+  virtual void PutValue(double theValue, int theRow, int theColumn) = 0;
+  virtual bool HasValue(int theRow, int theColumn) = 0;
+  virtual double GetValue(int theRow, int theColumn) = 0;
+
+  virtual std::vector<int> GetRowSetIndices(int theRow) = 0;
+  virtual void SetNbColumns(int theNbColumns) = 0;
+
+};
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeTableOfString.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeTableOfString.hxx
new file mode 100644 (file)
index 0000000..fae6d5c
--- /dev/null
@@ -0,0 +1,46 @@
+//  File   : SALOMEDSClient_AttributeTableOfString.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeTableOfString_HeaderFile
+#define SALOMEDSClient_AttributeTableOfString_HeaderFile
+
+#include <vector>
+#include <string>
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeTableOfString: public virtual SALOMEDSClient_GenericAttribute
+{    
+public:
+
+  virtual void SetTitle(const char* theTitle) = 0;
+  virtual char* GetTitle() = 0;
+  virtual void SetRowTitle(int theIndex, const char* theTitle) = 0;
+  virtual void SetRowTitles(const std::vector<std::string>& theTitles) = 0;
+  virtual std::vector<std::string> GetRowTitles() = 0;
+  virtual void SetColumnTitle(int theIndex, const char* theTitle) = 0;
+  virtual void SetColumnTitles(const std::vector<std::string>& theTitles) = 0;
+  virtual std::vector<std::string> GetColumnTitles() = 0; 
+
+  virtual void SetRowUnit(int theIndex, const char* theUnit) = 0;
+  virtual void SetRowUnits(const std::vector<std::string>& theUnits) = 0;
+  virtual std::vector<std::string> GetRowUnits() = 0;
+
+  virtual int GetNbRows() = 0;
+  virtual int GetNbColumns() = 0;
+  virtual void AddRow(const std::vector<std::string>& theData) = 0;
+  virtual void SetRow(int theRow, const std::vector<std::string>& theData) = 0;
+  virtual std::vector<std::string> GetRow(int theRow) = 0;
+  virtual void AddColumn(const std::vector<std::string>& theData) = 0;
+  virtual void SetColumn(int theColumn, const std::vector<std::string>& theData) = 0;
+  virtual std::vector<std::string> GetColumn(int theColumn) = 0;
+  virtual void PutValue(const char* theValue, int theRow, int theColumn) = 0;
+  virtual bool HasValue(int theRow, int theColumn) = 0;
+  virtual char* GetValue(int theRow, int theColumn) = 0;
+
+  virtual std::vector<int> GetRowSetIndices(int theRow) = 0;
+  virtual void SetNbColumns(int theNbColumns) = 0;
+
+};
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeTarget.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeTarget.hxx
new file mode 100644 (file)
index 0000000..323dc64
--- /dev/null
@@ -0,0 +1,20 @@
+//  File   : SALOMEDSClient_AttributeTarget.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeTarget_HeaderFile
+#define SALOMEDSClient_AttributeTarget_HeaderFile
+
+#include <vector>
+#include "SALOMEDSClient_SObject.hxx"
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeTarget: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  virtual void Add(SALOMEDSClient_SObject* theObject) = 0;
+  virtual std::vector<SALOMEDSClient_SObject*> Get() = 0;
+  virtual void Remove(SALOMEDSClient_SObject* theObject) = 0;
+};
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeTextColor.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeTextColor.hxx
new file mode 100644 (file)
index 0000000..eccbd17
--- /dev/null
@@ -0,0 +1,21 @@
+//  File   : SALOMEDSClient_AttributeTextColor.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeTextColor_HeaderFile
+#define SALOMEDSClient_AttributeTextColor_HeaderFile
+
+#include <vector>
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeTextColor: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+
+  virtual std::vector<double> TextColor() = 0;
+  virtual void SetTextColor(const std::vector<double>& value) = 0;
+
+};
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeTextHighlightColor.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeTextHighlightColor.hxx
new file mode 100644 (file)
index 0000000..b728393
--- /dev/null
@@ -0,0 +1,19 @@
+//  File   : SALOMEDSClient_AttributeTextHighlightColor.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeTextHighlightColor_HeaderFile
+#define SALOMEDSClient_AttributeTextHighlightColor_HeaderFile
+
+#include <vector>
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeTextHighlightColor: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  virtual std::vector<double> TextHighlightColor() = 0;
+  virtual void SetTextHighlightColor(const std::vector<double>& value) = 0;
+};
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeTreeNode.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeTreeNode.hxx
new file mode 100644 (file)
index 0000000..a035dd9
--- /dev/null
@@ -0,0 +1,42 @@
+//  File   : SALOMEDSClient_AttributeTreeNode.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeTreeNode_HeaderFile
+#define SALOMEDSClient_AttributeTreeNode_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeTreeNode
+{
+public:
+  
+  virtual void SetFather(SALOMEDSClient_AttributeTreeNode* value) = 0;
+  virtual bool HasFather() = 0;
+  virtual SALOMEDSClient_AttributeTreeNode* GetFather() = 0;
+  virtual void SetPrevious(SALOMEDSClient_AttributeTreeNode* value) = 0;
+  virtual bool HasPrevious() = 0;
+  virtual SALOMEDSClient_AttributeTreeNode* GetPrevious() = 0;
+  virtual void SetNext(SALOMEDSClient_AttributeTreeNode* value) = 0;
+  virtual bool HasNext() = 0;
+  virtual SALOMEDSClient_AttributeTreeNode* GetNext() = 0;
+  virtual void SetFirst(SALOMEDSClient_AttributeTreeNode* value) = 0;
+  virtual bool HasFirst() = 0;
+  virtual SALOMEDSClient_AttributeTreeNode* GetFirst() = 0;
+  virtual void SetTreeID(const char* value) = 0;
+  virtual char* GetTreeID() = 0;
+  virtual void Append(SALOMEDSClient_AttributeTreeNode* value) = 0;
+  virtual void Prepend(SALOMEDSClient_AttributeTreeNode* value) = 0;
+  virtual void InsertBefore(SALOMEDSClient_AttributeTreeNode* value) = 0;
+  virtual void InsertAfter(SALOMEDSClient_AttributeTreeNode* value) = 0;
+  virtual void Remove() = 0;
+  virtual int Depth() = 0;
+  virtual bool IsRoot() = 0;
+  virtual bool IsDescendant(SALOMEDSClient_AttributeTreeNode* value) = 0;
+  virtual bool IsFather(SALOMEDSClient_AttributeTreeNode* value) = 0;
+  virtual bool IsChild(SALOMEDSClient_AttributeTreeNode* value) = 0;
+  virtual char* Label() = 0;
+
+};
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_AttributeUserID.hxx b/src/SALOMEDSClient/SALOMEDSClient_AttributeUserID.hxx
new file mode 100644 (file)
index 0000000..e184538
--- /dev/null
@@ -0,0 +1,22 @@
+//  File   : SALOMEDSClient_AttributeUserID.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef SALOMEDSClient_AttributeUserID_HeaderFile
+#define SALOMEDSClient_AttributeUserID_HeaderFile
+
+#include "SALOMEDSClient_GenericAttribute.hxx" 
+
+class SALOMEDSClient_AttributeUserID: public virtual SALOMEDSClient_GenericAttribute
+{
+public:
+  
+  virtual char* Value() = 0;
+  virtual void SetValue(const char* value) = 0;
+
+};
+
+
+
+
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_ChildIterator.hxx b/src/SALOMEDSClient/SALOMEDSClient_ChildIterator.hxx
new file mode 100644 (file)
index 0000000..e102748
--- /dev/null
@@ -0,0 +1,19 @@
+//  File   : SALOMEDSClient_ChildIterator.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef __SALOMEDSClient_CHILDITERATOR_H__
+#define __SALOMEDSClient_CHILDITERATOR_H__
+
+#include "SALOMEDSClient_SObject.hxx"
+
+class SALOMEDSClient_ChildIterator
+{
+public:
+  virtual void Init() = 0;
+  virtual void InitEx(bool) = 0;
+  virtual bool More() = 0;
+  virtual void Next() = 0;
+  virtual SALOMEDSClient_SObject* Value() = 0;
+};
+#endif
index 3b7204d18aec18deae044b94acd9fe851a26f3aa..3ea5a5bd10f6954e3123f7538d48554cd625846b 100644 (file)
@@ -1,52 +1,23 @@
-//  SALOME SALOMEDS : data structure of SALOME and sources of Salome data server 
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  This library is free software; you can redistribute it and/or 
-//  modify it under the terms of the GNU Lesser General Public 
-//  License as published by the Free Software Foundation; either 
-//  version 2.1 of the License. 
-// 
-//  This library is distributed in the hope that it will be useful, 
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-//  Lesser General Public License for more details. 
-// 
-//  You should have received a copy of the GNU Lesser General Public 
-//  License along with this library; if not, write to the Free Software 
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
-// 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : SALOMEDSClient__GenericAttribute_i.hxx
+//  File   : SALOMEDSClient__GenericAttribute.hxx
 //  Author : Sergey RUIN
 //  Module : SALOME
 
 #ifndef _GENERICCLIENT_ATTRIBUTE_HXX_
 #define _GENERICCLIENT_ATTRIBUTE_HXX_
 
-#include <string> 
 #include <exception>
 
 //SALOMEDSClient headers 
 #include "SALOMEDSClient_SObject.hxx"
 
-class LockProtection : exception
-{};
-
-
-class SALOMEDS_GenericAttribute: 
+class SALOMEDSClient_GenericAttribute
 {
 public:
   
-  void CheckLocked() throw (LockProtection) = 0;
-  string Store() = 0;
-  void Restore(const strin&) = 0;
-  string Type() = 0;
-  SALOMEDSClient_SObject* GetSObject() = 0;
+  virtual void CheckLocked() = 0;
+  virtual char* Type() = 0;
+  virtual char* GetClassType() = 0;
+  virtual SALOMEDSClient_SObject* GetSObject() = 0;
 };
 
 #endif
index 822bed6d5b2bc173f7661c9eade12f7309572823..f5615f3b7f9644d137e415f0db197b5829ae5126 100644 (file)
@@ -1,26 +1,3 @@
-//  SALOME SALOMEDS : data structure of SALOME and sources of Salome data server 
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  This library is free software; you can redistribute it and/or 
-//  modify it under the terms of the GNU Lesser General Public 
-//  License as published by the Free Software Foundation; either 
-//  version 2.1 of the License. 
-// 
-//  This library is distributed in the hope that it will be useful, 
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-//  Lesser General Public License for more details. 
-// 
-//  You should have received a copy of the GNU Lesser General Public 
-//  License along with this library; if not, write to the Free Software 
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
-// 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
 //  File   : SALOMEDSClient_SComponent.hxx
 //  Author : Sergey RUIN
 //  Module : SALOME
 #ifndef __SALOMEDSCLIENT_SCOMPONENT_H__
 #define __SALOMEDSCLIENT_SCOMPONENT_H__
 
-// std C++ headers
-#include <string>
-
 //SALOMEDSClient headers
-#include "SALOMEDS_SObject_i.hxx"
-
+#include "SALOMEDSClient_SObject.hxx"
 
-class SALOMEDSClient_SComponent: public SALOMEDSClient_SObject
+class SALOMEDSClient_SComponent: public virtual SALOMEDSClient_SObject
 {
 public:
   
-  virtual string ComponentDataType();
-  virtual bool ComponentIOR(srting& theID);    
+  virtual char* ComponentDataType() = 0;
+  virtual bool ComponentIOR(char* theID) = 0;    
 
 };
 #endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_SComponentIterator.hxx b/src/SALOMEDSClient/SALOMEDSClient_SComponentIterator.hxx
new file mode 100644 (file)
index 0000000..661527a
--- /dev/null
@@ -0,0 +1,18 @@
+//  File   : SALOMEDSClient_SComponentIterator.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef __SALOMEDSClient_SCOMPONENTITERATOR_H__
+#define __SALOMEDSClient_SCOMPONENTITERATOR_H__
+
+#include "SALOMEDSClient_SComponent.hxx"
+
+class SALOMEDSClient_SComponentIterator
+{
+public:
+  virtual void Init() = 0;
+  virtual bool More() = 0;
+  virtual void Next() = 0;
+  virtual SALOMEDSClient_SComponent* Value() = 0;  
+};
+#endif
index 44dc0ce55b112fde36fcf7ce4d6dae9aae9cd84e..35914f7c8191ad695e46927b1283638b39674b37 100644 (file)
@@ -1,61 +1,34 @@
-//  SALOME SALOMEDS : data structure of SALOME and sources of Salome data server 
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  This library is free software; you can redistribute it and/or 
-//  modify it under the terms of the GNU Lesser General Public 
-//  License as published by the Free Software Foundation; either 
-//  version 2.1 of the License. 
-// 
-//  This library is distributed in the hope that it will be useful, 
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-//  Lesser General Public License for more details. 
-// 
-//  You should have received a copy of the GNU Lesser General Public 
-//  License along with this library; if not, write to the Free Software 
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
-// 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
 //  File   : SALOMEDSClient_SObject.hxx
 //  Author : Sergey RUIN
 //  Module : SALOME
 
-#ifndef __SALOMEDSCLIENT_SOBJECT_I_H__
-#define __SALOMEDSCLIENT_SOBJECT_I_H__
+#ifndef __SALOMEDSCLIENT_SOBJECT_H__
+#define __SALOMEDSCLIENT_SOBJECT_H__
 
 // std C++ headers
 #include <vector>
-#include <string>
 
-//SALOMEDSClient headers
-#include <SALOMEDSClient_GenericAttribute.hxx>
-#include <SALOMEDSClient_SComponent.hxx>
-//#include <SALOMEDSClient_Study.hxx>
+class SALOMEDSClient_Study;
+class SALOMEDSClient_SComponent;
+class SALOMEDSClient_GenericAttribute;
 
 class SALOMEDSClient_SObject
 {
-
 public:
-  
-  virtual string GetID()  = 0;
+  virtual char* GetID()  = 0;
   virtual SALOMEDSClient_SComponent* GetFatherComponent() = 0;
   virtual SALOMEDSClient_SObject*    GetFather() = 0;
-  virtual bool FindAttribute(SALOMEDSClient_GenericAttribute* anAttribute, const strin& aTypeOfAttribute) = 0;
+  virtual bool FindAttribute(SALOMEDSClient_GenericAttribute* anAttribute, const char* aTypeOfAttribute) = 0;
   virtual bool ReferencedObject(SALOMEDSClient_SObject* theObject) = 0;
-  virtual bool FindSubObject(long theTag, SALOMEDSClient_SObject* theObject) = 0;
-  //virtual SALOMEDSClient_Study* GetStudy() = 0;
-  virtual string Name() = 0;
-  virtual void  Name(const string& theName)  = 0;
-  virtual vector<SALOMEDSClient_GenericAttribute*> GetAllAttributes() = 0;
-  virtual string GetName() = 0;
-  virtual string GetComment() = 0;
-  virtual string GetIOR() = 0;
-  virtual short Tag() = 0;
-  virtual short Depth() = 0;
+  virtual bool FindSubObject(int theTag, SALOMEDSClient_SObject* theObject) = 0;
+  virtual SALOMEDSClient_Study* GetStudy() = 0;
+  virtual char* Name() = 0;
+  virtual void  Name(const char* theName)  = 0;
+  virtual std::vector<SALOMEDSClient_GenericAttribute*> GetAllAttributes() = 0;
+  virtual char* GetName() = 0;
+  virtual char* GetComment() = 0;
+  virtual char* GetIOR() = 0;
+  virtual int   Tag() = 0;
+  virtual int   Depth() = 0;
 };
 #endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_Study.hxx b/src/SALOMEDSClient/SALOMEDSClient_Study.hxx
new file mode 100644 (file)
index 0000000..92d68a3
--- /dev/null
@@ -0,0 +1,63 @@
+//  File   : SALOMEDSClient_Study.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef __SALOMEDSClient_STUDY_H__
+#define __SALOMEDSClient_STUDY_H__
+
+#include <vector>
+#include <string>
+
+#include "SALOMEDSClient_SComponentIterator.hxx"
+#include "SALOMEDSClient_StudyBuilder.hxx"
+#include "SALOMEDSClient_SObject.hxx"
+#include "SALOMEDSClient_SComponent.hxx"
+#include "SALOMEDSClient_UseCaseBuilder.hxx"
+#include "SALOMEDSClient_AttributeStudyProperties.hxx"
+#include "SALOMEDSClient_ChildIterator.hxx"
+
+class SALOMEDSClient_Study
+{
+
+public:
+
+  virtual char* GetPersistentReference() = 0;
+  virtual char* GetTransientReference() = 0;
+  virtual bool IsEmpty() = 0;
+  virtual SALOMEDSClient_SComponent* FindComponent (const char* aComponentName) = 0;
+  virtual SALOMEDSClient_SComponent* FindComponentID(const char* aComponentID) = 0;
+  virtual SALOMEDSClient_SObject* FindObject(const char* anObjectName) = 0;
+  virtual std::vector<SALOMEDSClient_SObject*> FindObjectByName( const char* anObjectName, const char* aComponentName ) = 0;  
+  virtual SALOMEDSClient_SObject* FindObjectID(const char* anObjectID) = 0;
+  virtual SALOMEDSClient_SObject* CreateObjectID(const char* anObjectID) = 0;
+  virtual SALOMEDSClient_SObject* FindObjectIOR(const char* anObjectIOR) = 0;
+  virtual SALOMEDSClient_SObject* FindObjectByPath(const char* thePath) = 0;
+  virtual char* GetObjectPath(SALOMEDSClient_SObject* theSO) = 0;
+  virtual void SetContext(const char* thePath) = 0;
+  virtual char* GetContext() = 0;  
+  virtual std::vector<std::string> GetObjectNames(const char* theContext) = 0;
+  virtual std::vector<std::string> GetDirectoryNames(const char* theContext) = 0;
+  virtual std::vector<std::string> GetFileNames(const char* theContext) = 0;
+  virtual std::vector<std::string> GetComponentNames(const char* theContext) = 0;
+  virtual SALOMEDSClient_ChildIterator* NewChildIterator(SALOMEDSClient_SObject* theSO) = 0;
+  virtual SALOMEDSClient_SComponentIterator* NewComponentIterator() = 0;
+  virtual SALOMEDSClient_StudyBuilder* NewBuilder() = 0;
+  virtual char* Name() = 0;
+  virtual void  Name(const char* name) = 0;
+  virtual bool IsSaved() = 0;
+  virtual void  IsSaved(bool save) = 0;
+  virtual bool IsModified() = 0;
+  virtual char* URL() = 0;
+  virtual void  URL(const char* url) = 0;
+  virtual int StudyId() = 0;
+  virtual void  StudyId(int id) = 0;
+  virtual std::vector<SALOMEDSClient_SObject*> FindDependances(SALOMEDSClient_SObject* theSO) = 0;
+  virtual SALOMEDSClient_AttributeStudyProperties* GetProperties() = 0;
+  virtual char* GetLastModificationDate() = 0;
+  virtual std::vector<std::string> GetModificationsDate() = 0;
+  virtual SALOMEDSClient_UseCaseBuilder* GetUseCaseBuilder() = 0;
+  virtual void Close() = 0;
+  virtual void EnableUseCaseAutoFilling(bool isEnabled) = 0;
+  virtual bool DumpStudy(const char* thePath, const char* theBaseName, bool isPublished) = 0; 
+};
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_StudyBuilder.hxx b/src/SALOMEDSClient/SALOMEDSClient_StudyBuilder.hxx
new file mode 100644 (file)
index 0000000..adea936
--- /dev/null
@@ -0,0 +1,48 @@
+//  File   : SALOMEDSClient_StudyBuilder.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef __SALOMEDSClient_STUDYBUILDER_H__
+#define __SALOMEDSClient_STUDYBUILDER_H__
+
+#include "SALOMEDSClient_SObject.hxx"
+#include "SALOMEDSClient_SComponent.hxx"
+#include "SALOMEDSClient_GenericAttribute.hxx"
+
+class SALOMEDSClient_StudyBuilder
+{
+public:
+  virtual SALOMEDSClient_SComponent* NewComponent(const char* ComponentDataType) = 0;
+  virtual void DefineComponentInstance (SALOMEDSClient_SComponent*, const char* ComponentIOR) = 0;
+  virtual void RemoveComponent(SALOMEDSClient_SComponent* theSCO) = 0;
+  virtual SALOMEDSClient_SObject* NewObject(SALOMEDSClient_SObject* theFatherObject) = 0;
+  virtual SALOMEDSClient_SObject* NewObjectToTag(SALOMEDSClient_SObject* theFatherObject, int theTag) = 0;
+  virtual void AddDirectory(const char* thePath) = 0;
+  virtual void LoadWith(SALOMEDSClient_SComponent* theSCO, const char* theIOR) = 0;
+  virtual void Load(SALOMEDSClient_SObject* theSCO) = 0;
+  virtual void RemoveObject(SALOMEDSClient_SObject* theSO) = 0;
+  virtual void RemoveObjectWithChildren(SALOMEDSClient_SObject* theSO) = 0;
+  virtual SALOMEDSClient_GenericAttribute* FindOrCreateAttribute(SALOMEDSClient_SObject* theSO, const char* aTypeOfAttribute) = 0;
+  virtual bool FindAttribute(SALOMEDSClient_SObject* theSO, 
+                             SALOMEDSClient_GenericAttribute* theAttribute, 
+                            const char* aTypeOfAttribute) = 0;
+  virtual void RemoveAttribute(SALOMEDSClient_SObject* theSO, const char* aTypeOfAttribute) = 0;
+  virtual void Addreference(SALOMEDSClient_SObject* me, SALOMEDSClient_SObject* thereferencedObject) = 0;
+  virtual void RemoveReference(SALOMEDSClient_SObject* me) = 0;
+  virtual void SetGUID(SALOMEDSClient_SObject* theSO, const char* theGUID) = 0;
+  virtual bool IsGUID(SALOMEDSClient_SObject* theSO, const char* theGUID) = 0;
+  virtual void NewCommand() = 0;
+  virtual void CommitCommand()= 0;
+  virtual bool HasOpenCommand() = 0;
+  virtual void AbortCommand() = 0;
+  virtual void Undo() = 0;
+  virtual void Redo() = 0;
+  virtual bool GetAvailableUndos() = 0;
+  virtual bool GetAvailableRedos() = 0;
+  virtual int UndoLimit() = 0;
+  virtual void UndoLimit(int theLimit) = 0;
+  virtual void SetName(SALOMEDSClient_SObject* theSO, const char* theValue) = 0;
+  virtual void SetComment(SALOMEDSClient_SObject* theSO, const char* theValue) = 0;
+  virtual void SetIOR(SALOMEDSClient_SObject* theSO, const char* theValue) = 0;
+};
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_StudyManager.hxx b/src/SALOMEDSClient/SALOMEDSClient_StudyManager.hxx
new file mode 100644 (file)
index 0000000..43c6fcd
--- /dev/null
@@ -0,0 +1,34 @@
+//  File   : SALOMEDSClient_StudyManager.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef __SALOMEDSClient_STUDYMANAGER_H__
+#define __SALOMEDSClient_STUDYMANAGER_H__
+
+#include <vector>
+#include <string>
+
+#include "SALOMEDSClient_Study.hxx"
+
+class SALOMEDSClient_StudyManager
+{
+public:
+
+  virtual SALOMEDSClient_Study* NewStudy(const char* study_name) = 0;
+  virtual SALOMEDSClient_Study* Open(const char* theStudyUrl) = 0;
+  virtual void Close( SALOMEDSClient_Study* theStudy) = 0;
+  virtual void Save( SALOMEDSClient_Study* theStudy, bool theMultiFile) = 0;
+  virtual void SaveASCII( SALOMEDSClient_Study* theStudy, bool theMultiFile) = 0;
+  virtual void SaveAs(const char* theUrl,  SALOMEDSClient_Study* theStudy, bool theMultiFile) = 0;
+  virtual void SaveAsASCII(const char* theUrl,  SALOMEDSClient_Study* theStudy, bool theMultiFile) = 0;
+  virtual std::vector<std::string> GetOpenStudies() = 0;
+  virtual SALOMEDSClient_Study* GetStudyByName(const char* theStudyName) = 0;
+  virtual SALOMEDSClient_Study* GetStudyByID(int theStudyID) = 0;
+  virtual bool CanCopy(SALOMEDSClient_SObject* theSO) = 0;
+  virtual bool Copy(SALOMEDSClient_SObject* theSO) = 0;
+  virtual bool CanPaste(SALOMEDSClient_SObject* theSO) = 0;
+  virtual SALOMEDSClient_SObject* Paste(SALOMEDSClient_SObject* theSO) = 0;
+  
+};
+
+#endif 
diff --git a/src/SALOMEDSClient/SALOMEDSClient_UseCaseBuilder.hxx b/src/SALOMEDSClient/SALOMEDSClient_UseCaseBuilder.hxx
new file mode 100644 (file)
index 0000000..08c3d1f
--- /dev/null
@@ -0,0 +1,30 @@
+//  File   : SALOMEDSClient_UseCaseBuilder.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef __SALOMEDSClient_USECaseBuilder_H__
+#define __SALOMEDSClient_USECaseBuilder_H__
+
+#include "SALOMEDSClient_UseCaseIterator.hxx"
+#include "SALOMEDSClient_SObject.hxx"
+
+class SALOMEDSClient_UseCaseBuilder
+{
+public:
+  
+  virtual bool Append(SALOMEDSClient_SObject* theObject) = 0;
+  virtual bool Remove(SALOMEDSClient_SObject* theObject) = 0;
+  virtual bool AppendTo(SALOMEDSClient_SObject* theFather, SALOMEDSClient_SObject* theObject) = 0;
+  virtual bool InsertBefore(SALOMEDSClient_SObject* theFirst, SALOMEDSClient_SObject* theNext) = 0;
+  virtual bool  SetCurrentObject(SALOMEDSClient_SObject* theObject) = 0;
+  virtual bool SetRootCurrent() = 0;
+  virtual bool  HasChildren(SALOMEDSClient_SObject* theObject) = 0;
+  virtual bool  IsUseCase(SALOMEDSClient_SObject* theObject) = 0;
+  virtual bool SetName(const char* theName) = 0;
+  virtual SALOMEDSClient_SObject* GetCurrentObject() = 0;
+  virtual char* GetName() = 0;
+  virtual SALOMEDSClient_SObject* AddUseCase(const char* theName) = 0;
+  virtual SALOMEDSClient_UseCaseIterator* GetUseCaseIterator(SALOMEDSClient_SObject* anObject) = 0;
+
+};
+#endif
diff --git a/src/SALOMEDSClient/SALOMEDSClient_UseCaseIterator.hxx b/src/SALOMEDSClient/SALOMEDSClient_UseCaseIterator.hxx
new file mode 100644 (file)
index 0000000..1349687
--- /dev/null
@@ -0,0 +1,19 @@
+//  File   : SALOMEDSClient_UseCaseIterator.hxx
+//  Author : Sergey RUIN
+//  Module : SALOME
+
+#ifndef __SALOMEDSClient_USECASEITERATOR_H__
+#define __SALOMEDSClient_USECASEITERATOR_H__
+
+#include "SALOMEDSClient_SObject.hxx"
+
+class SALOMEDSClient_UseCaseIterator
+{
+
+public:
+  virtual void Init(bool) = 0;
+  virtual bool More() = 0;
+  virtual void Next() = 0;
+  virtual SALOMEDSClient_SObject* Value() = 0;
+};
+#endif