diff options
author | Marc Laukien <marc@zeroc.com> | 2001-06-20 17:44:57 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-06-20 17:44:57 +0000 |
commit | 9ca70e09a26818c757fca4d3bd6bc8ab41e47aee (patch) | |
tree | bcd207e23a0ba9e64bd80fa2198bd46a1f998b53 /cpp/src/slice2cpp/GenCPlusPlusUtil.h | |
parent | fix (diff) | |
download | ice-9ca70e09a26818c757fca4d3bd6bc8ab41e47aee.tar.bz2 ice-9ca70e09a26818c757fca4d3bd6bc8ab41e47aee.tar.xz ice-9ca70e09a26818c757fca4d3bd6bc8ab41e47aee.zip |
slice
Diffstat (limited to 'cpp/src/slice2cpp/GenCPlusPlusUtil.h')
-rw-r--r-- | cpp/src/slice2cpp/GenCPlusPlusUtil.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/cpp/src/slice2cpp/GenCPlusPlusUtil.h b/cpp/src/slice2cpp/GenCPlusPlusUtil.h new file mode 100644 index 00000000000..35eefdd4c3e --- /dev/null +++ b/cpp/src/slice2cpp/GenCPlusPlusUtil.h @@ -0,0 +1,41 @@ +// ********************************************************************** +// +// Copyright (c) 2001 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#ifndef GEN_C_PLUS_PLUS_UTIL_H +#define GEN_C_PLUS_PLUS_UTIL_H + +#include <Parser.h> +#include <OutputUtil.h> + +namespace IceLang +{ + +std::string typeToString(const Type_ptr&); +std::string returnTypeToString(const Type_ptr&); +std::string inputTypeToString(const Type_ptr&); +std::string outputTypeToString(const Type_ptr&); + +void writeMarshalUnmarshalCode(Output&, const Type_ptr&, const std::string&, bool); + +void writeMarshalCode(Output&, + const std::list<std::pair<Type_ptr, std::string> >&, + const Type_ptr&); + +void writeUnmarshalCode(Output&, + const std::list<std::pair<Type_ptr, std::string> >&, + const Type_ptr&); + +void writeAllocateCode(Output&, + const std::list<std::pair<Type_ptr, std::string> >&, + const Type_ptr&); + +} + +#endif |