Mercurial > hg > aimc
comparison src/Support/Parameters.h @ 1:bc394a985042
- Fixed the python SWIG wrappers
- Added stub test for the Gaussian features, and test data
- Fixed build errors
author | tomwalters |
---|---|
date | Mon, 15 Feb 2010 20:37:26 +0000 |
parents | 582cbe817f2c |
children | fcbf85ce59fb |
comparison
equal
deleted
inserted
replaced
0:582cbe817f2c | 1:bc394a985042 |
---|---|
24 //! \date created 2006/09/21 | 24 //! \date created 2006/09/21 |
25 //! \version \$Id: Parameters.h 4 2010-02-03 18:44:58Z tcw $ | 25 //! \version \$Id: Parameters.h 4 2010-02-03 18:44:58Z tcw $ |
26 | 26 |
27 #ifndef _AIMC_SUPPORT_PARAMETERS_H_ | 27 #ifndef _AIMC_SUPPORT_PARAMETERS_H_ |
28 #define _AIMC_SUPPORT_PARAMETERS_H_ | 28 #define _AIMC_SUPPORT_PARAMETERS_H_ |
29 | |
30 #include <string> | |
29 | 31 |
30 // If not _WINDOWS, please compile in Support/ConvertUTF.c | 32 // If not _WINDOWS, please compile in Support/ConvertUTF.c |
31 #ifdef _UNICODE | 33 #ifdef _UNICODE |
32 // Here we want to use the ANSI version of all the non wxWidgets stuff, but | 34 // Here we want to use the ANSI version of all the non wxWidgets stuff, but |
33 // convert stribngs to Unicode when used in wxWidgets. This allows all the | 35 // convert stribngs to Unicode when used in wxWidgets. This allows all the |
168 * \param sName Parameter name | 170 * \param sName Parameter name |
169 * \return true on success | 171 * \return true on success |
170 */ | 172 */ |
171 bool Delete(const char *sName); | 173 bool Delete(const char *sName); |
172 | 174 |
175 /*! \brief Append parameters to a string | |
176 * \param sName pointer to a string | |
177 * \return true on success | |
178 */ | |
179 std::string WriteString(); | |
180 | |
173 //! \brief Maximum length of a parameter name in characters | 181 //! \brief Maximum length of a parameter name in characters |
174 static const unsigned int MaxParamNameLength = 128; | 182 static const unsigned int MaxParamNameLength = 128; |
175 | 183 |
176 protected: | 184 protected: |
177 /*! | 185 /*! |