File: pdbFatItem.h

/* DUCTAPE Version 2.0                                                   */
/* Copyright (C) 2001                                                    */
/* Forschungszentrum Juelich, Zentralinstitut fuer Angewandte Mathematik */

#ifndef __PDB_FAT_ITEM_H__
#define __PDB_FAT_ITEM_H__

#include "pdbItem.h"

class pdbFatItem: public pdbItem {
  pdbFatItem(int id);
  pdbFatItem(const string& name, int id);
  virtual ~pdbFatItem();
  virtual ostream& print(ostream& ostr) const;
  void headBegin(const pdbLoc& loc);
  void headEnd  (const pdbLoc& loc);
  void bodyBegin(const pdbLoc& loc);
  void bodyEnd  (const pdbLoc& loc);

  const pdbLoc& headBegin() const;
  const pdbLoc& headEnd  () const;
  const pdbLoc& bodyBegin() const;
  const pdbLoc& bodyEnd  () const;

  virtual void adjustPtrs(PDB*);

  pdbLoc pos[4];

#ifndef NO_INLINE
#  include "pdbFatItem.inl"

Back to Index
Key to Colors and Styles