diff options
Diffstat (limited to 'cpp/include/Slice/CPlusPlusUtil.h')
-rw-r--r-- | cpp/include/Slice/CPlusPlusUtil.h | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/cpp/include/Slice/CPlusPlusUtil.h b/cpp/include/Slice/CPlusPlusUtil.h index fff635b57a9..fdacc2bf8db 100644 --- a/cpp/include/Slice/CPlusPlusUtil.h +++ b/cpp/include/Slice/CPlusPlusUtil.h @@ -1,54 +1,54 @@ -// ********************************************************************** -// -// Copyright (c) 2001 -// MutableRealms, Inc. -// Huntsville, AL, USA -// -// All Rights Reserved -// -// ********************************************************************** - -#ifndef C_PLUS_PLUS_UTIL_H -#define C_PLUS_PLUS_UTIL_H - -#include <Slice/Parser.h> -#include <IceUtil/OutputUtil.h> - -namespace Slice -{ - -struct ToIfdef -{ - SLICE_API char operator()(char); -}; - -SLICE_API std::string changeInclude(const std::string&, const std::vector<std::string>&); -SLICE_API void printHeader(::IceUtil::Output&); -SLICE_API void printVersionCheck(::IceUtil::Output&); -SLICE_API void printDllExportStuff(::IceUtil::Output&, const std::string&); - -SLICE_API std::string typeToString(const TypePtr&); -SLICE_API std::string returnTypeToString(const TypePtr&); -SLICE_API std::string inputTypeToString(const TypePtr&); -SLICE_API std::string outputTypeToString(const TypePtr&); - -SLICE_API void writeMarshalUnmarshalCode(::IceUtil::Output&, const TypePtr&, const std::string&, bool, - const std::string& = "", bool = true); -SLICE_API void writeMarshalCode(::IceUtil::Output&, const std::list<std::pair<TypePtr, std::string> >&, - const TypePtr&); -SLICE_API void writeUnmarshalCode(::IceUtil::Output&, const std::list<std::pair<TypePtr, std::string> >&, - const TypePtr&); -SLICE_API void writeAllocateCode(::IceUtil::Output&, const std::list<std::pair<TypePtr, std::string> >&, - const TypePtr&); - -SLICE_API void writeGenericMarshalUnmarshalCode(::IceUtil::Output&, const TypePtr&, const std::string&, bool, - const std::string& = "", const std::string& = "", bool = true); - -SLICE_API void writeGenericMarshalCode(::IceUtil::Output&, const std::list<std::pair<TypePtr, std::string> >&, - const TypePtr&); -SLICE_API void writeGenericUnmarshalCode(::IceUtil::Output&, const std::list<std::pair<TypePtr, std::string> >&, - const TypePtr&); - -} - -#endif +// **********************************************************************
+//
+// Copyright (c) 2001
+// MutableRealms, Inc.
+// Huntsville, AL, USA
+//
+// All Rights Reserved
+//
+// **********************************************************************
+
+#ifndef C_PLUS_PLUS_UTIL_H
+#define C_PLUS_PLUS_UTIL_H
+
+#include <Slice/Parser.h>
+#include <IceUtil/OutputUtil.h>
+
+namespace Slice
+{
+
+struct ToIfdef
+{
+ SLICE_API char operator()(char);
+};
+
+SLICE_API std::string changeInclude(const std::string&, const std::vector<std::string>&);
+SLICE_API void printHeader(::IceUtil::Output&);
+SLICE_API void printVersionCheck(::IceUtil::Output&);
+SLICE_API void printDllExportStuff(::IceUtil::Output&, const std::string&);
+
+SLICE_API std::string typeToString(const TypePtr&);
+SLICE_API std::string returnTypeToString(const TypePtr&);
+SLICE_API std::string inputTypeToString(const TypePtr&);
+SLICE_API std::string outputTypeToString(const TypePtr&);
+
+SLICE_API void writeMarshalUnmarshalCode(::IceUtil::Output&, const TypePtr&, const std::string&, bool,
+ const std::string& = "", bool = true);
+SLICE_API void writeMarshalCode(::IceUtil::Output&, const std::list<std::pair<TypePtr, std::string> >&,
+ const TypePtr&);
+SLICE_API void writeUnmarshalCode(::IceUtil::Output&, const std::list<std::pair<TypePtr, std::string> >&,
+ const TypePtr&);
+SLICE_API void writeAllocateCode(::IceUtil::Output&, const std::list<std::pair<TypePtr, std::string> >&,
+ const TypePtr&);
+
+SLICE_API void writeGenericMarshalUnmarshalCode(::IceUtil::Output&, const TypePtr&, const std::string&, bool,
+ const std::string& = "", const std::string& = "", bool = true);
+
+SLICE_API void writeGenericMarshalCode(::IceUtil::Output&, const std::list<std::pair<TypePtr, std::string> >&,
+ const TypePtr&);
+SLICE_API void writeGenericUnmarshalCode(::IceUtil::Output&, const std::list<std::pair<TypePtr, std::string> >&,
+ const TypePtr&);
+
+}
+
+#endif
|