knowL: Knowledge Libraries
Loading...
Searching...
No Matches
knowCore::MetaTypes Class Reference

Static Public Member Functions

static Uri uri (int _type)
 
static int type (const Uri &_uri)
 
static bool isNumericType (const Uri &_uri)
 
static bool isDefined (const Uri &_uri)
 
static bool canConvert (const Uri &_from, const Uri &_to, TypeCheckingMode _checking=TypeCheckingMode::Safe)
 
static QList< Urialiases (const knowCore::Uri &_uri)
 

Member Function Documentation

◆ aliases()

QList< Uri > MetaTypes::aliases ( const knowCore::Uri & _uri)
static
Returns
the list of aliases for a given type

◆ canConvert()

bool MetaTypes::canConvert ( const Uri & _from,
const Uri & _to,
TypeCheckingMode _checking = TypeCheckingMode::Safe )
static
Returns
true if there is a conversion from _from to _to.

◆ isDefined()

bool MetaTypes::isDefined ( const Uri & _uri)
static
Returns
true if the type _uri given in argument is registered to be used by Value and has a defined AbstractMetaTypeDefinition.

The documentation for this class was generated from the following files: