Functions
gpec8/main.cpp File Reference
#include <QGpCoreTools.h>
#include <QGpCoreWave.h>
#include "gpec8Version.h"
#include "gpec8InstallPath.h"
#include "EC8Reader.h"

Functions

ApplicationHelphelp ()
int main (int argc, char **argv)
 PACKAGE_INFO (gpec8, GPEC8)

Function Documentation

int main ( int  argc,
char **  argv 
)

References help(), QGpCoreTools::ArgumentStdinReader::read(), and EC8Reader::setOptions().

{
  CoreApplication a(argc, argv, help);

  ApplicationHelp::print("\n\n"
        "*****************\n"
        "IMPORTANT NOTICE:\n"
        "*****************\n\n"
        "We remind you that this software is released to you for free under a GNU Public License. "
        "If you download a binary version of this code, you can still access and review the code yourself "
        "available at http://www.geopsy.org. The definition of EC8 site classes computed here above are "
        "based only on Vs profiles and mainly on Vs30 values. Nspt, Cu and lithology are not taken into "
        "account.\n\n"
        "This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even "
        "the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public "
        "License for more details.","# ");
  // Options
  EC8Reader reader;
  if(reader.setOptions(argc, argv) && reader.read(argc, argv) ) {
    return 0;
  } else {
    return 2;
  }
}
PACKAGE_INFO ( gpec8  ,
GPEC8   
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines