diff options
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 |