}
}
+bool SALOMEDS_SObject::IsNull() const
+{
+ return _isLocal ? ( !_local_impl || _local_impl->IsNull() ) : _corba_impl->IsNull();
+}
+
std::string SALOMEDS_SObject::GetID()
{
std::string aValue;
ASSERT(SINGLETON_<ORB_INIT>::IsAlreadyExisting());
_orb = init(0 , 0 ) ;
}
+
+void SALOMEDS_SObject::SetAttrString(const std::string& name, const std::string& value)
+{
+ if(_isLocal)
+ {
+ SALOMEDS::Locker lock;
+ _local_impl->SetAttrString(name,value);
+ }
+ else
+ {
+ _corba_impl->SetAttrString(name.c_str(),value.c_str());
+ }
+}