mdate.cpp

Go to the documentation of this file.
00001 /*****************************************************************************\
00002 *                                                                             *
00003 *  Name   : mdate                                                             *
00004 *  Author : Chris Koeritz                                                     *
00005 *                                                                             *
00006 *  Purpose:                                                                   *
00007 *                                                                             *
00008 *    Provides a more informative date command, providing milliseconds also.   *
00009 *                                                                             *
00010 *******************************************************************************
00011 * Copyright (c) 2002-$now By Author.  This program is free software; you can  *
00012 * redistribute it and/or modify it under the terms of the GNU General Public  *
00013 * License as published by the Free Software Foundation; either version 2 of   *
00014 * the License or (at your option) any later version.  This is online at:      *
00015 *     http://www.fsf.org/copyleft/gpl.html                                    *
00016 * Please send any updates to: fred@gruntose.com                               *
00017 \*****************************************************************************/
00018 
00019 #include <basis/istring.h>
00020 #include <opsystem/application_base.h>
00021 #include <loggers/console_logger.h>
00022 #include <data_struct/static_memory_gremlin.h>
00023 
00024 #include <math.h>
00025 
00026 class mdate_app : public application_base
00027 {
00028 public:
00029   virtual int execute() {
00030     SET_DEFAULT_CONSOLE_LOGGER;
00031     program_wide_logger().log(timestamp(false, true));
00032     return 0;
00033   }
00034   IMPLEMENT_CLASS_NAME("mdate_app");
00035 };
00036 
00037 HOOPLE_MAIN(mdate_app, )
00038 
00039 #ifdef __BUILD_STATIC_APPLICATION__
00040   // static dependencies found by buildor_gen_deps.sh:
00041   #include <basis/array.cpp>
00042   #include <basis/byte_array.cpp>
00043   #include <basis/callstack_tracker.cpp>
00044   #include <basis/chaos.cpp>
00045   #include <basis/convert_utf.cpp>
00046   #include <basis/definitions.cpp>
00047   #include <basis/earth_time.cpp>
00048   #include <basis/guards.cpp>
00049   #include <basis/istring.cpp>
00050   #include <basis/log_base.cpp>
00051   #include <basis/memory_checker.cpp>
00052   #include <basis/mutex.cpp>
00053   #include <basis/object_base.cpp>
00054   #include <basis/outcome.cpp>
00055   #include <basis/packable.cpp>
00056   #include <basis/portable.cpp>
00057   #include <basis/sequence.cpp>
00058   #include <basis/set.cpp>
00059   #include <basis/utility.cpp>
00060   #include <basis/version_record.cpp>
00061   #include <data_struct/amorph.cpp>
00062   #include <data_struct/bit_vector.cpp>
00063   #include <data_struct/byte_hasher.cpp>
00064   #include <data_struct/configurator.cpp>
00065   #include <data_struct/hash_table.cpp>
00066   #include <data_struct/pointer_hash.cpp>
00067   #include <data_struct/stack.cpp>
00068   #include <data_struct/static_memory_gremlin.cpp>
00069   #include <data_struct/string_hash.cpp>
00070   #include <data_struct/string_hasher.cpp>
00071   #include <data_struct/string_table.cpp>
00072   #include <data_struct/symbol_table.cpp>
00073   #include <data_struct/table_configurator.cpp>
00074   #include <loggers/console_logger.cpp>
00075   #include <loggers/file_logger.cpp>
00076   #include <loggers/locked_logger.cpp>
00077   #include <loggers/null_logger.cpp>
00078   #include <loggers/program_wide_logger.cpp>
00079   #include <opsystem/application_base.cpp>
00080   #include <opsystem/byte_filer.cpp>
00081   #include <opsystem/command_line.cpp>
00082   #include <opsystem/critical_events.cpp>
00083   #include <opsystem/directory.cpp>
00084   #include <opsystem/filename.cpp>
00085   #include <opsystem/ini_config.cpp>
00086   #include <opsystem/ini_parser.cpp>
00087   #include <opsystem/path_configuration.cpp>
00088   #include <opsystem/rendezvous.cpp>
00089   #include <textual/byte_format.cpp>
00090   #include <textual/parser_bits.cpp>
00091   #include <textual/string_manipulation.cpp>
00092   #include <textual/tokenizer.cpp>
00093 #endif // __BUILD_STATIC_APPLICATION__
00094 

Generated on Fri Nov 28 04:28:51 2008 for HOOPLE Libraries by  doxygen 1.5.1