ObjCProtocolDeclaration

Inherit from ObjCContainerDeclaration

Primary key: oid: int

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

ObjCProtocolDeclaration::getLocation

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

ObjCProtocolDeclaration::getAnAncestor

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

ObjCProtocolDeclaration::getKindName

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

ObjCProtocolDeclaration::getParent

/**
* @brief gets the parent element of the declaration
* @return ElementParent 
*/
pub fn getParent(self: ObjCProtocolDeclaration) -> ElementParent;

ObjCProtocolDeclaration::getPrintableText

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

ObjCProtocolDeclaration::getName

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

ObjCProtocolDeclaration::isDefinition

/**
* @description If the protocol is a definition declaration
* @return int
*/
pub fn isDefinition(self: ObjCProtocolDeclaration) -> int;

ObjCProtocolDeclaration::getParentOid

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

ObjCProtocolDeclaration::__all__

Data constraint method.

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

ObjCProtocolDeclaration::getIndexOrder

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

ObjCProtocolDeclaration::getLocationOid

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