com.togethersoft.openapi.sci
Interface SciMemberDefinition
- public interface SciMemberDefinition
- extends SciObject
Methods for accessing a member's definition in C++ language.
For example, in the following C++ code framgent:
class myInt
{
public:
myInt();
};
...
myInt::myInt()
{
// the body
}
the method members() for the SciClass representing the class myInt will
return an enumeration of SciMembers consisting of SciMember for the myInt constructor only.
The getDefinition()
method applied to this constructor will return the SciMemberDefinition object corresponding
to the final four lines of the source code example. It can be handled later like any SciElement.- Author:
- TogetherSoft
- Since: Together 3.0
- See Also: SciMember.getDefinition()
| Methods inherited from interface com.togethersoft.openapi.sci.SciObject |
canCut, canDelete, canReplace, copy, cut, delete, getContainingFile, getContainingScope, getLanguage, getPositions, getText, getUserProperty, isReadOnly, replace, setUserProperty |
getMember
public SciMember getMember()
- Returns the corresponding
SciMember for this definition. Can return null if
the source code doesn't contain a member corresponding to this definition.- Returns: corresponding
SciMember for this definition
getTagList
public SciTagList getTagList()
- Returns the
SciTagList object containing all SciTags for this definition.- Returns:
SciTagList object containing all SciTags for this definition