BWAPI
Undermind/proxy/cpp/include/google/protobuf/generated_message_util.h
Go to the documentation of this file.
00001 // Protocol Buffers - Google's data interchange format
00002 // Copyright 2008 Google Inc.  All rights reserved.
00003 // http://code.google.com/p/protobuf/
00004 //
00005 // Redistribution and use in source and binary forms, with or without
00006 // modification, are permitted provided that the following conditions are
00007 // met:
00008 //
00009 //     * Redistributions of source code must retain the above copyright
00010 // notice, this list of conditions and the following disclaimer.
00011 //     * Redistributions in binary form must reproduce the above
00012 // copyright notice, this list of conditions and the following disclaimer
00013 // in the documentation and/or other materials provided with the
00014 // distribution.
00015 //     * Neither the name of Google Inc. nor the names of its
00016 // contributors may be used to endorse or promote products derived from
00017 // this software without specific prior written permission.
00018 //
00019 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00020 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00021 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
00022 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
00023 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
00024 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
00025 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
00026 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
00027 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00028 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00029 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00030 
00031 // Author: kenton@google.com (Kenton Varda)
00032 //  Based on original Protocol Buffers design by
00033 //  Sanjay Ghemawat, Jeff Dean, and others.
00034 //
00035 // This file contains miscellaneous helper code used by generated code --
00036 // including lite types -- but which should not be used directly by users.
00037 
00038 #ifndef GOOGLE_PROTOBUF_GENERATED_MESSAGE_UTIL_H__
00039 #define GOOGLE_PROTOBUF_GENERATED_MESSAGE_UTIL_H__
00040 
00041 #include <google/protobuf/stubs/common.h>
00042 
00043 
00044 namespace google {
00045 namespace protobuf {
00046   namespace io {
00047     class CodedInputStream;      // coded_stream.h
00048   }
00049 }
00050 
00051 namespace protobuf {
00052 namespace internal {
00053 
00054 // Annotation for the compiler to emit a deprecation message if a field marked
00055 // with option 'deprecated=true' is used in the code, or for other things in
00056 // generated code which are deprecated.
00057 //
00058 // For internal use in the pb.cc files, deprecation warnings are suppressed
00059 // there.
00060 #undef DEPRECATED_PROTOBUF_FIELD
00061 #if !defined(INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION)
00062 #  define PROTOBUF_DEPRECATED GOOGLE_ATTRIBUTE_DEPRECATED
00063 #else
00064 #  define PROTOBUF_DEPRECATED
00065 #endif
00066 
00067 
00068 // Constants for special floating point values.
00069 LIBPROTOBUF_EXPORT double Infinity();
00070 LIBPROTOBUF_EXPORT double NaN();
00071 
00072 
00073 }  // namespace internal
00074 }  // namespace protobuf
00075 
00076 }  // namespace google
00077 #endif  // GOOGLE_PROTOBUF_GENERATED_MESSAGE_UTIL_H__
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines