diff options
author | Mark Spruiell <mes@zeroc.com> | 2012-05-08 18:14:39 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2012-05-08 18:14:39 -0700 |
commit | 7774bb92669779fd165a0510a360fdaecd69f0c3 (patch) | |
tree | 8ea8bba6cac4128cd3e511ff21534db130ff8e49 /cpp/include/Ice/Format.h | |
parent | Fixed ICE-4709, batch requests and UnmarshalOutOfBoundsException (diff) | |
download | ice-7774bb92669779fd165a0510a360fdaecd69f0c3.tar.bz2 ice-7774bb92669779fd165a0510a360fdaecd69f0c3.tar.xz ice-7774bb92669779fd165a0510a360fdaecd69f0c3.zip |
* C++ implementation for compact/sliced formats
* C++ implementation for "preserve-slice" metadata
* C++ tests for compact/sliced/preserved types
* Updated stream API
* Python changes for stream API
* Python tests for compact/sliced formats
* Added Ice.Default.SlicedFormat property
Diffstat (limited to 'cpp/include/Ice/Format.h')
-rw-r--r-- | cpp/include/Ice/Format.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/cpp/include/Ice/Format.h b/cpp/include/Ice/Format.h new file mode 100644 index 00000000000..0e4ceb77405 --- /dev/null +++ b/cpp/include/Ice/Format.h @@ -0,0 +1,39 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#ifndef ICE_FORMAT_H +#define ICE_FORMAT_H + +#include <Ice/Config.h> + +namespace Ice +{ + +// +// This enumeration describes the possible formats for classes and exceptions. +// +ICE_API enum FormatType +{ + // + // Indicates that no preference was specified. + // + DefaultFormat, + // + // A minimal format that eliminates the possibility for slicing unrecognized types. + // + CompactFormat, + // + // Allow slicing and preserve slices for unknown types. + // + SlicedFormat +}; + +} + +#endif |