nechung.cpp File Reference

The application base for the Nechung Oracle Program (NOP). More...

#include "nechung_oracle.h"
#include <basis/guards.h>
#include <basis/istring.h>
#include <loggers/console_logger.h>
#include <opsystem/filename.h>
#include <data_struct/static_memory_gremlin.h>

Include dependency graph for nechung.cpp:

Go to the source code of this file.

Defines

#define LOG(s)   program_wide_logger().log(s)
#define DEFAULT_FORTUNE_FILE   "fortunes.dat"

Functions

int main (int argc, char *argv[])

Variables

 HOOPLE_STARTUP_CODE


Detailed Description

The application base for the Nechung Oracle Program (NOP).

Definition in file nechung.cpp.


Define Documentation

#define DEFAULT_FORTUNE_FILE   "fortunes.dat"

Definition at line 30 of file nechung.cpp.

#define LOG (  )     program_wide_logger().log(s)

Definition at line 28 of file nechung.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 32 of file nechung.cpp.

References DEFAULT_FORTUNE_FILE, nechung_oracle::display_random(), istring::end(), portable::env_string(), filename::extension(), istring::length(), LOG, filename::raw(), SET_DEFAULT_CONSOLE_LOGGER, and istring::zap().


Variable Documentation

HOOPLE_STARTUP_CODE

Definition at line 25 of file nechung.cpp.


Generated on Fri Oct 10 04:29:07 2008 for HOOPLE Libraries by  doxygen 1.5.1