CxxMethodDeclaration

Inherit from FunctionDeclaration

Primary key: oid: int

schema CxxMethodDeclaration extends FunctionDeclaration {
  @primary oid: int,
  parent_oid: int,
  index_order: int,
  location_oid: int,
  kind_name: string,
  printable_text: string
}

CxxMethodDeclaration::getLocationOid

/**
* @brief gets the location oid of this element.
* @return int
*/
pub fn getLocationOid(self: CxxMethodDeclaration) -> int;

CxxMethodDeclaration::isDefinition

/**
* @brief whether the declarion is a definition.
* @return int
*/
pub fn isDefinition(self: CxxMethodDeclaration) -> int;

CxxMethodDeclaration::getParentOid

/**
* @brief gets the parent oid of this element.
* @return int
*/
pub fn getParentOid(self: CxxMethodDeclaration) -> int;

CxxMethodDeclaration::getAnAncestor

/**
* @brief gets an ancestor of the element.
* @return ElementParent 
*/
pub fn getAnAncestor(self: CxxMethodDeclaration) -> *ElementParent;

CxxMethodDeclaration::getName

/**
* @brief gets the name of the named declaration.
* @return string 
*/
pub fn getName(self: CxxMethodDeclaration) -> string;

CxxMethodDeclaration::getReturnType

/**
* @brief gets the return type.
* @return Type
*/
pub fn getReturnType(self: CxxMethodDeclaration) -> Type;

CxxMethodDeclaration::getParent

/**
* @brief gets the class of the CXX method
* @return Class 
*/
pub fn getParent(self: CxxMethodDeclaration) -> Class;

CxxMethodDeclaration::getKindName

/**
* @brief Declaration kind name
* @return string
*/
pub fn getKindName(self: CxxMethodDeclaration) -> string;

CxxMethodDeclaration::getLocation

/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: CxxMethodDeclaration) -> Location;

CxxMethodDeclaration::__all__

Data constraint method.

pub fn __all__(db: CfamilyDB) -> *CxxMethodDeclaration;

CxxMethodDeclaration::getPrintableText

/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
pub fn getPrintableText(self: CxxMethodDeclaration) -> string;

CxxMethodDeclaration::getIndexOrder

/**
* @brief gets the index order of this element.
* @return int
*/
pub fn getIndexOrder(self: CxxMethodDeclaration) -> int;