/*
   b_ptr_void.h   Generated by the Ballista(tm) Project data object compiler
   Copyright (C) 1998-2001  Carnegie Mellon University

   This program is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License
   as published by the Free Software Foundation; either version 2
   of the License, or (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

   File generated Tuesday, May 22 at 04:52 PM EDT

TITLE
   b_ptr_void.h
*/

//include control
#ifndef B_PTR_VOID_H
#define B_PTR_VOID_H
#include <errno.h>
#include <iostream.h>
#include <stdio.h>
#include <stdlib.h>
#include <stream.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "bTypes.h"

 #include "values.h"
 #include "bTypes.h"
 #define CLASSTYPE void*
#define CLASSNAME b_ptr_void
#define CLASS_STRING "b_ptr_void"
#define CLASSPARENT paramAccess
#define NUMBER_OF_DIALS 1


class CLASSNAME:public CLASSPARENT
{
private:
  //CLASS DIAL SETTING STRING VARIABLES
  b_param _b_ptr_voidTYPENAME;
b_param _b_ptr_voidNULL;
int b_ptr_void_null;
b_param _b_ptr_voidNEGONE;
int b_ptr_void_negone;
b_param _b_ptr_voidMAXINT;
int b_ptr_void_maxint;
b_param _b_ptr_voidSTATIC;
int b_ptr_void_static;
b_param _b_ptr_voidDYNAMIC;
int b_ptr_void_dynamic;
b_param _b_ptr_voidCONST;
int b_ptr_void_const;
b_param _b_ptr_voidFREED;
int b_ptr_void_freed;
  //TYPE VARIABLE TO SAVE VALUE FOR DESTRUCTION
  CLASSTYPE _theVariable;

 public:
  //CLASS DIAL SETTING STRING ACCESS METHODS
b_param *b_ptr_voidNULL();
b_param *b_ptr_voidNEGONE();
b_param *b_ptr_voidMAXINT();
b_param *b_ptr_voidSTATIC();
b_param *b_ptr_voidDYNAMIC();
b_param *b_ptr_voidCONST();
b_param *b_ptr_voidFREED();
  //CLASS CONSTRUCTOR
  CLASSNAME();

public:
  //Mandatory Methods
  b_param *typeName();           //returns the type of parameter
  virtual void *access(b_param data[]);
  virtual int commit(b_param tname);
  virtual int cleanup(b_param tname);
  
  virtual int numDials(b_param tname);
  virtual int numItems(b_param tname,int dialNumber);
  virtual b_param *paramName(b_param tname,int dialNumber, int position);

  virtual int distanceFromBase();
  virtual void typeList(b_param list[],int num);
  
};



#endif      //CLASSNAME_H
