File: pdbCRoutine.h

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

#ifndef __PDB_CROUTINE_H__
#define __PDB_CROUTINE_H__

#include "pdbRoutine.h"

class pdbCRoutine : public pdbRoutine {
  pdbCRoutine(int id);
  pdbCRoutine(const string& name, int id);

  virtual ostream& print(ostream& ostr) const;

  virt_t virtuality() const;
  bool covariantReturnVirtualOverride() const;
  bool isInline() const;
  bool isCompilerGenerated() const;
  bool isExplicitCtor() const;
  bool isStatic() const;
  bool isVirtual() const;

  void virtuality(virt_t v);
  void covariantReturnVirtualOverride(bool c);
  void isInline(bool i);
  void isCompilerGenerated(bool c);
  void isExplicitCtor(bool e);
  void isStatic(bool s);

  virtual void process(PDB *p);

  virt_t             virt;
  bool               crvo;
  bool               inl;
  bool               isCGen;
  bool               isEx;
  bool               isStat;

#ifndef NO_INLINE
#  include "pdbCRoutine.inl"

Back to Index
Key to Colors and Styles