nps/Object.c File Reference

#include "Object.h"
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <assert.h>
#include <stdint.h>
#include "../error/error.c"
#include "../msg.c"
#include "./stack.c"
#include <stdlib.h>
#include "../error/error.h"

Functions

struct Objectctor (struct Object *self, nps_error_t *err, va_list *app)
int dtor (struct Object *self, nps_error_t *error)
struct ObjectObject_ctor (struct Object *o, nps_error_t *err, va_list *app)
int Object_dtor (struct Object *o, nps_error_t *error)
int Class_dtor (struct Object *o, nps_error_t *error)
struct ObjectClass_ctor (struct Object *o, nps_error_t *err, va_list *app)
int _nps_del (void *v, nps_error_t *error)
void nps_retain (struct Object *o)
int nps_release (struct Object *o, nps_error_t *error)
struct Objectnps_new (const struct Class *class, nps_error_t *nps_err,...)
struct Objectnps_cast (const struct Class *to, struct Object *val)
void nps_initObject ()
int nps_releaseClasses (nps_error_t *error)

Variables

nps_stack_t_nps_class_stack
struct Class Object []
struct Class Class []

Function Documentation

int _nps_del ( void *  v,
nps_error_t error 
)
struct Object* Class_ctor ( struct Object o,
nps_error_t err,
va_list *  app 
) [read]
int Class_dtor ( struct Object o,
nps_error_t error 
)
struct Object* ctor ( struct Object self,
nps_error_t err,
va_list *  app 
) [read]
int dtor ( struct Object self,
nps_error_t error 
)
struct Object* nps_cast ( const struct Class to,
struct Object val 
) [read]
void nps_initObject (  ) 
struct Object* nps_new ( const struct Class class,
nps_error_t nps_err,
  ... 
) [read]
int nps_release ( struct Object o,
nps_error_t error 
)
int nps_releaseClasses ( nps_error_t error  ) 
void nps_retain ( struct Object o  ) 
struct Object* Object_ctor ( struct Object o,
nps_error_t err,
va_list *  app 
) [read]
int Object_dtor ( struct Object o,
nps_error_t error 
)

Variable Documentation

struct Class Class[]
Initial value:
 {{ 
        {&Class[0],1},
        Object,
        sizeof(struct Class),
        "Class",
        Class_ctor,
        Class_dtor
    }}
struct Class Object[]
Initial value:
 {{  
        {&Class[0],1},
        Class,
        sizeof(struct Object),
        "Object",
        Object_ctor,
        Object_dtor
    }}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Sun Sep 11 09:40:46 2011 for NPSML by  doxygen 1.6.3