DOF_GrpIter.hGo to the documentation of this file.00001 /* ****************************************************************** ** 00002 ** OpenSees - Open System for Earthquake Engineering Simulation ** 00003 ** Pacific Earthquake Engineering Research Center ** 00004 ** ** 00005 ** ** 00006 ** (C) Copyright 1999, The Regents of the University of California ** 00007 ** All Rights Reserved. ** 00008 ** ** 00009 ** Commercial use of this program without express permission of the ** 00010 ** University of California, Berkeley, is strictly prohibited. See ** 00011 ** file 'COPYRIGHT' in main directory for information on usage and ** 00012 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. ** 00013 ** ** 00014 ** Developed by: ** 00015 ** Frank McKenna (fmckenna@ce.berkeley.edu) ** 00016 ** Gregory L. Fenves (fenves@ce.berkeley.edu) ** 00017 ** Filip C. Filippou (filippou@ce.berkeley.edu) ** 00018 ** ** 00019 ** ****************************************************************** */ 00020 00021 // $Revision: 1.2 $ 00022 // $Date: 2005/11/28 21:23:50 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/analysis/model/DOF_GrpIter.h,v $ 00024 00025 // Written: fmk 00026 // Created: Fri Sep 20 15:27:47: 1996 00027 // Revision: A 00028 // 00029 // Description: This file contains the class definition for DOF_GrpIter. 00030 // DOF_GrpIter is an abstract base class. A DOF_GrpIter is an iter 00031 // for returning the DOF_Groups of an object of class AnalysisModel. 00032 // DOF_GrpIters must be written for each subclass of AnalysisModel. 00033 00034 00035 #ifndef DOF_GrpIter_h 00036 #define DOF_GrpIter_h 00037 00038 class DOF_Group; 00039 class TaggedObjectStorage; 00040 class TaggedObjectIter; 00041 00042 class DOF_GrpIter 00043 { 00044 public: 00045 DOF_GrpIter(); 00046 DOF_GrpIter(TaggedObjectStorage *); 00047 virtual ~DOF_GrpIter(); 00048 00049 virtual void reset(void); 00050 virtual DOF_Group *operator()(void); 00051 00052 protected: 00053 00054 private: 00055 TaggedObjectIter *myIter; 00056 }; 00057 00058 #endif 00059 |