Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

stilsubwaveforms.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002  * Copyright (c) 2006 International Business Machines Corporation
00003  * All rights reserved. This program and the accompanying materials
00004  * are made available under the terms of the Common Public License v1.0
00005  * which accompanies this distribution, and is available at
00006  * http://www.opensource.org/licenses/cpl1.0.php
00007  *
00008  * Contributors:
00009  *    Douglas Sprague, Joel Wheeler - initial API and implementation
00010  *
00011  *****************************************************************************/
00012 
00013 #ifndef STILSubWaveforms_H
00014 #define STILSubWaveforms_H
00015 
00016 
00017 #include "stilcom.h"               // Common library
00018 #include "stilsubwaveforms.h"
00019 #include "stilsubwaveform.h"
00020 #include "stilblock.h"
00021 
00022 #include <list>
00023 
00024 //---------------------------------------------------------------------------
00030 //---------------------------------------------------------------------------
00031 class STILSubWaveforms : public STILBlock  {
00032 
00033   // - Public members
00034   public:
00035     // - Default constructor
00036     STILSubWaveforms();
00037 
00038     // - Copy Constructor
00039     STILSubWaveforms(const STILSubWaveforms &);
00040 
00041     // - Destructor
00042     virtual ~STILSubWaveforms();
00043 
00044     // - Assignment operator
00045     STILSubWaveforms & operator=(const STILSubWaveforms &);
00046 
00047     // - Initialize/reset this object
00048     void init();
00049 
00050     // - Write this object out to a file
00051     virtual void write(FILE * pOutFile, LONG indentation=0) const;
00052 
00053 
00054     // - Add a subwaveform to the list of subwaveforms
00055     void addSubWaveform(const STILSubWaveform &);
00056 
00057 
00058   // - Private members
00059   private:
00060 
00061     // - Update the list of entity ptrs on copy or =
00062     void updateEntityList();
00063 
00064     std::list<STILSubWaveform> m_SWFList; // list of subwaveforms
00065 
00066 };
00067 #endif

This page last updated on 6 Jul 2007

SourceForge.net Logo