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