Revision history for KeyPgVisPrivate
Revision [22332]
Last edited on 2018-06-12 16:40:36 by fxm [Highlight that private members are not accessible from inside derived types]Additions:
##**Private:**## indicates that ##//member declarations//## following it have private access. Private members are accessible only from inside a member function for the ##[[KeyPgType|Type]]## or ##[[KeyPgClass|Class]]## (so not accessible from inside a member function for types or classes which are derived from the ##[[KeyPgType|Type]]## or ##[[KeyPgClass|Class]]##).
Deletions:
No Differences
Additions:
Specifies private member access control in a ##[[KeyPgType|Type]]## or ##[[KeyPgClass|Class]]##
[[KeyPgType|Type]] //typename//
name of the ##[[KeyPgType|Type]]## or ##[[KeyPgClass|Class]]##
##**Private:**## indicates that ##//member declarations//## following it have private access. Private members are accessible only from inside a member function for the ##[[KeyPgType|Type]]## or ##[[KeyPgClass|Class]]##.
##//member declarations//## following ##**Private:**## are private until a different access control specifier is given, like ##[[KeyPgVisPublic|Public:]]## or ##[[KeyPgVisProtected|Protected:]]##.
Members in a ##[[KeyPgType|Type]]## declaration are ##**Public:**## by default if no member access control specifier is given.
- Available only in the //[[CompilerOptlang|-lang fb]]// dialect.
- ##[[KeyPgPrivate|Private]]##
- ##[[KeyPgVisPublic|Public:]]## (Access Control)
- ##[[KeyPgVisProtected|Protected:]]## (Access Control)
- ##[[KeyPgType|Type]]##
[[KeyPgType|Type]] //typename//
name of the ##[[KeyPgType|Type]]## or ##[[KeyPgClass|Class]]##
##**Private:**## indicates that ##//member declarations//## following it have private access. Private members are accessible only from inside a member function for the ##[[KeyPgType|Type]]## or ##[[KeyPgClass|Class]]##.
##//member declarations//## following ##**Private:**## are private until a different access control specifier is given, like ##[[KeyPgVisPublic|Public:]]## or ##[[KeyPgVisProtected|Protected:]]##.
Members in a ##[[KeyPgType|Type]]## declaration are ##**Public:**## by default if no member access control specifier is given.
- Available only in the //[[CompilerOptlang|-lang fb]]// dialect.
- ##[[KeyPgPrivate|Private]]##
- ##[[KeyPgVisPublic|Public:]]## (Access Control)
- ##[[KeyPgVisProtected|Protected:]]## (Access Control)
- ##[[KeyPgType|Type]]##
Deletions:
[[KeyPgType Type]] //typename//
name of the ##[[KeyPgType Type]]## or ##[[KeyPgClass Class]]##
##**Private:**## indicates that ##//member declarations//## following it have private access. Private members are accessible only from inside a member function for the ##[[KeyPgType Type]]## or ##[[KeyPgClass Class]]##.
##//member declarations//## following ##**Private:**## are private until a different access control specifier is given, like ##[[KeyPgVisPublic Public:]]## or ##[[KeyPgVisProtected Protected:]]##.
Members in a ##[[KeyPgType Type]]## declaration are ##**Public:**## by default if no member access control specifier is given.
- Available only in the //[[CompilerOptlang -lang fb]]// dialect.
- ##[[KeyPgPrivate Private]]##
- ##[[KeyPgVisPublic Public:]]## (Access Control)
- ##[[KeyPgVisProtected Protected:]]## (Access Control)
- ##[[KeyPgType Type]]##
Additions:
- ##[[KeyPgPrivate Private]]##
Revision [14466]
Edited on 2009-08-29 21:57:40 by CountingPine [Remove CamelCase links in "New to FreeBASIC"]Additions:
- New to ""FreeBASIC""