gxPL  1.0
Tools, Application and Framework for xPL
Schemas

Detailed Description

Collaboration diagram for Schemas:

Functions

int gxPLSchemaClassSet (gxPLSchema *s, const char *schema_class)
 
int gxPLSchemaCmp (const gxPLSchema *s1, const gxPLSchema *s2)
 Compare two schemas. More...
 
int gxPLSchemaCopy (gxPLSchema *dst, const gxPLSchema *src)
 
int gxPLSchemaFromString (gxPLSchema *schema, const char *str)
 
int gxPLSchemaIsEmpty (const gxPLSchema *schema)
 
int gxPLSchemaMatch (const gxPLSchema *s1, const char *schema_class, const char *schema_type)
 Compare two schemas. More...
 
int gxPLSchemaSet (gxPLSchema *schema, const char *schema_class, const char *schema_type)
 
int gxPLSchemaTypeSet (gxPLSchema *s, const char *schema_type)
 

Function Documentation

int gxPLSchemaClassSet ( gxPLSchema s,
const char *  schema_class 
)
Parameters
s
schema_class
Returns
int gxPLSchemaCmp ( const gxPLSchema s1,
const gxPLSchema s2 
)

Compare two schemas.

Parameters
s1schema 1
s2schema 2
Returns
It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2.
int gxPLSchemaCopy ( gxPLSchema dst,
const gxPLSchema src 
)
Parameters
dst
src
Returns
int gxPLSchemaFromString ( gxPLSchema schema,
const char *  str 
)
Parameters
schema
str
Returns
int gxPLSchemaIsEmpty ( const gxPLSchema schema)
Parameters
schema
Returns
int gxPLSchemaMatch ( const gxPLSchema s1,
const char *  schema_class,
const char *  schema_type 
)

Compare two schemas.

Parameters
s1schema 1
s2schema 2
Returns
It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2.
int gxPLSchemaSet ( gxPLSchema schema,
const char *  schema_class,
const char *  schema_type 
)
Parameters
schema
schema_class
schema_type
Returns
int gxPLSchemaTypeSet ( gxPLSchema s,
const char *  schema_type 
)
Parameters
s
schema_type
Returns