xHarbour Reference Documentation > Statement Reference xHarbour Developers Network  

PROTECTED:

Declares the PROTECTED attribute for a group of member variables and methods.

Syntax

PROTECTED:

Description

Protected member variables and methods are accessible in the class(es) declared in the PRG module and all subclasses. Subclasses are all classes that inherit directly or indirectly from the declared class. A protected member is accessible within the context of a METHOD implemented in the declaring PRG module or in the PRG module of a subclass. Protected members are not accessible within the context of FUNCTION and PROCEDURE.

Info

See also:CLASS, DATA, EXPORTED:, HIDDEN:, METHOD (declaration)
Category: Class declaration , Declaration , xHarbour extensions
Header:hbclass.ch
Source:vm\classes.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe