27 #ifndef __SALOMEDSIMPL_SOBJECT_H__
28 #define __SALOMEDSIMPL_SOBJECT_H__
55 virtual std::string GetID()
const;
58 virtual int GetLastChildTag()
const ;
59 virtual bool FindAttribute(
DF_Attribute*& theAttribute,
const std::string& theTypeOfAttribute)
const;
64 virtual std::string
Name()
const {
return _name; }
65 virtual void Name(
const std::string& theName) { _name = theName; }
66 virtual std::vector<DF_Attribute*> GetAllAttributes()
const;
68 virtual std::string GetName()
const ;
69 virtual std::string GetComment()
const;
70 virtual std::string GetIOR()
const;
71 virtual void SetAttrString(
const std::string& name,
const std::string& value);
73 virtual int Tag()
const {
return _lab.Tag(); }
74 virtual int Depth()
const {
return _lab.Depth(); }
78 bool IsNull()
const {
return _lab.IsNull(); }
80 bool IsComponent()
const;
84 operator bool ()
const {
return !IsNull(); }
88 static std::string
GetGUID(
const std::string& theTypeOfAttribute);