src/core/attribute.h
changeset 2950 9e20fb862cd8
parent 2948 858fc65447a5
child 2965 4b28e9740e3b
equal deleted inserted replaced
2949:a42da8051124 2950:9e20fb862cd8
   152    *
   152    *
   153    * This method expects that the caller has checked that the input value is
   153    * This method expects that the caller has checked that the input value is
   154    * valid with AttributeChecker::Check.
   154    * valid with AttributeChecker::Check.
   155    */
   155    */
   156   virtual bool Get (const ObjectBase * object, Attribute attribute) const = 0;
   156   virtual bool Get (const ObjectBase * object, Attribute attribute) const = 0;
       
   157 
       
   158   /**
       
   159    * \return true if this accessor supports the Get operation, false
       
   160    *         otherwise.
       
   161    */
       
   162   virtual bool HasGetter (void) const = 0;
       
   163   /**
       
   164    * \return true if this accessor supports the Set operation, false
       
   165    *         otherwise.
       
   166    */
       
   167   virtual bool HasSetter (void) const = 0;
   157 };
   168 };
   158 
   169 
   159 /**
   170 /**
   160  * \brief Represent the type of an attribute
   171  * \brief Represent the type of an attribute
   161  *
   172  *