Salome HOME
Updated copyright comment
[modules/yacs.git] / src / engine / TypeCode.hxx
index dbdaf22e20c2ff9c1f41b4ee63ce0f133585b4ac..ec5963252ce343fb80c9ae90303474c114adac93 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -71,20 +71,21 @@ namespace YACS
 
       DynType kind() const;
       const char * getKindRepr() const;
-      
+      const TypeCode *subContentType(int lev) const;
       virtual TypeCode *clone() const;
       virtual void putReprAtPlace(char *pt, const char *val, bool deepCpy) const;
       virtual void destroyZippedAny(char *data) const;
       virtual AnyPtr getOrBuildAnyFromZippedData(char *data) const;
-      virtual const char * name()       const throw(Exception);
+      virtual const char * name()       const;
       virtual const char * shortName()  const;
-      virtual const char * id()         const throw(Exception);
-      virtual const TypeCode * contentType() const throw(Exception);
-      virtual int isA(const char* repositoryId) const throw(Exception);
+      virtual const char * id()         const;
+      virtual const TypeCode * contentType() const;
+      virtual int isA(const char* repositoryId) const;
       virtual int isA(const TypeCode* tc) const ;
       virtual int isAdaptable(const TypeCode* tc) const;
       virtual int isEquivalent(const TypeCode* tc) const;
       virtual unsigned getSizeInByteOfAnyReprInSeq() const;
+      virtual std::string getPrintStr() const;
 
       static const char *getKindRepr(DynType kind);
       static TypeCode * interfaceTc(const char* id, const char* name);
@@ -133,10 +134,10 @@ namespace YACS
       void putReprAtPlace(char *pt, const char *val, bool deepCpy) const;
       void destroyZippedAny(char *data) const;
       AnyPtr getOrBuildAnyFromZippedData(char *data) const;
-      const char * id() const   throw(Exception);
-      const char * name() const throw(Exception);
+      const char * id() const;
+      const char * name() const;
       const char * shortName() const;
-      int isA(const char* repositoryId) const throw(Exception);
+      int isA(const char* repositoryId) const;
       virtual int isA(const TypeCode* tc) const ;
       virtual int isAdaptable(const TypeCode* tc) const;
       virtual int isEquivalent(const TypeCode* tc) const;
@@ -165,11 +166,12 @@ namespace YACS
       void destroyZippedAny(char *data) const;
       virtual unsigned getSizeInByteOfAnyReprInSeq() const;
       AnyPtr getOrBuildAnyFromZippedData(char *data) const;
-      const char * id()   const throw(Exception);
-      const char * name() const throw(Exception);
+      const char * id()   const;
+      const char * name() const;
       const char * shortName() const;
+      virtual std::string getPrintStr() const;
 
-      virtual const TypeCode * contentType() const throw(Exception);
+      virtual const TypeCode * contentType() const;
       virtual int isA(const TypeCode* tc) const ;
       virtual int isAdaptable(const TypeCode* tc) const;
       virtual int isEquivalent(const TypeCode* tc) const;
@@ -195,12 +197,12 @@ namespace YACS
       void putReprAtPlace(char *pt, const char *val, bool deepCpy) const;
       void destroyZippedAny(char *data) const;
       AnyPtr getOrBuildAnyFromZippedData(char *data) const;
-      const char * id()   const throw(Exception);
-      const char * name() const throw(Exception);
+      const char * id()   const;
+      const char * name() const;
       const char * shortName() const;
       unsigned getStaticLgth() const;
 
-      virtual const TypeCode * contentType() const throw(Exception);
+      virtual const TypeCode * contentType() const;
       virtual int isA(const TypeCode* tc) const ;
       virtual int isAdaptable(const TypeCode* tc) const;
       virtual int isEquivalent(const TypeCode* tc) const;
@@ -231,12 +233,12 @@ namespace YACS
       void putReprAtPlace(char *pt, const char *val, bool deepCpy) const;
       void destroyZippedAny(char *data) const;
       AnyPtr getOrBuildAnyFromZippedData(char *data) const;
-      const char * id() const   throw(Exception);
-      const char * name() const throw(Exception);
+      const char * id() const;
+      const char * name() const;
       const char * shortName() const;
       virtual unsigned getSizeInByteOfAnyReprInSeq() const;
-      const TypeCode * contentType() const throw(Exception);
-      virtual int isA(const char* repositoryId) const throw(Exception);
+      const TypeCode * contentType() const;
+      virtual int isA(const char* repositoryId) const;
       virtual int isA(const TypeCode* tc) const ;
       virtual int isAdaptable(const TypeCode* tc) const;
       virtual int isEquivalent(const TypeCode* tc) const;