Salome HOME
projects
/
modules
/
yacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use pyobj type in optimizer loop.
[modules/yacs.git]
/
src
/
engine
/
TypeCode.cxx
diff --git
a/src/engine/TypeCode.cxx
b/src/engine/TypeCode.cxx
index 146f9a5b7243e2a65008b76020d7cd55a1a1d773..670115aeb241c1084482ecd8070b490b625a9b3d 100644
(file)
--- a/
src/engine/TypeCode.cxx
+++ b/
src/engine/TypeCode.cxx
@@
-71,13
+71,11
@@
AnyPtr TypeCode::getOrBuildAnyFromZippedData(char *data) const
const char * TypeCode::name() const throw(YACS::Exception)
{
const char * TypeCode::name() const throw(YACS::Exception)
{
- //throw Exception("No name");
return id();
}
const char * TypeCode::shortName() const
{
return id();
}
const char * TypeCode::shortName() const
{
- //throw Exception("No shortName");
return id();
}
return id();
}
@@
-313,17
+311,17
@@
TypeCode *TypeCodeObjref::clone() const
void TypeCodeObjref::putReprAtPlace(char *pt, const char *val, bool deepCpy) const
{
void TypeCodeObjref::putReprAtPlace(char *pt, const char *val, bool deepCpy) const
{
-
throw Exception("Not implemented yet : YACS::Any for objs ref"
);
+
AtomAny::putReprAtPlace(pt,val,this,deepCpy
);
}
void TypeCodeObjref::destroyZippedAny(char *data) const
{
}
void TypeCodeObjref::destroyZippedAny(char *data) const
{
-
throw Exception("Not implemented yet : YACS::Any for objs ref"
);
+
AtomAny::destroyReprAtPlace(data,this
);
}
AnyPtr TypeCodeObjref::getOrBuildAnyFromZippedData(char *data) const
{
}
AnyPtr TypeCodeObjref::getOrBuildAnyFromZippedData(char *data) const
{
-
throw Exception("Not implemented yet : YACS::Any for objs ref"
);
+
return AtomAny::getOrBuildFromData(data,this
);
}
const char * TypeCodeObjref::id() const throw(YACS::Exception)
}
const char * TypeCodeObjref::id() const throw(YACS::Exception)