#include <stdbool.h>
#include <dom/core/exceptions.h>
#include <dom/core/string.h>
Go to the source code of this file.
◆ dom_type_info_get_type_name
#define dom_type_info_get_type_name |
( |
| t, |
|
|
| r ) |
Value:
dom_exception _dom_type_info_get_type_name(dom_type_info *ti, dom_string **ret)
Definition typeinfo.c:29
◆ dom_type_info_get_type_namespace
#define dom_type_info_get_type_namespace |
( |
| t, |
|
|
| r ) |
Value:
dom_exception _dom_type_info_get_type_namespace(dom_type_info *ti, dom_string **ret)
Definition typeinfo.c:48
◆ dom_type_info_is_derived
#define dom_type_info_is_derived |
( |
| t, |
|
|
| s, |
|
|
| n, |
|
|
| m, |
|
|
| r ) |
Value:
dom_exception _dom_type_info_is_derived(dom_type_info *ti, dom_string *namespace, dom_string *name, dom_type_info_derivation_method method, bool *ret)
Definition typeinfo.c:69
dom_type_info_derivation_method
Definition typeinfo.h:18
◆ dom_type_info
typedef struct dom_type_info dom_type_info |
◆ dom_type_info_derivation_method
Enumerator |
---|
DOM_TYPE_INFO_DERIVATION_RESTRICTION | |
DOM_TYPE_INFO_DERIVATION_EXTENSION | |
DOM_TYPE_INFO_DERIVATION_UNION | |
DOM_TYPE_INFO_DERIVATION_LIST | |
◆ _dom_type_info_get_type_name()
Get the type name of this dom_type_info
- Parameters
-
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
We don't support this API now, so this function call always return DOM_NOT_SUPPORTED_ERR.
◆ _dom_type_info_get_type_namespace()
Get the namespace of this type info
- Parameters
-
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
We don't support this API now, so this function call always return DOM_NOT_SUPPORTED_ERR.
◆ _dom_type_info_is_derived()
Whether this type info is derived from another one
- Parameters
-
ti | The dom_type_info |
namespace | The namespace of name |
name | The name of the base typeinfo |
method | The deriving method |
ret | The return value |
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
We don't support this API now, so this function call always return DOM_NOT_SUPPORTED_ERR.