Class

/**
* @brief A C/C++/Objective-C class.
* @todo
*/

Primary key: id: int

schema Class {
  @primary id: int
}

Class::getPrintableText

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

Class::getMemberVariable

/**
* @brief gets member variable declarations of the class.
* @return ObjCPropertyOrField
*/
pub fn getMemberVariable(self: Class) -> *ObjCPropertyOrField;

Class::getAnAncestorClass

/**
* @brief gets all ancestor classes of the element.
* @return Class
*/
pub fn getAnAncestorClass(self: Class) -> *Class;

Class::getName

/**
* @brief gets the name of the class.
* @return string 
*/
  • Parameter self: Class
  • Return string
pub fn getName(self: Class) -> string;

Class::__all__

Data constraint method.

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

Class::getParent

/**
* @brief gets the parent of the class.
* @return ElementParent
*/
pub fn getParent(self: Class) -> ElementParent;

Class::getSuperClass

/**
* @brief gets the super class of the element.
* @return Class 
*/
pub fn getSuperClass(self: Class) -> Class;

Class::getAnAncestor

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

Class::getLocation

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