Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

QryBasedSample.cpp File Reference

#include <fstream>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include "QryBasedSampler.hpp"
#include "LemurDBManager.hpp"
#include "FreqCounter.hpp"
#include "Exception.hpp"
#include "Param.hpp"

Namespaces

namespace  LocalParameter
namespace  QBSParameter

Functions

void usage ()
 Prints out useful usage information.

void GetAppParam ()
 Get the application's parameters.

int AppMain (int argc, char *argv[])
 Main function for query-based sampling application.


Function Documentation

int AppMain int    argc,
char *    argv[]
 

Main function for query-based sampling application.

void GetAppParam  
 

Get the application's parameters.

This package defines a default Lemur main() which calls the application's main function AppMain(), takes care of parameter display, and handles uncaught exceptions.

An application is supposed to supply two functions

1. GetAppParam

This function is to load/read/get the parameter values required by an application.

2. AppMain

This is the main function of the application.

void usage  
 

Prints out useful usage information.


Generated on Fri Feb 6 07:11:55 2004 for LEMUR by doxygen1.2.16