Assertion: class's member | /r/HasProperty | accessible
Facets:
value: from a pointer
type: CAUSE
value: from members of their derived classes
type: OTHER
value: from their
type: OTHER
value: from their "friends"
type: OTHER
value: directly
type: MANNER
value: by using the arrow operator
type: MANNER
value: by declaringandasinstead
type: MANNER
value: from is visible
type: OTHER
value: from the derived classesand
type: OTHER
value: as with plain data structures
type: OTHER
value: outside the class
type: LOCATION
Source sentences:
text: The public members form an interface to the class and are accessible outside the class.
text: Similarly as with plain data structures, the members of an object can be accessed directly from a pointer by using the arrow operator ( -> ).
text: private members of a class are accessible only from within other members of the same class (or from their "friends" ).
text: members of a class are accessible only from within other members of the same class (or from their ).
text: protected members are accessible from other members of the same class (or from their "friends" ), but also from members of their derived classes.
text: members are accessible from other members of the same class (or from their ), but also from members of their derived classes.
text: Finally, public members are accessible from anywhere where the object is visible.
text: By declaringandasinstead of, these members are also accessible from the derived classesand, instead of just from members of.
text: For example:is a pointer to an object of classSimilarly as with plain data structures, the members of an object can be accessed directly from a pointer by using the arrow operator ().