FunctionDeclaration
Inherit from DeclaratorDeclaration
Primary key: oid: int
schema FunctionDeclaration extends DeclaratorDeclaration {
@primary oid: int,
parent_oid: int,
index_order: int,
location_oid: int,
kind_name: string,
printable_text: string
}
FunctionDeclaration::getName
/**
* @brief gets the name of the named declaration.
* @return string
*/
- Parameter
self
:FunctionDeclaration
- Return
string
pub fn getName(self: FunctionDeclaration) -> string;
FunctionDeclaration::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:FunctionDeclaration
- Return
*ElementParent
pub fn getAnAncestor(self: FunctionDeclaration) -> *ElementParent;
FunctionDeclaration::isDefinition
/**
* @brief whether the declarion is a definition.
* @return int
*/
- Parameter
self
:FunctionDeclaration
- Return
int
pub fn isDefinition(self: FunctionDeclaration) -> int;
FunctionDeclaration::getParentOid
/**
* @brief gets the parent oid of this element.
* @return int
*/
- Parameter
self
:FunctionDeclaration
- Return
int
pub fn getParentOid(self: FunctionDeclaration) -> int;
FunctionDeclaration::getReturnType
/**
* @brief gets the return type.
* @return Type
*/
- Parameter
self
:FunctionDeclaration
- Return
Type
pub fn getReturnType(self: FunctionDeclaration) -> Type;
FunctionDeclaration::getKindName
/**
* @brief Declaration kind name
* @return string
*/
- Parameter
self
:FunctionDeclaration
- Return
string
pub fn getKindName(self: FunctionDeclaration) -> string;
FunctionDeclaration::getParent
/**
* @brief gets the parent element of the declaration
* @return ElementParent
*/
- Parameter
self
:FunctionDeclaration
- Return
ElementParent
pub fn getParent(self: FunctionDeclaration) -> ElementParent;
FunctionDeclaration::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:FunctionDeclaration
- Return
Location
pub fn getLocation(self: FunctionDeclaration) -> Location;
FunctionDeclaration::__all__
Data constraint method.
- Parameter
db
:CfamilyDB
- Return
*FunctionDeclaration
pub fn __all__(db: CfamilyDB) -> *FunctionDeclaration;
FunctionDeclaration::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:FunctionDeclaration
- Return
string
pub fn getPrintableText(self: FunctionDeclaration) -> string;
FunctionDeclaration::getIndexOrder
/**
* @brief gets the index order of this element.
* @return int
*/
- Parameter
self
:FunctionDeclaration
- Return
int
pub fn getIndexOrder(self: FunctionDeclaration) -> int;
FunctionDeclaration::getLocationOid
/**
* @brief gets the location oid of this element.
* @return int
*/
- Parameter
self
:FunctionDeclaration
- Return
int
pub fn getLocationOid(self: FunctionDeclaration) -> int;