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