pch.h File Reference

#include <ctime>
#include <sstream>
#include <string>
#include <memory>
#include <iostream>
#include <fstream>
#include <map>
#include <vector>
#include <set>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include "targetver.h"
#include "time.h"
#include "string.h"
#include "limits.h"
#include <boost/any.hpp>
#include "boost/thread/once.hpp"
#include <boost/archive/iterators/transform_width.hpp>
#include <boost/filesystem/convenience.hpp>
#include <boost/filesystem/exception.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/program_options.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/smart_ptr.hpp>
#include <boost/function.hpp>
#include "boost/bind.hpp"
#include <boost/thread/tss.hpp>
#include "boost/detail/endian.hpp"
#include <boost/version.hpp>
#include <boost/tuple/tuple.hpp>
#include <boost/thread/thread.hpp>
#include <boost/thread/condition.hpp>
#include <boost/thread/recursive_mutex.hpp>
#include <boost/thread/xtime.hpp>
#include "../bson/util/misc.h"
#include "concurrency/mutex.h"
#include <pthread.h>
#include <execinfo.h>
#include <errno.h>
#include "../bson/util/builder.h"
#include "../db/lasterror.h"
Include dependency graph for pch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mongo

Defines

#define assert   MONGO_assert
#define BOOST_FILESYSTEM_VERSION   2
#define BOOST_SPIRIT_THREADSAFE
#define MONGO_assert(_Expression)   (void)( (!!(_Expression)) || (mongo::asserted(#_Expression, __FILE__, __LINE__), 0) )

Typedefs

typedef char mongo::_TCHAR

Enumerations

enum  mongo::ExitCode {
  mongo::EXIT_CLEAN = 0, mongo::EXIT_BADOPTIONS = 2, mongo::EXIT_REPLICATION_ERROR = 3, mongo::EXIT_NEED_UPGRADE = 4,
  mongo::EXIT_SHARDING_ERROR = 5, mongo::EXIT_KILL = 12, mongo::EXIT_ABRUPT = 14, mongo::EXIT_NTSERVICE_ERROR = 20,
  mongo::EXIT_JAVA = 21, mongo::EXIT_OOM_MALLOC = 42, mongo::EXIT_OOM_REALLOC = 43, mongo::EXIT_FS = 45,
  mongo::EXIT_CLOCK_SKEW = 47, mongo::EXIT_NET_ERROR = 48, mongo::EXIT_POSSIBLE_CORRUPTION = 60, mongo::EXIT_UNCAUGHT = 100,
  mongo::EXIT_TEST = 101
}

Functions

void mongo::asserted (const char *msg, const char *file, unsigned line)
void mongo::dbexit (ExitCode returnCode, const char *whyMsg="", bool tryToGetLock=false)
void mongo::exit (ExitCode returnCode)
bool mongo::inShutdown ()
void mongo::rawOut (const string &s)
void mongo::sayDbContext (const char *msg=0)

Variables

const bool mongo::debug = false
const int mongo::VERSION = 4
const int mongo::VERSION_MINOR = 5

Detailed Description

: include file for standard system include files, or project specific include files that are used frequently, but are changed infrequently

Definition in file pch.h.


Define Documentation

#define assert   MONGO_assert

Definition at line 95 of file pch.h.

#define BOOST_FILESYSTEM_VERSION   2

Definition at line 75 of file pch.h.

#define BOOST_SPIRIT_THREADSAFE

Definition at line 87 of file pch.h.

#define MONGO_assert ( _Expression   )     (void)( (!!(_Expression)) || (mongo::asserted(#_Expression, __FILE__, __LINE__), 0) )

Definition at line 147 of file pch.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:35 2013