SwitchCaseDO
/** * @brief DO class: A switch case. */
Primary key: oid: int
schema SwitchCaseDO { @primary oid: int, sub_statement_oid: int, next_switch_case_oid: int, is_default: int, printable_text: string }
SwitchCaseDO::getPrintableText
/** * @brief gets a printed representation of this element, including its structure where applicable. * @return string. */
- Parameter
self
:SwitchCaseDO
- Return
string
pub fn getPrintableText(self: SwitchCaseDO) -> string;
SwitchCaseDO::getIsDefault
/** * @brief gets the is default of this element. * @return int */
- Parameter
self
:SwitchCaseDO
- Return
int
pub fn getIsDefault(self: SwitchCaseDO) -> int;
SwitchCaseDO::__all__
Data constraint method.
- Parameter
db
:CfamilyDB
- Return
*SwitchCaseDO
pub fn __all__(db: CfamilyDB) -> *SwitchCaseDO;
SwitchCaseDO::getNextSwitchCaseOid
/** * @brief Gets the next switch case belonging to the same switch statement, if any * @return int */
- Parameter
self
:SwitchCaseDO
- Return
int
pub fn getNextSwitchCaseOid(self: SwitchCaseDO) -> int;
SwitchCaseDO::getSubStatementOid
/** * @brief gets the sub statement oid of this element. * @return int */
- Parameter
self
:SwitchCaseDO
- Return
int
pub fn getSubStatementOid(self: SwitchCaseDO) -> int;