// file: tr_phn_cstr_0.cc
//

// isip include files
//
#include "train_phone.h"
#include "train_phone_constants.h"

// method: destructor
//
// arguments: none
//
// return: none
//
// this is the default destructor
//
Train_Phone::~Train_Phone() {
  
  // clean up memory and reset
  //
  if (name_d != (char_1*)NULL) {
    delete [] name_d;
  }
  name_d = (char_1*)NULL;

  if (phones_d != (int_4*)NULL) {
    delete [] phones_d;
  }
  phones_d = (int_4*)NULL;
  
  // clean up the model
  //
  model_d = (Train_Model*)NULL;
  active_d = ISIP_FALSE;
  
  // exit gracefully
  //
}


