|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier
Base Specifiers are where a class expresses from whom it inherits.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
IASTNode.CopyStyle |
Field Summary | |
---|---|
static ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier[] |
EMPTY_BASESPECIFIER_ARRAY
|
static ASTNodeProperty |
NAME
Relation between base specifier and its name. |
static int |
v_private
|
static int |
v_protected
|
static int |
v_public
|
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
r_declaration, r_definition, r_reference, r_unclear |
Method Summary | |
---|---|
ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier |
copy()
Returns a mutable copy of the tree rooted at this node. |
ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node. |
IASTName |
getName()
Returns the name of this specifier. |
int |
getVisibility()
Returns the accessibility for the base. |
boolean |
isVirtual()
Returns whether this specifies a virtual base. |
void |
setName(IASTName name)
Sets the name for this specifier, not allowed on frozen AST. |
void |
setVirtual(boolean value)
Sets whether this specifier is for a virtual base. |
void |
setVisibility(int visibility)
Sets the visibility of this specifier, not allowed on frozen AST. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
getRoleForName |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPASTPackExpandable |
---|
isPackExpansion, setIsPackExpansion |
Field Detail |
---|
static final ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier[] EMPTY_BASESPECIFIER_ARRAY
static final ASTNodeProperty NAME
static final int v_public
static final int v_protected
static final int v_private
Method Detail |
---|
boolean isVirtual()
int getVisibility()
IASTName getName()
ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier copy()
IASTNode
copy.getParent() == null
copy.getPropertyInParent() == null
copy.isFrozen() == false
Preprocessor nodes do not currently support being copied.
Implicit name nodes are not copied, instead they can be regenerated if required.
Calling this method is equivalent
copy
in interface IASTNode
ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier copy(IASTNode.CopyStyle style)
IASTNode
copy.getParent() == null
copy.getPropertyInParent() == null
copy.isFrozen() == false
Preprocessor nodes do not currently support being copied.
Implicit name nodes are not copied, instead they can be regenerated if required.
copy
in interface IASTNode
style
- IASTNode.CopyStyle
create a copy with or without locations. Please see
IASTNode.CopyStyle
for restrictions on copies with Locations.void setName(IASTName name)
void setVirtual(boolean value)
void setVisibility(int visibility)
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |