102  ytType_CompleteGraph,
 
 
  125typedef uint8_t ytByte;
 
  127typedef ytObject * (*ytType_new_f)();
 
  128typedef void (*ytType_delete_f)(
void *);
 
  129typedef ytObject * (*ytType_parse_f)(
const char *);
 
  132typedef void (*ytType_print_f)(
const ytObject *, FILE *);
 
  133typedef int (*ytType_sprint_f)(
const ytObject *, 
char *, size_t);
 
  135typedef void (*ytType_dump_f)(
const ytObject *, FILE *);
 
  136typedef size_t (*ytType_size_f)(
const ytObject *);
 
  137typedef ytByte * (*ytType_serialize_f)(
const ytObject *, ytByte **);
 
  138typedef ytObject * (*ytType_deserialize_f)(ytByte ** 
const);
 
  141typedef void (*ytType_MPI_Bcast_f)(
ytObject **, int, MPI_Comm);
 
  143typedef void (*ytType_MPI_Bcast_f)(
ytObject **);
 
  150ytType_delete_f ytType_getDelete(
ytType type);
 
  151ytType_parse_f ytType_getParse(
ytType type);
 
  154ytType_print_f ytType_getPrint(
ytType type);
 
  155ytType_sprint_f ytType_getSprint(
ytType type);
 
  156ytType_compare_f ytType_getCompare(
ytType type);
 
  157ytType_dump_f ytType_getDump(
ytType type);
 
  158ytType_size_f ytType_getSize(
ytType type);
 
  159ytType_serialize_f ytType_getSerialize(
ytType type);
 
  160ytType_deserialize_f ytType_getDeserialize(
ytType type);
 
  161ytType_MPI_Bcast_f ytType_get_MPI_Bcast(
ytType type);
 
  163ytObject * ytType_IntArrayParse(
const char * str);
 
  164ytObject * ytType_DoubleArrayParse(
const char * str);
 
  165ytObject * ytType_StrArrayParse(
const char * str);
 
  167void ytType_intSerialize2(
const int * value, ytByte ** pptr);
 
  168int ytType_intDeserialize2(ytByte ** 
const ptr);
 
  169void ytType_doubleSerialize2(
const double * value, ytByte ** pptr);
 
  170double ytType_doubleDeserialize2(ytByte ** 
const ptr);
 
  171void ytType_strSerialize2(
const char * value, ytByte ** pptr);
 
  174int ytType_test(
int argc, 
char * argv[]);
 
int ytType_super(ytType super, ytType sub)
Checks if the type is a subclass of the given type.
Definition ytType.c:341
 
ytType
Types supported by ytLib.
Definition ytType.h:41
 
ytType_copy_f ytType_getCopy(ytType type)
Returns the copy function for the given type.
Definition ytType.c:388
 
ytType_new_f ytType_getNew(ytType type)
Returns the default constructor of the given type.
Definition ytType.c:368
 
const char * ytType_name(ytType type)
Returns the name of the type.
Definition ytType.c:334
 
ytType_clone_f ytType_getClone(ytType type)
Returns the copy function for the given type.
Definition ytType.c:382
 
ytType ytType_parse(const char *name)
Returns the ytType value of the given type name.
Definition ytType.c:356
 
@ ytType_ERROR
For representing errors.
Definition ytType.h:118
 
@ ytType_SIZE_T_P
primitive size_t *.
Definition ytType.h:70
 
@ ytType_Object
ytObject.
Definition ytType.h:73
 
@ ytType_INT_P
primitive int *.
Definition ytType.h:49
 
@ ytType_DOUBLE
primitive double.
Definition ytType.h:56
 
@ ytType_CHAR_P
primitive char *.
Definition ytType.h:61
 
@ ytType_Array
ytArray.
Definition ytType.h:76
 
@ ytType_StrArray_P
pointer to ytStrArray.
Definition ytType.h:91
 
@ ytType_NULL
NULL.
Definition ytType.h:43
 
@ ytType_UINT
primitive unsigned int.
Definition ytType.h:52
 
@ ytType_INT
primitive int.
Definition ytType.h:46
 
@ ytType_SIZE_T
primitive size_t.
Definition ytType.h:67
 
@ ytType_CHAR_PP
primitive char **.
Definition ytType.h:64
 
@ ytType_IntArray
ytIntArray.
Definition ytType.h:80
 
@ ytType_DoubleArray
ytDoubleArray.
Definition ytType.h:84
 
@ ytType_StrArray
ytStrArray.
Definition ytType.h:88