TagDeclarationDO
/**
* @brief DO class: Represents the declaration of a struct/union/class/enum.
*/
Primary key: oid: int
schema TagDeclarationDO {
@primary oid: int,
tag_kind: string,
is_definition: int,
printable_text: string
}
TagDeclarationDO::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:TagDeclarationDO
- Return
string
pub fn getPrintableText(self: TagDeclarationDO) -> string;
TagDeclarationDO::__all__
Data constraint method.
- Parameter
db
:CfamilyDB
- Return
*TagDeclarationDO
pub fn __all__(db: CfamilyDB) -> *TagDeclarationDO;
TagDeclarationDO::getIsDefinition
/**
* @brief Return true if this declaration is a completion definition of the type. Provided for consistency.
* @return int
*/
- Parameter
self
:TagDeclarationDO
- Return
int
pub fn getIsDefinition(self: TagDeclarationDO) -> int;
TagDeclarationDO::getTagKind
/**
* @brief The kind of a tag type. \n
Enum: struct, interface, union, class, enum
* @return string
*/
- Parameter
self
:TagDeclarationDO
- Return
string
pub fn getTagKind(self: TagDeclarationDO) -> string;