class-attributes

How does one document class attributes using Doxygen?

Hi there! I'm attempting to document class attributes using Doxygen. Currently, the protected attributes show up in the list at the top of the page for the specific class. I'd like to put an explanation for them. I've tried using @param [name] [description] both above the beginning of the class and right above the declaration of the at...

Remove class attribute in inherited class Python

Consider such code: class A (): name = 7 description = 8 color = 9 class B(A): pass Class B now has (inherits) all attributes of class A. For some reason I want B not to inherit attribute 'color'. Is there a possibility to do this? Yes, I know, that I can first create class B with attributes 'name' and 'description' and t...

How can I apply one or more attributes to all classes in a project?

Hi How can I apply an attribute to all classes in a particular project?! And is it enough to apply CLSCompliant attribute to just one class or do I have to apply to all classes? Thanks for your answers... ...

Inheritable attributes in ruby classes

Greets to all! I want to describe each kind of product by a class: # Base product class class BaseProduct prop :name, :price # Common properties for all inheritable products end class Cellphone < BaseProduct prop :imei # Concrete property for this product end class Auto < BaseProduct prop :max_speed, :color # Concrete properties...