GeoGen Development snapshot a3

ggen_amplitudes.h

Go to the documentation of this file.
00001 /*
00002 
00003     This file is part of GeoGen.
00004 
00005     GeoGen is free software: you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation, either version 2 of the License, or
00008     (at your option) any later version.
00009 
00010     GeoGen is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License
00016     along with GeoGen.  If not, see <http://www.gnu.org/licenses/>.
00017 
00018 */
00019 #pragma once
00020 
00021 #include "ggen_support.h"
00022 
00030 class GGen_Amplitudes{
00031           public:
00032                     uint16* data;
00033                     GGen_Size length;
00034 
00039                     GGen_Amplitudes(GGen_Size max_feature_size);
00040 
00041                     ~GGen_Amplitudes(){ 
00042                               delete [] data; 
00043                     }
00044 
00050                     void AddAmplitude(uint16 feature_size, uint16 amplitude);
00051 };