SCA

SDO Type API

SDO Type API
API Usage Examples

Function Index

SDOTYPE findType (SDOFACTORY df, char *ns, char *name)
 Returns the SDOTYPE registered with the specified namespace and name, in the supplied data factory, or 0. More...
 
char * getTypeName (SDOTYPE type)
 Returns the argument SDOTYPE's name. More...
 
char * getURI (SDOTYPE type)
 Returns the argument SDOTYPE's namespace URI. More...
 
SDOPROPERTY getTypePropertyByName (SDOTYPE type, char *name)
 Returns the argument SDOTYPE's SDOPROPERTY having the specified name, if any. More...
 
SDOTYPE getType (DATAOBJECT pdo)
 Returns the SDOTYPE of the argument DATAOBJECT. More...
 
SDOLIST getProperties (SDOTYPE type)
 Returns an SDOLIST of the supplied SDOTYPE's properties. More...
 
SDOLIST getTypeInstanceProperties (SDOTYPE t)
 Returns a constant list of XSD facet properties for a simple type.
 
char isSequencedType (xmlSchemaTypePtr pt)
 Returns wether the argument is a sequenced type (any complex XML Schema type).
 

Function Details

SDOTYPE findType ( SDOFACTORY  df,
char *  ns,
char *  name 
)

Returns the SDOTYPE registered with the specified namespace and name, in the supplied data factory, or 0.

Parameters
dfdata factory to lookup type info in
nsnamespace URI of the type to lookup
namename of the type to lookup
char* getTypeName ( SDOTYPE  type)

Returns the argument SDOTYPE's name.

Parameters
typeSDOTYPE to return name for
char* getURI ( SDOTYPE  type)

Returns the argument SDOTYPE's namespace URI.

Parameters
typeSDOTYPE to return namespace URI for
SDOPROPERTY getTypePropertyByName ( SDOTYPE  type,
char *  name 
)

Returns the argument SDOTYPE's SDOPROPERTY having the specified name, if any.

Parameters
typeSDOTYPE having the property to lookup
nameproperty name to lookup
SDOTYPE getType ( DATAOBJECT  pdo)

Returns the SDOTYPE of the argument DATAOBJECT.

Parameters
pdoDATAOBJECT to return SDOTYPE for
SDOLIST getProperties ( SDOTYPE  type)

Returns an SDOLIST of the supplied SDOTYPE's properties.

Parameters
typeSDOTYPE to return list of properties for