X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fengine%2FTypeCode.hxx;h=ec5963252ce343fb80c9ae90303474c114adac93;hb=1894c52d0838df8676e770bef061fc23ca436452;hp=dbdaf22e20c2ff9c1f41b4ee63ce0f133585b4ac;hpb=b797825313f7af9fd691d137c7c6df4950e7de2c;p=modules%2Fyacs.git diff --git a/src/engine/TypeCode.hxx b/src/engine/TypeCode.hxx old mode 100755 new mode 100644 index dbdaf22e2..ec5963252 --- a/src/engine/TypeCode.hxx +++ b/src/engine/TypeCode.hxx @@ -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;